SRL Archive - News and General

Anyone play gw? i made a script to turn in the captured skeletons.


tom99

2011-10-30 14:37:18

Hello, i figured turning in 100s of captured skeletons in gw was uber borring so i made a neat little script. so if anyone plays it feel free to use it. screen resolution needs to be 1920x1080. and the camera angle of mad king have to be somewhere around this, dont need to be exact same.
there is one counter that is if somone talks to him while using a tonic with large shape, so use it in a district with few people , enjoy :D


//Accept mobstoppers by Tom99
var
x,y,time:integer;
begin
time:=1500;
wait(3000);
repeat
repeat
wait(2000);
if(findcolortolerance(x,y,4128557,568, 70,852, 273,100)) then
break;
wait(100);
until(false)
clickmouse(x,y,true);
wait(5000);
repeat
if(findcolortolerance(x,y,5467734,837, 531,855, 553,2)) then
break;
wait(100);
until(false)
clickmouse(909, 544,true);
repeat
if(findcolortolerance(x,y,4355914,845, 631,865, 648,100)) then
break;
wait(100);
until(false)
wait(time);
clickmouse(926, 639,true);
wait(time);
clickmouse(932, 502,true);
wait(time);
clickmouse(917, 627,true);
sendkeysvb('{F12}',true);
repeat
if(findcolortolerance(x,y,3111451,1030, 569,1069, 582,100)) then
break;
wait(100);
until(false)
wait(30);
movemousesmooth(956, 577);
clickmouse(956, 577,true);
repeat
if(findcolortolerance(x,y,1857287,1549, 1007,1585, 1020,100)) then
break;
wait(100);
until(false)
wait(time);
sendkeysvb('{ENTER}',true);
until(false)
end.