summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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