Jump to content

[Code] AI Crashing


alexpkeaton

Recommended Posts

I played as an AI for a brief period and experienced firsthand the crashing that occurs. I am not sure if it is limited to crashing upon tracking across z-levels, though that is what I experienced.


I did noticed that I could manually move up and down z levels without crashing.


If the crashing is just related to tracking across z-levels, could the code include a workaround that will first check if the target is on the same z-level, and, if not, move the AI vision up or down z-levels to match and then find its target?


Apologies for my ignorance of coding and of the full extent of the crashing issue, but I wonder if labeling the crashing simply a BYOND issue out of our control is missing an opportunity to attempt a workaround of BYOND's bad code using our own.

Link to comment

I play AI quite a it, and I found out the following things


A) Research Sub-Level is hell for AI in terms of crashing, do NOT hotlink(click a char to track) or you will almost certainly crash, your only hope is to either change Z-levels manually via changing networks or the up command and to hope for best


B) Broken cameras apparently crash AIs alot (never had this happen, but static areas are laggy

Link to comment

If the crashing is just related to tracking across z-levels, could the code include a workaround that will first check if the target is on the same z-level, and, if not, move the AI vision up or down z-levels to match and then find its target?

 

This won't reliably help, I wouldn't think. The issue is DreamSeeker (the program you use to play the game) getting stuck in an infinite loop, or outright crashing, whenever too much new map data is sent. So, whenever you jump views, swap Zs, etcetera, you run the risk of triggering said crash. It used to exist before as well, on the Exodus even, it just wasn't as exacerbated. The solution proposed wouldn't really minimize the amount of data nor the size of the delta required to update what you see.


As far as fixes go, 512 appears to have solved the issue, as far as my testing indicates. However, this requires that both the client and server be bumped, and since 512 has a recent history of really crippling issues, we're holding off for now. No real windows, because this shit runs on Lummox time, but maybe in March/April? We'll seee.

Link to comment

If the crashing is just related to tracking across z-levels, could the code include a workaround that will first check if the target is on the same z-level, and, if not, move the AI vision up or down z-levels to match and then find its target?

 

This won't reliably help, I wouldn't think. The issue is DreamSeeker (the program you use to play the game) getting stuck in an infinite loop, or outright crashing, whenever too much new map data is sent. So, whenever you jump views, swap Zs, etcetera, you run the risk of triggering said crash. It used to exist before as well, on the Exodus even, it just wasn't as exacerbated. The solution proposed wouldn't really minimize the amount of data nor the size of the delta required to update what you see.


As far as fixes go, 512 appears to have solved the issue, as far as my testing indicates. However, this requires that both the client and server be bumped, and since 512 has a recent history of really crippling issues, we're holding off for now. No real windows, because this shit runs on Lummox time, but maybe in March/April? We'll seee.

 

So what you're saying is that we should totally get two more AIs to support the sublevel and surface level and have each AI sectioned off to a specific level only? ;D

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...