MantisBT - Zandronum
View Issue Details
0002873Zandronum[All Projects] Bugpublic2016-10-09 11:272024-01-15 09:02
SP_FACE1 
Dusk 
normalminoralways
resolvedfixed 
LinuxUbuntu16.04
2.1 
 
0002873: sv_sharekeys does not work for skull keys
In coop with sv_sharekeys enabled skull keys are not shared among players.

Related thread on the forum:'https://zandronum.com/forum/viewtopic.php?t=7163 [^]'

Zandronum 2.1.2 - 150718-1029 - SDL version
Compiled on Aug 7 2015
1. Start a co-operative server
 * sv_sharekeys true
 * use sv_sharekeys.wad (a test map with 3 keycards and 3 skull keys)
2. Join with two players
3. Player 1 takes a skull key
4. Player 2 does not get the skull key

Expected result: Player 2 gets the skull key
I have attached a test wad called sv_sharekeys.wad (MAP01 for doom2.wad).
It has one room with 3 keycards, 3 skull keys and two player starts.
No tags attached.
? sv_sharekeys.wad (552) 2016-10-09 11:27
/tracker/file_download.php?file_id=1922&type=bug
Issue History
2016-10-09 11:27SP_FACE1New Issue
2016-10-09 11:27SP_FACE1File Added: sv_sharekeys.wad
2016-10-09 11:41Edward-sanNote Added: 0015833
2016-10-09 11:41Edward-sanStatusnew => feedback
2016-10-09 11:50SP_FACE1Note Added: 0015835
2016-10-09 11:50SP_FACE1Statusfeedback => new
2016-10-09 12:15SP_FACE1Note Added: 0015840
2016-10-09 12:29Edward-sanNote Added: 0015841
2016-10-09 13:18DuskNote Added: 0015843
2016-10-09 13:19DuskAssigned To => Dusk
2016-10-09 13:19DuskStatusnew => assigned
2016-10-18 20:48Ru5tK1ngNote Added: 0016052
2019-06-04 21:54DuskStatusassigned => new
2024-01-15 09:02Ru5tK1ngNote Added: 0022991
2024-01-15 09:02Ru5tK1ngStatusnew => resolved
2024-01-15 09:02Ru5tK1ngResolutionopen => fixed

Notes
(0015833)
Edward-san   
2016-10-09 11:41   
Try with zandronum 3.0 beta. It works there for me.
(0015835)
SP_FACE1   
2016-10-09 11:50   
<walk of shame>
Uuh... yeah just re-tested and it actually works on 2.1.2 too :D
I tested and wrote this report in the spring but didn't file it back then. Now I just filed it because I thought I had already tested it with care but turns out I didn't or I have forgotten something important.
</walk of shame>

I will have to test if the keys actually work on doors or objects. I encountered the "bug" first time in Valiant (https://www.doomworld.com/idgames/levels/doom2/Ports/megawads/valiant)
(0015840)
SP_FACE1   
2016-10-09 12:15   
Tested now more. For example on MAP11 of valiant.wad (https://www.doomworld.com/idgames/levels/doom2/Ports/megawads/valiant) the skull keys are not shared among players.

I don't know if the fault lies solely within this specific wad and if this is out of the scope of Zandronum. If it is, please close.

Quoting Dark-Assassin from the aforementioned thread (https://zandronum.com/forum/viewtopic.php?p=95302#p95302):

"I feel that anything that is or inherits a key or quest item should be shared."
(0015841)
Edward-san   
2016-10-09 12:29   
Confirmed that with Valiant it still happens with 3.0 beta.
(0015843)
Dusk   
2016-10-09 13:18   
Valiant's DEHACKED turns the skull keys into special dehacked pickups, which are internally not keys. Not sure what to do here.
(0016052)
Ru5tK1ng   
2016-10-18 20:48   
If anyone wants to try building, a fix for this was made here:

'https://bitbucket.org/zandronum/zandronum-sandbox/commits/9f556bbe0290b0af2c8bcfc3b0ea4b2a4524bab0 [^]'
(0022991)
Ru5tK1ng   
2024-01-15 09:02   
This was fixed in 3.0. The valiant issue has it's own ticket: 2441