Change log
![]() ![]() |
Halved the storage requirements for the item database. This should decrease the burden paid in extra long firefox startup and shutdown times this script carries, though it's still not pretty. Made the script decode its script database once per session, instead of every single time it's needed. This should speed things up a bit, in-game. Firebug enabled browsers will see the some Mr. Script time penalties in the Firebug console. I might remove those again if they bother people. Did some refactoring to make the code less bulky. |
![]() ![]() |
Fixed the Full Mode stats/level/adventure count parsing code, which seemed to have rotted. |
![]() ![]() |
Developer-facing changes only, I think: now the code for each location (where a location is defined as "the pathname of the file implementing it server side, minus / and suffix") has its code in a corresponding at_locationname() function. Code providing spoilers for same location is, similarly, placed in spoil_locationname(), which won't get called if spoilers are turned off. So: no need to read through the entire code to see where things happen any more; it's pretty much just the file header and the functions named after the current page, and whatever those invoke in turn. Lots of undeclared variables fixed, and improved readability here and there (I must say the original author has a very peculiar approach to whitespace distribution). Try running |
![]() ![]() |
Fixed the itemdb and usable handling code I broke. |

