ComputerScienceHouse / bingehack

A fork of nethack with semi-multiplayer features and other customizations. (An in-heavy-development fork version is at https://github.com/computersciencehouse/bingehack4 )
http://nethack.csh.rit.edu
23 stars 4 forks source link

dgamelaunch menu should support looking at high scores #13

Closed clockfort closed 14 years ago

clockfort commented 14 years ago

... would go nicely next to the already added feature of watching others' games.

eatnumber1 commented 14 years ago

I think the high scores is called "logfile" in nethack's dir. Here's an excerpt from it:

3.4.3 0 0 1 1 16 16 0 20100510 20100510 0 Val Hum Fem Neu root,quit 3.4.3 158 0 1 1 14 16 0 20100510 20100510 1001 Cav Hum Fem Law russ,quit 3.4.3 1835 0 3 4 -2 48 1 20100510 20100510 1001 Val Dwa Fem Law russ,killed by a poisonous corpse 3.4.3 77 0 1 1 -1 16 1 20100510 20100510 1001 Val Hum Fem Law Andrei,killed by a goblin 3.4.3 206 0 1 1 12 16 0 20100510 20100510 1001 Val Hum Fem Law Andrei,quit

I'm not sure of what this format is.

clockfort commented 14 years ago

(void) fprintf(rfile,"%d.%d.%d %ld %d %d %d %d %d %d %ld %ld %d ", tt->ver_major, tt->ver_minor, tt->patchlevel, tt->points, tt->deathdnum, tt->deathlev, tt->maxlvl, tt->hp, tt->maxhp, tt->deaths, tt->deathdate, tt->birthdate, tt->uid);

eatnumber1 commented 14 years ago

Done