Feng + aPro (SON!C) cheat proof
#35
(06 Feb 12, 01:05PM).ExodusS* Wrote: And if he shoot and he's lagging hard (0 information between him and the server), bullets are completely dropped, hit-reg fixed or not?

Supposedly the bullets should always reach the server -- at least if ENet works as intended.

(06 Feb 12, 11:34AM)jamz Wrote: I've just watched this. I'm only going to comment on the initial accusation in this thread, that Feng has somehow altered the amount of ammo available to him, specifically at 12'26 remaining.
When he reloads, the amount shown is not 20/3; it's 20/-3. The demo playback has always (since I've been playing) had this ammo glitch. Feng has 0/17 before reloading. The demo puts 20 rounds in the clip on reload, even though only 17 are available. This leaves the reserve as 17-20, or -3. Of course, in reality he only has 17 in the clip and he wouldn't have been able to fire more than that.

This makes sense and I could verify it in the source. Feng's not guilty, sorry for misleading everyone.

Here's a patch to fix it. In clients2c.cpp on line 690 change

int bullets = magsize(gun)-p->mag[gun];
to
int bullets = min(p->ammo[gun], magsize(gun)-p->mag[gun]);

When I watch the demos with this fix applied the ammo values add up.

I should add, as referee of the aG Cup, you're still not welcome to play with Waagner, SON!C, Plenas or other cheaters though.
Thanks given by:


Messages In This Thread
RE: Feng + aPro (SON!C) cheat proof - by jamz - 06 Feb 12, 11:34AM
RE: Feng + aPro (SON!C) cheat proof - by Roflcopter - 06 Feb 12, 04:21PM
RE: Feng + aPro (SON!C) cheat proof - by jamz - 06 Feb 12, 01:40PM