MantisBT - Zandronum
View Issue Details
0001383Zandronum[All Projects] Bugpublic2013-06-25 18:532018-09-30 21:34
bluewizard 
Torr Samaho 
normalminoralways
closedfixed 
1.0 
1.3 
0001383: Clients don't fully reset effects of client side scripts during a map reset
-This only bugs out if done online-
1. Start server with just that wad.
2. Set the game mode to survival.
3. Join the game.

During the countdown you'll notice that "clientside: test = 1", however after the countdown is finished, it will say "clientside: test = 2" when it actually should be 1.

Interestingly enough, this does -not- happen if you do an offline survival skirmish.

If you'd like an actual mod is broken by this bug, try this:http://speedy.sh/P9d3v/DeathRace.pk3 [^] (Needs actors/data)

If you load this in single player and do an offline last man standing skirmish on race01, the clientside camera works just fine after the countdown. However, if you host this online and try to play, the camera will break after the countdown is finished.
No tags attached.
child of 0001331acknowledged  New GAMEMODE flag: COUNTDOWN 
? testbug.wad (409) 2013-06-25 18:54
/tracker/file_download.php?file_id=986&type=bug
Issue History
2013-06-25 18:53Torr SamahoNew Issue
2013-06-25 18:53Torr SamahoStatusnew => assigned
2013-06-25 18:53Torr SamahoAssigned To => Torr Samaho
2013-06-25 18:54Torr SamahoFile Added: testbug.wad
2013-06-25 18:58Torr SamahoNote Added: 0006510
2013-06-25 19:10DuskRelationship addedchild of 0001331
2013-06-25 20:43bluewizardNote Added: 0006512
2013-06-26 19:59Torr SamahoNote Added: 0006513
2013-06-26 21:14Torr SamahoStatusassigned => needs testing
2013-06-27 01:10bluewizardNote Added: 0006514
2013-06-27 18:56Torr SamahoProduct Version => 1.0
2013-06-28 21:36ibm5155Note Added: 0006519
2013-06-28 22:19Edward-sanNote Added: 0006520
2013-06-29 08:19Torr SamahoNote Added: 0006521
2013-06-30 12:41ibm5155Note Added: 0006528
2013-06-30 13:56ibm5155Note Edited: 0006528bug_revision_view_page.php?bugnote_id=6528#r3600
2013-07-01 17:39Torr SamahoNote Added: 0006538
2013-07-01 17:40Torr SamahoStatusneeds testing => feedback
2013-07-01 21:38ibm5155Note Added: 0006544
2013-07-01 22:10DuskNote Edited: 0006544bug_revision_view_page.php?bugnote_id=6544#r3618
2013-07-01 22:10DuskNote Added: 0006545
2013-07-01 22:30ibm5155Note Added: 0006546
2013-07-01 22:43ibm5155Note Edited: 0006546bug_revision_view_page.php?bugnote_id=6546#r3620
2015-01-15 23:39Edward-sanNote Added: 0011395
2015-01-15 23:40Edward-sanNote Edited: 0011395bug_revision_view_page.php?bugnote_id=11395#r6409
2015-01-16 10:39DuskNote Added: 0011401
2015-01-16 10:39DuskStatusfeedback => resolved
2015-01-16 10:39DuskFixed in Version => 1.3
2015-01-16 10:39DuskResolutionopen => fixed
2015-01-16 10:39DuskReporterTorr Samaho => bluewizard
2015-01-16 10:39DuskDescription Updatedbug_revision_view_page.php?rev_id=6413#r6413
2018-09-30 21:34Blzut3Statusresolved => closed

Notes
(0006510)
Torr Samaho   
2013-06-25 18:58   
The client is missing the part of the map reset logic that handles these ACS script effects. I can fix this, but this needs thorough testing, so I'm unsure whether I should include the fix in 1.1. Would anybody volunteer to do thorough testing of the fix on a range of mods that use ACS scripts?
(0006512)
bluewizard   
2013-06-25 20:43   
Yes I would like this in 1.1. As for wads, I have two mods I was working on that was affected by this bug. (Yes I'll test)
(0006513)
Torr Samaho   
2013-06-26 19:59   
This contains a first attempt on a fix. It would be very important to test how OPEN and ENTER scripts behave, both client side and normal scripts.
(0006514)
bluewizard   
2013-06-27 01:10   
This is working perfectly online/offline with bots.
(0006519)
ibm5155   
2013-06-28 21:36   
Didn´t fixed for me on (void) scripts =/
(0006520)
Edward-san   
2013-06-28 22:19   
can you upload an example wad with this problem, ibm?
(0006521)
Torr Samaho   
2013-06-29 08:19   
Quote from ibm5155
Didn´t fixed for me on (void) scripts =/

Without further information I can't say anything about this. Please elaborate exactly the problem you are having and, as Edward-san already said, include a minimal example wad.
(0006528)
ibm5155   
2013-06-30 12:41   
(edited on: 2013-06-30 13:56)
hmm ok I´ll elaborate an minimal example (with the lava bug and the clientside weather/red map)
Ok done.
On that wad i can show 3 bugs
1 switch: it´s a clientside script that actives when white face kills you, you´ll be teleported and the map´ll be red (when map restarts it´ll be the same color and not the original map color)
2 switch (not clientside): when the lava come up and u died, the map restart and the lava still there but invisible =/

3 (not with switches): when the rainfall actives on the prepare to fight, and when the map really start and it´s disabled, I´ll sometimes see the rain and the rainfall even if it´s now disabled.

'http://www.mediafire.com/download/44dpue5msp1516y/ZM09_LE.wad, [^]' tested online, map zm09 (almost all the scripts are there, just the textures was reduced to the minimal, wads to run:doom2.wad, skulltag_actors, skulltag_data126)

I wanted to show the portal bug too but it´s rare/random so I can´t =/

(0006538)
Torr Samaho   
2013-07-01 17:39   
The map still has more than 1400 lines of script code. Please condense this to only the scripts that are necessary to reproduce the bugs.
(0006544)
ibm5155   
2013-07-01 21:38   
(edited on: 2013-07-01 22:10)
Ok here´s the map with only the short scripts (only the problematics one)
first bug:lava spawn on 3d floor (it doesn´t fully affect normal sectors), if you look, the "floor" texture from the 3d floor'll disapear on the restart of the map, and if you go down of it, you´ll die...

second:clientside script change the light and dynamic lights on the map, but when the map restart it doesn´t go back as it was.

third: while you see the prepare to fight mensage and the rainfall is selected, then after the map is "playable" and the rainfall is disabled, you see the rain.

Download:'https://mega.co.nz/#!j9QViDxQ!IKFh5G0Ul1fwwcywBMt_FD9kwa4lNn_i2GK4dSZJHio [^]'

(not on mediafire because he wasn´t uploading =/)

(0006545)
Dusk   
2013-07-01 22:10   
I think these should be separate tickets, based off the description they don't seem related to this one.
(0006546)
ibm5155   
2013-07-01 22:30   
(edited on: 2013-07-01 22:43)
Ok I´ll do it (I just thinked that it could put here because one of the problens are clientside related)

EDIT:
 http://zandronum.com/tracker/view.php?id=1388

(0011395)
Edward-san   
2015-01-15 23:39   
(edited on: 2015-01-15 23:40)
So, what's the problem which isn't fixed in this ticket yet?

(0011401)
Dusk   
2015-01-16 10:39   
The issue presented in the ticket appears fixed for me.