|Anonymous | Login | Signup for a new account||2021-09-17 01:21 UTC|
|My View | View Issues | Change Log | Roadmap | Zandronum Issue Support Ranking | Rules | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003201||Zandronum||[All Projects] Bug||public||2017-07-27 17:16||2021-08-08 11:17|
|Target Version||3.1||Fixed in Version|
|Summary||0003201: A_StopSound doesn't work in CustomInventory Pickup state online|
|Description||A_StopSound works fine in multilpayer on weapons, but not in CustomInventory Pickup state.|
|Steps To Reproduce||Run the wad and puke 1 to get an item that calls A_PlaySound with looping chainsaw sound.|
puke 2 to get an item that calls A_StopSound, which only works in singleplayer.
|Additional Information||This bug is present in both 2.1.2 and 3.0.|
|Attached Files||CustomInventory_StopSound.wad [^] (742 bytes) 2017-07-27 17:16|
|A_StopSound doesn't have any netcode at all.|
|Yes, it sends no servercommands. But it works on weapons!|
Editing the example wad really quickly to have the StopSound item's Pickup state to end with Stop instead of Fail makes it properly work online.
Can confirm this fixed the issue on my end.
|I've fixed this in a new fork, will put for review when 3.0 is released.|
|The version with "Fail" in the item states doesn't work with 3.1 build here (https://zandronum.com/forum/viewtopic.php?f=55&t=9340) but the modification to replace the "Fail" with "Stop" does work in 3.1.|
Since clients never execute a CustomInventory item's Pickup state if it failed, I had to modify A_StopSound and give it a special case where the server sends a command to the client to stop playing a sound when called from a CustomInventory item. Other than that, the function still doesn't use netcode.
So now, it should always work properly in a CustomInventory's states online in 3.1.
|Only registered users can voice their support. Click here to register, or here to log in.|
|Opponents:||No one explicitly opposes this issue yet.|
|2017-07-27 17:16||Korshun||New Issue|
|2017-07-27 17:16||Korshun||File Added: CustomInventory_StopSound.wad|
|2017-07-27 20:12||Dusk||Assigned To||=> Dusk|
|2017-07-27 20:12||Dusk||Status||new => confirmed|
|2017-07-27 20:13||Dusk||Note Added: 0018103|
|2017-07-27 20:13||Dusk||Target Version||=> 3.1|
|2017-07-27 20:31||Korshun||Note Added: 0018104|
|2017-07-28 10:13||HexaDoken||Note Added: 0018112|
|2017-07-28 10:57||Fused||Note Added: 0018113|
|2017-08-03 16:56||Dusk||Status||confirmed => assigned|
|2017-08-03 16:56||Dusk||Note Added: 0018138|
|2017-08-03 18:27||Fused||Note Added: 0018139|
|2017-08-03 18:33||Fused||Note Edited: 0018139||View Revisions|
|2017-08-04 20:06||Fused||Note Deleted: 0018139|
|2018-10-08 20:49||Ivan||Note Added: 0020026|
|2019-06-04 21:54||Dusk||Status||assigned => new|
|2021-08-08 11:16||Kaminsky||Note Added: 0021687|
|2021-08-08 11:16||Kaminsky||Status||new => needs testing|
|2021-08-08 11:17||Kaminsky||Summary||A_StopSound doesn't work in CustomInventory Picktup state online => A_StopSound doesn't work in CustomInventory Pickup state online|
Questions or other issues? Contact Us.
|Copyright © 2000 - 2021 MantisBT Team|