[Solved] Double spawn (1 Invisible)
This is a discussion on [Solved] Double spawn (1 Invisible) within the Help forums, part of the Java Based (Odin) category; There are some mobs like Von Leon that when I spawn it and kill it, everything is fine but when ...
-
TwistedStory is Coming!
[Solved] Double spawn (1 Invisible)
There are some mobs like Von Leon that when I spawn it and kill it, everything is fine but when I use !killall it kills another invisible (and untouchable) monster..
I need to fix this cuz im using a npc in this map using the getMonsterCount function..
Any suggestions?
Note: again, there's not an invisible mob in the map before I spawn von leon, it spawns with it. (Incase you didn't understand)
Last edited by Piggy; 05-05-12 at 12:29 AM.
Reason: added [Solved] tags
-
-
Coder in-training
Re: [Help] Double spawn (1 Invisible)
Look at the reactor to look for a double spawn?
-
TwistedStory is Coming!
Re: [Help] Double spawn (1 Invisible)
But I spawn with cm.spawnMob.. what does it have to do with a reactor?
-
Gamma
Re: [Help] Double spawn (1 Invisible)

Originally Posted by
daniel4evar
But I spawn with cm.spawnMob.. what does it have to do with a reactor?
I remember in a server they had a spawning NPC that used something like spawnMob and it would summon mobs but also an equal number to the amount npc spawns in hiding. Doubt it's reactor's fault.
-
TwistedStory is Coming!
Re: [Help] Double spawn (1 Invisible)
It's not the reactors fault since im using a npc method.. Is there a way to prevent this from happening?
-
TwistedStory is Coming!
Re: [Help] Double spawn (1 Invisible)
-
Member
Re: [Help] Double spawn (1 Invisible)
You may need to change the spawnMob function inside of NPCConversationManager.java. SunnyBoy said that it might be spawning some extra monsters because of other npc's in the room. Look for something that is spawning the monsters for each npc.
If I helped click like!

-
TwistedStory is Coming!
Re: [Help] Double spawn (1 Invisible)
Found the bug, it was a non functioning "revive" method in the mob's XML file.
Thanks for your help guys =]
Last edited by daniel4evar; 02-05-12 at 07:32 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules