phBot Plugins
Search…
Introduction
Example Plugins
phBot API
Client
Guild
Events
Players
Party
NPC
Character
Academy
Inventory
Pets
Monsters
Encoding
Locale
Config
Botting
Taxi
Packet Injection
Log
Game Data
Teleport
Training Area
Command Line Arguments
Movement
Quests
Drops
Paths
Script
Notifications
Misc
Chat API
Handling Script Commands
GUI API
Powered By
GitBook
Packet Injection
inject_joymax(opcode, data, encrypted)
Sends a packet to Joymax (the server).
inject_silkroad(opcode, data, encrypted)
Sends a packet to Silkroad (the game).
Example
inject_joymax(0x704F, b'\x04', False)
opcode
unsigned short
data
bytes
encrypted
boolean
For complex packets you should use a packet building class. I have written one which can be found here:
https://github.com/ProjectHax/pySilkroadSecurity/blob/master/python/stream.py
Previous
Taxi
Next
Log
Last modified
3yr ago
Copy link
Contents
inject_joymax(opcode, data, encrypted)
inject_silkroad(opcode, data, encrypted)
Example