raF Posted September 13, 2015 Posted September 13, 2015 Hello guys, I am looking for a raidboss manager which shows the death time of the raid boss. All shared are showing the estimate time of spawning. It would be enough even if u give me only the line for time of death.
0 netoluan Posted September 14, 2015 Posted September 14, 2015 (edited) also I need it, was answered? Edited September 14, 2015 by netoluan
0 Tryskell Posted September 14, 2015 Posted September 14, 2015 There is nothing like stored death timer, you have to implement your own long _deathTimer variable, and feed it with System.currentTimeInMillis() on L2RaidBossInstance.doDie. If you want it to be stored on server shutdown, you should better do it using RaidBossSpawnManager (forget primary idea), which means you edit given datatable, queries, etc.
0 Tessa Posted September 15, 2015 Posted September 15, 2015 You can also store it in an aditional field in the database, which will be updated along with the respawn time.
0 raF Posted September 15, 2015 Author Posted September 15, 2015 What if a make a new collum in RB_Spawnlist where time of death will be saved on "onKill" method and after that loaded by a new instance.
0 Tryskell Posted September 16, 2015 Posted September 16, 2015 (edited) What if a make a new collum in RB_Spawnlist where time of death will be saved on "onKill" method and after that loaded by a new instance. That's basically my second idea, except the "new instance" thing which I didn't understand. It's loaded on server start from RaidBossManager like other variables. Edited September 16, 2015 by Tryskell
0 raF Posted September 16, 2015 Author Posted September 16, 2015 With Instance i mean the NPC which will show the info. If I am right i have to do the following: 1. Create a new column in DB. 2. Create a task in L2RaidBossInstance.java / onDie method / which saves TOD. 3. Create the instance which will load and show the information.
Question
raF
Hello guys, I am looking for a raidboss manager which shows the death time of the raid boss. All shared are showing the estimate time of spawning. It would be enough even if u give me only the line for time of death.
6 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