Zandronum Chat @
Get the latest version: 2.1.2
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002973Zandronum[All Projects] Bugpublic2017-01-04 22:112017-01-06 19:15
Assigned To 
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002973: If i spawn monster with SpawnItemEx when monster is defined in same .dec file it won't be spawned
DescriptionThe monster is not spawned. Cloning actor fails.

Spawned actor never spawns IF it has monster flag and is in same file as the monster that spawns him.

BUT, if actor has flag THRUACTORS. The monster will be spawned.
IF actor is defined earlier IT WILL SPAWN.
Steps To Reproduceactor x1 {

  A_SpawnItemEx( "x2" )


actor x2 {...}

If it is not a monster it will spawn. I did not check all combinations tho. Strange bug.

Additional Information    

Linux zandronum 4.8.0-2-amd64 #1 SMP Debian 4.8.11-1 (2016-12-02) x86_64 GNU/Linux

Working example maybe tomorrow. Too much time lost on this already to figure out what happens.
Attached Files? file icon testspawn.pk3 [^] (657 bytes) 2017-01-06 15:10

- Relationships

-  Notes
User avatar (0016613)
Filystea (reporter)
2017-01-06 15:16
edited on: 2017-01-06 15:19

After making test file. Few notes.

It does not matter where the monster actor is defined. It won't spawn.

summon zom1 or zom4 they can't summon it self or monster defined somewhere.

But if you define monster with monster spawner it will be spawned (example zom3),

And if you give flag to monster THRUACTORS and take it away at spawn. It will be spawned. (zom2)

This behavior was in singleplayer of zandronum version (see aditional info)
and it also was in gzdoom. (I did not check zandronum multiplayer )
GZDoom g2.3pre-1083-gc03cb2c97 - 2016-12-28 12:03:17 +0200 - SDL version
Compiled on Dec 28 2016

User avatar (0016614)
Edward-san (developer)
2017-01-06 16:15

Sounds like 'not a bug' but it's better to ask in gzdoom github.
User avatar (0016615)
Filystea (reporter)
2017-01-06 17:02

It has been passed [^]
User avatar (0016616)
Graf Zahl (reporter)
2017-01-06 18:10

Not a bug. You are trying to spawn a solid monster into a solid monster and that doesn't work by default. You'll need the SXF_CheckPosition flag for that, although the presented use case doesn't look like it makes much sense.
User avatar (0016617)
Filystea (reporter)
2017-01-06 19:05
edited on: 2017-01-06 19:06

" You are trying to spawn a solid monster into a solid monster and that doesn't work by default."

Yet dropitem spawns solid monster (As pointed out in zom3 ).

But ok. All clear now.

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
2017-01-04 22:11 Filystea New Issue
2017-01-04 22:31 Filystea Note Added: 0016601
2017-01-04 22:35 Filystea Note Deleted: 0016601
2017-01-06 15:10 Filystea File Added: testspawn.pk3
2017-01-06 15:16 Filystea Note Added: 0016613
2017-01-06 15:16 Filystea Note Edited: 0016613 View Revisions
2017-01-06 15:19 Filystea Note Edited: 0016613 View Revisions
2017-01-06 15:19 Filystea Note Edited: 0016613 View Revisions
2017-01-06 16:15 Edward-san Note Added: 0016614
2017-01-06 17:02 Filystea Note Added: 0016615
2017-01-06 18:10 Graf Zahl Note Added: 0016616
2017-01-06 19:05 Filystea Note Added: 0016617
2017-01-06 19:06 Filystea Note Edited: 0016617 View Revisions
2017-01-06 19:15 Dusk Status new => closed
2017-01-06 19:15 Dusk Resolution open => no change required

Questions or other issues? Contact Us.


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker