count to potato
08-18-2016, 07:19 PM
So I am trying to make a script to take advantage of part of a broken RSPS mechanic. You can uncharge your blowpipe, use the chisel on it, get xp, uncharge and repeat!
(EDIT: I had it set to Pascal interpreter ofc) This is my first time trying to put some code together so please take it easy! I am unable to even get it running. I keep getting 'Exception in Script: Unknown compiler directives at 12:3'
program BlowpipeSmasher;
{$I SRL-6/SRL.simba}
procedure bpSmash
begin
clearDebug();
writeLn('Uncharging Blowpipe');
mouse(616, 229, 5, 5, MOUSE_MOVE);
wait(randomRange(55, 100));
fastClick(MOUSE_RIGHT);
wait(randomRange(200, 350));
mouse(621, 314, 5, 5, MOUSE_MOVE);
fastClick(MOUSE_LEFT);
wait(randomRange(200, 400));
mouse(262, 402, 5, 5, MOUSE_MOVE);
fastClick(MOUSE_LEFT);
writeLn('Charging Blowpipe');
wait(randomRange(200, 400));
mouse(580, 229, 5, 5, MOUSE_MOVE);
wait(randomRange(100, 300));
fastClick(MOUSE_LEFT);
wait(randomRange(200, 300));
mouse(620, 228, 5, 5, MOUSE_MOVE);
wait(randomRange(100, 300));
fastclick(MOUSE_LEFT);
end;
begin
setupSRL();
bpSmash();
end
Does this code come even close to being able to function? I added all the randomness because even though its an RSPS I am still paranoid as ever! :redface:
EDIT: Ok I complied it successfully but its refusing to do anything besides compile!
New window: 329020
Compiled successfully in 2453 ms.
SRL: Logfile = C:\Simba\Includes\SRL-6/logs/SRL log (18-08-16 at 03.32.37 PM).txt
-- setupSRL()
---- Setting up SRL...
---- HINT: You are not using SMART, be sure to use Simba's crosshairs to select the RS client.
---- Waiting up to 5 minutes for RS to load...
Successfully executed.
(EDIT: I had it set to Pascal interpreter ofc) This is my first time trying to put some code together so please take it easy! I am unable to even get it running. I keep getting 'Exception in Script: Unknown compiler directives at 12:3'
program BlowpipeSmasher;
{$I SRL-6/SRL.simba}
procedure bpSmash
begin
clearDebug();
writeLn('Uncharging Blowpipe');
mouse(616, 229, 5, 5, MOUSE_MOVE);
wait(randomRange(55, 100));
fastClick(MOUSE_RIGHT);
wait(randomRange(200, 350));
mouse(621, 314, 5, 5, MOUSE_MOVE);
fastClick(MOUSE_LEFT);
wait(randomRange(200, 400));
mouse(262, 402, 5, 5, MOUSE_MOVE);
fastClick(MOUSE_LEFT);
writeLn('Charging Blowpipe');
wait(randomRange(200, 400));
mouse(580, 229, 5, 5, MOUSE_MOVE);
wait(randomRange(100, 300));
fastClick(MOUSE_LEFT);
wait(randomRange(200, 300));
mouse(620, 228, 5, 5, MOUSE_MOVE);
wait(randomRange(100, 300));
fastclick(MOUSE_LEFT);
end;
begin
setupSRL();
bpSmash();
end
Does this code come even close to being able to function? I added all the randomness because even though its an RSPS I am still paranoid as ever! :redface:
EDIT: Ok I complied it successfully but its refusing to do anything besides compile!
New window: 329020
Compiled successfully in 2453 ms.
SRL: Logfile = C:\Simba\Includes\SRL-6/logs/SRL log (18-08-16 at 03.32.37 PM).txt
-- setupSRL()
---- Setting up SRL...
---- HINT: You are not using SMART, be sure to use Simba's crosshairs to select the RS client.
---- Waiting up to 5 minutes for RS to load...
Successfully executed.