Fix incorrect packet id
This commit is contained in:
1 parent
33f143d8be
commit
490fd6df69
2 files changed
+13
-11
No files matched your search
@@ -305,14 +305,14 @@ class PacketListener(threading.Thread):
|
|||||||
packet = PacketListenerManager.handle6A(self.FileObject)
|
packet = PacketListenerManager.handle6A(self.FileObject)
|
||||||
elif (response == "\x6B"):
|
elif (response == "\x6B"):
|
||||||
packet = PacketListenerManager.handle6B(self.FileObject)
|
packet = PacketListenerManager.handle6B(self.FileObject)
|
||||||
elif (response == "\x78"):
|
|
||||||
packet = PacketListenerManager.handle78(self.FileObject)
|
|
||||||
elif (response == "\x82"):
|
elif (response == "\x82"):
|
||||||
packet = PacketListenerManager.handle82(self.FileObject)
|
packet = PacketListenerManager.handle82(self.FileObject)
|
||||||
elif (response == "\x83"):
|
elif (response == "\x83"):
|
||||||
packet = PacketListenerManager.handle83(self.FileObject)
|
packet = PacketListenerManager.handle83(self.FileObject)
|
||||||
elif (response == "\x84"):
|
elif (response == "\x84"):
|
||||||
packet = PacketListenerManager.handle84(self.FileObject)
|
packet = PacketListenerManager.handle84(self.FileObject)
|
||||||
|
elif (response == "\x85"):
|
||||||
|
packet = PacketListenerManager.handle85(self.FileObject)
|
||||||
elif (response == "\xC8"):
|
elif (response == "\xC8"):
|
||||||
packet = PacketListenerManager.handleC8(self.FileObject)
|
packet = PacketListenerManager.handleC8(self.FileObject)
|
||||||
elif (response == "\xC9"):
|
elif (response == "\xC9"):
|
||||||
|
|||||||
@@ -737,15 +737,6 @@ def handle6B(FileObject):
|
|||||||
'ClickedItem': ClickedItem
|
'ClickedItem': ClickedItem
|
||||||
}
|
}
|
||||||
|
|
||||||
def handle78(FileObject):
|
|
||||||
EntityID = DataUtil.readByte(FileObject)
|
|
||||||
X = DataUtil.readInt(FileObject)
|
|
||||||
Y = DataUtil.readInt(FileObject)
|
|
||||||
Z = DataUtil.readInt(FileObject)
|
|
||||||
return {'EntityID': EntityID,
|
|
||||||
'x': X,
|
|
||||||
'y': Y,
|
|
||||||
'z': Z}
|
|
||||||
|
|
||||||
def handle82(FileObject):
|
def handle82(FileObject):
|
||||||
X = DataUtil.readInt(FileObject)
|
X = DataUtil.readInt(FileObject)
|
||||||
@@ -798,6 +789,17 @@ def handle84(FileObject):
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
def handle85(FileObject):
|
||||||
|
EntityID = DataUtil.readByte(FileObject)
|
||||||
|
X = DataUtil.readInt(FileObject)
|
||||||
|
Y = DataUtil.readInt(FileObject)
|
||||||
|
Z = DataUtil.readInt(FileObject)
|
||||||
|
return {'EntityID': EntityID,
|
||||||
|
'x': X,
|
||||||
|
'y': Y,
|
||||||
|
'z': Z}
|
||||||
|
|
||||||
|
|
||||||
def handleC8(FileObject):
|
def handleC8(FileObject):
|
||||||
StatID = DataUtil.readInt(FileObject)
|
StatID = DataUtil.readInt(FileObject)
|
||||||
Amount = DataUtil.readInt(FileObject)
|
Amount = DataUtil.readInt(FileObject)
|
||||||
|
|||||||
Reference in new issue
Block a user