MantisBT - Zandronum
View Issue Details
0002912Zandronum[All Projects] Bugpublic2016-11-09 02:352018-09-30 21:56
Cutman 
Edward-san 
highcrashalways
closedfixed 
MicrosoftWindowsXP/Vista/7
2.1 
3.03.0 
0002912: ChangeCamera crashes in Duel
Hi,

For some reason using the ChangeCamera function in a Duel causes the game to crash with a crash report. This happens in the latest 3.0 build and previous versions of Zandronum.
1. Download and load the attached wad.
2. Set the game mode to Duel, enter map01 and add a bot.
3. Enter the red teleporter tile. The game should crash.
Also happens when ChangeCamera is used via ACS.

As for why I want it to not crash (in case you were thinking of disabling it in Duel), I want to make a fancy rotating camera when a player is killed in Duel. More importantly though some cute maps probably exist that have security cameras like in Duke 3d.
No tags attached.
? duelcameratest.wad (6,097) 2016-11-09 02:35
/tracker/file_download.php?file_id=1961&type=bug
Issue History
2016-11-09 02:35CutmanNew Issue
2016-11-09 02:35CutmanFile Added: duelcameratest.wad
2016-11-09 03:52WaTaKiDNote Added: 0016168
2016-11-09 04:07CutmanNote Added: 0016169
2016-11-09 04:18CutmanNote Added: 0016170
2016-11-09 04:35WaTaKiDNote Added: 0016171
2016-11-09 04:41WaTaKiDNote Edited: 0016171bug_revision_view_page.php?bugnote_id=16171#r9851
2016-11-09 04:56WaTaKiDProduct Version3.0-beta => 2.1
2016-11-09 10:22Edward-sanAssigned To => Edward-san
2016-11-09 10:22Edward-sanStatusnew => assigned
2016-11-09 10:42Edward-sanNote Added: 0016172
2016-11-09 10:42Edward-sanStatusassigned => needs review
2016-11-09 10:42Edward-sanTarget Version => 3.0
2016-11-09 19:56WaTaKiDNote Added: 0016173
2016-11-09 20:01CutmanNote Added: 0016174
2016-11-13 09:32Torr SamahoNote Added: 0016182
2016-11-13 09:32Torr SamahoStatusneeds review => needs testing
2016-12-08 03:51Ru5tK1ngNote Added: 0016444
2016-12-08 03:51Ru5tK1ngStatusneeds testing => resolved
2016-12-08 03:51Ru5tK1ngResolutionopen => fixed
2016-12-08 03:51Ru5tK1ngFixed in Version => 3.0
2018-09-30 21:56Blzut3Statusresolved => closed

Notes
(0016168)
WaTaKiD   
2016-11-09 03:52   
ive tried many times to reproduce the crash but so far have been unsucessful

tests include zan 2.1.2, 3.0-r161030-2038, offline, online, using a second client instead of a bot, software, ogl, and using a fresh ini
(0016169)
Cutman   
2016-11-09 04:07   
Hmm, with a fresh ini it doesn't crash for me too. I'll do some digging around with my settings.
(0016170)
Cutman   
2016-11-09 04:18   
'http://pastebin.com/Hhf8yDS8 [^]' Here is the default ini file generated by mm8bdm's launcher. Using this one makes it crash for me.
(0016171)
WaTaKiD   
2016-11-09 04:35   
(edited on: 2016-11-09 04:41)
it seems that cl_stfullscreenhud 0 causes the crash

i even made another fresh config and only changed cl_stfullscreenhud from 1 to 0, crash is reproducable

edit: 2.1.2 also crashes with cl_stfullscreenhud 0

(0016172)
Edward-san   
2016-11-09 10:42   
'https://bitbucket.org/zandronum/zandronum-sandbox/commits/66654c1fcb12bf031cf9a2c672e2af9734dd9632 [^]' .
(0016173)
WaTaKiD   
2016-11-09 19:56   
this 3.0 build contains the above commit: 'https://www.dropbox.com/s/86hjeojhudn2u74/zandronum-3.0-r161109-1039-66654c1-windows.zip?dl=0 [^]'
(0016174)
Cutman   
2016-11-09 20:01   
Seems to be fixed, I did not crash in duel.
(0016182)
Torr Samaho   
2016-11-13 09:32   
I added the patch.
(0016444)
Ru5tK1ng   
2016-12-08 03:51   
No crashes with the implemented patch.