Drasius Posted December 18, 2009 Posted December 18, 2009 I needed that for my server, it's a simple code delete from the source, And you can spawn more than 1 raidboss in the world. Ex: There is 1 uruka, and you can't spawn it in other instance. 1. Open your gameserver/handler/admincommandhandlers/adminspawn.java 2. Find these lines: spawn.setRespawnDelay(respawnTime); 3. And delete these lines above: if (RaidBossSpawnManager.getInstance().isDefined(spawn.getNpcid())) activeChar.sendMessage("You cannot spawn another instance of " + template1.name + "."); else { 4. Now find this line: activeChar.sendMessage("Created " + template1.name + " on " + target.getObjectId()); 5. And above the line delete this: } 6. After all 5 steps code should look like that: spawn.setRespawnDelay(respawnTime); if (RaidBossSpawnManager.getInstance().getValidTemplate(spawn.getNpcid()) != null) RaidBossSpawnManager.getInstance().addNewSpawn(spawn, 0, template1.getStatsSet().getDouble("baseHpMax"), template1.getStatsSet().getDouble("baseMpMax"), permanent); else SpawnTable.getInstance().addNewSpawn(spawn, permanent); spawn.init(); if (!permanent) spawn.stopRespawn(); activeChar.sendMessage("Created " + template1.name + " on " + target.getObjectId()); } 7. And thats all, now you can spawn more than one raid boss! ;) (I'm newbie on java, but i hope this change will be helpfull for someone).
Versus Posted December 18, 2009 Posted December 18, 2009 And why actually would you do that? When you spawn a RaidBoss it's being added to raidboss_spawnlist table, so you are gonna fuck the table up and the bosses will keep spawning.
Drasius Posted December 19, 2009 Author Posted December 19, 2009 I think it's usefull because you don't need to go delete raid boss from him other place to spawn it in that place where you want.. :) (usefull only in pvp servers)
Kamira Posted May 23, 2012 Posted May 23, 2012 dont work for me... i use H5. maybe anyone have another guide?
pipiou21 Posted May 26, 2012 Posted May 26, 2012 And why actually would you do that? When you spawn a RaidBoss it's being added to raidboss_spawnlist table, so you are gonna -beep- the table up and the bosses will keep spawning. +5 !!!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now