On new.smrealms.de
Something happens with AJAX, back button error appears and it's possible to vote at least at one of the sites twice, if not on more.
Also, I believe that something with the time is wrong, cause I get to vote too often.
Voting bug
Moderators: JettJackson, Infinity, Page
Voting bug
Use The Force(s)!
Re: Voting bug
Do you definitely get the turns both times? Because the script for giving the turns is the same one that registers the vote so it *should* be all or nothing.
I'll look at the timing, but I think it may just be a case of resetting at midnight which means you can vote twice in fairly short sucession if you choose.
I'll look at the timing, but I think it may just be a case of resetting at midnight which means you can vote twice in fairly short sucession if you choose.
Re: Voting bug
I did check through, the voting may not be all or nothing, but if only part of it works it'll be that the vote is registered but no turns are given.
Also the timer appeared to be set to the time vote is made and checked that it's been 24h since the last vote, but there could be a problem elsewhere so still need to look closer at this possibility
Also the timer appeared to be set to the time vote is made and checked that it's been 24h since the last vote, but there could be a problem elsewhere so still need to look closer at this possibility
Re: Voting bug
The timing stuff all *looks* ok, and there's not much to it really, set to current time when processing the vote, check if last vote was > 86400s ago