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
  • Essence Mine, area location conformation issue.


    mackieftw

    Recommended Posts

    Posted

    You could check if there are certain objects are near the player, such as the rock slides or something.

    • 2 weeks later...
    Posted
    On 7/8/2018 at 10:19 PM, mackieftw said:

    Hey all,

     

    So I am currently writing an essence mining script and am trying to have it only attempt to mine if in the essence mine.

    I am trying to confirm this with -

    Area insideEssMine = new Area(10000, 800, 6000, 2000, 0);

    if (insideEssMine.contains(getLocalPlayer())){

    }

     

    I am basing my area off of the player position debug.  If i remove the check for the area then the script will work as intended.

     

    So my question is, how would i confirm the location of the essence mine. Since the area is never the same coordinates. 

    The problem is most likely the Z coordinate which should be negative. Verify if i'm right, let me know if I'm not and I'll help you out with an alternative way of checking whether you're in there or not.

    Posted
    27 minutes ago, Snout said:

    The problem is most likely the Z coordinate which should be negative. Verify if i'm right, let me know if I'm not and I'll help you out with an alternative way of checking whether you're in there or not.

    Issue was resolved a good while ago, thanks.

    Posted
    17 minutes ago, mackieftw said:

    Issue was resolved a good while ago, thanks.

    Glad to hear that. I hope it was an educational experience; coding and debugging the script!

    • 1 month later...
    Posted

    Making a rune essence script was a disaster for me haha. This was the first of many problems I ran into.

    They also randomly change the portal from an object into an npc, as well as the menu action titles for the portal, as well as the world coordinates. I managed to get it working in the end, but I got banned before I had even finished testing it for half an hour 😂 

    I'm curious, how did you manage to solve your problem, and did you run into any other strange issues? Is your script working now?

    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.