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 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!
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.
Just use a timer or something idk
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.
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
You might want to make sure this works properly in GodWarsBosses.java
Add something like a message to tell if the minion is alive or not to help you find the root of the problemCode:public static void respawnArmadylMinions() { for (GodWarMinion minion : armadylMinions) { if (minion.hasFinished() || minion.isDead()) minion.respawn(); } }
something like this maybe
Then just go and kill the arma boss and see if it outputs anything that looks out of placeCode:public static void respawnArmadylMinions() { for (GodWarMinion minion : armadylMinions) { if (minion.hasFinished() || minion.isDead()) { System.out.println("Respawn"); minion.respawn(); }else System.out.println("Alive"); } }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |