From 2904be0b6af033c890677f5c18937231f8d56446 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 3 Sep 2022 00:22:44 -0300 Subject: Minor... bugfix? I'm not sure --- .tools/copy.sh | 1 + protocol.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.tools/copy.sh b/.tools/copy.sh index 53ce3f8..341ab76 100755 --- a/.tools/copy.sh +++ b/.tools/copy.sh @@ -11,5 +11,6 @@ cp news.json $DEST cp bar.json $DEST cp world.json $DEST cp summons.json $DEST +cp skills.json $DEST # Not yet used echo "Done! Move them to your webserver folder" diff --git a/protocol.py b/protocol.py index 98cebdb..c3cade3 100644 --- a/protocol.py +++ b/protocol.py @@ -49,7 +49,7 @@ def parse(packet, conn): # Create a token if t == "0": t=utils.create_token() - conn.token = t + conn.token = str(t) r=player.get_data(data[2], t) if r is ERR_BAD: -- cgit v1.2.3-60-g2f50