It'll log in and it won't walk to the maples first, it will try to find them. and when inv is full it doesn't walk to bank either..Code:program ZetasMapleChop; {.include SRL\SRL.scar} {.include SRL\SRL\Skill\Woodcutting.SCAR} const Maple = 19058; //the color of the maple Maple2 = 16760; Maple3 = 9548; Tol = 12; RunDirection = 'S'; //the direction to run if in fight LogsToChop = 50; //how many logs to chop) procedure DeclarePlayers; begin HowManyPlayers := 1; //Number of players to use NumberOfPlayers(HowManyPlayers); //Don't Touch CurrentPlayer := 0; //Player to start with Players[0].Name := 'shampoo'; //Players username Players[0].Pass := ''; //Players password Players[0].Nick := 'hamp'; //3-4 characters from players username(Lowercase and no spaces) Players[0].Active := True; //Are you using this player? end; procedure WalkToMaples; begin MakeCompass('N'); RadialWalk( 2264447 , 10, 52, 40, 0, 0); wait(1000+random(687)); end; procedure ChopMaples; var ChopMark: Integer; begin repeat if FindObjMulti('aple tree', Maple, Maple2, Maple3, Tol) then begin GetMousePos(X, Y); Wait(500 + Random(102)); Mouse(X, Y, 1, 1, True); MarkTime(ChopMark); repeat Wait(500 + Random(250)); FindNormalRandoms; until(TimeFromMark(ChopMark) >= (10000 + Random(5000))); end; until(False); end; procedure WalkToBank; begin if (InvFull) then begin MakeCompass('N'); RadialWalk( 9606557 , 218, 195, 50, 0, 0); end; end; begin ActivateClient; SetUpSRL; DeclarePlayers; repeat if not LoggedIn then LogInPlayer; //If it gets logged out, it will assume that something went wrong and continue to the next player, setting the current player inactive. WalkToMaples; ChopMaples; WalkToBank; until(false) end.







Reply With Quote


