MantisBT - Zandronum
View Issue Details
0002267Zandronum[All Projects] Bugpublic2015-05-27 13:182015-12-13 02:24
Lance 
 
normalmajoralways
closedinvalid 
MicrosoftWindowsXP/Vista/7
2.0 
 
0002267: Spawn ACS command commonly fails to spawn an actor
The spawn command commonly fails to spawn an actor. I'm not 100% sure what causes it, but I have tested it thoroughly. It always happens when spawning above raised sectors (stairs, ledges, etc). Sometimes it happens in random areas. Even in cases when there is sufficient room to spawn the actor, it will still fail. I've tested this by using setactorposition in the same exact spot, with successful results. This leaves me to believe that there is a bug in the spawn command, unless this was intended to prevent a glitch. However, though you could just use spawnforced, if you were to need the return value, you could only attain this through spawn.
No tags attached.
? unnamed.wad (11,917) 2015-05-28 17:31
/tracker/file_download.php?file_id=1512&type=bug
Issue History
2015-05-27 13:18LanceNew Issue
2015-05-27 14:31Edward-sanNote Added: 0012432
2015-05-27 14:31Edward-sanStatusnew => feedback
2015-05-27 14:32Edward-sanNote Edited: 0012432bug_revision_view_page.php?bugnote_id=12432#r7206
2015-05-27 15:08DuskNote Added: 0012433
2015-05-27 16:21LanceNote Added: 0012434
2015-05-27 16:21LanceStatusfeedback => new
2015-05-27 18:18Edward-sanNote Added: 0012435
2015-05-27 18:18Edward-sanStatusnew => feedback
2015-05-28 01:45LanceNote Added: 0012436
2015-05-28 01:45LanceStatusfeedback => new
2015-05-28 09:26Edward-sanNote Added: 0012437
2015-05-28 09:26Edward-sanNote Edited: 0012437bug_revision_view_page.php?bugnote_id=12437#r7208
2015-05-28 09:26Edward-sanStatusnew => feedback
2015-05-28 17:31LanceFile Added: unnamed.wad
2015-05-28 17:33LanceNote Added: 0012438
2015-05-28 17:33LanceStatusfeedback => new
2015-05-28 17:33LanceNote Edited: 0012438bug_revision_view_page.php?bugnote_id=12438#r7210
2015-05-28 17:34LanceNote Edited: 0012438bug_revision_view_page.php?bugnote_id=12438#r7211
2015-12-13 02:24DuskNote Added: 0013972
2015-12-13 02:24DuskStatusnew => closed
2015-12-13 02:24DuskResolutionopen => invalid

Notes
(0012432)
Edward-san   
2015-05-27 14:31   
(edited on: 2015-05-27 14:32)
Can you reproduce this with GZDoom r900? If yes, what about GZDoom 1.8?

(0012433)
Dusk   
2015-05-27 15:08   
Please supply a testcase.
(0012434)
Lance   
2015-05-27 16:21   
I have reproduced it with both GZDoom r900 and GZDoom 1.8. It behaves exactly as it does in Zandronum. Is there anything else that I should take into account?
(0012435)
Edward-san   
2015-05-27 18:18   
Can you try with the latest ZDoom git version from'http://devbuilds.drdteam.org/zdoom/ [^]' ? Also what Dusk asks.
(0012436)
Lance   
2015-05-28 01:45   
I've tested it with the latest Zdoom, and it still occurs. How would I supply a testcase?
(0012437)
Edward-san   
2015-05-28 09:26   
You can attach a minimal wad file containing the Spawn ACS script, if that's what you meant.

(0012438)
Lance   
2015-05-28 17:33   
(edited on: 2015-05-28 17:34)
Okay, I made a small test that exploits the problem. I hope this is what you meant by 'testcase'. On the start of the map there are two switches. The one to the right will use the spawn command to spawn an enemy above the stairs. While the one to the right will do the same exact thing, but away from the stairs.

I attached the wad if you want to check it out.

(0013972)
Dusk   
2015-12-13 02:24   
The spawn is failing because the mapspot is inside monster blocking lines. The zombieman would get stuck. Which makes this an user error.