MantisBT - Zandronum
View Issue Details
0002939Zandronum[All Projects] Bugpublic2016-11-30 16:592024-02-03 05:59
Zalewa 
Torr Samaho 
normalcrashalways
resolvedfixed 
MicrosoftWindowsXP/Vista/7
 
 
0002939: currentpos CCMD crashes server console
currentpos CCMD crashes server console
1. `zandronum.exe -host -iwad doom2.wad`
2. Execute 'currentpos' CCMD from the server console.
Game version 3.0-alpha-r161030-2038
No tags attached.
Issue History
2016-11-30 16:59ZalewaNew Issue
2016-11-30 16:59ZalewaAdditional Information Updatedbug_revision_view_page.php?rev_id=9947#r9947
2016-11-30 17:16Edward-sanNote Added: 0016396
2016-11-30 17:16Edward-sanAssigned To => Torr Samaho
2016-11-30 17:16Edward-sanStatusnew => assigned
2016-11-30 19:41Torr SamahoNote Added: 0016400
2016-11-30 19:56Edward-sanNote Added: 0016401
2024-02-03 05:59Ru5tK1ngNote Added: 0023053
2024-02-03 05:59Ru5tK1ngStatusassigned => needs testing
2024-02-03 05:59Ru5tK1ngResolutionopen => fixed
2024-02-03 05:59Ru5tK1ngStatusneeds testing => resolved

Notes
(0016396)
Edward-san   
2016-11-30 17:16   
I think that first we should backport this changeset:'https://bitbucket.org/Torr_Samaho/zandronum-zdoom-sync/commits/1791b74976ea9af82309feaf2e5222a7dc59c6a9 [^]' , which fixes the crash outside the gameplay, then we can fix the server bug by ourselves.
(0016400)
Torr Samaho   
2016-11-30 19:41   
I backported this changeset (although the currentpos fix is mixed with a completely unrelated change). This should already fix the server crash. Of course, this command doesn't make sense on the server and it should probably just always return an error message there.
(0016401)
Edward-san   
2016-11-30 19:56   
Hm, I didn't notice that the "You are not in game!" missed the linebreak. It's evident if you try the command. I'll fix it in zdoom.
(0023053)
Ru5tK1ng   
2024-02-03 05:59   
This was fixed in 3.0 and no longer causes the crash. Since the linebreak fix is so trivial, we can just wait the codebase update in 4.0.