diff --git a/networking/NetworkManager.py b/networking/NetworkManager.py index 417209c..8e3741e 100644 --- a/networking/NetworkManager.py +++ b/networking/NetworkManager.py @@ -305,14 +305,14 @@ class PacketListener(threading.Thread): packet = PacketListenerManager.handle6A(self.FileObject) elif (response == "\x6B"): packet = PacketListenerManager.handle6B(self.FileObject) - elif (response == "\x78"): - packet = PacketListenerManager.handle78(self.FileObject) elif (response == "\x82"): packet = PacketListenerManager.handle82(self.FileObject) elif (response == "\x83"): packet = PacketListenerManager.handle83(self.FileObject) elif (response == "\x84"): packet = PacketListenerManager.handle84(self.FileObject) + elif (response == "\x85"): + packet = PacketListenerManager.handle85(self.FileObject) elif (response == "\xC8"): packet = PacketListenerManager.handleC8(self.FileObject) elif (response == "\xC9"): diff --git a/networking/PacketListenerManager.py b/networking/PacketListenerManager.py index 6e648b4..3b8f196 100644 --- a/networking/PacketListenerManager.py +++ b/networking/PacketListenerManager.py @@ -737,15 +737,6 @@ def handle6B(FileObject): '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): 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): StatID = DataUtil.readInt(FileObject) Amount = DataUtil.readInt(FileObject)