Jump to content
  • 0

[HELP] Raidboss respawn


Question

Posted

Whenever a raidboss gets killed on my server, the respawn time gets set properly:

 

312jntx.png

 

However, the updated respawn_time only appears in the raidboss_spawnlist@l2jdb table after a server restart. Because of this my raidboss-status page on the website shows the killed raid as 'alive' untill a server restart.

 

Anyone know a way to fix this? :)

4 answers to this question

Recommended Posts

  • 0
Posted

the PHP code is correct, it shows the raids as alive because the database table has not been altered yet - this only happens after a server restart.

 

The problem is that the gameserver states that the respawn_time has been updated, but it really only updates it after a restart....

  • 0
Posted

Porbablly you can only change that by recoding parts of the core and make it upgrade that table every X seconds or even more likely every time a raid dies. Dont ask me how...

  • 0
Posted

edit the file

java\net\sf\l2j\gameserver\instancemanager\RaidBossSpawnManager.java

 

and change this line

 

//To update immediately Database uncomment on the following line, to post the hour of respawn raid boss on your site for example or to envisage a crash landing of the waiter.

//updateDb();

 

to read

 

//To update immediately Database uncomment on the following line, to post the hour of respawn raid boss on your site for example or to envisage a crash landing of the waiter.

updateDb();

 

basicly remove the // from pdateDB();

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...

Important Information

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..