- 0
This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
AdBlock Extension Detected!
Our website is made possible by displaying online advertisements to our members.
Please disable AdBlock browser extension first, to be able to use our community.
Question
ČυяŞŀŅğ
on topbbsmanger.java
if (fileName.equals("data/html/CommunityBoard/56.htm")); { // Raid Status raidBosses(); content = content.replaceAll("%antharas%", bossStatus(29019)); content = content.replaceAll("%valakas%", bossStatus(29028)); content = content.replaceAll("%baium%", bossStatus(29020)); content = content.replaceAll("%antqueen%", bossStatus(29001)); content = content.replaceAll("%core%", bossStatus(29006)); content = content.replaceAll("%zaken%", bossStatus(29022)); content = content.replaceAll("%frintezza%", bossStatus(29045)); content = content.replaceAll("%orfen%", bossStatus(29014)); content = content.replaceAll("%freya%", bossStatus(29178)); content = content.replaceAll("%beleth%", bossStatus(29118)); }and the way im taking the respawn infi is this
/** * @param bossId * @return */ private static String bossStatus(int bossId) { long delay=0; if(bossId==29178) { delay=bosses.get("Freya"); if(delay<=System.currentTimeMillis()) return "<font color=\"9CC300\">Alive!</font>"; else return "<font color=\"ff0000\">Dead!</font>"; } else if(bossId==29118) { delay=bosses.get("Beleth"); if(delay<=System.currentTimeMillis()) return "<font color=\"9CC300\">Alive!</font>"; else return "<font color=\"ff0000\">Dead!</font>"; } delay = GrandBossManager.getInstance().getStatsSet(bossId).getLong("respawn_time"); if (delay <= System.currentTimeMillis()) { return "<td><tr><font color=\"9CC300\">Alive!</font></td></tr>"; } else { return "<font color=\"ff0000\">Dead!</font>"; } }For normal grandbosses is working fine, but since im using costum beleth and Freya with no AI since i dont have it .. The cb is not working.. I use %freya% on 56.htm and not replacing the respawn status of those 2 rbs.. :/
On database l2npc those 2 bosses are L2RaidBoss and Also there is no more than one "Beleth or Freya npc as name..
any idea? :/
4 answers to this question
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