MantisBT - Zandronum
View Issue Details
0001822Zandronum[All Projects] Bugpublic2014-06-08 18:082015-02-22 20:41
Arco 
Torr Samaho 
normalminoralways
assignedfixed 
MicrosoftWindowsXP/Vista/7
1.3 
 
0001822: sv_forcerandomclass 1 takes/hides intventory
See screenshot.

Whenever I die or complete a map, the game seems to have taken all of my weapons and items.
1. Start Zandronum.
2. Type "sv_forcerandomclass 1" into the console.
3a. Type "kill" into the console and respawn. This will take everything in your inventory.
3b. Type "nextmap" into the console. This will hide your weapons until you type "use pistol".
This happens in both 1.3 and 2.0.
No tags attached.
png noweapon.png (62,264) 2014-06-08 18:08
/tracker/file_download.php?file_id=1220&type=bug
png
Issue History
2014-06-08 18:08ArcoNew Issue
2014-06-08 18:08ArcoFile Added: noweapon.png
2014-06-15 16:48WatermelonNote Added: 0009460
2014-06-15 16:48WatermelonStatusnew => feedback
2014-06-15 16:57FritsNote Added: 0009463
2014-07-03 20:23ArcoNote Added: 0009831
2014-07-03 20:23ArcoStatusfeedback => new
2014-07-03 20:36ArcoStatusnew => confirmed
2014-07-03 20:36ArcoSummaryRespawning/switching maps in singleplayer results in weapons being taken => sv_forcerandomclass 1 takes/hides intventory
2014-07-03 20:36ArcoDescription Updatedbug_revision_view_page.php?rev_id=5257#r5257
2014-07-03 20:36ArcoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=5259#r5259
2014-07-03 20:36ArcoAdditional Information Updatedbug_revision_view_page.php?rev_id=5261#r5261
2014-07-05 15:10Torr SamahoNote Added: 0009851
2014-07-05 15:11Torr SamahoAssigned To => Torr Samaho
2014-07-05 15:11Torr SamahoStatusconfirmed => needs testing
2014-07-05 15:47Torr SamahoNote Edited: 0009851
2014-07-05 15:47Torr SamahoNote Edited: 0009851bug_revision_view_page.php?bugnote_id=9851#r5270
2014-07-05 15:48Torr SamahoNote Revision Dropped: 9851: 0005268
2014-07-05 15:48Torr SamahoNote Revision Dropped: 9851: 0005269
2014-07-06 01:14ArcoNote Added: 0009864
2014-07-06 01:14ArcoStatusneeds testing => confirmed
2014-07-06 06:27Torr SamahoNote Added: 0009871
2014-07-06 06:27Torr SamahoStatusconfirmed => feedback
2014-07-07 17:20ArcoStatusfeedback => resolved
2014-07-07 17:20ArcoResolutionopen => fixed
2014-07-07 17:20ArcoFixed in Version => 2.0
2014-07-07 19:01Torr SamahoNote Added: 0009890
2014-07-07 19:01Torr SamahoStatusresolved => assigned
2015-02-15 21:08DuskTarget Version => 2.0
2015-02-21 13:19DuskProduct Version2.0-beta => 1.3
2015-02-21 13:19DuskFixed in Version2.0 =>
2015-02-22 20:41Torr SamahoTarget Version2.0 =>

Notes
(0009460)
Watermelon   
2014-06-15 16:48   
Can you give me some quick instructions to do on my comp?

like:
map map01
...
map map01?
(0009463)
Frits   
2014-06-15 16:57   
I cannot reproduce this in doom2.
But i was trying to convert pirate doom to be compatible with zan 2.0 and this did happen whenever I exited a level.
Tested with the same build.
(0009831)
Arco   
2014-07-03 20:23   
This has been tested further and it appears that sv_forcerandomclass has something to do with this; whenever I die, all of my items are taken away, but whenever I change maps (via nextmap) my items are still there.These circumstances only happen whenever sv_forcerandomclass is set to true.
(0009851)
Torr Samaho   
2014-07-05 15:10   
(edited on: 2014-07-05 15:47)
Please check if this fixes the map change related issues. Note: The fix may have side effects on the LimitedToTeam player property. Please test thoroughly that this still works as expected.

(0009864)
Arco   
2014-07-06 01:14   
The map change issue is fixed. Limitedtoteam does not appear to be affected by this.
(0009871)
Torr Samaho   
2014-07-06 06:27   
Regarding loosing your inventory: Are you referring to the fact that your inventory is reset to the default after you respawn? I'm not sure whether we should count this as bug. If you change your class, you lose your inventory. That has to be like this because there is class specific inventory.

So, when you are forcing a random class, this will take away your inventory upon respawning. Of course there is a chance that you will respawn with the same class, but it would be very unfair if this coincidence is rewarded with keeping your inventory.

One option I see to fix this would be to simply turn off sv_forcerandomclass in cooperative game modes where people expect to keep their inventory. Another option would be not to archive sv_forcerandomclass so that you don't accidentally keep it on when you are playing coop.
(0009890)
Torr Samaho   
2014-07-07 19:01   
We discussed this among the devs on IRC and came to the conclusion that this still needs some refinement.