Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Get Current Autocast?


    Devansmain

    Recommended Posts

    Posted

    I noticed the API didn't contain any staff autocast functionality so I was able to implement selecting spells with the use of widgets, but now I have a question. Is there any way to know what spell is set as autocast? Or maybe even what spell is being used in combat?  I'm trying to implement progressive functionality into an autofighter. Thanks.

    Posted

    As far as I know the only way you can identify which spell is autocast is finding the Widget in the Combat Tab and seeing if you can grab the ID / Widget for the spell icon of the auto-cast option. I haven't tested this out yet but if I find a way to do so I'll let you know.

    Posted

    Current autocast spell is identified by playersettings (varps). Use the game debugger to view your playersettings and see how the values change as you autocast different spells.

    Posted
    1 hour ago, ArmyofDragons said:

    As far as I know the only way you can identify which spell is autocast is finding the Widget in the Combat Tab and seeing if you can grab the ID / Widget for the spell icon of the auto-cast option. I haven't tested this out yet but if I find a way to do so I'll let you know.

    That’s what I was thinking too but seems cumbersome and unnecessary. Probably not good for anti-ban either considering you’d have to check the combat tab every few seconds/minutes/npcs killed. 😕

     

    22 minutes ago, Xephy said:

    Current autocast spell is identified by playersettings (varps). Use the game debugger to view your playersettings and see how the values change as you autocast different spells.

    Interesting. I’ll check that out in a bit and see if I can figure it out. Thanks, Xephy!

    Archived

    This topic is now archived and is closed to further replies.

    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.