• Log in or sign up for an account here: https://www.sythe.org/login

Sucessfully executed? Script finished?

  • Thread starter Thread starter aznpimpin89
  • Start date Start date
Status
Not open for further replies.
A

aznpimpin89

Guest
Hi everyone. Im new to SCAR. I used to use AC Tools on Maple Story. Besides that, I am having a problem. I can run SCAR well with the auto fighting scripts. It works! But the thing is, it will only work for so long until it stops; "script finished". I think the problem happens when there are no available monsters on the map at that given time to click on. Anyone have this problem and/or know how to get through this? Thanks
 
Yeah, it's probably the scripts fault, as it's most likely programmed to immediately terminate if it cannot find anything to fight. Post the script and maybe someone can edit it to make it work better ;)
 
program AutoFighter;

/////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
//BY;zeejenkins10 \
//You May need to eddit line 32 \
//This Is a simple "AutoFighter" \
// I recommend watching it every 5-10 minutes because there is not anitrandoms\
// Pleas comment. \
/////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

var

i,x,y: Integer;

const

/////////////////////////Setup\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
//
MonsterColor1 =2968350; {Enter first Monster Color Here} //
MonsterColor2 =2655101; {Enter second Monster Color Here} //
MonsterColor3 =2655101; {Enter third Monster Color Here} //
MonsterKillCount =100; {how many monsters to kill} // //
////////////////////////EndSetup\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

begin
repeat
i:= i + 1
if (FindColor(x,y,MonsterColor1,0,0,515,336))
or (FindColor(x,y,MonsterColor2,0,0,515,336))
or (FindColor(x,y,MonsterColor3,0,0,515,336)) then
begin
MoveMouseSmoothEx(x,y +random(0),20,40,45,25,20);
Wait(123+random(10));
ClickMouse(x,y,true);
wait(10000); {how many second you want to wait between each click}
end;
until i = MonsterKillCount
end.
 
Status
Not open for further replies.
duelarena.gg
Back
Top