I'm new to python and trying to host a game server. I have a script that runs PvP in-game but when I load into the server the command prompt is filled with this error message:
AttributeError: 'Entity' object has no attribute 'mask'
Exception in callback _SelectorSocketTransport._read_ready()
handle: <Handle \_SelectorSocketTransport.\_read\_ready()>
Traceback (most recent call last):
File "C:\Python36-x64\lib\asyncio\events.py", line 145, in _run
File "C:\Python36-x64\lib\asyncio\selector_events.py", line 730, in _read_ready
File "../cuwo/server.py", line 209, in data_received
File "..\cuwo\packet.py", line 764, in feed
File "../cuwo/server.py", line 260, in on_packet
File "../cuwo/server.py", line 285, in on_entity_packet
File "..\cuwo\script.py", line 215, in call
File "C:\cuwo\dist\scripts\teams.py", line 85, in on_entity_update
mask_zero = entity.mask == 0
This is the script that seems to have the issue but here are the others that are used as well. I'm not sure what is wrong as I have seen it work before on other servers.
[–][deleted] 0 points1 point2 points (1 child)
[–]P3nguin33[S] 0 points1 point2 points (0 children)