If you want to upload onto FTP current stats saved on server, enable following setting on ServerPerks.ini: bUploadAllStats=True. Then start game on solo and wait for it to finish uploading everything.
After numerous attempts and the lack of success stories of people in the same situation, I had to face the fact that the FTP database just doesn't play well with linux KF server (server crashing, wiping player stats).
Since the two servers I run are in the same VPS and same filesystem, I thought of just making a symbolic link to ServerPerksStat.ini. The only downside I noticed is that data isn't written to disk immediatly when the messages *Saving 1 stats object* shown in the logs, meaning players have to wait a few minutes before switching servers to avoid losing any progress.
Other than the very occasional moment where both servers will attempt to write in the file at the same time, should I be worried about anything else ? Is this an horribly bad practice ?
- Added server news page on escape menu, you can assign it to load some HTML web page (ServerPerks.ini: ServerNewsURL=www.somesite.com/servernews.txt).
The FTP server saves each persons stats in a .txt with there SteamID as the name. So you'll probably get alot of .txt files
Use a hard link to ServerPerksStat.ini instead of symbolic link. If you are using symbolic link, then ucc may cache the entire file and overwrite any other data changed by other servers.
IMO using hard links is the best way to share perk stats between multiple servers, if they all are running on the same Linux machine.
If you saving stats at the end of every wave, then player risk of loosing only last wave's stats (if left mid-wave) when joining to another server - not a big deal at all.