Gold
2010-09-05 18:06:19
From the ground up….
Now, I've looked through the noob tutorials and I don't know what it is, but they just leave me going "huh?"
So, is there anyone out there who would tutor me in how to make a powerminer, which would be from then on my script I update to give back to the SRL community (Maybe become a member and finally see those beautiful members scripts :D )
Declare players I can do, but I'm really stuck as to what to do next. Obviously it has to search around the player for an ore, and since this is just a powerminer walking wouldn't be an issue.
Later though, if this all started to make sense, my next plan would be a flax picker/spinner.
So, I have an Aim, I'll try to be on if anyone is interested in helping out.
Edit: Right now I am working on it just finding a certain ore (right now tin)
And when I compile I get
So where do I declare FindOreColour?
Now, I've looked through the noob tutorials and I don't know what it is, but they just leave me going "huh?"
So, is there anyone out there who would tutor me in how to make a powerminer, which would be from then on my script I update to give back to the SRL community (Maybe become a member and finally see those beautiful members scripts :D )
Declare players I can do, but I'm really stuck as to what to do next. Obviously it has to search around the player for an ore, and since this is just a powerminer walking wouldn't be an issue.
Later though, if this all started to make sense, my next plan would be a flax picker/spinner.
So, I have an Aim, I'll try to be on if anyone is interested in helping out.
Edit: Right now I am working on it just finding a certain ore (right now tin)
Program FindOre;
var
X,Y: Integer;
function MineOre : Boolean;
Begin
if FindOreColour Then
begin
MMouse(X, Y, 5, 5);
if WaitUpText('cks', 600) then
begin
GetMousePos(X, Y);
Mouse(X, Y, 0, 0 False);
Result:=WaitOption('ine', 600)'
end;
end;
end;
function FindOreColour : Boolean;
begin
Result:= FindColorTolerance(X, Y, 10000799, MIX1, MIY1, MIX2, MIY2, 20);
end;
begin
SetupSRL;
MineOre;
end. And when I compile I get
[Error] (9:6): Unknown identifier 'FindOreColour' at line 8
Compiling failed.So where do I declare FindOreColour?
