Skip to content

error when running the example bot with minimal modification #229

@ghostAttackerIsTaken

Description

@ghostAttackerIsTaken

hi, i want to say that i'm a complete newbie in spockbot and i was trying to learn, i thought i'll start by running the example bot, and then modifying it for what i want and need instead of starting writing from scratch because i'm a complete newbie, and then i got this error message right after i recieved the player has joined the game message:

[DEBUG]: EVENTCORE: Exception while emitting PLAY<Map Chunk Bulk [06:24:21] <<< (0x03, 0x26): Map Chunk Bulk {'data': b'<really long hexa>', 'metadata': [{'chunk_z': 3, 'primary_bitmap': 31, 'chunk_x': -5}, {'chunk_z': 3, 'primary_bitmap': 31, 'chunk_x': -4}, {'chunk_z': 4, 'primary_bitmap': 31, 'chunk_x': -4}, {'chunk_z': 4, 'primary_bitmap': 31, 'chunk_x': -5}, {'chunk_z': 4, 'primary_bitmap': 31, 'chunk_x': -6}, {'chunk_z': 3, 'primary_bitmap': 31, 'chunk_x': -6}, {'chunk_z': 2, 'primary_bitmap': 31, 'chunk_x': -6}, {'chunk_z': 2, 'primary_bitmap': 31, 'chunk_x': -5}, {'chunk_z': 2, 'primary_bitmap': 31, 'chunk_x': -4}, {'chunk_z': 2, 'primary_bitmap': 31, 'chunk_x': -3}], 'sky_light': True} [DEBUG]: EVENTCORE: Exception while emitting select_recv 4 [DEBUG]: EVENTCORE: Exception while emitting event_tick None Traceback (most recent call last): File "./McGhostBot", line 41, in <module> client.start(SERVER, 25565) File "/usr/local/lib/python3.5/dist-packages/spockbot-0.2.0-py3.5.egg/spockbot/plugins/helpers/start.py", line 34, in start File "/usr/local/lib/python3.5/dist-packages/spockbot-0.2.0-py3.5.egg/spockbot/plugins/core/event.py", line 29, in event_loop File "/usr/local/lib/python3.5/dist-packages/spockbot-0.2.0-py3.5.egg/spockbot/plugins/core/event.py", line 36, in run_continuous File "/usr/local/lib/python3.5/dist-packages/spockbot-0.2.0-py3.5.egg/spockbot/plugins/core/event.py", line 62, in emit File "/usr/local/lib/python3.5/dist-packages/spockbot-0.2.0-py3.5.egg/spockbot/plugins/core/net.py", line 160, in tick File "/usr/local/lib/python3.5/dist-packages/spockbot-0.2.0-py3.5.egg/spockbot/plugins/core/select.py", line 70, in poll File "/usr/local/lib/python3.5/dist-packages/spockbot-0.2.0-py3.5.egg/spockbot/plugins/core/event.py", line 62, in emit File "/usr/local/lib/python3.5/dist-packages/spockbot-0.2.0-py3.5.egg/spockbot/plugins/core/net.py", line 176, in handle_recv File "/usr/local/lib/python3.5/dist-packages/spockbot-0.2.0-py3.5.egg/spockbot/plugins/core/net.py", line 114, in read_packet File "/usr/local/lib/python3.5/dist-packages/spockbot-0.2.0-py3.5.egg/spockbot/plugins/core/event.py", line 62, in emit File "/usr/local/lib/python3.5/dist-packages/spockbot-0.2.0-py3.5.egg/spockbot/plugins/helpers/world.py", line 101, in handle_map_chunk_bulk File "/usr/local/lib/python3.5/dist-packages/spockbot-0.2.0-py3.5.egg/spockbot/plugins/tools/smpmap.py", line 247, in unpack_bulk File "/usr/local/lib/python3.5/dist-packages/spockbot-0.2.0-py3.5.egg/spockbot/plugins/tools/smpmap.py", line 220, in unpack File "/usr/local/lib/python3.5/dist-packages/spockbot-0.2.0-py3.5.egg/spockbot/plugins/tools/smpmap.py", line 172, in unpack IndexError: cannot fit 'int' into an index-sized integer
i'm running on the latest release of kali linux 32 machine on a 64 hardware,
thank you for the help, very appriciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions