Sending game packets
Example sending Tile Change Request to remove the block on right side of your player
local pkt = {}
pkt.type = 3 -- tile change request type
pkt.int_data = 18 -- fist itemID
pkt.tile_x = GetLocal().pos.x + 1
pkt.tile_y = GetLocal().pos.y
pkt.pos_x = GetLocal().pos.x
pkt.pos_x = GetLocal().pos.x
SendPacketRawClient(pkt)
Last updated