Xanith
2009-06-23 09:32:47
It's my first script, but don't be afraid to be harsh on it.
It uses Reflection and colors.
I hope it is good. :o
It uses Reflection and colors.
I hope it is good. :o
2009-06-23 09:32:47
2009-06-23 11:28:16
procedure FixIt;
var
LeftTile : Tpoint;
begin
if(FindBlackChatMessage('here.'))then
Wait(100 + Random(73));
GetMyPos;
WalkToTile(LeftTile, 0, 0);
end;You don't assign the LeftTile to anything meaning it won't move.2009-06-23 12:30:27
procedure FixIt;
var
LeftTile : Tpoint;
begin
LeftTile := (xxxx,xxxx); <-------------------
if(FindBlackChatMessage('here.'))then
Wait(100 + Random(73));
GetMyPos;
WalkToTile(LeftTile, 0, 0);
end;2009-06-23 12:34:13
From: The Man
on Frt's point do:procedure FixIt;
var
LeftTile : Tpoint;
begin
LeftTile := (xxxx,xxxx); <-------------------
if(FindBlackChatMessage('here.'))then
Wait(100 + Random(73));
GetMyPos;
WalkToTile(LeftTile, 0, 0);
end;
Just add that bit ;)
T~M
procedure FixIt;
var
LeftTile : Tpoint;
begin
if(FindBlackChatMessage('here.'))then
Wait(100 + Random(73));
LeftTile := GetMyPos;
WalkToTile(Point(LeftTile.x + 1, LeftTile.y), 0, 0);
end;
2009-06-23 12:42:48
2009-06-23 21:36:34
2009-06-23 21:58:33
From: Xanith
FRT, That's exactly what I was trying to go for but I wasn't sure how to do it. (I knew LeftTile wasn't going to click on the left tile, I just named it that)
Thanks for the help guys.
Is there anything else that could be fixed?
function LoadPath(Which: Integer): TPointArray;
begin
case Which of
0: Result := [Point(1, 1), Point(1, 2)];
end;
procedure Walk(Which: Integer);
var
Path: TPointArray;
H, i: Integer;
begin
Path := LoadPath(Which);
H := High(Path);
for i := 0 to H do
begin
AntiBan;
WalkToTile(Path[i], 1, 0);
end;
end;
2009-06-23 22:17:34