On 5/25/05, Jeffrey botman Broome <[EMAIL PROTECTED]> wrote: > Jeff Fearn wrote: > > On 5/23/05, Deadman Standing <[EMAIL PROTECTED]> wrote: > > > >>Adding -zone 8192 to the command line can sometimes help this. From looking > >>at the Quake code it appears the SZ_GetSpace error occurs when the engine > >>overruns static buffers used to build network messages. Too many or poorly > >>written plugins can aggravate the situation. > > > > > > I'll try that. > > > > What exactly makes a plugin badly written? I have a bot plugin based > > on HPB bot that might be at fault, but no idea what to target to fix > > it. > > The HPB bot can generate the SZ_GetSpace crash when displaying lots of > waypoints (if you are editing waypoints on the client). The waypoint > display method sends a reliable network message for each waypoint line > drawn. If enough of these reliable messages are sent in too short a > time period, the buffer overflows. > > One of the Counter-Strike bot authors (I don't remember which one) > changed this to use an un-reliable message for displaying these lines > which helps prevent the overflow. In the worst case, sometimes a > waypoint line wouldn't get drawn and then would appear the next time it > was updated. > > The SZ_GetSpace crashing problem also occurred if some plugin attempts > to send a network message to a fake client (bot). The HPB bot code > tries to prevent this, but there can still be cases of other pluggins > running (if you are using metamod, which it sounds like you are not) > that send a network message to "all players" that could cause this problem.
I'm still getting this on occasions with -zone 8192 set :( I am using metamod from http://metamod-p.sourceforge.net and the HPB version modified to work with that, as I plan on using the bot with a couple of mods. I don't have any other metamod plugins installed, not even adminmod. It seems to crash when a human player joins or leaves the server, and then only on rare occasions. I'm pretty certain it has nothing to do with the waypoints as I have not been setting them up when it has crashed. It has mostly been during stress test of the server with 14+ bots and a couple of humans. OT: My server is a little laggy with 30 bots and me, but it's hell funny on small maps ;) Jeff _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

