Jump to content
  • 0

[HELP] Raidboss respawn


macdonald12

Question

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? :)

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

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

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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();

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...