MantisBT - Zandronum
View Issue Details
0001617Zandronum[All Projects] Bugpublic2013-12-24 02:542017-06-20 14:12
Ijon Tichy 
 
normalminoralways
newopen 
 
 
0001617: TakeInventory followed by SetWeapon results in the server thinking you have no weapon out
SetWeapon works online on its own. When preceded immediately by a TakeInventory taking the weapon you had out, it breaks and leaves the server thinking you have no weapon out.
1) Host switchbroken.pk3 with +sv_cheats 1.

2) puke -493 1, notice how SomeGun turns green (indicating the server thinks you have it out) and health bonuses start spawning at your feet.

3) puke -493 0, notice how SomeGun turns red (indicating the server doesn't think you have it out) and the health bonuses stop spawning.

4) Fire the plasma rifle you apparently have out. SomeGun_NoSwitch should turn green, indicating the server thinks you are now pulling it out. Armor bonuses should spawn at your feet in about a second.

5) puke -493 1, and both are red again.

6) Fire, and SomeGun turns green and health bonuses start spawning again.
SomeGun_NoSwitch was made out of suspicion that WRF_NOSWITCH was doing it. It wasn't.
No tags attached.
? switchbroken.pk3 (1,254) 2013-12-24 02:54
https://zandronum.com/tracker/file_download.php?file_id=1122&type=bug
Issue History
2013-12-24 02:54Ijon TichyNew Issue
2013-12-24 02:54Ijon TichyFile Added: switchbroken.pk3
2014-03-07 06:14Dark-AssassinNote Added: 0008350
2014-03-11 04:30Ijon TichyNote Added: 0008382
2014-03-15 15:56Torr SamahoNote Added: 0008407
2014-06-15 16:00WatermelonStatusnew => feedback
2014-10-11 20:14Ijon TichyNote Added: 0010509
2014-10-11 20:14Ijon TichyStatusfeedback => new

Notes
(0008350)
Dark-Assassin   
2014-03-07 06:14   
Unable to reproduce the desired effect locally (client/server).

Just an idea, but not sure if it will make any difference, have TakeInventory be placed after SetWeapon.
(0008382)
Ijon Tichy   
2014-03-11 04:30   
Not happening when testing locally on Windows. It does happen with Linux x86_64, though, since that's what I found the bug on.
(0008407)
Torr Samaho   
2014-03-15 15:56   
Did you test this on a local Linux server? Or could the problem be ping related?
(0010509)
Ijon Tichy   
2014-10-11 20:14   
I tested on a local Arch Linux 64-bit server. I found the bug on Best-Ever, which is Debian 64-bit.

It's not ping-related.