Jump to content
  • 0

Raidboss Manager With Time Of Death


Question

Posted

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

  • 0
Posted

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
Posted

You can also store it in an aditional field in the database, which will be updated along with the respawn time.

  • 0
Posted

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
Posted (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 by Tryskell
  • 0
Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

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.

I've Disabled AdBlock