chillavanilla / TeeworldsEconMod

A python script which communicates with teeworlds server log as input and econ connection as output.
MIT License
3 stars 2 forks source link

Store killing spree in database directly #28

Closed ChillerDragon closed 5 years ago

ChillerDragon commented 5 years ago

Make sure a killing spree is never overwritten by a worse highscore compared to a outdated record. Can happen on 0.7 when both tees have the same name or if two servers are running.

It can happen that both players break the killing spree highscore while both are online. If then the player with the better highscore leaves first the other one overwrites it with a worse highscore.

ChillerDragon commented 5 years ago

Maybe even add some generic function that supports custom savings. But for now i cant think of anything that might conflict. Achievements are fine to be overwritten i guess.