summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2015-05-04 11:30:57 -0500
committerwushin <pasekei@gmail.com>2015-05-04 11:30:57 -0500
commitcc39ab6fd5e25aedaaf0236b663ce6c74615238e (patch)
treed9ffbb4b8cbcce8bfb0027e02f83bdcf2c0ac46d
parentbeaf7f36bb2c609de5fcad1c06e37e26147c0cb0 (diff)
downloadmanamarket-cc39ab6fd5e25aedaaf0236b663ce6c74615238e.tar.gz
manamarket-cc39ab6fd5e25aedaaf0236b663ce6c74615238e.tar.bz2
manamarket-cc39ab6fd5e25aedaaf0236b663ce6c74615238e.tar.xz
manamarket-cc39ab6fd5e25aedaaf0236b663ce6c74615238e.zip
Update MM for v2015.5.4 TMWA
-rwxr-xr-xmain.py2
-rw-r--r--net/packet.py2
-rw-r--r--net/protocol.py1
3 files changed, 4 insertions, 1 deletions
diff --git a/main.py b/main.py
index 5592a52..8e80bc2 100755
--- a/main.py
+++ b/main.py
@@ -799,6 +799,8 @@ def main():
# A Thread to send a shop broadcast: also keeps the network active to prevent timeouts.
shop_broadcaster.start()
+ elif packet.is_type(SMSG_QUEST_PLAYER_VARS):
+ continue
elif packet.is_type(SMSG_WHISPER):
msg_len = packet.read_int16() - 26
nick = packet.read_string(24)
diff --git a/net/packet.py b/net/packet.py
index 16b4f79..ef48094 100644
--- a/net/packet.py
+++ b/net/packet.py
@@ -45,7 +45,7 @@ packet_lengths = [
-1, -1, 20, 10, 32, 9, 34, 14, 2, 6, 48, 56, -1, 4, 5, 10,
#0x2000
26, 0, 0, 0, 18, 0, 0, 0, 0, 0, 0, 19, 10, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
+ 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
]
class PacketOut:
diff --git a/net/protocol.py b/net/protocol.py
index 4a4b74f..fc64767 100644
--- a/net/protocol.py
+++ b/net/protocol.py
@@ -1,5 +1,6 @@
SMSG_LOGIN_DATA = 0x0069
SMSG_CHAR_LOGIN = 0x006b
+SMSG_QUEST_PLAYER_VARS = 0x0215
SMSG_CHAR_MAP_INFO = 0x0071
SMSG_MAP_LOGIN_SUCCESS = 0x0073
SMSG_MAP_LOGIN_SUCCESS = 0x0073