Log Packets


#1

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__)

Opcode Help
#2

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


#3

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


#4

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


#5

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


#6

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.