[quake2] Game code bug
brendanburns at attbi.com
Thu Sep 18 08:37:57 EDT 2003
thanks, I'll get this into CVS...
On Wednesday, September 17, 2003, at 09:21 PM, Karen Pouelle wrote:
> The bug shown in the demo is still in the game code. I've not been
> able to
> find it.
> But, I have fixed the bug where a spectator can type "kill" - this
> causes problems. I have some reason to believe that someone uses the
> bug as
> an exploit to cause a server crash, but I've been unable to reproduce
> it (may
> be a hacked client in addtion to this bug. What happends is that
> comes on the server, gets killed, goes into spectator mode, then types
> then the server crashes. This has been seen at least three times.
> So this is what I did in the game code for g_cmds.c to the routine
> is edit the first line of the routine:
> if( ((level.time - ent->client->respawn_time) < 5) ||
> (ent->client->resp.spectator) )
> Thus none of the code following that line in the routine has to deal
> making a spectator "die" and somehow causing a crash. Without this
> edit, if
> you do this as a spectator, you'll get a fixed view angle looking at
> the last
> person who's killed you.
> Thanks for taking the time to make the game code more secure and
> Post your free ad now! http://personals.yahoo.ca
More information about the quake2