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

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001255Zandronum[All Projects] Bugpublic2013-01-21 08:402014-12-20 22:46
ReporterDartPower 
Assigned To 
PrioritylowSeveritymajorReproducibilitysometimes
StatusclosedResolutionno change required 
PlatformWIntel and Apple (Intel)OSWindows and OS X Mountain LionOS VersionXP and 10.8.2
Product Version1.0 
Target VersionFixed in Version 
Summary0001255: Occasional buggy behavior in Master/Children relationship
DescriptionWhen using A_KillMaster in DECORATE statements between tho MONSTER's actual damaging/killing does not happen - leading to unavailability of stable feature of Master/Children relationship

Also buggy with A_KillChildren but it generally works when A_KillMaster generally won't work.
Steps To ReproduceActor Looper
{

 +ISMONSTER
 
 States
 {
 Spawn:
 CEYE A 4
 CEYE AAAAA 0 A_SpawnItemEx("zombieman",random(-75,75),random(-75,75),10,0,0,0,0, SXF_SETMASTER)
 CEYE B 4
 CEYE C 4 A_KillChildren
 Loop
 }
}

It works fine. But if you place actor to be children and call A_KillMaster it is broken:

Actor [Something]
{
...
States
{
...
Spawn:
...
XXXX X 0 A_SpawnItemEx("Looper",random(-75,75),random(-75,75),10,0,0,0,0, SXF_SETMASTER)
...
}
...
}

Actor Looper
{

 +ISMONSTER
 
 States
 {
 Spawn:
 CEYE A 4
 CEYE AAAAA 0
 CEYE B 4
 CEYE C 4 A_KillMaster
 Loop
 }
}

Will not work at all!
Additional InformationTried many variants with completelly rewrited actors and with default monsters to make e.g. zombieman spawned by shotgunguy with A_SpawnItemEx to kill it's spawner shotgunguy
All the same result... Really frustrating.

Also, would be well if A_SpawnItemEx flag SXF_TRANSFERPOINTERS be backported from ZDoom
Attached Files

- Relationships

-  Notes
User avatar (0009203)
Watermelon (developer)
2014-06-13 15:59

Does it happen in 2.0?
User avatar (0011079)
Minigunner (reporter)
2014-12-20 21:57

I've found that this issue is what causes the elevator in one of WhoDunIt's maps to not function properly online. Not only that, but it seems that the A_RemoveChildren function doesn't work on server setups like Best-Ever's, but it works just fine when I run it on a personal server with some other players. I can't test the former with 2.0, but I have tested the latter with 2.0 and it works properly just the same.
User avatar (0011080)
Dusk (developer)
2014-12-20 22:46

User error - both actors need +ISMONSTER to work and your "[Something]" does not appear to have it. If this is still a problem, please reopen and attach a minimal, working testcase.

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2013-01-21 08:40 DartPower New Issue
2014-06-13 15:59 Watermelon Note Added: 0009203
2014-06-13 15:59 Watermelon Assigned To => Watermelon
2014-06-13 15:59 Watermelon Status new => feedback
2014-06-15 22:12 Watermelon Assigned To Watermelon =>
2014-12-20 21:57 Minigunner Note Added: 0011079
2014-12-20 22:46 Dusk Note Added: 0011080
2014-12-20 22:46 Dusk Status feedback => closed
2014-12-20 22:46 Dusk Resolution open => no change required






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker