Jump to content
  • 0

do you reload /db/battleground_db.yml?


nermit

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.06
  • Content Count:  11
  • Reputation:   0
  • Joined:  03/26/24
  • Last Seen:  

hello, how do you reload /db/battleground_db.yml? i tried @reloadstatusdb (as i found an old answer to similar question in RA) but it does not work

 

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1640
  • Reputation:   257
  • Joined:  08/03/12
  • Last Seen:  

1 hour ago, nermit said:

hello, how do you reload /db/battleground_db.yml? i tried @reloadstatusdb (as i found an old answer to similar question in RA) but it does not work

 

There is no way to reload that except you customize it or anything.

The list of existing reloads most probably here : https://github.com/rathena/rathena/blob/master/doc/atcommands.txt#L1456

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.06
  • Content Count:  11
  • Reputation:   0
  • Joined:  03/26/24
  • Last Seen:  

25 minutes ago, Chaos92 said:

There is no way to reload that except you customize it or anything.

The list of existing reloads most probably here : https://github.com/rathena/rathena/blob/master/doc/atcommands.txt#L1456

So how do i introduce the changes i made to battleground_db.yml, by restarting the server? Does it require compile?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1640
  • Reputation:   257
  • Joined:  08/03/12
  • Last Seen:  

6 hours ago, nermit said:

So how do i introduce the changes i made to battleground_db.yml, by restarting the server? Does it require compile?

just restart the server. only changes in src will need compile

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.06
  • Content Count:  11
  • Reputation:   0
  • Joined:  03/26/24
  • Last Seen:  

thank you

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.01
  • Content Count:  24
  • Reputation:   4
  • Joined:  06/29/22
  • Last Seen:  

If you want it to reload on `@reloadstatusdb` or any other reload command of your choosing, you can just add the line `battleground_db.reload();` to the desired spot in the reload function: https://github.com/rathena/rathena/blob/master/src/map/atcommand.cpp#L4201

For status db you'd add it after line 4281.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.06
  • Content Count:  11
  • Reputation:   0
  • Joined:  03/26/24
  • Last Seen:  

thanks @ckx_ applied this and is working.

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