Zandronum Chat @ irc.zandronum.com
#zandronum
Get the latest version: 3.0
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003724Zandronum[All Projects] Bugpublic2019-10-14 22:262019-10-14 22:26
ReporterStrikerMan780 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusnewResolutionopen 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version3.0 
Target VersionFixed in Version 
Summary0003724: DECORATE user vars not synched online
DescriptionUser vars in DECORATE actors are never synched online it would appear. I've got a number of actors that either remain stuck, or don't change states appropriately when they should, and debugging has shown me that the vars are not being synched online whatsoever. Clientside actors are fine.
Steps To ReproduceMake a DECORATE.TXT file with this, and load it on a server with -file (yes, this works), and cheats enabled. Spawn it with the summon command. You'll find that it'll bounce forever on the client, while it's already dead on the server.

Also, before anyone asks, I switched to using A_Countdown for this, but it's relevant because user vars are useful for other things and without any sync, it can lead to ghost actors being left on the client permanently, causing lag.

actor UserVarDebug
{
    Decal "BulletChip"
    Projectile
    obituary "%o had %p flesh torn off by %k's shrapnel."
    Radius 2
    Height 2
    Speed 150
    Damage (10)
    RenderStyle Add
    Alpha 1.0
    BounceType Hexen
    BounceFactor 1.0
    +BOUNCEAUTOOFFFLOORONLY
    +BLOODSPLATTER
    +RIPPER
    +USEBOUNCESTATE
    +CANPASS
    var int user_bounces; // Have to do this because Zan/GZDoom's bounce code is fucking garbage and results in stuck actors on rare occasions.
    States
    {
        Spawn:
            PUFF A 1 bright
            loop
        Bounce:
            PUFF A 0 A_SetUserVar("user_bounces", user_bounces+1)
            PUFF A 0 A_JumpIf(user_bounces >= 5, "Death")
            goto Spawn
        Death:
            TNT1 A 0
            TNT1 A 1
            TNT1 A 0
            stop
    }
}
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

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

- Issue History
Date Modified Username Field Change
2019-10-14 22:26 StrikerMan780 New Issue






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker