Closed clockfort closed 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.
(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);
Done
... would go nicely next to the already added feature of watching others' games.