Wednesday, 2nd March 2011, 21:09 by Zedd
The dead characters information is kept at distinct files at the morgue folder, corret?
There must be one aggregating file, though, so that the score screen is displayed easily. My question is: which file is that? What information of each character does it contain? It might be difficult to do generic rank listings such as 'which of my characters killed the most Megabats" if this one aggregating file does not contain that information.
If that information is not there, all the files need to be read every time such rankings are required... I mean, I can program myself a simple application that will open each character file, parse and read the information and then categorize it by a defined attribute... but opening, reading and closing multiple files (thousands even) is going to make it run forever before answering.
I'd think that the easiest way of offering different rankings is keeping these predefined rankings from the start. Keep the normal score ranking as it is now and add new rankings for gold, kills, etc.