Jump to content

Release: MVP Tomb save timer on Server Restart


AllanEpi

Recommended Posts


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   3
  • Joined:  07/12/12
  • Last Seen:  

MVP Tomb save timer on Server Restart


*2025-03-17 - Updated works for latest rathena

1) Upon killing MVPs, it will save the date and time of death, killer , monster and map where it was killed in the database.

2) During server restart, reload or sudden crash, before spawning mobs, it will check and differentiate the date and time saved in the database with the current server time and check if the MVP should be alive or dead.
- If ALIVE, should spawn the MVP
- If DEAD, will not spawn the MVP, spawn the tomb (if tomb is enabled in the server config) and create a timer to spawn the MVP from the time it was killed


 

Link to comment
Share on other sites

  • 3 months later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  10/15/17
  • Last Seen:  

LOOK AT THOSE ERRORS, FIX THEM SOON

Error.png

Edited by juanmartinez
Link to comment
Share on other sites

  • 10 months later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  09/27/19
  • Last Seen:  

i got this error

Severity    Code    Description    Project    File    Line    Suppression State    Details
Error    C2065    'MF_MAPMVP': undeclared identifier    map-server-generator    F:\create RO Server on centos 7.8\UpdateRA\rathena\src\map\mob.cpp    1066        

 

Please help to fix it. im use latest rathena
 

mvpspawn.PNG

Link to comment
Share on other sites

  • 7 months later...

  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  158
  • Reputation:   14
  • Joined:  07/07/12
  • Last Seen:  

This mod does not work, after restarting the server or reloading the scripts, the killed mvp monster still resurrects (mvp_tomb_enabled: yes)

I think it's the table mvp_tomb, for some reason it's being erased.

Edited by Break
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.

Guest
Reply to this topic...

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