Hi, I am trying to unpack downstream_entity_equipment which uses an array: https://wiki.vg/Protocol#Entity_Equipment
I am trying to use Struct to unpack It but I am struggling. Here is some code using Struct to unpack upstream_player_look:
this makes it readable instead of just hex code.
I am trying to do a similar thing, but with downstream_entity_equipment:
Hi, I am trying to unpack downstream_entity_equipment which uses an array: https://wiki.vg/Protocol#Entity_Equipment I am trying to use Struct to unpack It but I am struggling. Here is some code using Struct to unpack upstream_player_look: this makes it readable instead of just hex code. I am trying to do a similar thing, but with downstream_entity_equipment:
you can see where I am having trouble, trying to use https://docs.python.org/3/library/struct.html#format-characters
I am new to packet handling and would love some help understanding it better
that top image is coded from https://github.com/LiveOverflow/minecraft-hacked/blob/main/01_protocol_proxy/teleport_proxy.py
If anyone can help me out it would be greatly appreciated! <3