adding the plugin go to your phbot folder and create a new txt file inside the plugin folder and insert the plugin code in there after that rename the .txt to .py and klich reload in the plugin tap @ the bot
how to use it example with teleporting dw to ht :
go to your plugin and enable "show client packets "
this also work with nearly all kind of things even PM
- click on the teleport 1x the plugin should show the packet:
0x7045 (Data) 17 00 00 00
2.select teleport area dont have a packed so we can ignore that (plugin shows no new packets)
- click teleport to hotan plugin will show
0x705A (Data) 17 00 00 00 02 05 00 00 00
4go to ur script where he needs to teleport and past both commands with 500ms delay between them like this
walk,
walk,
wait,500
0x7045 (Data) 17 00 00 00
wait,500
0x705A (Data) 17 00 00 00 02 05 00 00 00
wait 500
walk,
walk,
5.now we have to edit the packet a little bit
for example:
0x705A (Data) 17 00 00 00 02 05 00 00 00
will be like :
inject,0x705A,False,17,00,00,00,02,05,00,00,00
replace every space by a , and every (Data) to a “False” so it will be like this:
walk,
walk,
wait,500
inject,0x7045,False,17,00,00,00
wait,500
inject,0x705A,False,17,00,00,00,02,05,00,00,00
wait 500
walk,
walk,
this should be all