MantisBT - Zandronum
View Issue Details
0001381Zandronum[All Projects] Bugpublic2013-06-24 22:592018-09-30 20:18
Arco 
Torr Samaho 
normalmajoralways
closedfixed 
AllAllAll
1.1-beta 
1.11.1 
0001381: sv_barrelrespawn causes desyncs online
When a barrel explodes, it performs it's proper function and ceases to exist until it respawns. The flag calls for exploded barrels to show their last frames when a connecting user joins the server.
Start server with
zandronum.exe -host +sv_barrelrespawn 1 +alwaysapplydmflags 1 +map map23
No tags attached.
png Screenshot_Doom_20130624_184604.png (114,170) 2013-06-24 22:59
https://zandronum.com/tracker/file_download.php?file_id=985&type=bug
png

? MAP01_BarrelWarpTest.wad (3,162) 2013-07-15 15:41
https://zandronum.com/tracker/file_download.php?file_id=1014&type=bug
Issue History
2013-06-24 22:59ArcoNew Issue
2013-06-24 22:59ArcoFile Added: Screenshot_Doom_20130624_184604.png
2013-06-24 23:01DuskStatusnew => confirmed
2013-06-24 23:01DuskSummarySv_barrelrespawn Causes Desyncs Online => sv_barrelrespawn causes desyncs online
2013-06-24 23:01DuskSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=3586#r3586
2013-06-24 23:02DuskProduct Version => 1.1-beta
2013-06-24 23:02DuskTarget Version => 1.1
2013-06-24 23:05DuskNote Added: 0006502
2013-06-24 23:06DuskNote Edited: 0006502bug_revision_view_page.php?bugnote_id=6502#r3588
2013-06-24 23:06DuskSeverityminor => major
2013-06-24 23:08DuskNote Edited: 0006502bug_revision_view_page.php?bugnote_id=6502#r3589
2013-06-24 23:23QuadrumpusGuyNote Added: 0006503
2013-06-25 18:12Edward-sanNote Added: 0006509
2013-06-30 09:28Torr SamahoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=3598#r3598
2013-06-30 09:35Torr SamahoAssigned To => Torr Samaho
2013-06-30 09:35Torr SamahoStatusconfirmed => assigned
2013-06-30 09:44Torr SamahoNote Added: 0006525
2013-06-30 10:22Torr SamahoNote Added: 0006527
2013-07-10 17:09ArcoNote Added: 0006608
2013-07-10 19:14Torr SamahoNote Added: 0006611
2013-07-10 19:14Torr SamahoStatusassigned => needs testing
2013-07-14 21:46DuskStatusneeds testing => resolved
2013-07-14 21:46DuskFixed in Version => 1.1
2013-07-14 21:46DuskResolutionopen => fixed
2013-07-14 21:49DuskNote Added: 0006641
2013-07-14 21:49DuskStatusresolved => feedback
2013-07-14 21:49DuskResolutionfixed => reopened
2013-07-14 21:49DuskStatusfeedback => assigned
2013-07-14 21:57DuskNote Edited: 0006641bug_revision_view_page.php?bugnote_id=6641#r3692
2013-07-14 21:57DuskNote Edited: 0006641bug_revision_view_page.php?bugnote_id=6641#r3693
2013-07-14 22:13DuskNote Edited: 0006641bug_revision_view_page.php?bugnote_id=6641#r3694
2013-07-14 22:14DuskNote Edited: 0006641bug_revision_view_page.php?bugnote_id=6641#r3695
2013-07-14 22:15DuskNote Edited: 0006641bug_revision_view_page.php?bugnote_id=6641#r3696
2013-07-15 06:59Torr SamahoNote Added: 0006644
2013-07-15 14:47ArcoNote Added: 0006645
2013-07-15 15:41jwaffeFile Added: MAP01_BarrelWarpTest.wad
2013-07-15 15:43jwaffeNote Added: 0006647
2013-07-15 15:44jwaffeNote Edited: 0006647bug_revision_view_page.php?bugnote_id=6647#r3700
2013-07-15 18:39Torr SamahoNote Added: 0006649
2013-07-15 18:40Torr SamahoStatusassigned => needs testing
2013-07-15 19:43ArcoNote Added: 0006657
2013-07-16 10:41DuskStatusneeds testing => resolved
2013-07-16 10:41DuskResolutionreopened => fixed
2018-09-30 20:18Blzut3Statusresolved => closed

Notes
(0006502)
Dusk   
2013-06-24 23:05   
(edited on: 2013-06-24 23:08)
Confirmed during testing session on 1.1-130512-1932, sv_barrelrespawn and alwaysapplydmflags must be set

- a newly connecting client percieves the barrel as stuck in mid-explosion, as pictured
- barrels appear to vanish, reappear and then "jump" before detonation if shot after respawning

1.0 does not exhibit the behavior.


// [RH] Pretend as deathmatch for purposes of dmflags
// EXTERN_CVAR (Bool, alwaysapplydmflags)
#define alwaysapplydmflags true
pls thx

(0006503)
QuadrumpusGuy   
2013-06-24 23:23   
"Ghost" barrels always spawn at coordinate pair (0,0). The barrels that appear here are jointed to other barrels across the map that have respawned and appear to spam explosions when other respawned barrels have exploded. Barrels at this position appear with IDDT but can be passed through (with laggy collision through void space).
(0006509)
Edward-san   
2013-06-25 18:12   
We should find the latest beta build which didn't have this problem...
(0006525)
Torr Samaho   
2013-06-30 09:44   
This problem was introduced with the fix in e46657a3e75d7b5009a5aa1f2002f79f0789d7c3.
(0006527)
Torr Samaho   
2013-06-30 10:22   
While working on a fix I ran into 0000949 again. Can somebody check and report whether GZDoom fixed the problem yet in 0000949?
(0006608)
Arco   
2013-07-10 17:09   
GzDoom does not appear to have that issue fixed in it's latest verision.
(0006611)
Torr Samaho   
2013-07-10 19:14   
I made a fix that doesn't rely on a GZDoom fix. Needs to be tested in the next beta build.
(0006641)
Dusk   
2013-07-14 21:49   
(edited on: 2013-07-14 22:15)
When a respawned barrel is shot, the barrel just vanishes on the client. It still deals damage though. This only happens after the barrel has been shot once and has respawned.

EDIT: Looks like they warp to (0, 0) on the client-side before detonating. Some barrels instead seem to fall from mid-air when detonating.

In addition, a barrel in gw2.wad map18 at -494 425 seems to disappear after first punched. It came back after being punched again. Also alwaysapplydmflags remains being annoying.

(0006644)
Torr Samaho   
2013-07-15 06:59   
I think this is a different problem, i.e. neither caused by e46657a3e75d7b5009a5aa1f2002f79f0789d7c3 nor by its fix. Can somebody check if this is any different in 1.0 and if so, identify the first 1.1 beta build that had this problem?
(0006645)
Arco   
2013-07-15 14:47   
Upon testing this in different versions, it appears that this problem was introduced at v1.1 130120-0905. Although it's rarity is more persistent on this version, I managed to make the barrels to warp to (0,0) by simply shooting at them, but their actors where they where originally are still there until the barrels cease to exist.

Any other erratic behavior was not observed, and this issue does not happen in all variations in v1.0.
(0006647)
jwaffe   
2013-07-15 15:43   
(edited on: 2013-07-15 15:44)
Yesterday during testing I made a wad that makes it easy to illustrate this "warp to 0,0" behavior; 0,0 is at the exact intersecting corner of the four colored squares in the map.

Attached: See MAP01_BarrelWarpTest.wad

I'm not sure if this has been said already, but only the respawned barrels have a problem, the barrels originally placed in the map explode normally.

(0006649)
Torr Samaho   
2013-07-15 18:39   
The problem surfaced with this changeset but is actually caused by a bug that was already in 1.0. This should fix the issue.
(0006657)
Arco   
2013-07-15 19:43   
Quote from "Torr Samaho"
The problem surfaced with this changeset but is actually caused by a bug that was already in 1.0. This should fix the issue.


Interesting. I didn't noticed anything with the barrels when I was testing 1.0, though it could have something to do with 0000817.

Quote from "Torr Samaho"
This should fix the issue.


And it is indeed fixed.