nermit Posted May 14, 2024 Group: Members Topic Count: 7 Topics Per Day: 0.02 Content Count: 13 Reputation: 0 Joined: 03/26/24 Last Seen: November 13, 2024 Share Posted May 14, 2024 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 Quote Link to comment Share on other sites More sharing options...
0 Chaos92 Posted May 14, 2024 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 1826 Reputation: 288 Joined: 08/03/12 Last Seen: 2 hours ago Share Posted May 14, 2024 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 Quote Link to comment Share on other sites More sharing options...
0 nermit Posted May 14, 2024 Group: Members Topic Count: 7 Topics Per Day: 0.02 Content Count: 13 Reputation: 0 Joined: 03/26/24 Last Seen: November 13, 2024 Author Share Posted May 14, 2024 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? Quote Link to comment Share on other sites More sharing options...
0 Chaos92 Posted May 14, 2024 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 1826 Reputation: 288 Joined: 08/03/12 Last Seen: 2 hours ago Share Posted May 14, 2024 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 Quote Link to comment Share on other sites More sharing options...
0 nermit Posted May 15, 2024 Group: Members Topic Count: 7 Topics Per Day: 0.02 Content Count: 13 Reputation: 0 Joined: 03/26/24 Last Seen: November 13, 2024 Author Share Posted May 15, 2024 thank you Quote Link to comment Share on other sites More sharing options...
0 ckx_ Posted May 16, 2024 Group: Members Topic Count: 7 Topics Per Day: 0.01 Content Count: 26 Reputation: 4 Joined: 06/29/22 Last Seen: March 27 Share Posted May 16, 2024 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. Quote Link to comment Share on other sites More sharing options...
0 nermit Posted June 10, 2024 Group: Members Topic Count: 7 Topics Per Day: 0.02 Content Count: 13 Reputation: 0 Joined: 03/26/24 Last Seen: November 13, 2024 Author Share Posted June 10, 2024 thanks @ckx_ applied this and is working. Quote Link to comment Share on other sites More sharing options...
Question
nermit
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.