
Originally Posted by
Browning1981
Im having a problem getting close enough to the ladder when coming back from guild. Cheesehunk helped me a little and I think he got tired of my noobness
Anyhow, he edited the walking part and in which got me closer to the ladder, but not cl;ose enough. I need to move west like 2 more inches in order for this to work. Can anybody help me out and explain this part of the code, or go ahead and do it for me?
SCAR Code:
repeat
c:=c+1; // Counts Attempts
RadialWalk(MapOreColor,200,290,45,-1,0); // Walks Minimap ORE Color, Degress 200-290 at Distance of 45
if FindColor(x,y,LadderColor,MMX1,MMY1,MMX2,MMY2) then
break; // If Find LadderColor on MINIMAP then Break Repeat Loop
if c=15 then begin Logout; exit; end; // If C > 15 then Logout cuz your lost
until( FindColor(x,y,LadderColor,MMX1,MMY1,MMX2,MMY2) or(c>15) ) // if Ladder Colors or C then exit
IdleTime(3000, 1000, 1.0);
If FindColor(x,y,LadderColor,MMX1,MMY1,MMX2,MMY2) Then Mouse(x,y,2,2,True);
just so you know RadialWalk Degress are like
0 North, 90 East, 180 South, 270 West
so 200-290 is like Southeast to atiny tiny biit Northwest searching in a Clockwise Manner
hope that helps