Send packet

i cant sending packet heres my code

from phBot import *
import struct
import json
import os
def handle_event(t, data):
	# Filter events
	if t == 1:
		log("data döndü1" + data)
		Inject_SelectTarget(str(data))
		log("data döndü2")
		return

def Inject_SelectTarget(targetUID):
	packet = bytearray()
	packet = packet + struct.pack('<I',targetUID)
	inject_joymax(0x7045,packet, False)
	log("data döndü3")

log("ok")

u cant send 0x7045 with ph bot its disabled

1 Like

Not true but you can’t do it like he wants and with his intentions…

1 Like

Hi DeRidder14
What do you mean by this? Are there any prohibition on your side?

He was just trying to auto select any theif that appears near him. Its not possible.

1 Like