lol oki good luck.
jukka is smart, the use of his guildminer was getting out of controll :p :) (like my iron miner)
Printable View
masterkill no help for me?
cause jagex made a updated with the black color in runescape.
this is a kind of fix.
you need to pick the Rock Dirt Color from those 2 rocks near the ladder (inside the guild). otherwise the script can't walk out of the mine.
bug fixed:
- it can now walk away from those 2 upper rocks.
works ok till i get a full load of coal etc then i go up the ladder and it says it cant find the bank.. other then that good work
hehe, ive got an awesome quote from msn by jukka that i could put in my sig... bahahahahaha
but that would be very mean
this works almost perfect...try to fix the gas detection so it find always anyway nice;) respect man(h)
2.51
should work better
Not Found Rock Color. exit player
Not found ladder
<-------------------------------------------->
Worked For : 21 Minutes and 40 Seconds
ore`s mined : 82
Respond[s] : 0
Hmmm....is it still because of the color changes?
<-------------------------------------------->
Worked For : 1 Hours, 57 Minutes and 59 Seconds
ore`s mined : 2816
Respond[s] : 8
<-------------------------------------------->
xxx xxxxxx = To Bank, ore`s mined: 2331, active: True
xxx xxxxxx = Mining, ore`s mined: 135, active: False
xxx xxxx = Mining, ore`s mined: 350, active: False
<-------------------------------------------->
this script didnt mine 2816, it mined about 400 i think. i didnt find that much in the bank and i dont think its possible to mine that much in 2 hours
I found all 3 of my accounts south east of the bank
Mine doesn't even work. I setup up the Player's and the provided constants. Other than that, i haven't touched anything. When the form appears, it says it is version 1.0 (Not sure if that's an error) and i press start on the runescape logon page.
Nothing happens.
tested it but it not find the ladder :S he just gos way to ladder and then back main place and so all the time
<--------------------------------------------------------->
xxxxx = LOST - NoLadder
Coal`s mined : 27
Mithril`s mined : 0
total ore`s mined : 27
<--------------------------------------------------------->
Behold! The simpliest piece of code in history!:)
SCAR Code:program New;
{.include srl/srl.scar}
function CountOres: integer;
var
OreDTM, i, c, fx, fy: integer;
mybox: TBox;
begin
OreDTM:= DTMFromString('78DA637460626078C080061819FE83490686F' +
'F40C00852731D530D8204D25E40357708A8F107AA7942408D1F50' +
'CD6B026AEC816A3E1150630C54F302BF1A00C0470D34');
for i:= 1 to 28 do
begin
mybox:= InvBox(i);
if FindDTM(OreDTM, fx, fy, mybox.x1, mybox.y1, mybox.x2, mybox.y2) then Inc(c);
end;
result:= c;
end;
begin
setupsrl;
Writeln('Ores found in inventory: '+inttostr(CountOres)+'.');
end.
I tried it with full inventory, iron, copper and tin ores.
I kept the bank window open and after every run I deposited all ores of one type (first i deposited all the iron, after it copper then tin).
I also calculated if it was right and it was:p
With other words, I made this function in about 5 mins and it works;)
Debug:
Feel free to use it;)Quote:
User specified a new RS window
Successfully compiled
SRL Compiled in 16 msec
Ores found in inventory: 28.
Successfully executed
Successfully compiled
SRL Compiled in 0 msec
Ores found in inventory: 20.
Successfully executed
Successfully compiled
SRL Compiled in 16 msec
Ores found in inventory: 8.
Successfully executed
-Tsn.
Use color its faster -.-
SCAR Code:Function CountItemColor(Color, Tol: Integer): Integer;
Var
Dx, Dy, I: Integer;
ItemTp: TPoint;
Begin
If(Not Loggedin)Then Exit;
GameTab(4);
For I:= 1 To 28 Do
Begin
ItemTP:= ItemCoords(I);
If(FindColorTolerance(Dx,Dy,Color,ItemTP.X-10,ItemTP.Y-10,ItemTP.X+10,ItemTP.Y+10, Tol))Then
Result:= Result + 1;
End;
End;
Begin
Coal := CountItemColor(2175538, 5);
End.
From my guild miner
Indeed, you can also use
>>SCAR Code:function AmountColor(area: string; color, tol: Integer): Integer;
or
function CountItemsColor(area: string; color, tol: Integer): Integer;
;)SCAR Code:Coal:= AmountColor('inv', 2175538, 5);
or
Coal:= CountItemsColor('inv', 2175538, 5);
However, with DTM you know it's an ore;)
-Tsn.
EDIT: Btw it doesn't takes that long;)
SCAR Code:program New;
{.include srl/srl.scar}
function CountOres: integer;
var
OreDTM, i, c, fx, fy: integer;
mybox: TBox;
CMark: longint;
begin
OreDTM:= DTMFromString('78DA637460626078C080061819FE83490686F' +
'F40C00852731D530D8204D25E40357708A8F107AA7942408D1F50' +
'CD6B026AEC816A3E1150630C54F302BF1A00C0470D34');
MarkTime(CMark);
for i:= 1 to 28 do
begin
mybox:= InvBox(i);
if FindDTM(OreDTM, fx, fy, mybox.x1, mybox.y1, mybox.x2, mybox.y2) then Inc(c);
end;
Writeln('Counting ores took '+inttostr(TimeFromMark(CMark))+' ms.');
result:= c;
end;
begin
setupsrl;
Writeln('Ores found in inventory: '+inttostr(CountOres)+'.');
end.
Debug:
aprox. 57 ms, using CAR 3.12c + SRL 4.0 rev 6:)Quote:
Successfully compiled
SRL Compiled in 15 msec
Counting ores took 47 ms.
Ores found in inventory: 28.
Successfully executed
Successfully compiled
SRL Compiled in 0 msec
Counting ores took 62 ms.
Ores found in inventory: 19.
Successfully executed
Successfully compiled
SRL Compiled in 16 msec
Counting ores took 62 ms.
Ores found in inventory: 10.
Successfully executed
thanks guys, i was about making one myself but there's no need for that anymore ;) i think rikjess or I'll plant it in.
after i update srl to rev#7 i get this error
Line 6: [Error] (15678:53): Duplicate identifier 'pickaxehead' in script C:\Documents and Settings\owner\My Documents\runescape\Falador Guild Miner V2.0.scar
what should i do?
The script worked well...only one problem, it worked well for only 5 min :p It broke my pickaxe in less then 5 min...ok so i tried it again with a new pickaxe and it went well untill my load was complete, then it couldnt find the lader to bank to load.
Edit: wrong thread.
rikjes told how to fix ladder problem up more
<----- Falador Guild Miner By Rikjess And MasterKill ----->
Worked for : 47 Minutes and 49 Seconds
Total ores mined : 413
Respond[s] made : 0
<--------------------------------------------------------->
total ore mined is like way off the actual ore actually mined...
hey man i mined 1 load then it banked then it went back got a second load headed to the ladder and before the ladder was even on screen it just logged out and said script finished any reason for this. did i do something wrong on start up? or is this the problem ive been reading about it not being able to find the ladder. because it didnt give any errors. and i dont belive i hit the set time in mine either.
sorry for double post. but i got some results
<--------------------------------------------------------->
killerdr4g0n = LOST - NoLadder
Coal`s mined : 0
Mithril`s mined : 0
total ore`s mined : 0
<--------------------------------------------------------->
i really mined 56 coal but it says 0 i banked 28 coal. on my second load i mined 28 more coal but it could not find the ladder. other than getting lost on the second trip to bank it works great. you just got to fix that little thing up.
ERROR !! :o
This it the samething with m4sterdr4g0n u go one round works great then banks still works...
but then the compass moves and stuffs up and then u get lost...(only ocne did it do it correct the other times losted)
The script thinks that the door is the ladder (when we are full and moving to bank)
at the starting when its lookin for the ladder into the guild it will just revolve around... and then anyhow click a place which is not the ladder...
zzz
ppl read previous posts ull find out this script has been crashing and hes fixing it :P
a.k.a. Ch1Ll ya n33bs pl0x.
EDIT: nevermind, read the rest of the thread
It didn't work it mined one load and then logged out.