summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-04-10 16:15:36 -0400
committermekolat <mekolat@users.noreply.github.com>2016-04-10 16:15:36 -0400
commit7ae66e32c9c8c7d7f2f6037b9d5f95280ede13f8 (patch)
treeb06fbe381f1b1204c558666ec43254d3704bc3be
parentd2bc791b1f9966c5d5f457a74418d6bef5fd8351 (diff)
downloadmanamarket-7ae66e32c9c8c7d7f2f6037b9d5f95280ede13f8.tar.gz
manamarket-7ae66e32c9c8c7d7f2f6037b9d5f95280ede13f8.tar.bz2
manamarket-7ae66e32c9c8c7d7f2f6037b9d5f95280ede13f8.tar.xz
manamarket-7ae66e32c9c8c7d7f2f6037b9d5f95280ede13f8.zip
send client version 1
-rwxr-xr-xmain.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.py b/main.py
index d289177..5c5099a 100755
--- a/main.py
+++ b/main.py
@@ -689,10 +689,10 @@ def main():
logger.info("Login connected")
login_packet = PacketOut(0x0064)
- login_packet.write_int32(0)
+ login_packet.write_int32(1) # <= CLIENT VERSION
login_packet.write_string(account, 24)
login_packet.write_string(password, 24)
- login_packet.write_int8(0x03);
+ login_packet.write_int8(0x03); # <= FLAGS
login.sendall(str(login_packet))
pb = PacketBuffer()