zmref Posted September 4, 2012 Group: Members Topic Count: 148 Topics Per Day: 0.03 Content Count: 299 Reputation: 6 Joined: 06/14/12 Last Seen: March 30, 2013 Share Posted September 4, 2012 How does each character/player in a server saved their game? I mean like saved inventory, char stats, map location, job class, level, etc. where can I found this in database without opening their own accounts? Quote Link to comment Share on other sites More sharing options...
starkBastard Posted September 4, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 37 Reputation: 0 Joined: 07/16/12 Last Seen: January 18, 2013 Share Posted September 4, 2012 main.sql Quote Link to comment Share on other sites More sharing options...
Mystery Posted September 4, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted September 4, 2012 Using the main.sql found here: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/sql-files/main.sql has all the tables needed for characters to be saved. They are saved automatically by the server itself: // Database autosave time // All characters are saved on this time in seconds (example: // autosave of 60 secs with 60 characters online -> one char is saved every // second) autosave_time: 300 // Min database save intervals (in ms) // Prevent saving characters faster than at this rate (prevents char-server // save-load getting too high as character-count increases) minsave_time: 100 // Apart from the autosave_time, players will also get saved when involved // in the following (add as needed): // 1: after every successful trade // 2: after every vending transaction // 4: after closing storage/guild storage. // 8: After hatching/returning to egg a pet. // 16: After successfully sending a mail with attachment // 32: After successfully submitting an item for auction // 64: After successfully get/delete/complete a quest // NOTE: These settings decrease the chance of dupes/lost items when there's a // server crash at the expense of increasing the map/char server lag. If your // server rarely crashes, but experiences interserver lag, you may want to set // these off. save_settings: 127 https://rathena.svn....map_athena.conf You would need to be setup as a SQL server since we no longer support Text based servers (if you're using eAthena it's a different story then). Quote Link to comment Share on other sites More sharing options...
Question
zmref
How does each character/player in a server saved their game? I mean like saved inventory, char stats, map location, job class, level, etc.
where can I found this in database without opening their own accounts?
Link to comment
Share on other sites
2 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.