SRL Archive - RS3 Mining

Mocrosoft Guildminer


mocrosoft

2015-04-18 08:19:13

Script is up-to-date
What this script does:
This mines coal ore at the mining guild in falador.
Support Banking.
Support for multiple accounts.


Features:
100% Colour
Inventory management.
Sticks to mining guild only, does not dwell to any other places.
Human-like movements and actions.
Works for f2p and p2p.


Requirements:
Mining level of 61 is required to enter the mining guild.
I suggest a rune pickaxe in toolbelt, do not put your pickaxe in your inventory as the scripts uses the deposit all button.


How to setup this script:
Download all the maps I put in the extension and put them in your Simba\Includes\SPS\img\runescape_other
Make sure you download the script and put it in Simba\Scripts
Make sure interfaces default SRL style (Use openGL - low settings)
Have your players setup in the falador bank near the mining guild
Press play and enjoy your coal!

Attachements

guildminer.simba
MocrosoftGuildMinerMaps.rar

Spoils:


Any questions feel free to pm me



Credits:

The Mayor - Without this guy none of this would be possible
Anybody else that helped me with their posts


Proof working script:

[YOUTUBE]Ln6RRWQ0BWE[/YOUTUBE]


From: dodo
been running for 2 days now Works well!

Thanks!

Hitac

2015-04-18 09:22:28

Nice release. Can't test because got my skiller banned and now i have a poor account to bot on :P. Wish you luck and the best on SRL Comunnity!

mocrosoft

2015-04-18 12:34:52

From: srpronto
Nice release. Can't test because got my skiller banned and now i have a poor account to bot on :P. Wish you luck and the best on SRL Comunnity!


Thanks a lot man!

Turpinator

2015-04-18 12:59:48

Didnt test it or anything, but a few comments.
  1. Why write your own bank opening function when a (no offense) presumably faster and better one exists in the srl include? (bankscreen.open(BANK_FALADOR) or bankscreen.open(BANK_NPC_GREY) - i think they are grey)
  2. Why do you use global consts for the colors of things (such as ladder, bank, door), when you are really using CTS2? ideally this should all be in 1 location so if the color needs to be updated, the tolerance, as well as hue and sat modifiers can be updated easily?
  3. Not that this one matters, but you use aantal instead of total/amount.
  4. Why use 4 different SPS areas for only 2 maps? Perhaps you could call them 'falador' and 'mine' or something? or 'aboveground' and 'belowground'. or something to that effect.


But, overall. its nice. failsafes, etc are present. good job.

WYD

2015-04-18 14:12:58

SRL: Logfile = C:\Simba\Includes\SRL-6/logs/SRL log (19-04-15 at 04.11.46 AM).txt
– setupSRL()
—- Setting up SRL…
—- attempting to spawn smart, attempt #: 1
—- initSmart():
—— Attempting to pair to a previously spawned client
—— smartPairToExistingClient():
——– Found 1 free client(s), attempting to pair to one…
——– Failed to pair to SMART[9276]
—— smartPairToExistingClient(): result = false
—— Attempting to spawn a new client..
—— smartCreateClient():
———- smartGetParameters(): Succesfully grabbed paramters
——– getJavaPath():
———- Attempting to search for your Java path
———- Found your java path @ C:\Program Files (x86)\Java\jre7\bin\java.exe
——– getJavaPath()
——– Using parameters [http://world15.runescape.com/, f7089101210165568868]
——– Using plugins "OpenGL32.dll,d3d9.dll"
——– Succesfully spawned a client, attempting to target
———- smartSetAsTarget(): Succesfully set SMART[11600] as Simba's target
—— smartCreateClient(): result = true
—— Succesfully initialized via spawning a new client
—- initSmart()
—— smartSetupDrawing(): Succesfully setup SMART drawing
—- Waiting up to 5 minutes for RS to load…
—— __setInputBoxes(): Set username and password boxes
—- Client is ready.
—- Setup SRL in 25 Seconds
– setupSRL(): True
– TPlayer.login()
Error: Access violation at line 1039
Execution failed.
The following bitmaps were not freed: [Minimap Mask, SMART Debug Image]

It not login to RuneScape

mocrosoft

2015-04-18 15:28:11

From: Miningboy11
SRL: Logfile = C:\Simba\Includes\SRL-6/logs/SRL log (19-04-15 at 04.11.46 AM).txt
– setupSRL()
—- Setting up SRL…
—- attempting to spawn smart, attempt #: 1
—- initSmart():
—— Attempting to pair to a previously spawned client
—— smartPairToExistingClient():
——– Found 1 free client(s), attempting to pair to one…
——– Failed to pair to SMART[9276]
—— smartPairToExistingClient(): result = false
—— Attempting to spawn a new client..
—— smartCreateClient():
———- smartGetParameters(): Succesfully grabbed paramters
——– getJavaPath():
———- Attempting to search for your Java path
———- Found your java path @ C:\Program Files (x86)\Java\jre7\bin\java.exe
——– getJavaPath()
——– Using parameters [http://world15.runescape.com/, f7089101210165568868]
——– Using plugins "OpenGL32.dll,d3d9.dll"
——– Succesfully spawned a client, attempting to target
———- smartSetAsTarget(): Succesfully set SMART[11600] as Simba's target
—— smartCreateClient(): result = true
—— Succesfully initialized via spawning a new client
—- initSmart()
—— smartSetupDrawing(): Succesfully setup SMART drawing
—- Waiting up to 5 minutes for RS to load…
—— __setInputBoxes(): Set username and password boxes
—- Client is ready.
—- Setup SRL in 25 Seconds
– setupSRL(): True
– TPlayer.login()
Error: Access violation at line 1039
Execution failed.
The following bitmaps were not freed: [Minimap Mask, SMART Debug Image]

It not login to RuneScape



Login manually first, go stand at falador bank near mining guild and then start your script.

Should work

mocrosoft

2015-04-18 15:32:09

From: Turpinator
Didnt test it or anything, but a few comments.
  1. Why write your own bank opening function when a (no offense) presumably faster and better one exists in the srl include? (bankscreen.open(BANK_FALADOR) or bankscreen.open(BANK_NPC_GREY) - i think they are grey)
  2. Why do you use global consts for the colors of things (such as ladder, bank, door), when you are really using CTS2? ideally this should all be in 1 location so if the color needs to be updated, the tolerance, as well as hue and sat modifiers can be updated easily?
  3. Not that this one matters, but you use aantal instead of total/amount.
  4. Why use 4 different SPS areas for only 2 maps? Perhaps you could call them 'falador' and 'mine' or something? or 'aboveground' and 'belowground'. or something to that effect.


But, overall. its nice. failsafes, etc are present. good job.


Hey man thanks for the feedback, I'm new here so yeah some parts might be not 100% the way it should be but,



about question number 1: The reason I wrote my own bankfunction is because I want the bot to choose random banks everytime he banks and I noticed with the bank function it took one bank over the other.

About question 2: I know I should have done that, but I just didn't want to waste more time on it, might update it later on.

Question 3: Yeah, just writing code pretty fast

Question 4: Yeah good point, but somehow it never got stuck when I used 4 of them. Not sure if it was something in my script, but Might look into that later.

Anyway, thanks again for the feedback.

WYD

2015-04-24 05:50:12

From: mocrosoft
Hey man thanks for the feedback, I'm new here so yeah some parts might be not 100% the way it should be but,



about question number 1: The reason I wrote my own bankfunction is because I want the bot to choose random banks everytime he banks and I noticed with the bank function it took one bank over the other.

About question 2: I know I should have done that, but I just didn't want to waste more time on it, might update it later on.

Question 3: Yeah, just writing code pretty fast

Question 4: Yeah good point, but somehow it never got stuck when I used 4 of them. Not sure if it was something in my script, but Might look into that later.

Anyway, thanks again for the feedback.


—- Current mouse-over text: "Climb-up Ladder"
—- Found "limb-up" in mouse-over string: "Climb-up Ladder"
– isMouseOverText(): Tr– mining_guild.getPlayerPos(): result = {X = -1, Y = -1}, took 3703 ms

It login me out :-( it can't go out the Ladder

mocrosoft

2015-04-25 09:55:54

From: Miningboy11
—- Current mouse-over text: "Climb-up Ladder"
—- Found "limb-up" in mouse-over string: "Climb-up Ladder"
– isMouseOverText(): Tr– mining_guild.getPlayerPos(): result = {X = -1, Y = -1}, took 3703 ms

It login me out :-( it can't go out the Ladder


Be sure that you're graphics settings are on lowest and OPENGL

WYD

2015-04-25 10:02:00

From: mocrosoft
Be sure that you're graphics settings are on lowest and OPENGL


Yes It not doing it all the time just sometime's

mocrosoft

2015-04-26 08:06:42

From: Miningboy11
Yes It not doing it all the time just sometime's


I'll look into it :)

WYD

2015-04-30 00:22:45

From: mocrosoft
I'll look into it :)


No update's?

mocrosoft

2015-04-30 15:08:30

Almost done writing a new one, be patience please :)

WYD

2015-05-03 01:11:07

From: mocrosoft
Almost done writing a new one, be patience please :)


I can't wait to use this :-)

mocrosoft

2015-05-04 02:26:07

From: Miningboy11
I can't wait to use this :-)


I had a big testing moment yesterday and this script still works perfectly fine if you have the right settings. I mined about 2k coal in a few hours, no crashes or nothing.

WYD

2015-05-04 06:29:56

From: mocrosoft
I had a big testing moment yesterday and this script still works perfectly fine if you have the right settings. I mined about 2k coal in a few hours, no crashes or nothing.

Can i plz help you test it?

The was you have atm get suck at doing Climb-up Ladder
One day it not get suck and one day it can lol

mocrosoft

2015-05-05 15:03:33

From: Miningboy11
Can i plz help you test it?

The was you have atm get suck at doing Climb-up Ladder
One day it not get suck and one day it can lol


I already added you on skype

and if it happens again try to take a screenshot or try to replace line 350 with this :


if (Length(TPA) < 1) then
RandomCompass(0, 360, false);

WYD

2015-05-06 06:18:45

From: mocrosoft
I already added you on skype

and if it happens again try to take a screenshot or try to replace line 350 with this :


if (Length(TPA) < 1) then
RandomCompass(0, 360, false);


like this?

WYD

2015-05-07 00:47:51

From: Miningboy11
like this?


– isMouseOverText(): False
– isMouseOverText()
—- Current mouse-over text: "Climb-up Ladder"
—- Found "limb-up" in mouse-over string: "Climb-up Ladder"
– isMouseOverText(): True

Same thing
:-(

mocrosoft

2015-05-07 03:15:41

From: Miningboy11
– isMouseOverText(): False
– isMouseOverText()
—- Current mouse-over text: "Climb-up Ladder"
—- Found "limb-up" in mouse-over string: "Climb-up Ladder"
– isMouseOverText(): True

Same thing
:-(


it says mouseovertext = true, So there is no problem

WYD

2015-05-07 05:18:14

From: mocrosoft
it says mouseovertext = true, So there is no problem


And it stop like this.

mocrosoft

2015-05-07 15:58:56

From: Miningboy11
And it stop like this.


Hmmm I see, I'll try adding more colors for the stairs detection, so it starts searching for multiple colors, maybe that will fix it.

WYD

2015-05-07 19:45:31

From: mocrosoft
Hmmm I see, I'll try adding more colors for the stairs detection, so it starts searching for multiple colors, maybe that will fix it.


or add a failsafe?

mocrosoft

2015-05-08 01:57:55

From: Miningboy11
or add a failsafe?


I Added the turning camera as a fail safe, but apparently that is not enough?

Fr3akNL

2015-05-08 06:06:13

I have the same thing as miningboy but it didn“t rotate the camera ever. I dont know if u updated or something but ill check it out again later today

WYD

2015-05-08 06:06:29

From: mocrosoft
I Added the turning camera as a fail safe, but apparently that is not enough?


I have no idea you have add that

karlkarlngng

2015-05-14 12:53:45

Some times it starts on another rock before last one is finished and is a bit slow on detecting new rocks.
Anyways it works and you put in some much appreciated time and effort, Thanks!

dodo

2015-06-06 01:49:11

been running for 2 days now Works well!

Thanks!

mocrosoft

2015-06-06 05:24:57

From: dodo
been running for 2 days now Works well!

Thanks!


Goodjob, have fun :)