Zandronum Chat on our Discord Server Get the latest version: 3.0
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002317Zandronum[All Projects] Bugpublic2015-06-16 05:582019-06-04 21:54
Reporterunknownna 
Assigned ToDusk 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version2.0 
Target VersionFixed in Version 
Summary0002317: Another monster z desync: ThrustThingZ after being resurrected
DescriptionSee attached screenshot. The monsters will appear as dropping down and then teleporting back up. I noticed this issue while testing the Heretic RPG mod. A friendly hawk monster would teleport between the sky and the floor after respawning.
Steps To Reproduce1. zandronum -iwad doom2.wad -file jumping_monsters_04b.wad -host
2. zandronum -iwad doom2.wad -file jumping_monsters_04b.wad -connect localhost
3. Join the game.
4. Kill the monsters with the chaingun. They will respawn.
Additional Information
Actor Test : ZombieMan 32767
{
    Health 1
    Speed 12
    +NOGRAVITY
    +FLOAT
    DropItem ""
    States
    {
    Spawn:
        PLAY AB 12 A_Look
        Loop
    See:
        PLAY AABBCCDD 3 A_Chase
        Loop
    Missile:
        Stop
    Pain:
        Stop
    XDeath:
    Death:
        PLAY N 5 A_NoBlocking
        PLAY N 5 A_Scream
        PLAY N 5 A_Gravity
        PLAY N 70
        TNT1 A 0 HealThing (999)
        TNT1 A 0 A_ChangeFlag ("SHOOTABLE", 1)
        TNT1 A 0 A_NoGravity
        PLAY N 2 ThrustThingZ (0, 10, 0, 1)
        Goto Spawn
    }
}
Attached Filespng file icon Screenshot_Doom_20150616_074141.png [^] (58,463 bytes) 2015-06-16 05:58


? file icon jumping_monsters_04b.wad [^] (1,573 bytes) 2015-06-16 06:21
? file icon jumping_monsters_04c.wad [^] (1,586 bytes) 2015-06-17 01:25
png file icon Screenshot_Doom_20150617_031913.png [^] (56,915 bytes) 2015-06-17 01:26

- Relationships
related to 0002299confirmed Another monster z desync issue: This time when walking on SOLID things 

-  Notes
User avatar (0012742)
Dusk (developer)
2015-06-16 20:02

Pretty sure this is a case of Don't Do That. You're not supposed to respawn monsters by giving them health and using "goto Spawn", but by properly resurrecting using e.g. Thing_Raise or with A_Respawn.

The "zombies" cannot be killed again after they first respawn as of 3.0.
User avatar (0012744)
unknownna (updater)
2015-06-17 01:28
edited on: 2015-06-17 01:35

But it still desyncs in 3.0. And before you dismiss this as a case of "Don't do that.", I'd like to know why it stops desyncing completely when the tic durations are changed. For instance, it doesn't seem to desync at all when the death state is changed from:

Death:
  PLAY N 5 A_NoBlocking
  PLAY N 5 A_Scream
  PLAY N 5 A_Gravity
  PLAY N 70
  TNT1 A 0 HealThing (999)
  TNT1 A 0 A_ChangeFlag ("SHOOTABLE", 1)
  TNT1 A 0 A_NoGravity
  PLAY N 2 ThrustThingZ (0, 10, 0, 1)
  Goto Spawn


To:

Death:
  PLAY N 1 A_NoBlocking
  PLAY N 1 A_Scream
  PLAY N 1 A_Gravity
  PLAY N 70
  PLAY N 1 HealThing (999)
  PLAY N 1 A_ChangeFlag ("SHOOTABLE", 1)
  PLAY N 1 A_NoGravity
  PLAY N 1 ThrustThingZ (0, 10, 0, 1)
  Goto Spawn

I still insist on there being an underlying issue causing the actual desync in the first place. Correct me if I'm wrong.

I made an example WAD that uses the correct behavior (and works in 3.0) and it still desyncs in a nasty way online. See attached screenshot. The jumping corpses are actually living monsters that have been resurrected with Thing_Raise.

Death:
  PLAY N 5 A_NoBlocking
  PLAY N 5 A_Scream
  PLAY N 5 A_Gravity
  PLAY N 70
  PLAY N -1 Thing_Raise (0)
  Stop
Raise:
  PLAY N 0
  PLAY N 0
  PLAY N 0 A_NoGravity
  PLAY N 2 ThrustThingZ (0, 10, 0, 1)
  Goto See



Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: unknownna
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2015-06-16 05:58 unknownna New Issue
2015-06-16 05:58 unknownna File Added: Screenshot_Doom_20150616_074141.png
2015-06-16 05:58 unknownna File Added: jumping_monsters_04.wad
2015-06-16 05:59 unknownna Additional Information Updated View Revisions
2015-06-16 06:00 unknownna Relationship added related to 0002299
2015-06-16 06:00 unknownna Status new => confirmed
2015-06-16 06:21 unknownna File Deleted: jumping_monsters_04.wad
2015-06-16 06:21 unknownna File Added: jumping_monsters_04b.wad
2015-06-16 06:22 unknownna Steps to Reproduce Updated View Revisions
2015-06-16 06:22 unknownna Additional Information Updated View Revisions
2015-06-16 20:02 Dusk Note Added: 0012742
2015-06-16 20:02 Dusk Assigned To => Dusk
2015-06-16 20:02 Dusk Status confirmed => feedback
2015-06-17 01:25 unknownna File Added: jumping_monsters_04c.wad
2015-06-17 01:26 unknownna File Added: Screenshot_Doom_20150617_031913.png
2015-06-17 01:28 unknownna Note Added: 0012744
2015-06-17 01:28 unknownna Status feedback => assigned
2015-06-17 01:29 unknownna Note Edited: 0012744 View Revisions
2015-06-17 01:31 unknownna Note Edited: 0012744 View Revisions
2015-06-17 01:33 unknownna Note Edited: 0012744 View Revisions
2015-06-17 01:35 unknownna Note Edited: 0012744 View Revisions
2019-06-04 21:54 Dusk Status assigned => new






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker