Log Packets

Useful if you need to look at packets for parsing later.

from phBot import *

def handle_joymax(opcode, data):
	log(''.join('{:02x}'.format(x) for x in data))
	return True

def handle_silkroad(opcode, data):
	log(''.join('{:02x}'.format(x) for x in data))
	return True

log('[%s] Loaded' % __name__)
2 Likes

hi how can i find packet injection about use reverse return scrool .??

Use the item in game and see which packet shows up under handle_silkroad.

i dont know how is it work. can ypu help me please just oto use reverse return plugin. near to party leader…

You can do that through the bot already by right clicking on a reverse return scroll.

oh no i want do that with plugin. becasue of i will use with text for me and other people much better … if u can do that i will be very happy.