MantisBT - Zandronum
View Issue Details
0000121Zandronum[All Projects] Bugpublic2010-10-16 21:512018-09-30 20:24
Anonymous 
Torr Samaho 
normalminoralways
closedfixed 
MicrosoftWindowsXP/Vista/7
98c 
1.11.1 
0000121: A_SkullPop dissapears with the Flag in CTF
When uses the comand A_SkullPop in CTF, the flag is dropped but when that flag carrier respawns, the flag dissapears, don't return to the base.
In a new simple decorate lump:

ACTOR NewPlayer : DoomPlayer replaces DoomPlayer
{
    States
    {
    XDeath:
         PLAY O 5 A_NoBlocking
TNT1 A 0 A_SkullPop
         PLAY P 5
         PLAY Q 5
         PLAY RSTUV 5
    PLAY W -1
         Stop
}

Then, in the game try kill himself when carrying the flag in a CTF.
No tags attached.
? Example.wad (1,735) 2010-10-19 02:25
/tracker/file_download.php?file_id=43&type=bug
Issue History
2010-10-16 21:51AnonymousNew Issue
2010-10-16 23:27EruannaNote Added: 0000378
2010-10-16 23:27EruannaNote Deleted: 0000378
2010-10-18 10:42unknownnaNote Added: 0000435
2010-10-19 02:25AnonymousFile Added: Example.wad
2010-10-19 02:26AnonymousNote Added: 0000437
2010-10-19 06:05user35Note Added: 0000438
2010-10-19 08:53AnonymousNote Added: 0000439
2010-10-19 08:55AnonymousNote Deleted: 0000439
2010-10-19 08:55unknownnaNote Added: 0000440
2010-10-19 09:05unknownnaNote Edited: 0000440bug_revision_view_page.php?bugnote_id=440#r178
2010-10-19 09:09unknownnaNote Edited: 0000440bug_revision_view_page.php?bugnote_id=440#r179
2010-11-12 18:48AnonymousNote Deleted: 0000437
2012-06-09 13:22Torr SamahoCategoryGeneral => Bug
2013-01-13 14:19Torr SamahoNote Added: 0005770
2013-01-13 14:19Torr SamahoAssigned To => Edward-san
2013-01-13 14:19Torr SamahoStatusnew => needs testing
2013-01-13 14:19Torr SamahoAssigned ToEdward-san => Torr Samaho
2013-01-13 14:19Torr SamahoTarget Version => 1.1
2013-01-13 15:23Torr SamahoNote Added: 0005772
2013-04-05 20:05ArcoNote Added: 0006235
2013-04-05 21:42DuskStatusneeds testing => resolved
2013-04-05 21:42DuskFixed in Version => 1.1
2013-04-05 21:42DuskResolutionopen => fixed
2018-09-30 20:24Blzut3Statusresolved => closed

Notes
(0000435)
unknownna   
2010-10-18 10:42   
I couldn't reproduce this. Please post an example WAD.
(0000438)
user35   
2010-10-19 06:05   
unknownna, the example is right at stats to reproduce.
(0000440)
unknownna   
2010-10-19 08:55   
(edited on: 2010-10-19 09:09)
Ok, now I see it. Thanks for the example WAD. It happens both with and without the 'instant flag return (ST/CTF)' DMflag. It also happens with the terminator sphere and the hell stone.

The flag never drops though, it simply disappears when you die.

As a workaround to the flag/sphere/stone problem, you can either put a dummy TNT1 A frame with a duration of 1 tic before the one that calls 'A_SkullPop', or you can rename the state, i.e. 'XDeath' to 'XDeath1'.

BTW, you forgot to put a 'SS_END' lump in the example WAD.

(0005770)
Torr Samaho   
2013-01-13 14:19   
This should fix the issue.
(0005772)
Torr Samaho   
2013-01-13 15:23   
After fixing this I noticed that it's better to overhaul the dropping code. The whole dropping was implemented twice, but with slight differences. I just revised the code to get rid of this duplication.

Dropping of flags/skulls/terminator artifact/hellstone needs to be tested thoroughly in the upcoming 1.1 beta version.
(0006235)
Arco   
2013-04-05 20:05   
Fixed.