Closed ninthseason closed 2 years ago
@SakuraPuare @mccube2000 Please fix the bug.
wtf
在connection.py
文件中屏蔽地图包的接收。得以暂时解决问题。
695 if packet.packet_name == 'map':
696 return None
Currently unclear the data struct of this packet, but now let us just drop it
file_object.get_writable()
>b"\x00'\xaa\x02\x00\x00\x00\x00"
在basic.py中修改UnsignedByte.read
def read(file_object):
data = file_object.read(1)
if len(data):
return struct.unpack('>B', data)[0]
else:
return 0
暂时防止报错
连接至服务器后立马报错。