SRL Archive - Simba (Testing) Scripts

[Rebirthed] Heavenguard's Varrock East Mine + Banker


Heavenguard

2010-07-25 13:53:37

[Outdated/not being updated]

Sup Everyone, its me Heavenguard. I haven't been active as much as I used to due to Life's Activities. I know you guys probably didn't even care if I have been here or not :P, but Iv been coming to these forums now and then to check up on everything. I learned about MSI Pheonix, and the whole Ultimate Script idea. It sounded pretty neat, so I decided [In Celebration] to rebirth my first Scar script [Varrock East Mine + Banker].

This script is no longer in beta stage. This thread is pretty much finished, The current version of this script can be found here.

This is my first Simba Script. Please read it, give me as much criticism as possible, and test it. Feedback is key. This Script is still a Beta, the full version will include all ores for varrock east mine, as well as better antiban.

Script Features:
Varrock East Mining [Copper, Tin, Iron] + Varrock East Banking.
Color and Reflection Procedures.

To Use:
-Make sure you set the HowManyPlayers under DeclarePlayers, as well as Comment out any Extra Players in the Array.
-Fill out the DeclarePlayers, Set if your Reflection is working or not working under the Global Constants, Place Player in Varrock East Mine Anywhere.


Right Here I will Post any Updates That I have done to the script so far.

[7/25/10, 3:33 PM] Added a Small Loop and wait to Color Banking that should stop the script from erroring at the PinScreen.
[7/25/10, 3:35 PM] Added Small Brackets to the DeclarePlayers setup so it starts with Single Player.
[7/25/10, 3:37 PM] Script Re-Uploaded.
[7/25/10, 8:30 PM] Fixed Banking.
[7/25/10, 8:30 PM] Added in Copper and Tin Rocks.
[7/25/10, 8:30 PM] Script Re-Uploaded.
[7/25/10, 10:00 PM] Added Breaking.
[7/25/10, 10:00 PM] Beta Stage Complete.

Here are Progress Reports:

[7/25/10, 5:57 PM, Manually Stopped because there is no Breaking and its in Single Player]
***************************************************************
I Varrock East Mine + Bank [BETA] Progress Report I
I Made By: Heavenguard [in Honor of Cigue] I
I Script is Still in Beta Form! I
I Script is using Reflection I
Total Script Run Time: 2 Hours, 13 Minutes and 33 Seconds
***************************************************************
Player 1
Player 1 Banked 15 Loads
That should be about 420 Ores, give or take.
That should also be about 14700 Mining Experience.
Player 1 is Active.
----------------------------------------------------------------
----------------------------------------------------------------
[7/25/10, 9:43 PM, Manually Stopped so I can test my breaking Function. Also shows
how the new Progress report looks.]
***************************************************************
I Varrock East Mine + Bank Progress Report I
I Made By: Heavenguard [in Honor of Cigue] I
I Script is using Reflection I
Total Script Run Time: 59 Minutes and 39 Seconds
***************************************************************
Player 1
Rock Type: Tin
Player 1 Banked 2 Loads
That should be about 56 Ores, give or take.
That should also be about 1008 Mining Experience.
Player 1 is Active.
----------------------------------------------------------------
Player 2
Rock Type: Copper
Player 2 Banked 8 Loads
That should be about 224 Ores, give or take.
That should also be about 3808 Mining Experience.
Player 2 is Active.
----------------------------------------------------------------
Player 3
Rock Type: Iron
Player 3 Banked 2 Loads
That should be about 56 Ores, give or take.
That should also be about 1960 Mining Experience.
Player 3 is Active.
----------------------------------------------------------------
----------------------------------------------------------------


All I need now is the Breaking, then this script is finished with its Beta Stage.
:spot: Peanut Butta Jellah Time! :spot:

i luffs yeww

2010-07-25 15:39:58

Mouse(IronRock[0].Tile.x, IronRock[0].Tile.y, 3, 3, True);

You should change that to Mouse(IronRock[Random(Length(IronRock) - 1)].Tile.x, IronRock[Random(Length(IronRock)) - 1].Tile.y, 3, 3, True);. Currently you'll always click 11954, I believe.

Heavenguard

2010-07-25 16:00:26

From: i luffs yeww
Mouse(IronRock[0].Tile.x, IronRock[0].Tile.y, 3, 3, True);

You should change that to Mouse(IronRock[Random(Length(IronRock) - 1)].Tile.x, IronRock[Random(Length(IronRock)) - 1].Tile.y, 3, 3, True);. Currently you'll always click 11954, I believe.


IronRock := GetObjectsByID([11954, 11557, 11956, 11556, 11555, 11955], OBJECT_TYPE_INTERACTABLE, 25);

Im new to reflect lol, but i think GetObjectsByID Sorts them from closest to farthest for you, and i see it working pretty fine. Heres a proggy that I ran this morning when i went to go run in the park.

EDIT: I forgot to mention that I cannot test my reflection mining, even the one you gave me since the Object Hooks are broken =[.

***************************************************************
I Varrock East Mine + Bank [BETA] Progress Report I
I Made By: Heavenguard [in Honor of Cigue] I
I Script is Still in Beta Form! I
I Script is using Reflection I
Total Script Run Time: 2 Hours, 16 Minutes and 50 Seconds
***************************************************************
Player 1
Player 1 Banked 5 Loads
That should be about 140 Ores, give or take.
That should also be about 4900 Mining Experience.
Player 1 is Active.
----------------------------------------------------------------
Player 2
Player 2 Banked 10 Loads
That should be about 280 Ores, give or take.
That should also be about 9800 Mining Experience.
Player 2 is Active.
----------------------------------------------------------------
Player 3
Player 3 Banked 3 Loads
That should be about 84 Ores, give or take.
That should also be about 2940 Mining Experience.
Player 3 is Active.
----------------------------------------------------------------
Player 4
Player 4 Banked 0 Loads
That should be about 0 Ores, give or take.
That should also be about 0 Mining Experience.
Player 4 is not Active.
----------------------------------------------------------------
----------------------------------------------------------------
Possible Random: Leo The Gravedigger. Identifying by textbox.
***** STR: FOUND RANDOM: 'Leo The Gravedigger' *****
Screenshot of: Found Leo The Gravedigger random 2 Hours, 20 Minutes and 13 Seconds
Leo try # 1
Coffin 1 5 identified!
Coffin 2 1 identified!
Coffin 3 3 identified!
Coffin 4 2 identified!
Coffin 5 4 identified!
Grave 1 1 -1 identified!
Grave 1 2 1 identified!
Grave 1 3 -1 identified!
Grave 2 1 3 identified!
Grave 2 2 3 identified!
Grave 2 3 3 identified!
Grave 3 1 5 identified!
Grave 3 2 4 identified!
Grave 3 3 -1 identified!
Grave 4 1 5 identified!
Grave 4 2 -1 identified!
Grave 4 3 -1 identified!
Grave 5 1 2 identified!
Grave 5 2 4 identified!
Grave 5 3 4 identified!
1 = 1
2 = 3
3 = 5
4 = 2
5 = 4
Leo try # 2
No SRL update / Plugins update available!
No Reflection update
Coffin 1 1 identified!
Coffin 2 2 identified!
Coffin 3 4 identified!
Coffin 4 3 identified!
Coffin 5 5 identified!
Grave 1 1 1 identified!
Grave 1 2 1 identified!
Grave 1 3 1 identified!
Grave 2 1 3 identified!
Grave 2 2 3 identified!
Grave 2 3 4 identified!
Grave 3 1 2 identified!
Grave 3 2 2 identified!
Grave 3 3 4 identified!
Grave 4 1 5 identified!
Grave 4 2 5 identified!
Grave 4 3 5 identified!
Grave 5 1 -1 identified!
Grave 5 2 2 identified!
Grave 5 3 2 identified!
1 = 1
2 = 3
3 = 2
4 = 5
5 = 4
Leo try # 3
Coffin 1 1 identified!
Coffin 2 5 identified!
Coffin 3 4 identified!
Coffin 4 3 identified!
Coffin 5 2 identified!
Grave 1 1 -1 identified!
Grave 1 2 4 identified!
Grave 1 3 2 identified!
Grave 2 1 3 identified!
Grave 2 2 3 identified!
Grave 2 3 4 identified!
Grave 3 1 -1 identified!
Grave 3 2 4 identified!
Grave 3 3 2 identified!
Grave 4 1 1 identified!
Grave 4 2 5 identified!
Grave 4 3 5 identified!
Grave 5 1 2 identified!
Grave 5 2 2 identified!
Grave 5 3 2 identified!
1 = 4
2 = 3
3 = 1
4 = 5
5 = 2
Leo try # 4
Coffin 1 4 identified!
Coffin 2 5 identified!
Coffin 3 2 identified!
Coffin 4 3 identified!
Coffin 5 1 identified!
Grave 1 1 -1 identified!
Grave 1 2 -1 identified!
Grave 1 3 -1 identified!
Grave 2 1 -1 identified!
Grave 2 2 3 identified!
Grave 2 3 3 identified!
Grave 3 1 3 identified!
Grave 3 2 4 identified!
Grave 3 3 2 identified!
Grave 4 1 4 identified!
Grave 4 2 1 identified!
Grave 4 3 -1 identified!
Grave 5 1 4 identified!
Grave 5 2 2 identified!
Grave 5 3 2 identified!
1 = 5
2 = 3
3 = 4
4 = 1
5 = 2
Leo try # 5
Coffin 1 5 identified!
Coffin 2 1 identified!
Coffin 3 4 identified!
Coffin 4 3 identified!
Coffin 5 2 identified!
Grave 1 1 -1 identified!
Grave 1 2 1 identified!
Grave 1 3 4 identified!
Grave 2 1 3 identified!
Grave 2 2 3 identified!
Grave 2 3 3 identified!
Grave 3 1 3 identified!
Grave 3 2 4 identified!
Grave 3 3 5 identified!
Grave 4 1 4 identified!
Grave 4 2 5 identified!
Grave 4 3 -1 identified!
Grave 5 1 5 identified!
Grave 5 2 -1 identified!
Grave 5 3 4 identified!
1 = 4
2 = 3
3 = 5
4 = 2
5 = 1
Leo try # 6
Coffin 1 5 identified!
Coffin 2 2 identified!
Coffin 3 1 identified!
Coffin 4 3 identified!
Unable to identify coffin!
Failed to solve Leo!
***** STR: 'Leo The Gravedigger' RANDOM SOLVING FAILED! *****
As you can see it froze up cuz the player failed the Leo Solving though D: and I was doing it with the same player =/

Cigue

2010-07-25 16:04:16

YEEEEEEEHAAAAAAW

You def should teach me how to use reflection :)

Heavenguard

2010-07-25 16:07:07

From: Cigue
YEEEEEEEHAAAAAAW

You def should teach me how to use reflection :)


Its so simple, im a complete noob to it, just learned about it yesterday, but sure ill be your study buddy :D After all this script was made in Honor of your powerful Scripting Skills T.T

i luffs yeww

2010-07-25 16:35:16

Pfft. I helped you. :p

Heavenguard

2010-07-25 16:50:22

From: i luffs yeww
Pfft. I helped you. :p


That you definetly did, your in the credits located on the top of the script :D

i luffs yeww

2010-07-25 16:52:28

You should change your sig to link to this thread and say it's revived or something. And I meant with reflection stuff. :p

Heavenguard

2010-07-25 17:04:59

From: i luffs yeww
You should change your sig to link to this thread and say it's revived or something. And I meant with reflection stuff. :p


Done :D, And yeah, I put you up there with the thanks for that stuff :D

Tickyy

2010-07-25 18:51:46

Looking good, hope you break the 10H Single player proggie from my script :p.

Heavenguard

2010-07-25 19:56:06

From: Tickyy
Looking good, hope you break the 10H Single player proggie from my script :p.


Lol :p I Hope so, for me to surpass your progress reports would be an extreme challenge.

Emaziz

2010-07-26 18:21:13

I'm using reflection, and script won't work properly.
First of all, it won't bank. When it is done mining a full inventory it just stands there moving the mouse to ground tiles around the mine site.
Second, iron rock color detection is lame. It may stay by the same single iron rock and click it when it appears, doing nothing to the other 3 rocks. (This occurred when mining from the north side of the northern of the 2 western rocks.)
Also, it'd be great if the script was able to start in VEB instead of the mine. ;)

Please tell if you suspect I'm doing something wrong or something.. I'm using Simba btw.
And ofc, thanks for making a miner that banks! :))

EDIT: Moving up to the bank manually, the script opened the bank and deposit the ores. Then it did nothing but to perform antiban actions. Might help you debug this. :)

Another EDIT :D :
Is reflection down? I don't know, I'm just a noob. :)
Tried color mode thingy, and it mines the rocks way more efficiently.
Full inventory… Moving towards bank… Still moving… Closing up… Inside bank… Opening.. Depositing and returning! Yay!
Will post progress report later. :)

Another EDIT EDIT:
I like editing. ^^, Efficiency problem is back.. Standing north of the 2 western rocks and it'll only mine the one rock, even tho the others are mineable. By moving the compass slightly I fixed the problem, but that shouldn't be necessary.. :)

i luffs yeww

2010-07-26 18:23:23

Reflection isn't down, is it? :x

Emaziz

2010-07-26 18:39:18

From: i luffs yeww
Reflection isn't down, is it? :x

Guess I just don't know how to use it then :D

i luffs yeww

2010-07-26 18:40:28

I dunno if it is or not. I just thought it was working, since I haven't seen otherwise.

Emaziz

2010-07-26 18:43:04

Gee. I think it's down, :P Color works anyway ^^

Heavenguard

2010-07-26 19:22:33

Reflection is not down, only the Object hooks, get the SRL Reflection by using http://simbareflection.googlecode.com/svn/trunk. Make a Folder named Reflection in the Includes folder and Checkout with that SVN. Come back if you get any errors :D.

As for the Mining, The Script only uses Color Mining, even in the Reflection Mode, our Object Hooks are not working my friend, and for the lame mining, im sorry to say theres not much I can really do. My AutoColors for the Iron are as Good as they can be, and the script gets whichever rock[or color it picks up as Iron] is closest to the player, the rest is simple TPA -boxing and Inventory Checking. The most I can say for now is to make sure your settings for runescape are set correctly [Brightness, Safe-Mode, Fixed, low-graphics, etc]. Thanks so much for the feedback. Ill try to tweak up that mining if I can bro :D

Also heres a Proggy of how my First version of my script is going. It will be released soon enough :D

***************************************************************
I Varrock East Mine + Bank Progress Report I
Version 1.00
I Made By: Heavenguard [in Honor of Cigue] I
I Script is using Reflection I
Total Script Run Time: 12 Hours, 2 Minutes and 3 Seconds
***************************************************************
Player 1
Rock Type: Iron
Player 1 Banked 70 Loads
That should be about 1960 Ores, give or take.
That should also be about 68600 Mining Experience.
Player 1 took 13 Breaks.
Player 1 is Active.
----------------------------------------------------------------
----------------------------------------------------------------

demon_54

2010-07-27 06:19:06

I got an error, after setting up SRL with simba and properly setting everything up. I got this error. What did I do wrong?

[Error] (2:1): Unable to register function function Mordaut_GetSlotNr(ScanningTime: Extended; ClientHDC: HDC): integer; at line 1
Compiling failed.

Heavenguard

2010-07-27 07:42:36

From: demon_54
I got an error, after setting up SRL with simba and properly setting everything up. I got this error. What did I do wrong?


Can please post the whole error that you got, perhaps the file the function was found in? if thats all it said in the debug box I don't really know what to say….

Just a reminder, Beta Stages are over, the full script can be found here. Please use the first version, as it includes breaking.

Emaziz

2010-07-27 14:09:24

Also one thing I forgot to mention.. While mining, if you're low lvl and it may take some seconds to mine the rock, the script will click repeatedly at the rock you're already mining. Perhaps add an animation check? :)
Also forgot posting progress report yesterday.. Will post one today since I made reflection work :)

EDIT: Progress report:
***************************************************************
I Varrock East Mine + Bank Progress Report I
I Made By: Heavenguard [in Honor of Cigue] I
I Script is using Reflection I
Total Script Run Time: 31 Minutes and 14 Seconds
***************************************************************
Player 1
Rock Type: Iron
Player 1 Banked 6 Loads
That should be about 168 Ores, give or take.
That should also be about 5880 Mining Experience.
Player 1 is Active.

I had to terminate it because of lack of efficiency. With another player mining at the same place, the script did lot's of anti randoms without clicking on the rocks, also I'm not sure if it just moved the mouse over the player or if it tried to mine the player.. :)

Heavenguard

2010-07-27 16:22:08

From: Emaziz
Also one thing I forgot to mention.. While mining, if you're low lvl and it may take some seconds to mine the rock, the script will click repeatedly at the rock you're already mining. Perhaps add an animation check? :)
Also forgot posting progress report yesterday.. Will post one today since I made reflection work :)

EDIT: Progress report:
***************************************************************
I Varrock East Mine + Bank Progress Report I
I Made By: Heavenguard [in Honor of Cigue] I
I Script is using Reflection I
Total Script Run Time: 31 Minutes and 14 Seconds
***************************************************************
Player 1
Rock Type: Iron
Player 1 Banked 6 Loads
That should be about 168 Ores, give or take.
That should also be about 5880 Mining Experience.
Player 1 is Active.

I had to terminate it because of lack of efficiency. With another player mining at the same place, the script did lot's of anti randoms without clicking on the rocks, also I'm not sure if it just moved the mouse over the player or if it tried to mine the player.. :)


Thanks for the feedback. Ill lower the chances of it doing Antiban. As for the Animation I don't even know how that works. The Function itself seems very sketchy to me, As for the rock thing, i noticed a small bug in the wait thing. Ill fix it.

demon_54

2010-07-27 17:30:13

The script methods are great, but I noticed for some reason it will just stop clicking on rocks after 2 loads…

Heavenguard

2010-07-27 18:42:28

From: demon_54
The script methods are great, but I noticed for some reason it will just stop clicking on rocks after 2 loads…


I wonder why, did it finish the amount of loads it had to do? if not then Ill just fix up the colors.

Emaziz

2010-07-28 06:42:47

There are few miners that actually bank.. So I really want this to work well :drool:
I'll try again later today.. :)

Also, any chance you can add support for other locations, say west Varrock mine/bank? =)

Heavenguard

2010-07-28 08:38:17

From: Emaziz
There are few miners that actually bank.. So I really want this to work well :drool:
I'll try again later today.. :)

Also, any chance you can add support for other locations, say west Varrock mine/bank? =)


Sure ill add it in later on, itll be wayy later on though, not any time soon. To Make a full fledged color walking for west will take time. D:

Emaziz

2010-07-30 07:30:43

Why not reflection? ;)

i luffs yeww

2010-07-30 07:35:29

It's hybrid. That's good enough.

pini3000

2010-08-02 11:50:06

It is just sitting in the bank for me… not doing anything

Heavenguard

2010-08-02 16:54:46

From: pini3000
It is just sitting in the bank for me… not doing anything


1. use the real script, 2. start in the mining area :X seriously its not hard instructions.

jakulinh

2010-08-03 14:23:57

Great script! Keep up the good work!
Btw… it freezes when it clicks in the minimap near the dead tree, is it because of my slow computer?

Heavenguard

2010-08-03 18:40:17

From: jakulinh
Great script! Keep up the good work!
Btw… it freezes when it clicks in the minimap near the dead tree, is it because of my slow computer?


Ahhh it freezes D: i shoulda add more paths with reflection. it probably doesnt see the tile there, but even if you computer is slow it still should pick it up eventually D:. Sorry to say im not gonna update this script right now [marking it outdated right after this post] I gotta learn new methods and stuff. Im sorry it freezes for you, all I can say is try to set your reflection as false and see if the color walking works for ya :D. Thanks for the feedback bro

bolshak25

2010-08-20 20:44:32

when reflection is on it wont leave the mining area, but when its off it goes out of the bank and goes out the gate then heads north not south. am i the only one with this issue? and if i knew how this all worked i would attempt to fix it myself. thanks for any help

Heavenguard

2010-08-20 21:37:18

Use the one from either Tickyy, or use the other one i released. As for this thread, it should be closed =/. Sorry for the inconvenience bolshak25. P.S, make sure your reflection is up2date.

kufo

2010-08-22 10:57:42

Player 1 Banked 48 Loads
That should be about 1344 Ores, give or take.
That should also be about 47040 Mining Experience.
Player 1 is Active.

very very nice script man. Ty very much. It ran for like 6 and a half hours to get this. I get a hard on watching it run back and forth from bank PERFECT. hehe jk. but very nice script man

Heavenguard

2010-08-22 14:59:05

From: kufo


Player 1 Banked 48 Loads
That should be about 1344 Ores, give or take.
That should also be about 47040 Mining Experience.
Player 1 is Active.

very very nice script man. Ty very much. It ran for like 6 and a half hours to get this. I get a hard on watching it run back and forth from bank PERFECT. hehe jk. but very nice script man


lol ty =]