MantisBT - Zandronum
View Issue Details
0001102Zandronum[All Projects] Bugpublic2012-10-05 20:242018-09-30 22:38
NotIvan 
Edward-san 
normalmajoralways
closedfixed 
1.0 
 
0001102: PolyObject desync when using this code
'http://pastebin.com/QqPhJ2yK [^]'

When you use a polyobj to move in a certain path, a straight line for example, it tends to desync terribly, so much that it mostly appears invisible and you can barely even see it move, it flickers. This doesn't happen in singleplayer I've checked, somehow online this is messed up. I unfortunately don't have a test map but using a code like this should be enough to reproduce.
No tags attached.
related to 0001022closed Edward-san Rotating polyobjects aren't reset after map resets online 
? polyobject_test_04.wad (9,105) 2012-10-06 15:53
https://zandronum.com/tracker/file_download.php?file_id=785&type=bug
Issue History
2012-10-05 20:24NotIvanNew Issue
2012-10-05 23:46NotIvanNote Added: 0004973
2012-10-05 23:46NotIvanNote Edited: 0004973bug_revision_view_page.php?bugnote_id=4973#r2709
2012-10-06 11:11DuskNote Added: 0004983
2012-10-06 11:11DuskStatusnew => feedback
2012-10-06 11:45NotIvanNote Added: 0004985
2012-10-06 11:45NotIvanStatusfeedback => new
2012-10-06 12:08unknownnaStatusnew => confirmed
2012-10-06 12:10unknownnaNote Added: 0004987
2012-10-06 12:11unknownnaNote Edited: 0004987bug_revision_view_page.php?bugnote_id=4987#r2731
2012-10-06 12:11unknownnaReproducibilitysometimes => always
2012-10-06 12:14unknownnaProduct Version => 1.0
2012-10-06 12:51NotIvanNote Added: 0004989
2012-10-06 12:54unknownnaNote Added: 0004990
2012-10-06 12:55unknownnaStatusconfirmed => feedback
2012-10-06 14:07NotIvanNote Added: 0004991
2012-10-06 14:07NotIvanStatusfeedback => new
2012-10-06 14:28unknownnaNote Added: 0004992
2012-10-06 14:38unknownnaNote Edited: 0004992bug_revision_view_page.php?bugnote_id=4992#r2733
2012-10-06 15:24NotIvanNote Added: 0004993
2012-10-06 15:53unknownnaFile Added: polyobject_test_04.wad
2012-10-06 15:54unknownnaNote Added: 0004995
2012-10-06 15:54unknownnaStatusnew => confirmed
2015-01-15 23:30Edward-sanNote Added: 0011393
2015-01-17 11:10Edward-sanRelationship addedrelated to 0001022
2015-06-10 21:52unknownnaNote Added: 0012645
2015-06-10 21:52unknownnaNote Edited: 0012645bug_revision_view_page.php?bugnote_id=12645#r7370
2015-06-10 21:59unknownnaNote Edited: 0012645bug_revision_view_page.php?bugnote_id=12645#r7371
2015-06-10 21:59unknownnaNote Edited: 0012645bug_revision_view_page.php?bugnote_id=12645#r7372
2015-06-10 22:30unknownnaNote Added: 0012646
2015-06-10 22:30unknownnaAssigned To => Edward-san
2015-06-10 22:30unknownnaStatusconfirmed => resolved
2015-06-10 22:30unknownnaResolutionopen => fixed
2018-09-30 22:38Blzut3Statusresolved => closed

Notes
(0004973)
NotIvan   
2012-10-05 23:46   
Wanted to note that it might also be related to lag or packetloss. It is alright sometimes, but mostly it's really bad.

(0004983)
Dusk   
2012-10-06 11:11   
Please post an example WAD.
(0004985)
NotIvan   
2012-10-06 11:45   
Here's an example wad. I managed to narrow the problem down to gamemodes with countdowns, I think they are not reset properly or client is not informed properly because as soon as the countdown is over, on my side, there's a high probability that they will be screwed and you won't be able to keep track of them.

'https://dl.dropbox.com/s/7w3ncmgg2dwfgvy/polytest.pk3?dl=1 [^]'
(0004987)
unknownna   
2012-10-06 12:10   
(edited on: 2012-10-06 12:11)
You're right. The map resets seem to trigger the problems here.

(0004989)
NotIvan   
2012-10-06 12:51   
I also noticed that this applies to any polyobject rather than just this kind. Some of them don't even appear at their actual places when map resets, and sometimes they move on their own without being trigger. (Those that need some method of activation for example)
(0004990)
unknownna   
2012-10-06 12:54   
Does this only happen when the PolyObjects are triggered by ACS?
(0004991)
NotIvan   
2012-10-06 14:07   
It seems to be the case, I may be wrong. There are types that aren't in KDIZD I'm pretty sure. Possibly Z1M5. In my case though, they are all triggered by ACS.
(0004992)
unknownna   
2012-10-06 14:28   
(edited on: 2012-10-06 14:38)
The PolyObject speed and distance values seem to increase whenever there's a map reset if the PolyObjects haven't reached their destination before the map reset takes place. This seems to be a client-side issue. If you bump into the true server-side positions, your movement will be blocked.

Edit:

This isn't specific to ACS-triggered PolyObjects.

(0004993)
NotIvan   
2012-10-06 15:24   
Yeah I tried shooting the way to see if they were still there and I could see bulletpuffs so I assume they do work. Now my question would be, is this fixable? :p
(0004995)
unknownna   
2012-10-06 15:54   
I created a new example WAD. The PolyObjects will pretty much always desync whenever you push the switch (map reset).
(0011393)
Edward-san   
2015-01-15 23:30   
The fix I made for 0001022 seems to work also for this ticket.
(0012645)
unknownna   
2015-06-10 21:52   
(edited on: 2015-06-10 21:59)
The build posted in 0001089 takes care of polyobject_test_04.wad and polytest.pk3 for me.

(0012646)
unknownna   
2015-06-10 22:30   
This is actually fixed in 2.0.