summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-09-03 00:22:44 -0300
committerJesusaves <cpntb1@ymail.com>2022-09-03 00:22:44 -0300
commit2904be0b6af033c890677f5c18937231f8d56446 (patch)
treec3b82d0b6a5851b3538c525041fc4b668449f650
parenteae3bf2c947009373178189c6f4610e21aa76469 (diff)
downloadserver-2904be0b6af033c890677f5c18937231f8d56446.tar.gz
server-2904be0b6af033c890677f5c18937231f8d56446.tar.bz2
server-2904be0b6af033c890677f5c18937231f8d56446.tar.xz
server-2904be0b6af033c890677f5c18937231f8d56446.zip
Minor... bugfix? I'm not sure
-rwxr-xr-x.tools/copy.sh1
-rw-r--r--protocol.py2
2 files changed, 2 insertions, 1 deletions
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: