Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old March 25, 2008, 04:50   #1
ChodTheWacko
Adept
 
Join Date: Jul 2007
Posts: 155
ChodTheWacko is on a distinguished road
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.
ChodTheWacko is offline   Reply With Quote
Old March 25, 2008, 05:39   #2
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,769
Donated: $40
Pete Mack will become famous soon enough
I'm having trouble in 3.1.0 -- it only keeps the very highest score. All the rest vanish at death.
Pete Mack is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 02:03.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.