PDA

View Full Version : Runqiue Overload assistant



rj
12-06-2016, 02:08 AM
Okay, so this is a sloppy script I wrote up that can assist you on making overloads.

This script requires that you have some basic geometric knowledge, such as knowing what an X and Y axis is. An X axis is left to right, and a Y axis is up and down. As you move further to the right, the number on the X axis increases. As you move further to the left, the number on the X axis deceases.

The Y axis works the same way. As you move up the Y axis deceases. As you move down the number increases.


Quick example: We have a point A (also called a ordered pair) (5, 5) and another point B at (5, 7). Which one is further to the right? Remember, order pairs are formated X, Y.


Point B is further to the right
Fake out, Point A is further to the rightfake out, Point A and B are on the same point on the X axis





At the top of the script there are two variables named http://image.prntscr.com/image/a1dab743032f44d68ecbb9678d5a9b59.png and http://image.prntscr.com/image/5a569c504fdb471c86e4190b25580f05.png. Right here you input the place of where your first ingredient is.

http://image.prntscr.com/image/922d32e40bbe448da42f87c2d05bd96a.png

For example mine is the Extreme attack potion(3) located at (188, 147)

The rest of your ingredients should follow to the right of the first.



Next, there is a variable called http://image.prntscr.com/image/7b3596e873414721b0376dd65a222d5f.png. This is the key ID that you press that will trigger the script to withdraw the ingredients. It is set to 116, which is F7. You can find a list of other possible options with the graphic I have provided here:

http://image.prntscr.com/image/ef826abc282744968b5d521aa14de11d.png






Copy and paste this script in simba.


const

START_X = 188;
START_Y = 147;

USE_KEY = 118;

BANK_X = 491;
BANK_Y = 73;

CHECK_EVERY = 25;


function string.contains(s: string): Boolean;
begin
if ((self <> '') and (s <> '')) then
result := (pos(s, self) > 0)
else
result := False;
end;

function activateRsClient():boolean;
var
processes: TSysProcArr;
i: integer;
begin
result := false;
processes := GetProcesses();
writeln('Scanning for ' , 'Runique' , 'Client..');
for i := 0 to high(processes) do
if (processes[i].title.contains('Runique')) and (processes[i].width = 765) and (processes[i].height = 525) then
begin
writeln('Found client');
writeln('Target set to: ' , toStr(processes[i]));
setTarget(processes[i]);
ActivateClient();
exit(true);
end;
end;

procedure mouseFast(tx, ty:integer);
begin
moveMouse(tx, ty);
wait(50);
clickMouse(tx, ty, 1);
end;

procedure withDrawIngr;
var
slotX, i:integer;
begin
for slotX := 0 to 5 do
begin
for i := 0 to 3 do
begin
mouseFast(START_X + (slotX * 44), START_Y);
wait(45);
end;
wait(100);
end;
end;

procedure closeBank;
begin
mouseFast(BANK_X, BANK_Y);
end;

begin
if activateRsClient() then
messageBox('Found Runique Client Press key ID ' + toStr(USE_KEY), 'Client found', 0)
else
messageBox('Did not find Runique Client be sure to double check Coords!', 'Client not found', 7)
repeat
wait(CHECK_EVERY);
if (isKeyDown(USE_KEY)) then
begin
withDrawIngr;
wait(150);
closeBank;
wait(3000);
end;
until false;
end.

jstemper
12-06-2016, 02:26 AM
Nice little script, hopefully this motivates someone to automate the process completely. I don't get how point b is farther to the right though, because they have the same x coordinate of 5

rj
12-06-2016, 03:04 AM
Nice little script, hopefully this motivates someone to automate the process completely. I don't get how point b is farther to the right though, because they have the same x coordinate of 5

I guess that explains why I can't set up the script properly

goodgamescript
12-06-2016, 05:22 AM
Nice little script, hopefully this motivates someone to automate the process completely. I don't get how point b is farther to the right though, because they have the same x coordinate of 5

i guess it's in how you read it =p point a --> point b

cough cough* jstemper
http://i.imgur.com/ioJYuvS.png

jstemper
12-11-2016, 02:35 AM
i guess it's in how you read it =p point a --> point b

cough cough* jstemper
http://i.imgur.com/ioJYuvS.png

god damn it

aesthetic realm
12-01-2018, 07:31 AM
oh okay this makes sense