MantisBT - Zandronum
View Issue Details
0001294Zandronum[All Projects] Bugpublic2013-03-06 00:322017-11-08 21:37
Popsoap 
 
normalminoralways
newreopened 
MicrosoftWindowsXP/Vista/7
1.0 
 
0001294: SV_DoubleAmmo isn't preserved between maps
A select few megawads (PRCP, Jenesis, NDCP) deactivate the "Double Ammo" flag between maps. This happens regardless of how the map is changed (i.e. exiting, any of the map commands).
1. Start a new game with any of the megawads listed in the description.
2. Enable double ammo.
3. Change the map.
This happens both online and offline.
ammo, DMFLAG, map, offline, online, SV_DoubleAmmo
Issue History
2013-03-06 00:32PopsoapNew Issue
2013-03-06 00:57jwaffeNote Added: 0006096
2013-03-10 14:05Torr SamahoNote Added: 0006101
2013-03-10 14:05Torr SamahoAssigned To => Torr Samaho
2013-03-10 14:05Torr SamahoStatusnew => feedback
2015-09-10 09:50DuskNote Added: 0013470
2015-09-10 09:50DuskStatusfeedback => closed
2015-09-10 09:50DuskAssigned ToTorr Samaho =>
2015-09-10 09:50DuskResolutionopen => invalid
2015-11-01 17:22Torr SamahoNote Added: 0013726
2015-11-01 17:22Torr SamahoStatusclosed => feedback
2015-11-01 17:22Torr SamahoResolutioninvalid => reopened
2015-11-01 20:54ZalewaNote Added: 0013731
2015-11-01 21:03ZalewaNote Edited: 0013731bug_revision_view_page.php?bugnote_id=13731#r8188
2015-11-01 21:04ZalewaNote Edited: 0013731bug_revision_view_page.php?bugnote_id=13731#r8189
2015-11-02 18:09ZalewaNote Edited: 0013731bug_revision_view_page.php?bugnote_id=13731#r8190
2017-11-08 21:37DuskStatusfeedback => new

Notes
(0006096)
jwaffe   
2013-03-06 00:57   
I have seen this behavior as well with my mod, Chex Pack. I vaguely remember sv_nocrouch not being retained either.
(0006101)
Torr Samaho   
2013-03-10 14:05   
Unless you set sv_defaultdmflags to false, the server will automatically set some flags depending on the game mode when setting up a map. So setting sv_defaultdmflags to false hopefully fixes the problem. Can somebody check this?
(0013470)
Dusk   
2015-09-10 09:50   
No feedback given, closing
(0013726)
Torr Samaho   
2015-11-01 17:22   
I just heard from someone who has feedback on the issue. Opening the ticket again, so that the feedback can be posted.
(0013731)
Zalewa   
2015-11-01 20:54   
(edited on: 2015-11-02 18:09)
1. Use Zandronum 3.0-alpha-r151004-2012
2. Start new single player game on UV.
3. sv_doubleammo 1
4. summon supershotgun
5. Pick it up. You'll get 16 shells.
6. Save game.
7. Quit game.
8. Start game again.
9. Load saved game.
10. summon supershotgun.
11. Pick it up. You'll get 8 shells.
12. sv_doubleammo CCMD will return 0.

We couldn't find a (G)ZDoom version that would exhibit similar behavior. In (G)ZDoom I'd get 16 shells both times. sv_defaultdmflags was set to 1 in all tests.

EDIT: sv_defaultdmflags isn't saved in saved game. Zandronum 2.1.2 preserves sv_doubleammo in loaded games.