Browning1981
09-09-2006, 01:04 AM
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:confused:
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?
repeat
c:=c+1;
RadialWalk(MapOreColor,200,290,45,-1,0);
if FindColor(x,y,LadderColor,MMX1,MMY1,MMX2,MMY2) then break;
if c=15 then begin Logout; exit; end;
until( FindColor(x,y,LadderColor,MMX1,MMY1,MMX2,MMY2) or(c>15) )
IdleTime(3000, 1000, 1.0);
If FindColor(x,y,LadderColor,MMX1,MMY1,MMX2,MMY2) Then Mouse(x,y,2,2,True);
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?
repeat
c:=c+1;
RadialWalk(MapOreColor,200,290,45,-1,0);
if FindColor(x,y,LadderColor,MMX1,MMY1,MMX2,MMY2) then break;
if c=15 then begin Logout; exit; end;
until( FindColor(x,y,LadderColor,MMX1,MMY1,MMX2,MMY2) or(c>15) )
IdleTime(3000, 1000, 1.0);
If FindColor(x,y,LadderColor,MMX1,MMY1,MMX2,MMY2) Then Mouse(x,y,2,2,True);