MantisBT - Zandronum
View Issue Details
0002501Zandronum[All Projects] Bugpublic2015-10-22 19:182018-09-30 22:16
WaTaKiD 
Dusk 
normalminoralways
closedfixed 
MicrosoftWindowsXP/Vista/7
2.1 
3.03.0 
0002501: the kill cheat does not work properly online
'http://zdoom.org/wiki/CCMDs:Debug#kill [^]'

kill [class] does not work online, neither from rcon nor from a client with sv_cheats 1

kill monsters does not work from a client with sv_cheats 1
host server with doom2.wad map01 and sv_cheats 1
connect a client
rcon kill zombieman
kill doomimp
kill monsters
No tags attached.
Issue History
2015-10-22 19:18WaTaKiDNew Issue
2015-10-22 19:29DuskAssigned To => Dusk
2015-10-22 19:29DuskStatusnew => assigned
2015-10-22 20:25DuskNote Added: 0013684
2015-10-22 20:25DuskStatusassigned => needs review
2015-10-25 09:52Torr SamahoNote Added: 0013687
2015-10-25 09:54cobaltStatusneeds review => needs testing
2015-10-25 09:54cobaltTarget Version => 3.0
2015-10-25 09:54cobaltDescription Updatedbug_revision_view_page.php?rev_id=8163#r8163
2015-10-25 09:54cobaltSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8165#r8165
2015-10-25 09:54cobaltNote Added: 0013688
2015-11-09 23:38Ru5tK1ngNote Added: 0013771
2015-11-09 23:38Ru5tK1ngStatusneeds testing => resolved
2015-11-09 23:38Ru5tK1ngResolutionopen => fixed
2015-11-09 23:38Ru5tK1ngFixed in Version => 3.0
2015-11-09 23:38Ru5tK1ngDescription Updatedbug_revision_view_page.php?rev_id=8209#r8209
2015-11-09 23:38Ru5tK1ngSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8210#r8210
2018-09-30 22:16Blzut3Statusresolved => closed

Notes
(0013684)
Dusk   
2015-10-22 20:25   
'https://bitbucket.org/Torr_Samaho/zandronum/pull-requests/34 [^]'
(0013687)
Torr Samaho   
2015-10-25 09:52   
Added your patch.
(0013688)
cobalt   
2015-10-25 09:54   
Issue addressed by commit ae793c98c533: Fixed: kill [class] cheat didn't work online (also it and 'kill monsters') can be used by clients in cheat servers (fixes 2501)
Committed by Teemu Piippo [Dusk] on Thursday 22 October 2015 23:24:26

Changes in files:

 docs/zandronum-history.txt | 1 +
 src/c_console.cpp | 2 +-
 src/c_console.h | 2 +-
 src/cl_commands.cpp | 8 ++++++++
 src/cl_commands.h | 1 +
 src/network_enums.h | 1 +
 src/p_interaction.cpp | 43 +++++++++++++++++++++++++------------------
 src/sv_main.cpp | 46 +++++++++++++++++++++++++++++++++++++++++++++-
 src/sv_main.h | 1 +
 9 files changed, 84 insertions(+), 21 deletions(-)

(0013771)
Ru5tK1ng   
2015-11-09 23:38   
Tested with 3.0-r151108-1238. The commands mentioned above work with the client and server with cheats on and they work correctly with custom monsters.