Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Question paying for line of code

Joined
Dec 29, 2018
Messages
18
I have a fully functional zulrah bot except for the jad phase
no matter what i do i cant seem to code the jad phase to flick pray correctly

i will pay someone for their time to code a zulrah pray flick that is fully funtional

discord
The Weed BAR#4004
 
Joined
May 24, 2016
Messages
1,113
The issue likely stems from that you don't know how OSRS prayer flicking works. Afaik you need to turn on the appropriate prayer BEFORE it shoots the projectile, otherwise it will not work.
 
cuppa.drink(java);
Joined
Mar 13, 2018
Messages
7,097
I've never made a zulrah bot, but I've heard people mention they made theirs by reading the animation and switching the prayer based off that. Not sure if that helps.
 
Joined
Dec 29, 2018
Messages
18
ive tried reading the animations, reading the projectiles, just straight adding a execution delay before each switch(this actually worked best), ive tried experimental code that uses while loops, do while loops, and i feel like ive tried everything. some stuff has kind of worked, but nothing reliable enough.
 
Joined
Feb 18, 2019
Messages
33
ive tried reading the animations, reading the projectiles, just straight adding a execution delay before each switch(this actually worked best), ive tried experimental code that uses while loops, do while loops, and i feel like ive tried everything. some stuff has kind of worked, but nothing reliable enough.

First thing, remove the loop delay if you are doing timing sensitive stuff and are using Looping or Treebot (this.setLoopDelay(0))

Second, if you are waiting for something to happen that you know will be coming in the near future, instead of running your decision tree again, you want to either poll and keep checking your condition (animation switch, or if you are using listeners, the listeners can set a flag to let your main bot know that something happened), or use a delayUntil to wait for it. The idea here is you don't want to return to LoopingBot because it does a bunch of checks (like checking that you aren't logged out), that take time and will delay your response to stuff.
 
Top