Milasoft 202 Posted July 9, 2018 You could check if there are certain objects are near the player, such as the rock slides or something.
Snout 0 Posted July 18, 2018 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.
mackieftw 4 Author Posted July 18, 2018 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.
Snout 0 Posted July 18, 2018 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!
Zenarchist 42 Posted August 21, 2018 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?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.