MantisBT - Zandronum
View Issue Details
0002389Zandronum[All Projects] Bugpublic2015-08-09 17:002018-09-30 22:18
WaTaKiD 
Dusk 
normalminorN/A
closedfixed 
MicrosoftWindowsXP/Vista/7
2.1 
3.03.0 
0002389: the warp cheat does not work properly online
it works as a spectator, but not as a player, and as a bonus:'http://zandronum.com/tracker/view.php?id=2369#c13032 [^]'

doing for example 'rcon warp 0 0' with no player with idx 0 causes a crash
No tags attached.
child of 0002369closed Torr Samaho some cheats dont work online 
Issue History
2015-08-09 17:00WaTaKiDNew Issue
2015-08-09 17:01WaTaKiDRelationship addedchild of 0002369
2015-09-04 18:41DuskAssigned To => Dusk
2015-09-04 18:41DuskStatusnew => assigned
2015-09-04 23:29DuskNote Added: 0013404
2015-09-04 23:29DuskStatusassigned => needs review
2015-09-05 12:39Torr SamahoNote Added: 0013417
2015-09-05 12:39Torr SamahoStatusneeds review => feedback
2015-09-05 12:50cobaltStatusfeedback => needs testing
2015-09-05 12:50cobaltTarget Version => 3.0
2015-09-05 12:50cobaltDescription Updatedbug_revision_view_page.php?rev_id=8028#r8028
2015-09-05 12:50cobaltNote Added: 0013418
2015-10-05 21:12Ru5tK1ngNote Added: 0013619
2015-10-06 16:22DuskStatusneeds testing => resolved
2015-10-06 16:22DuskFixed in Version => 3.0
2015-10-06 16:22DuskResolutionopen => fixed
2018-09-30 22:18Blzut3Statusresolved => closed

Notes
(0013404)
Dusk   
2015-09-04 23:29   
'https://bitbucket.org/Torr_Samaho/zandronum/pull-requests/17 [^]'
(0013417)
Torr Samaho   
2015-09-05 12:39   
Please see my comment in the pull request.
(0013418)
cobalt   
2015-09-05 12:50   
Issue addressed by commit 31e011a94403: Warp cheat now works online and can be used by spectators in non-cheat servers (addresses 2389)
Committed by Teemu Piippo [Dusk] on Saturday 05 September 2015 02:26:42

Changes in files:

 docs/zandronum-history.txt | 1 +
 src/c_cmds.cpp | 20 +++++++++++++++++++-
 src/cl_commands.cpp | 9 +++++++++
 src/cl_commands.h | 1 +
 src/cl_demo.cpp | 20 ++++++++++++++++++++
 src/cl_demo.h | 2 ++
 src/network.h | 1 +
 src/sv_main.cpp | 18 ++++++++++++++++++
 8 files changed, 71 insertions(+), 1 deletions(-)

(0013619)
Ru5tK1ng   
2015-10-05 21:12   
I tried this out with alpha-151004-2012 and I was able to warp as both a spectator and player online without issue. I didn't encounter the 'tid 0' issue either.