SITO / Discussions / sito.synergy.gridcosm
Re: 2205 question
by Jon Van Oast [uwi SITOme] [email Jon Van Oast] 2005-04-15 23:44:40 [12011]
yes, you have to understand, on the current (i.e. unfinished) level, the ordering is going to be a little weird. why? well, since this has been mentioned more than once, you get the geeky details! be warned!

the ordering is based on the timestamp in the database for each piece. what happens behind-the-scenes when a pieces is *reserved* is that it is given the timestamp of *when it expires*. i dont know why i chose to do it this way, but there you have it. so, when a piece is reserved, it gets ordered *later* than pieces that are *finished* after it, but less than two hours after (as that is when it expires). if that makes sense. and if i am even remember this correctly!

needless to say, when a piece is uploaded, the timestamp gets set to that time. thus, when a level is complete, the ordering should be correct.

i suppose i could figure out the math/logic necessary to do the ordering right on the top level, but that wouldnt make it be a quick 5-minute 3-lines-of-code bonus feature then, would it? haha

In reply to:
Re: 2205 question

Index of all topics
The Discussions are disabled now and this is only an archive copy.