This will need to be edited to YOUR SPECIFIC SERVER
Also it wont be 100% that u will dodge the reflect since u will be in middle of casting skill
from phBot import *
from threading import Timer
from time import sleep
import struct
import binascii
import QtBind
pName = 'Sphinx Reflect Counter'
def handle_joymax(opcode, data):
if opcode == 0xB070 and get_status() == 'botting' :
if data[0] == 1 and data[1] == 0x00 and data[3] == 0x9D and data[4] == 0x7A :
stop_bot() # Pharaoh tomb (Beginner)
Timer(16.0,start_bot,()).start()
if opcode == 0xB070 and get_status() == 'botting' :
if data[0] == 1 and data[1] == 0x00 and data[3] == 0xA4 and data[4] == 0x7A :
stop_bot() # Pharaoh tomb (Intermediate)
Timer(21.0,start_bot,()).start()
if opcode == 0xB070 and get_status() == 'botting' :
if data[0] == 1 and data[1] == 0x00 and data[3] == 0xAB and data[4] == 0x7A :
stop_bot() # Pharaoh tomb (Advanced)
Timer(26.0,start_bot,()).start()
return True
log(''+pName+' is operational.')