nermit Posted May 14 Group: Members Topic Count: 5 Topics Per Day: 0.06 Content Count: 11 Reputation: 0 Joined: 03/26/24 Last Seen: 13 minutes ago Share Posted May 14 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 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 1640 Reputation: 257 Joined: 08/03/12 Last Seen: 43 minutes ago Share Posted May 14 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 Group: Members Topic Count: 5 Topics Per Day: 0.06 Content Count: 11 Reputation: 0 Joined: 03/26/24 Last Seen: 13 minutes ago Author Share Posted May 14 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 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 1640 Reputation: 257 Joined: 08/03/12 Last Seen: 43 minutes ago Share Posted May 14 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 Group: Members Topic Count: 5 Topics Per Day: 0.06 Content Count: 11 Reputation: 0 Joined: 03/26/24 Last Seen: 13 minutes ago Author Share Posted May 15 thank you Quote Link to comment Share on other sites More sharing options...
0 ckx_ Posted May 16 Group: Members Topic Count: 6 Topics Per Day: 0.01 Content Count: 24 Reputation: 4 Joined: 06/29/22 Last Seen: Wednesday at 12:37 AM Share Posted May 16 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 Monday at 02:00 PM Group: Members Topic Count: 5 Topics Per Day: 0.06 Content Count: 11 Reputation: 0 Joined: 03/26/24 Last Seen: 13 minutes ago Author Share Posted Monday at 02:00 PM 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.