MantisBT - Zandronum
View Issue Details
0001120Zandronum[All Projects] Bugpublic2012-10-13 13:382017-04-02 16:37
NotIvan 
Torr Samaho 
normalminoralways
feedbackopen 
1.0 
3.0 
0001120: Morphing process stops sounds generated by player online
I have tested this in ZDoom 2.6.999 (r3875) and it works this way as well.
*'http://pastebin.com/R4kjKj0n [^]' --> Take this code, implement it and summon "DogModeGiver" pick it up.
* When you do that offline, you will hear the pickup sound.
* When you do this online, you won't hear any sound.

1. zandronum.exe -file rott_dogmode_01.wad -host +sv_itemrespawn 1
2. Connect a client to the server and join the game.
3. Pick up the DogModeGiver actor.
Also, once you morph your color translation doesn't seem to be kept but that might be a ZDoom issue or a flag I'm missing... (Also tested on the same version of Zdoom mentioned above)
No tags attached.
? rott_dogmode_01.wad (49,293) 2012-10-13 16:44
https://zandronum.com/tracker/file_download.php?file_id=808&type=bug
Issue History
2012-10-13 13:38NotIvanNew Issue
2012-10-13 13:44NotIvanNote Added: 0005088
2012-10-13 16:44unknownnaFile Added: rott_dogmode_01.wad
2012-10-13 16:44unknownnaStatusnew => confirmed
2012-10-13 16:48unknownnaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=2786#r2786
2016-05-14 17:48Ru5tK1ngNote Added: 0014912
2016-05-14 17:48Ru5tK1ngTarget Version => 3.0
2016-05-14 18:31Edward-sanNote Added: 0014914
2016-07-02 09:55Torr SamahoAssigned To => Torr Samaho
2016-07-02 09:55Torr SamahoStatusconfirmed => assigned
2016-07-02 10:00Torr SamahoNote Added: 0015159
2016-07-02 10:01Torr SamahoStatusassigned => needs testing
2016-07-02 15:37WaTaKiDNote Added: 0015173
2016-07-02 18:17Ru5tK1ngNote Added: 0015187
2016-07-02 19:27Ru5tK1ngStatusneeds testing => feedback
2017-04-02 16:37Torr SamahoNote Added: 0017078

Notes
(0005088)
NotIvan   
2012-10-13 13:44   
Forgot to mention that the morphdown sound also doesn't get to play despite being spawned from an outside source (the morph flash), for some reason.
(0014912)
Ru5tK1ng   
2016-05-14 17:48   
This issue affects the latest 3.0 beta online. With GZdoom 1.8.6, the sound plays correctly online.
(0014914)
Edward-san   
2016-05-14 18:31   
Also, with cl_showwarnings true, I get:


client_SoundActor: Couldn't find thing: 14
client_SoundActor: Couldn't find thing: 15
(0015159)
Torr Samaho   
2016-07-02 10:00   
Should be fixed now.
(0015173)
WaTaKiD   
2016-07-02 15:37   
added in 3.0 with:'https://bitbucket.org/Torr_Samaho/zandronum/commits/08a69441a4db1a95f3cfbe8097270bec07924ac7 [^]'
(0015187)
Ru5tK1ng   
2016-07-02 18:17   
Tested this with r160702-1232.

The morphing and un-morphing sounds play fine, but the pickup sound for the powerup doesn't play when you pick it up. However, if you are morphed and pick up the powerup, the pickup sound plays correctly. The morphflash sound seems to be preventing the item pickup sound from playing.

Offline, there are no issues.
(0017078)
Torr Samaho   
2017-04-02 16:37   
I investigated what's going on with the pickup sound and noticed that also the pickup message is not shown. What's happening is the following: In AInventory::Touch, SERVERCOMMANDS_DoInventoryPickup is only called if ( toucher->player != NULL ). Since this server command makes the client both play the sound and print the message, and the toucher is not a player in the example wad, both are missing on the client. Fixing this will need changes to the network protocol.