MNoya / Element-TD

Element Tower Defense
http://www.eletd.com
64 stars 22 forks source link

13 Elements #461

Closed WindStrike72 closed 7 years ago

WindStrike72 commented 7 years ago

Somehow, this happened:

http://www.eletd.com/leaderboard/matches/2707094449 http://forums.eletd.com/topic/95707-13-elements-bug-or-not/

No clue how it's possible.

MNoya commented 7 years ago

Sandbox?

biax commented 7 years ago

If I were to guess it would be the script parsing the database incorrectly. Maybe not all conditions are considered. Also if you notice: Sandbox.

On 2016-10-14 01:13, WindStrike72 wrote:

Somehow, this happened:

http://www.eletd.com/leaderboard/matches/2707094449 http://forums.eletd.com/topic/95707-13-elements-bug-or-not/

No clue how it's possible.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MNoya/Element-TD/issues/461, or mute the thread https://github.com/notifications/unsubscribe-auth/AOdsCoSrCCUNsuR1S9xjZvlS3HaJleThks5qzma2gaJpZM4KWI9L.

ynohtna92 commented 7 years ago

The database does not build the leaderboard based sandbox. It will only exclude data if cheat is set to 0 and the game is whitelisted. I'm pretty sure that cheat should have been set to 1 if the game was played in Sandbox, but for some reason in this case it wasn't.

In future the leaderboard builder will check for the order field != 'Sandbox' to prevent this from happening again.

I have manually set the cheat field to 1 in the database.

ynohtna92 commented 7 years ago

This should fix it. https://github.com/ynohtna92/ElementTDLeaderboard/commit/22ee0f76634ed7f7982d68eeba0d3b273e7f732e