Welcome!

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

Sign up now!

Bug Magic method clicking other random spells?

( ͡° ͜ʖ ͡°)
Joined
Mar 30, 2015
Messages
2,416
Recently Magic.superheat.activate() will often click other spells instead of the superheat spell. Prior to the RS update this morning there wasn't a problem with that and the bot would run for lengths of time. Now almost every 20 or so casts it missclicks and activates another spell?
 
( ͡° ͜ʖ ͡°)
Joined
Mar 30, 2015
Messages
2,416
Yeah. It happens when my loop is called for superheating, which basically goes

Code:
if superheat is selected, cast;
else if magic tab is open, select superheat then cast
else, open magic tab, select superheat, cast on object

with the specific code for selecting superheat as
Code:
if (Magic.SUPERHEAT_ITEM.activate()) { //Attempt to activate superheat until is successful
    Execution.delayUntil(() -> Magic.SUPERHEAT_ITEM.isSelected(), 1000);
}

Thought it was bot specific and on my end, but prior to the RS update I had a 4 hour successful proggy and after reloading RS I can barely get to ~200 casts before this happens. When I watch to see what/how it happens, the bot will superheat an ore, and when the magic tab opens back up, as it moves over different spells in the book to head back to superheat it will occasionally click another one besides the one I'm trying to activate. I don't have any mouse.click() that should be encountered and I can't specify which spells are clicked because it is random. The ones I've seen have ranged from curse (semi-close proximity to superheat), to claws of guthix which isn't really close to the spell I'm looking for.
 
Top