MantisBT - Zandronum
View Issue Details
0002459Zandronum[All Projects] Bugpublic2015-09-15 09:462018-09-30 22:05
fr-blood 
Dusk 
normalminoralways
closedfixed 
MicrosoftWindowsXP/Vista/7
2.1 
3.03.0 
0002459: Cheat Console command "take" doesn't work online
When cheats are enabled we can deal with our inventory by using the console commands "give" or take", they work very fine offline.

Online if you use the "give" command the server will say that you are cheating that normal and the command works fine, but if you use the "take" command for example (take chaingun) nothing happens.
No tags attached.
Issue History
2015-09-15 09:46fr-bloodNew Issue
2015-09-17 11:44DuskAssigned To => Dusk
2015-09-17 11:44DuskStatusnew => acknowledged
2015-11-29 14:17DuskStatusacknowledged => assigned
2015-11-29 19:49DuskNote Added: 0013911
2015-11-29 19:49DuskStatusassigned => needs review
2016-02-27 10:02cobaltStatusneeds review => needs testing
2016-02-27 10:02cobaltTarget Version => 3.0
2016-02-27 10:02cobaltDescription Updatedbug_revision_view_page.php?rev_id=8775#r8775
2016-02-27 10:02cobaltNote Added: 0014503
2016-03-01 22:16Ru5tK1ngNote Added: 0014530
2016-03-01 22:16Ru5tK1ngStatusneeds testing => resolved
2016-03-01 22:16Ru5tK1ngResolutionopen => fixed
2016-03-01 22:16Ru5tK1ngFixed in Version => 3.0
2016-03-01 22:16Ru5tK1ngDescription Updatedbug_revision_view_page.php?rev_id=8797#r8797
2018-09-30 22:05Blzut3Statusresolved => closed

Notes
(0013911)
Dusk   
2015-11-29 19:49   
'https://bitbucket.org/Torr_Samaho/zandronum/pull-requests/41 [^]'
(0014503)
cobalt   
2016-02-27 10:02   
Issue addressed by commit 27bae13dbc6c: Take cheat now works online, fixes 2459
Committed by Teemu Piippo [Dusk] on Wednesday 31 December 1969 23:59:57

Changes in files:

 docs/zandronum-history.txt | 1 +
 src/c_cmds.cpp | 10 ++++++++++
 src/cl_commands.cpp | 9 +++++++++
 src/cl_commands.h | 1 +
 src/cl_main.cpp | 45 ++++++++++++++++++++++++++-------------------
 src/m_cheat.cpp | 39 +++++++++++++++++++++++++++++++++++++++
 src/network_enums.h | 1 +
 src/sv_commands.cpp | 8 +++-----
 src/sv_main.cpp | 28 +++++-----------------------
 9 files changed, 95 insertions(+), 47 deletions(-)

(0014530)
Ru5tK1ng   
2016-03-01 22:16   
I tried this with the latest build and I was able to TAKE my weapons, ammo and health.