Updated code

For discussion of the BB stats code.
User avatar
Comfortable with my sexuality
Comfortable with my sexuality
Posts: 1408
Joined: Fri Dec 02, 2005 7:57 am
Location: Horse country

Updated code

Post by Piers » Sat Dec 01, 2007 12:04 pm

I've recoded the tables to use a hash, which has the happy side effect of closing the outstanding new player bug.

See it at http://www.buddabudda.com/stats/tables2142DO.asp, I'll reintegrate with the standard code when I'm happy it's working - today's results are definitely the same as the old code.

A key learning of this process is the default object of a DO is .Item(), so I'll rewrite the stats page to clean up the code to remove .Item passim.