![]() |
#1 |
Adept
Join Date: Jul 2007
Posts: 155
![]() |
Missing high scores
Has anyone else had issues involving broken high scores?
Sometimes (I'll even go as far as to say 'often') my high scores just don't get saved. My scores.raw file is just 256 bytes: Directory of I:\games\angsrc\trunk\lib\apex 03/25/2008 12:31 AM <DIR> . 03/25/2008 12:31 AM <DIR> .. 03/19/2008 08:36 PM <DIR> .svn 03/25/2008 12:31 AM 0 scores.lok 03/25/2008 12:31 AM 256 scores.raw 2 File(s) 256 bytes I could swear there is something broken with fseek. The fseek returns 0 for any (!!) offset. highscore_read either returns the first record (if the seek is to 0 or 128) or fails. Side note: in highscore_add, there should probably be an error= TRUE if highscore_read() fails. On my box it just keeps looping around, with highscore_seek always returning 1, and highscore_read failing, until i = MAX_HISCORES. suck. [Edit] nightly build seems to work for me for some reason. I'm compiling myself with cygwin. I'm setting MINGW=yes make -f Makefile.win and I changed -O to -ggdb, and removed -s to make it debuggable. I don't see why any of that is causing the failure, though. - Frank Last edited by ChodTheWacko; March 25, 2008 at 05:04. |
![]() |
![]() |
![]() |
#2 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,769
Donated: $40
![]() |
I'm having trouble in 3.1.0 -- it only keeps the very highest score. All the rest vanish at death.
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
High Scores? | d1sc0nnected | Vanilla | 2 | February 29, 2008 08:57 |
Hengband World High Scores | Cyrlous | Variants | 0 | December 11, 2007 07:00 |