summaryrefslogtreecommitdiff
path: root/player.py
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-20 16:49:53 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-20 16:49:53 -0300
commit5c0640a140f9125fdc6ca90c63f54dc57f1e05f7 (patch)
tree1033508c2728778df04947795700fd7913f0fcb1 /player.py
parent6aa000483850a90792a7d93b5869747259793351 (diff)
downloadserver-5c0640a140f9125fdc6ca90c63f54dc57f1e05f7.tar.gz
server-5c0640a140f9125fdc6ca90c63f54dc57f1e05f7.tar.bz2
server-5c0640a140f9125fdc6ca90c63f54dc57f1e05f7.tar.xz
server-5c0640a140f9125fdc6ca90c63f54dc57f1e05f7.zip
[skip ci] Notes about what still must be done for full world support.
Diffstat (limited to 'player.py')
-rw-r--r--player.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/player.py b/player.py
index a15acd4..14f4916 100644
--- a/player.py
+++ b/player.py
@@ -383,6 +383,9 @@ def get_data(args, token):
# FIXME: The token is not secretive enough, someone with
# the "token" can bypass all auths, so this is a risk.
# TODO FIXME: Multiple tokens for same account = Kaboom
+ # Maybe we should use [userid] instead of [token]?
+ # That would also be less wasteful on CPU SQL Time, no?
+ # TODO FIXME: "status" must be improved to use `world` SQL Table
try:
Player[token]["status"]+=1
Player[token]["status"]-=1