Welcome to the RaGEZONE - MMORPG development forums.

[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 ...

Results 1 to 8 of 8
  1. #1
    TwistedStory is Coming!
    Rank
    Member +
    Join Date
    Feb 2010
    Posts
    475
    Liked
    10

    config [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

  2. #2
    Coder in-training
    Rank
    Member +
    Join Date
    Dec 2008
    Location
    Canada
    Posts
    591
    Liked
    44
    Gamertag: Peter4Life

    Re: [Help] Double spawn (1 Invisible)

    Look at the reactor to look for a double spawn?
    Like if I helped you!

  3. #3
    TwistedStory is Coming!
    Rank
    Member +
    Join Date
    Feb 2010
    Posts
    475
    Liked
    10

    Re: [Help] Double spawn (1 Invisible)

    But I spawn with cm.spawnMob.. what does it have to do with a reactor?

  4. #4
    Gamma
    Rank
    Gamma
    Join Date
    Mar 2010
    Location
    Rhode Island
    Posts
    3,125
    Liked
    528

    Re: [Help] Double spawn (1 Invisible)

    Quote Originally Posted by daniel4evar View Post
    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.

  5. #5
    TwistedStory is Coming!
    Rank
    Member +
    Join Date
    Feb 2010
    Posts
    475
    Liked
    10

    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?

  6. #6
    TwistedStory is Coming!
    Rank
    Member +
    Join Date
    Feb 2010
    Posts
    475
    Liked
    10

    Re: [Help] Double spawn (1 Invisible)

    ~Bump~

  7. #7
    Member
    Rank
    Member
    Join Date
    Aug 2007
    Posts
    84
    Liked
    16

    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!

  8. #8
    TwistedStory is Coming!
    Rank
    Member +
    Join Date
    Feb 2010
    Posts
    475
    Liked
    10

    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
  •