
Originally Posted by
BanditX
@ Dr. D. Dervish: I changed that on the main thread before u posted that. lol. thx though.
@Zytex!'s EDIT2: That might be server-specific. we should check on that.
to both of you, thanks for the interest. I'd love to see an awesome dofus script. I'm still learning scripting but I think I got the basics. I'm so busy with school now that I'm only on my computer maybe once a week. lol. But if there's anyway at all that I can help, plz let me know. I think I might try to put everything we have about dofus on this thread. (the login.scar, if it works, box closing functions etc.) so that way anyone looking to continue already has the groundworks. If anyone would like to PM me the functions or whatever, plz do.
Yes, I forgot to add; I play on Solar.
I'll release my walker. Later on it will use coordinates. 
SCAR Code:
procedure Walk(Dir : Char);
var
O, X, Y : Integer;
Found : Boolean;
P : TBox;
begin
case LowerCase(Dir) of
'n': P := IntToBox(4, 50, 745, 74);
's': P := IntToBox(4, 459, 745, 481);
'e': P := IntToBox(705, 66, 745, 481);
'w': P := IntToBox(4, 50, 46, 481);
else
WriteLn('ERROR: ' + UpperCase(Dir) + ' Is not a valid direction!');
end;
if (P.x1 = 0) then
Exit;
O := DTMFromString('78DA639CCCC8C060C58002FE9FE7609003D28' +
'C20361030CE01B21C70AB01010071EE0994');
while not Found do
begin
Wait(100);
if FindDTM(O, x, y, P.x1, P.y1, P.x2, P.y2) then
Found := True;
end;
ClickMouse(x+7, y, True);
FreeDTM(O);
while not (GetColor(5, 481) = 0) do
Wait(10);
while (GetColor(5, 481) = 0) do
Wait(10);
end;
Test it in the 'main' city.. The place you get to after Incraman (cant remember the name...)
EDIT: I just made a WalkEx(); Use: WalkEx(['N', 'E', 'N', 'N']);
SCAR Code:
procedure WalkEx(Dir : array of Char);
var
I : Integer;
begin
for I := 0 to High(Dir) do
Walk(Dir[i]);
end;
EDIT3: I have to edit the DTM again... It does not work for 4, -17...