Consider this situation : A server : - NFS server - lbreakout2 installed - /var/games shared on local network with NFS A computer on local network : - lbreakout2 installed - mounting /var/games from server Both games instances are sharing the same /var/games/lbreakout2.hscr file. Now, we play each one in local game : 1 - You start lbreakout2 on server : the highscore file is read by the game during init sequence. 2 - I start lbreakout2 on computer : the highscore file is read by the game during init sequence. 3 - On the server, you explode the score : 50000000 points : congratulations :) 4 - On the computer, I suck : 10 points. 5 - You quit the game on the server : scores are saved in /var/games. 6 - I quit the game on computer : scores are saved in /var/games BUT the 50000000 points disappear to /dev/null. 7 - I won :-) So, here is a little patch to read the highscores's file *just before* saving new scores. That's all folks !
Created attachment 86617 [details, diff] highscores-nfs.patch
Created attachment 86618 [details, diff] (and the patch for the ebuild)
Did you already submit this patch to upstream?
No, I don't.
(In reply to comment #3) > Did you already submit this patch to upstream? > Done.
Created attachment 86642 [details, diff] refresh highscores table on click Another little hack to refresh the highscores table when you click on it in the main menu.
highscores-nfs.patch has been merged to the trunk. Please see : http://sourceforge.net/tracker/index.php?func=detail&aid=1487241&group_id=9301&atid=309301 (not yet for the second)
This is fixed in lbreakout-2.6.1