PDA

View Full Version : [07]N_Miner



nickyvh
03-23-2013, 01:23 PM
Here is my Mining bot.
It mines iron and copper, you can choose bank or drop.
For banking you must start at the varrock east mine.
No random support !

things I need to do:

Adding coal.
Adding auto Update.
Adding Proggy.
And failsafes maybe someone can help me with these, pm me please.

You need Srl-OSR
Go Here: https://github.com/SRL/SRL-OSR
Click The ZIP button.
Create a folder in Simba/Includes called SRL-OSR. (Simba/Includes/SRL-OSR)
Extract the files from the zip into there.

and you need this SPS : http://villavu.com/forum/showthread.php?t=98324

Update History :

-1.2) Release
-1.3) Updating the mining method and better walking.
-1.4) Better mining, updated walking
-1.5) banking works with pickaxe in inv. , Walking works good now, Credits to @flight for walking thnx man !


Post any bugs Please !

jorjjorj1234
03-23-2013, 02:41 PM
Nice! Is working perfect!!!! BUT DUDE,after it drops all ore the scrpit stop,can you please make it start mining again?! Thanks!!! +rep to this player!!! GOOD SCRPITER

GetHyper
03-23-2013, 05:21 PM
Seems a pretty good script, appreciate your time.
Doesn't seem to restart mining after banking, ive tried adding another repeat into it but still doesn't - maybe i placed it in wrong place.

Not sure how this SPS Walking works, will have a read up on it.
Seems to take an awkward way back to the east site.


Nice! Is working perfect!!!! BUT DUDE,after it drops all ore the scrpit stop,can you please make it start mining again?! Thanks!!! +rep to this player!!! GOOD SCRPITER

Not sure if mine just works or if its because i added a repeat until at the end of the script.

nickyvh
03-23-2013, 09:25 PM
Now it wil work !

kvanzx6r
03-24-2013, 02:20 AM
works great, thanks

edit: after awhile it buggers itself up, but small adjustments and script should be pretty good

stephen25
03-24-2013, 02:39 AM
When I run it, it drops ores fine but then it mines about 6-8 ores and then just checks exp and hovers above the rock, is there an edit for this?

stephen25
03-24-2013, 04:54 AM
Get this error when attempting to powermine iron at alkharid 3 iron ore spot,

SPS_GetArea ERROR: Exception: Error while reading stream: File "C:\Simba\Includes\SPS\img\runescape_surface07\12_7 .png" does not exist

syn acid
03-24-2013, 09:20 AM
I'm getting this...

[Error] C:\Simba\Includes\SRL-OSR/SRL/core/simba.simba(465:14): Unknown identifier '' at line 464
Compiling failed.

syn acid
03-24-2013, 09:23 AM
That error went away.... ^ now this. I did what the steps told me to..

New window: 525348
[Error] C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(229:203): Invalid number of parameters at line 228
Compiling failed.

syn acid
03-24-2013, 09:38 AM
now?!?!?!? really...

[Error] (483:1): Unexpected end of file at line 482
Compiling failed.

nickyvh
03-24-2013, 10:09 AM
now?!?!?!? really...

[Error] (483:1): Unexpected end of file at line 482
Compiling failed.

You have problems with your own documents

nickyvh
03-24-2013, 10:11 AM
works great, thanks

edit: after awhile it buggers itself up, but small adjustments and script should be pretty good

Tell me more about the bugs ?

nickyvh
03-24-2013, 10:12 AM
Get this error when attempting to powermine iron at alkharid 3 iron ore spot,

SPS_GetArea ERROR: Exception: Error while reading stream: File "C:\Simba\Includes\SPS\img\runescape_surface07\12_7 .png" does not exist

use mine old powerminer works good http://villavu.com/forum/showthread.php?t=97837

syn acid
03-24-2013, 11:12 AM
Well if someone can skype view me or team view that would be great. I give up I've followed all these instructions to the T. it opens this in another tab with nothing in it... so I assume it's something to do with that.

[Error] C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(229:203): Invalid number of parameters at line 228
Compiling failed.

syn acid
03-24-2013, 11:20 AM
am I supposed to start this from smart? Idk if that is the prob.

Markmosis
03-24-2013, 11:24 AM
Works alright, but the Anti-bot measures are a bit annoying to me. I tried commenting out the Anti-bot measures, but somehow they were still functioning. What would I need to comment to stop them from occurring? I've tried commenting out the references to the function and commenting out inside the function itself too.

syn acid
03-24-2013, 11:26 AM
Mark anyway you can .rar your simba folder.. the fucking bot works just fine except for this damn script.

syn acid
03-24-2013, 11:30 AM
For I:= 0 To (Count - 1) Do
begin
If SmartPairClient(IDs[I]) then
begin
Result := IDs[I]; **************<<<this line is the error*************** WTF?
SetEIOSTarget('libsmartremote', ToStr(Result));
Writeln('Paired with SMART[' + ToStr(Result) + ']');
Exit;
end;
end;
end;


[Error] C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(229:203): Invalid number of parameters at line 228
Compiling failed.

quartersun
03-24-2013, 04:37 PM
The script works very well, but sometimes when mining, it does the correct procedure, but just fails to click. It hovers over the rocks and doesn't click anything. The brightness is max, and the colors work correctly, I haven't been able to work out why, any help would be appreciated.

peter130298
03-24-2013, 05:34 PM
after it mines two rocks it just hovers over them

keprofs0uls
03-25-2013, 02:55 AM
Exception in Script: Unable to find file 'SRL-OSR/SRL.Simba' used from 'C:\Users\SHAUNS~1\AppData\Local\Temp\[07]N_MinerV1.2-3.simba'

i get this what do i do

MaetNameno
03-25-2013, 06:18 AM
I started this in Varrock east mine and it doesn't bank it just drops the ores

sleepywalker
03-25-2013, 07:26 AM
Exception in Script: Unable to find file 'SRL-OSR/SRL.Simba' used from 'C:\Users\SHAUNS~1\AppData\Local\Temp\[07]N_MinerV1.2-3.simba'

i get this what do i do
You need Srl-OSR
Go Here: https://github.com/SRL/SRL-OSR
Click The ZIP button.
Create a folder in Simba/Includes called SRL-OSR. (Simba/Includes/SRL-OSR)
Extract the files from the zip into there.

sleepywalker
03-25-2013, 07:45 AM
It logs in for me then just stands in the mine.

kinker
03-25-2013, 03:22 PM
[Error] C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(229:203): Invalid number of parameters at line 228
Compiling failed.

some1 help im not good at this :/

quartersun
03-25-2013, 08:11 PM
[Error] C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(229:203): Invalid number of parameters at line 228
Compiling failed.

some1 help im not good at this :/

You need to make it SMART8 in red at the top instead of SMART.

aproxcv
03-25-2013, 08:49 PM
Exception in Script: Unable to find file 'SRL-OSR/SRL.Simba' used from 'C:\Simba\Includes\SRL-OSR\SRL-OSR-master\[07]N_MinerV1.2.simba'


im really stupid in these things, please help, whats the problem? i followed all the guides, to get here, never botted before, i did the thing with the zip folder.... still dont understand what i need? please help

sleepywalker
03-25-2013, 10:49 PM
Exception in Script: Unable to find file 'SRL-OSR/SRL.Simba' used from 'C:\Simba\Includes\SRL-OSR\SRL-OSR-master\[07]N_MinerV1.2.simba'


im really stupid in these things, please help, whats the problem? i followed all the guides, to get here, never botted before, i did the thing with the zip folder.... still dont understand what i need? please help

You need Srl-OSR
Go Here: https://github.com/SRL/SRL-OSR
Click The ZIP button.
Create a folder in Simba/Includes called SRL-OSR. (Simba/Includes/SRL-OSR)
Extract the files from the zip into there.

keprofs0uls
03-26-2013, 01:23 AM
You need Srl-OSR
Go Here: https://github.com/SRL/SRL-OSR
Click The ZIP button.
Create a folder in Simba/Includes called SRL-OSR. (Simba/Includes/SRL-OSR)
Extract the files from the zip into there.

i did do this and i still get

Exception in Script: Unable to find file 'SRL-OSR/SRL.Simba' used from 'C:\Users\SHAUNS~1\AppData\Local\Temp\[07]N_MinerV1.2-5.simba'

zinova
03-26-2013, 05:58 AM
i did do this and i still get

Exception in Script: Unable to find file 'SRL-OSR/SRL.Simba' used from 'C:\Users\SHAUNS~1\AppData\Local\Temp\[07]N_MinerV1.2-5.simba'

make sure you remove(rename) the "-master" from "SLR-OSR-master" folder when you're directly extracting into your Includes, or else it will not detect the 07SLR

keprofs0uls
03-26-2013, 06:28 AM
make sure you remove(rename) the "-master" from "SLR-OSR-master" folder when you're directly extracting into your Includes, or else it will not detect the 07SLR

i renamed it with the -master not there any more and i still get the command

Exception in Script: Unable to find file 'SRL-OSR/SRL.Simba' used from 'C:\Users\SHAUNS~1\AppData\Local\Temp\[07]N_MinerV1.2-7.simba'

aproxcv
03-26-2013, 08:30 AM
bot stops mining after few irons. what to do?

MotiveIntent
03-26-2013, 08:49 AM
bot stops mining after few irons. what to do?
Same here

aproxcv
03-26-2013, 09:43 AM
west varrock mine is better, or mining guild bot, for mining and banking coal is the best! can you do that?

bursilym
03-26-2013, 06:00 PM
Exception in Script: Unable to find file 'SPS/sps-osr.simba' used from

Rob0222
03-26-2013, 10:32 PM
Exception in Script: Unable to find file 'SRL-OSR/SRL.Simba' used from 'C:\Users\SHAUNS~1\AppData\Local\Temp\[07]N_MinerV1.2-3.simba'

i get this what do i do

I dont know why i havent seen an answer to this yet -___- its really frustrating

keprofs0uls
03-27-2013, 07:23 AM
I dont know why i havent seen an answer to this yet -___- its really frustrating

go to your includes folder and go into it you should see you srl-osr folder if not you need to get one from

Quote Originally Posted by sleepywalker View Post
You need Srl-OSR
Go Here: https://github.com/SRL/SRL-OSR
Click The ZIP button.
Create a folder in Simba/Includes called SRL-OSR. (Simba/Includes/SRL-OSR)
Extract the files from the zip into there.

and extract it into you rincludes folder and take the -master of (rename it) and that should work

keprofs0uls
03-27-2013, 08:40 AM
just stands there and does nothing once it logs in please help thanks

pker kieron
03-27-2013, 08:51 AM
Keeps asking me to fill in my nickname, but i don't see where too?

aproxcv
03-29-2013, 08:31 AM
make west varrock iron miner and banker, or mining guild miner and banker...

Runehack123
03-29-2013, 08:35 AM
I really like your things to do list
it's good that you can be so organised and set yerself clear goalsies :)

good job on the script man

superhuman
03-30-2013, 09:15 AM
Exception in Script: Unable to find file 'SPS/sps-osr.simba' used from

Runehack123
03-30-2013, 09:51 AM
this is good work
you should be proud and hapy

leftysoulz
03-31-2013, 02:18 PM
Sorry, worked horribly for me, barley even clicked the iron or copper. and if somone stole it from you, nothing happens anymore. maybe i did somthing wrong but this is not working out for me.

keprofs0uls
03-31-2013, 06:02 PM
SPS_GetArea ERROR: Exception: Error while reading stream: File "C:\Simba\Includes\SPS\img\runescape_surface07\12_7 .png" does not exist

i get this

nickyvh
04-01-2013, 10:53 AM
Make update today

kizzzaa
04-01-2013, 02:00 PM
Exception in Script: Unable to find file 'SPS/sps-osr.simba' used from 'C:\Users\Kizza\Downloads\[07]N_MinerV1.2.simba'

had this same problem with another script, still dont know how to fix it any ideas?

nickyvh
04-01-2013, 08:43 PM
Exception in Script: Unable to find file 'SPS/sps-osr.simba' used from 'C:\Users\Kizza\Downloads\[07]N_MinerV1.2.simba'

had this same problem with another script, still dont know how to fix it any ideas?

you must download the SPS from here http://villavu.com/forum/showthread.php?t=98324

Place it in Simba\Includes\SPS\SPS-osr.simba

ilovegali201
04-03-2013, 05:39 AM
how come mine doesn't walk to bank? I got the error code: Screenshot of: IP Log 51 Seconds SPS returns -1,-1

inssanz
04-07-2013, 04:37 AM
mines inventory perfectly, walks to bank, deposits it, stops doing anything just stands there with bank open right clicking on grass outside bank. help?

ehloco
04-08-2013, 04:51 AM
mines inventory perfectly, walks to bank, deposits it, stops doing anything just stands there with bank open right clicking on grass outside bank. help?

same issue here

Physic
04-08-2013, 11:02 PM
Some more antiban would nice too. Otherwise, great work. Powermined iron till 60. A pain...

nickyvh
04-09-2013, 08:27 AM
Some more antiban would nice too. Otherwise, great work. Powermined iron till 60. A pain...

What do you mean with powermined till 60

Hellss
04-09-2013, 07:00 PM
script works pretty well for a few trips then will kinda just sit in the mine, or sit in bank examining iron endlessly. needs some fixes but works great for me not needing to sit at my screen and mine iron thanks alot :D

Physic
04-09-2013, 08:44 PM
What do you mean with powermined till 60

Not in relation to the script, just saying that powermining iron took forever

digunderme
04-11-2013, 02:13 PM
Great script, thank you.

lordasukuu
04-14-2013, 11:44 AM
any way to fix it?, it mines perfectly then just stands there moving the camera, it wont bank for me, any help please?


nevermind was at the east mines lol, yea it goes to bank (some times) but when it does it just stands there in my bank examining my ores, and when im lucky enough to have it close the bank it stands there righting clicking everyone in the bank area.

CouZn
04-15-2013, 02:35 PM
It cannot seem to find the copper in East Varrok. Can someone help on that it just clicks on a few places on screen and then examines items in inventory.

nickyvh
04-19-2013, 07:42 PM
Updated script

Castiel
04-20-2013, 08:28 PM
keeps clicking on my character or other characters.
Haven't even mined one ore :(

nickyvh
04-21-2013, 08:42 PM
keeps clicking on my character or other characters.
Haven't even mined one ore :(

change your clothes

Zerace
04-21-2013, 09:38 PM
This is working exceptionally well for me. Maybe something for if you get attacked (There is a rat there).

Zerace
04-21-2013, 09:56 PM
Banking doesn't ignore the ignoreslots number, banks my pickaxe. Also walking back doesn't work.

nickyvh
06-29-2013, 03:08 PM
I'm back now was busy with things for school .
But now I have al the time for scripting !

nickyvh
07-03-2013, 02:07 PM
post your bugs please or pm me !!!

nickyvh
07-16-2013, 10:50 PM
Updated the script !

plutob
07-17-2013, 06:59 PM
Exception in Script: Unable to find file 'SPS/SPS-OSR.simba' used from 'C:\Users\desley\Downloads\[07]N_MinerV1.5 (5).simba'


Getting this error? Whats that?

Ashaman88
07-17-2013, 07:01 PM
Exception in Script: Unable to find file 'SPS/SPS-OSR.simba' used from 'C:\Users\desley\Downloads\[07]N_MinerV1.5 (5).simba'


Getting this error? Whats that?

Read the OP and try to search around before posting

http://villavu.com/forum/showthread.php?t=98324

rob231k
07-29-2013, 10:40 PM
Well worked great until I got full inv. and got this error

Error: Exception: Access violation at line 398
The following DTMs were not freed: [SRL - Lamp bitmap, SRL - Book of Knowledge]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Minimap Mask bitmap, 3, 48]

Any help because its a great script especially if it could bank :/ thanks

Leonardo_
08-01-2013, 03:08 PM
it works to me , but just for powermining if I set up it to banking it start to mining go to the bank but when it has to go back it tries to start mining again, I was look at code and I could see that there is a procedure called walkback but it doesn´t work I tried use this procedure in other parts of the code so it tries to go back to the mine but for some reason it don´t go back right, I don´t know if maybe it´s because the cordenates are just inverted or something like that... guys pleas fix it this bot is so good

hkbell
01-22-2014, 12:02 PM
begin
try
Result := TMufasaBitmap.Create;
Result.SetSize(120, 120);

c := getTClient;
Result.CopyClientToBitmap(
c.IOManager, false, 0, 0, MMCX-60, MMCY-60, MMCX+60, MMCY+60
);

except
Writeln('SPS_GatherMinimap ERROR: '+ExceptionToString(ExceptionType, ExceptionParam));
end;
end;

procedure SPS_FilterMinimap07(var Minimap: TMufasaBitmap);
var
W, H, x, y: integer;




That's the code, it keeps saying Exception in Script: Unknown declaration "getTClient" at line 52, column 10

kazhual
01-22-2014, 02:34 PM
begin
try
Result := TMufasaBitmap.Create;
Result.SetSize(120, 120);

c := getTClient;
Result.CopyClientToBitmap(
c.IOManager, false, 0, 0, MMCX-60, MMCY-60, MMCX+60, MMCY+60
);

except
Writeln('SPS_GatherMinimap ERROR: '+ExceptionToString(ExceptionType, ExceptionParam));
end;
end;

procedure SPS_FilterMinimap07(var Minimap: TMufasaBitmap);
var
W, H, x, y: integer;




That's the code, it keeps saying Exception in Script: Unknown declaration "getTClient" at line 52, column 10


The answer is on your own thread right here (http://villavu.com/forum/showthread.php?t=107715&p=1281577#post1281577)