196
Trouble Shooting / Re: Help setting up Railwarz CTF Linux Server
« on: June 03, 2016, 06:35:02 PM »Quote
hscores are working well now. i had a some pemission issue on the folder or files that may have been preventing it from writing.
is there anyway to be notified at end of match that hscores were updated?
or even display the highscore chart at the very end before map change.
It should have written a message in the server console and the log that it was unable to save the file. It would do it if it can't create the file or if the folder didn't exist. It doesn't put it to player consoles but I suppose it could. It's silent on success unless you set developer 1. The file is written early in the beginning of BeginIntermission but there are some long time delays in the scoreboard where it seems to pause. I didn't analyze it very closely because it seemed to be a logical place for it to be but the mod does have some delays built in where players could disconnect between the end of the match and the movement of all the clients to intermission. This might delete their scores before they could be sorted and saved. I'll have to test that and log the timestamps when those events occur but it will have to wait until I get home.
I noticed you had strange ownership on your home directory, they're all owned by root and that isn't the norm. Look into the "chown" command to see how to set ownership permissions on your home. Having to always su between root and your login isn't normal. I remember needing to compile and move the game DLL as root and run the game as regular user.
It looks like valid combos are
ctf 1/0
railserver 1/0
dm always 1, coop always 0
I'll test the mod in ctf 0 mode and see where it's broken. I have not touched the DM scoreboard code yet but there might be something hung in the spawn-up in FFA mode. The bots don't quite spawn perfectly either, I think they spawn at random points in some maps and they end up inside walls or spaces where they die. I'd like to see that fixed.
Use set show_highscores 1 in your config file to make it automatically show the high score table after the scoreboard intermission.