JohnRThomas / Exia-Mining-All-In-One

A mining script for Runemate
7 stars 7 forks source link

[REQUEST]Essance Mining #10

Open JohnRThomas opened 8 years ago

JohnRThomas commented 8 years ago

Varrock essance mining OSRS Varrock essance mining RS3

Kneckter commented 8 years ago

I was looking into this. The essence mine seems to have different sets of coordinates once you teleport into it. I setup code to talk to Aubury and teleport in but I get stuck there since the mine's location changes. We might have to just do a search for the closest Rune Essence and walk to it without predetermined coordinates.

JohnRThomas commented 8 years ago

Commit what you have, and just make sure the "if SDK" flag is set for the location. I can try to figure something out for it. I'll probably just override the walkToMine function similar to what the LRC uses.

Thanks!

JohnRThomas commented 8 years ago

I combined Varrock Essence into Varrock East. See: 622a9c10d972005d6f876a7c015dbbdde73f3f9a

Kneckter commented 8 years ago

I updated my code to create a mine location and walk to it but it's stuck waiting for a respawn. I updated the color in rock.java and still have a respawn issue. I'm not sure if it's having a problem with the object being 5x5 blocks. If you have any thoughts, let me know. I'll look at it later and see what I can find out. Probably program the exit too.

JohnRThomas commented 8 years ago

if it's waiting for respawn, then the validate function is probably failing. I'll take a look. Thanks for the update.

JohnRThomas commented 8 years ago

I changed a bunch of stuff. Aubury works pretty consistently now, though it's a bit slow sometimes since he moves around so much. It can now also successfully find and walk to the essence.

Walking back needs to be implemented now. The portals are NPCs, not objects, they will be loaded if you are close enough to the essence though, so it should just be a matter of walking to the nearest one, then walking to the bank. I think this logic would be good: if in mine walk to portal else walk to bank

I was also getting some weird bug outs were the client would just not do anything, idk if it's the script or just Runemate shitting itself. Either way, more testing needs to be done before this production ready.

Thanks for all your efforts! Keep up the good work.