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

Nethack should dump deaths to sqlite #35

Closed eatnumber1 closed 13 years ago

eatnumber1 commented 14 years ago

It would be extremely useful if Nethack dumped death information to a sqlite database. The performance of the high scores script can (probably) be significantly improved if reading from a sqlite database.

clockfort commented 14 years ago

You could always backhaul the high scores table to a SQL db in a cronjob... unless you want really live death updates. In which case, bleh.

eatnumber1 commented 14 years ago

It's all about the super live stuff.

I'd like to be able to register a database change notification with the database so that things like tweets can go out the moment you die.

clockfort commented 13 years ago

This will be much easier to implement once Will finishes the JSON save stuffs, as JSON-->Database is a much saner, well-used environment than binary nethack data --> Database

eatnumber1 commented 13 years ago

I never meant to write binary data to the db. It would only write statistics to the database.

eatnumber1 commented 13 years ago

Fixed by f77b4f263dabe3618722e0cba313286f144dbe8c. Games are now dumped to a mysql database. I've also written a script which has imported all previous games.