MantisBT - Zandronum
View Issue Details
0003024Zandronum[All Projects] Bugpublic2017-02-26 03:382018-09-30 21:47
jdagenet 
Torr Samaho 
immediatemajoralways
closedfixed 
MicrosoftWindows10
3.0-beta 
3.03.0 
0003024: Latest Zandronum 3.0 build breaks mod
The latest Zandronum 3.0 build (170205-2117) breaks the All Out War : Zeta mod when played online.

Problems such as ejecting from an Orca causes an infinite sound loop, the console will randomly be flooded with ACS checks, the War Factor Mech Purchase Menu will never go away, and the Tortoise's Chaingun firing sound will play in a loop infinitely.

The previous build of 3.0 (161030-2038) did not introduce any of these issues when played online.
Download this mod:'http://allfearthesentinel.net/download?file=aow_2.2.1.1.pk3 [^]'

Host an online server using build 170205-2117 and the mod above

Execute the said actions.

Rehost the mod using build 161030-2038 and try executing the said problems again. None of them are reproducible.
The said issues do not happen offline.

We haven't found an exact trigger for the console flooding, but it's most definitely linked to ACS and build 170205-2117 since we haven't gotten it to trigger in build 161030-2038.

We also ruled out any possibility of it being tied to the client in some way by clearing our .INI's.
No tags attached.
has duplicate 0003029closed Torr Samaho Online, moprhing spawns a corpse of original playerclass 
Issue History
2017-02-26 03:38jdagenetNew Issue
2017-02-26 11:01IvanNote Added: 0016896
2017-02-26 13:25Edward-sanNote Added: 0016901
2017-02-26 13:25Edward-sanStatusnew => feedback
2017-02-26 15:33Torr SamahoNote Added: 0016903
2017-02-26 20:06CatastropheNote Added: 0016909
2017-02-26 21:58jdagenetNote Added: 0016910
2017-02-26 21:58jdagenetStatusfeedback => new
2017-02-26 22:46Torr SamahoNote Added: 0016911
2017-02-27 00:31jdagenetNote Added: 0016912
2017-02-27 09:00Torr SamahoNote Added: 0016913
2017-02-27 18:21jdagenetNote Added: 0016917
2017-02-28 07:20Ru5tK1ngNote Added: 0016918
2017-02-28 19:05Torr SamahoNote Added: 0016920
2017-02-28 19:05Torr SamahoAssigned To => Torr Samaho
2017-02-28 19:05Torr SamahoStatusnew => feedback
2017-02-28 22:22jdagenetNote Added: 0016921
2017-02-28 22:22jdagenetStatusfeedback => assigned
2017-03-05 15:28Torr SamahoRelationship addedhas duplicate 0003029
2017-03-05 16:58Torr SamahoNote Added: 0016935
2017-03-05 16:59Torr SamahoStatusassigned => needs testing
2017-03-05 16:59Torr SamahoTarget Version => 3.0
2017-03-06 05:38Ru5tK1ngNote Added: 0016950
2017-03-06 07:02Torr SamahoNote Added: 0016952
2017-03-08 05:12Ru5tK1ngNote Added: 0016963
2017-03-08 05:12Ru5tK1ngStatusneeds testing => resolved
2017-03-08 05:12Ru5tK1ngResolutionopen => fixed
2017-03-08 05:12Ru5tK1ngFixed in Version => 3.0
2018-09-30 21:47Blzut3Statusresolved => closed

Notes
(0016896)
Ivan   
2017-02-26 11:01   
Orca and Tortoise things seem to be mod errors. Normally, looping sounds called from A_PlaySound require the loop to be terminated once done, and they are at the end of the weapon frames. However, when you spectate or something unpredictable happens, the loop will continue because the weapon's trigger to stop the sound won't be reached. In this situation, I think giving the players a CustomInventory to stop the sound might help, but that won't solve the spectator problem probably.

The WF thing seems highly likely to be related to the alt fire dismiss option. Just play a blank hudmessage when a mech purchase is complete, and that fixes that problem.
(0016901)
Edward-san   
2017-02-26 13:25   
Could you provide a reduced example wad?
(0016903)
Torr Samaho   
2017-02-26 15:33   
In addition to the minimal example wad, can you post the messages flooding your console say?
(0016909)
Catastrophe   
2017-02-26 20:06   
The debug messages are from the mod itself. What's odd is that the messages are being triggered in the latest build and not in the 161030 build.
(0016910)
jdagenet   
2017-02-26 21:58   
From what I recall, the messages were along the lines of: "TID: 0 WHAT: 0 TEAM: 0". Whether this be a debug feature or not, I've never seen this happen before in 161030 as Cata mentioned.

I've been testing various scenarios and I've boiled it down to actor morphing since the problem does not happen on a normal player definition in either build.
What's even stranger is that when the player unmorphs he leaves behind an invisible actor and this is where the sound is originating from. When tested with build 161030, the player does not leave behind this invisible actor.

It's going to be somewhat difficult to provide a WAD since there's the possibility of leaving out crucial factors and definitions in reproducing this.
(0016911)
Torr Samaho   
2017-02-26 22:46   
Quote from jdagenet
It's going to be somewhat difficult to provide a WAD since there's the possibility of leaving out crucial factors and definitions in reproducing this.

To get started, just remove as much from mod as you can before the problem stops.
(0016912)
jdagenet   
2017-02-27 00:31   
Here you go:'https://www.sendspace.com/file/swejz0 [^]'

Knocked off about 50Mb, hopefully this will do.
(0016913)
Torr Samaho   
2017-02-27 09:00   
That's still massive (the problem is not the file size but the amount of ACS and DECORATE code), but I'll have a look. Please post a step-by-step description on how to reproduce the problem.
(0016917)
jdagenet   
2017-02-27 18:21   
Host a teamgame server using the PK3 I linked and the latest build of Zandronum 3.0 (170205-2117) and make sure the server is on map AOW01.

Be sure to change the CVar "Zeta_CredFlow" to 999 (this is so you don't have to wait to buy anything).

Once you join the game (either team will work), press your use key on one of the Purchase Terminals to bring up the Class Purchase Menu and press your primary fire key until you purchase the class "Gunman".

Navigate to this building:'http://i.imgur.com/boN7n8Y.jpg. [^]'

Go inside the building and locate this terminal:'http://i.imgur.com/yiPJqZh.jpg. [^]'

Press use on this terminal to bring up the Mech Purchase Menu and press your use key to purchase the Orca.
Note that after purchasing the mech the menu will forever stay on your screen. This is also an issue that only happens when the mod is hosted online using 170205.

Once you are able to leave the mech hanger, fly around and press your inventory use key to eject from the mech.

You'll then notice that the flying sound never stopped and it is originating from the point you ejected from.

If you repeat these steps offline the problems are not reproducable.
(0016918)
Ru5tK1ng   
2017-02-28 07:20   
After bisecting for a bit, I found out the issues regarding the menu and the infinite sound playing started with this. I also discovered another bug with the Orca Eject not spawning debris actors online (works perfect offline), but I'll post in a separate ticket once I get more info.
(0016920)
Torr Samaho   
2017-02-28 19:05   
Thanks a lot for bisecting this! Looking at the changeset that introduced the issue, I have an idea what could be going wrong. Can you check if this works any better (binary completely untested so far)?
(0016921)
jdagenet   
2017-02-28 22:22   
Seems whatever you did in that build, Torr, it fixed the sound and menu issue so that's good news.
(0016935)
Torr Samaho   
2017-03-05 16:58   
Thanks for checking. I added the fix to the repository. Can somebody check that this didn't break 2941 /'https://bitbucket.org/Torr_Samaho/zandronum/pull-requests/174/sv_survival_nomapresetondeath-zadmflag [^]' ?
(0016950)
Ru5tK1ng   
2017-03-06 05:38   
With r170305, the sounds and morphing seem good but the menu bug still persists somehow.
(0016952)
Torr Samaho   
2017-03-06 07:02   
The menu bug was not present in 161030-2038? Any chance of a minimal example wad? If not, can somebody make a clientside demo of the issue?
(0016963)
Ru5tK1ng   
2017-03-08 05:12   
After some more testing it seems the menu bug is an issue of the mod and not Zandronum. I encountered the bug with 2.1.2 as well (it happens randomly) and there were no issues with another server test I did today. Since the morphing issue is resolved, I'll mark this as so.