Thread: Npc not respawning.

Page 1 of 4 123 ... LastLast
Results 1 to 10 of 34
  1. #1 Npc not respawning. 
    Age Of Chaos Developer
    GreekO's Avatar
    Join Date
    Nov 2012
    Posts
    336
    Thanks given
    133
    Thanks received
    22
    Rep Power
    14
    Ok so ive came accross an anoying problem with mt project server for some reason all godwars bosses are minions not respawning after been killed ive checked the npcspawning and npcspawn class and everything seems to be fine to me so i dunno ive recently added crabs and they respawn fine anyone have any ideas cheers.Thank +rep those who help ofc.

    Bump!

    Quote Originally Posted by GreekO View Post
    Ok so ive came accross an anoying problem with mt project server for some reason all godwars bosses are minions not respawning after been killed ive checked the npcspawning and npcspawn class and everything seems to be fine to me so i dunno ive recently added crabs and they respawn fine anyone have any ideas cheers.Thank +rep those who help ofc.

    Bump!
    Bump!
    Reply With Quote  
     

  2. #2  
    Donator


    Join Date
    Jul 2013
    Posts
    1,233
    Thanks given
    1
    Thanks received
    493
    Rep Power
    0
    In their respective names, check to see if they are being called in the World class as npcs to be intialized. If not check another source as they are spawned differently compared to other npcs.
    Reply With Quote  
     

  3. #3  
    Age Of Chaos Developer
    GreekO's Avatar
    Join Date
    Nov 2012
    Posts
    336
    Thanks given
    133
    Thanks received
    22
    Rep Power
    14
    Quote Originally Posted by 423 Million View Post
    In their respective names, check to see if they are being called in the World class as npcs to be intialized. If not check another source as they are spawned differently compared to other npcs.
    Ok ill take a look thanks.
    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Aug 2011
    Posts
    843
    Thanks given
    541
    Thanks received
    220
    Rep Power
    0
    Just use a timer or something idk
    Reply With Quote  
     

  5. #5  
    Age Of Chaos Developer
    GreekO's Avatar
    Join Date
    Nov 2012
    Posts
    336
    Thanks given
    133
    Thanks received
    22
    Rep Power
    14
    Quote Originally Posted by Pwnhub View Post
    Just use a timer or something idk
    Ive checked all the files i can possibly check and nothing,i have also found this in GeneralGraardor class,

    Code:
    getCombatDefinitions().getRespawnDelay() * 600,
    				TimeUnit.MILLISECONDS);

    If anyone can team view me that would be great.
    Reply With Quote  
     

  6. #6  
    Registered Member

    Join Date
    Mar 2011
    Age
    27
    Posts
    555
    Thanks given
    168
    Thanks received
    190
    Rep Power
    0
    Quote Originally Posted by GreekO View Post
    Ive checked all the files i can possibly check and nothing,i have also found this in GeneralGraardor class,

    Code:
    getCombatDefinitions().getRespawnDelay() * 600,
    				TimeUnit.MILLISECONDS);

    If anyone can team view me that would be great.
    Godwars minions are supposed to be spawned as soon as the boss spawns, also if you kill minion before the boss it will work like a regular spawntimer.
    Avalon Developer
    Reply With Quote  
     

  7. #7  
    Age Of Chaos Developer
    GreekO's Avatar
    Join Date
    Nov 2012
    Posts
    336
    Thanks given
    133
    Thanks received
    22
    Rep Power
    14
    Quote Originally Posted by -Andreas View Post
    Godwars minions are supposed to be spawned as soon as the boss spawns, also if you kill minion before the boss it will work like a regular spawntimer.
    well when i restart the server there there fine i kill the minions first and then kill boss i sat there for ten minutes waiting to see if it was due to a spawn delay so yes im really baffled on what could be wrong,ive also looked in all the godwars and minions class files and matched them with an other server and they are the same so idk.
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    May 2012
    Posts
    286
    Thanks given
    7
    Thanks received
    49
    Rep Power
    25
    Do you have more than one godwars boss spawned? As the combat script that comes with the source only checks if there is at least one of each minion in the world so if you have one than one of those minions spawned anywhere in the world they wont respawn
    Reply With Quote  
     

  9. #9  
    Age Of Chaos Developer
    GreekO's Avatar
    Join Date
    Nov 2012
    Posts
    336
    Thanks given
    133
    Thanks received
    22
    Rep Power
    14
    Quote Originally Posted by juuuuu View Post
    Do you have more than one godwars boss spawned? As the combat script that comes with the source only checks if there is at least one of each minion in the world so if you have one than one of those minions spawned anywhere in the world they wont respawn
    Ok thanks ill take a look



    Edit

    6260 2870 5369 0 -1 true General Graardor
    6261 2866 5362 0 -1 true Sergeant Strongstack
    6263 2870 5356 0 -1 true Sergeant Steelwill
    6265 2874 5361 0 -1 true Sergeant Grimspike

    Thats my from my customnpc spawns file in data
    Reply With Quote  
     

  10. #10  
    Registered Member
    Join Date
    May 2012
    Posts
    286
    Thanks given
    7
    Thanks received
    49
    Rep Power
    25
    You might want to make sure this works properly in GodWarsBosses.java

    Code:
    public static void respawnArmadylMinions() {
    	for (GodWarMinion minion : armadylMinions) {
    		if (minion.hasFinished() || minion.isDead())
    			minion.respawn();
    	}
    }
    Add something like a message to tell if the minion is alive or not to help you find the root of the problem

    something like this maybe
    Code:
    public static void respawnArmadylMinions() {
    		for (GodWarMinion minion : armadylMinions) {
    			if (minion.hasFinished() || minion.isDead()) {
    				System.out.println("Respawn");
    				minion.respawn();
    			}else
    				System.out.println("Alive");
    		}
    	}
    Then just go and kill the arma boss and see if it outputs anything that looks out of place
    Reply With Quote  
     

Page 1 of 4 123 ... LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Npcs not respawning
    By Nerditupbro in forum Help
    Replies: 2
    Last Post: 12-27-2012, 08:31 AM
  2. Npcs not respawning after being killed
    By CrazeNation in forum Help
    Replies: 2
    Last Post: 11-02-2012, 11:52 PM
  3. NPCs Not Respawning :s
    By Dirty Dan in forum Help
    Replies: 1
    Last Post: 02-26-2012, 02:21 AM
  4. Replies: 14
    Last Post: 12-13-2010, 10:40 AM
  5. npc not respawning
    By peronigood in forum Help
    Replies: 7
    Last Post: 12-08-2010, 12:52 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •