TheEnginesOfCreation / EntityPlus

EntityPlus is a mod that offers a true single player experience in the Quake III Arena videogame.
34 stars 5 forks source link

High scores are overwritten after each playthrough #172

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When finishing a level, only the score of that play-through is saved to the 
highscores file for that map. An existing score is lost.

Original issue reported on code.google.com by era...@gmail.com on 18 Mar 2014 at 10:56

GoogleCodeExporter commented 9 years ago
For some odd reason, vm's from a fresh (1.1.5) build don't have this problem. 
Oddly enough, no code changes have been made that could affect this.

Original comment by era...@gmail.com on 18 Mar 2014 at 8:07

TheEnginesOfCreation commented 9 years ago

When compiled as qvm, the problem persists even in 1.1.5

TheEnginesOfCreation commented 9 years ago

The problem is caused by sv_pure being set to 1. The highscore file is outside of a pk3 file and can therefore not be read when the game tries to load existing scores. Setting sv_pure to 0 fixes this. Will try to see if sv_pure can always be forced to 0 in EntityPlus.