SRL Archive - OSR Help

First script help please


dumbassbots

2013-05-31 10:06:02

can someone link me a guide to making a on screen clcoord walker and an auto clicker? i will reveal what i am doing later.

rj

2013-05-31 10:08:58

You mean using static coords to walk?

Like:


mmouse(500,500,1,1)
Clickmouse2(mouse_left)

Terrible way to walk, but what are you asking for help for?

dumbassbots

2013-05-31 10:12:28

i want to make a script to afk monkey guards and click the alter i plan to add an attack feature later on maybe today, and an eat function. at the moment i need a guide/advice anything pertaining to clicking a coordinate.

rj

2013-05-31 10:14:02

From: dumbassbots
i want to make a script to afk monkey guards and click the alter i plan to add an attack feature later on maybe today, and an eat function. at the moment i need a guide/advice anything pertaining to clicking a coordinate.


then I suggest you learn how do use DDTM walking

http://villavu.com/forum/showthread.php?t=102740

Or Radial

http://villavu.com/forum/showthread.php?t=11584

dumbassbots

2013-05-31 10:14:52

thank you can i also use this to right click on a second coordinate?

rj

2013-05-31 10:16:16

From: dumbassbots
thank you can i also use this to right click on a second coordinate?


What do you mean coordinate? Like a RSTile? Or position? If you mean walking like a path, then yes

dumbassbots

2013-05-31 10:18:38

the object i want to click on is not identifiable by color due to the whole area is the same color it could not be specified with auto color aid.

rj

2013-05-31 10:24:05

From: dumbassbots
the object i want to click on is not identifiable by color due to the whole area is the same color it could not be specified with auto color aid.


Are you trying to walk or find an object? I'm confused

Can you show the object your trying to click?

dumbassbots

2013-05-31 10:45:20

[ATTACH=CONFIG]21531[/ATTACH]

rj

2013-05-31 21:27:09

From: dumbassbots
[ATTACH=CONFIG]21531[/ATTACH]


Remove username. Also, you should look into tapas to find the altar, I could write a function next week when I'm at the computer, it would make a box around the brown part on the steps, and then within that area search for the alter. But you wouldn't learn anything, so read up on a few tutorials on atpas/basic scripting

dumbassbots

2013-05-31 22:11:02

program monkeyalterkiller;
{$DEFINE SMART8}
{$i srl/srl.simba}

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

Players[0].Name := ''; //Your Runescape username goes right here.
Players[0].Pass := ''; //Your Runescape password goes right here.
Players[0].Active := True; //Set to True if you want to use this player. Set to False to disable this player.
Players[0].Pin := ''; //Put your Bank PIN here. Leave blank if you don't have a Bank PIN.
end;



procedure Findinventory;
begin
Movemouse(x, y);
Wait(200);
Clickmouse(x, y, mouse_Left);
Wait(200);
end;

procedure activate prayer;
begin
Movemouse(x, y);
Wait(200);
Clickmouse(x, y, mouse_Left);
Wait(200);
end;

begin
Findinventory;
end.
begin
end.

i feel like this should be able to handle almost every action in the script if i make a custom map. can i sew these together with if/ if not functions?

dumbassbots

2013-05-31 22:14:39

now that i am thinking about it would probably be easier to remove the smart and make it run on an open browser at max screen?

Chris!

2013-05-31 22:21:25

From: dumbassbots
now that i am thinking about it would probably be easier to remove the smart and make it run on an open browser at max screen?


If you choose to do this; you will lose control of your mouse while the script is running. That's the advantage of SMART, you can use your machine while botting.

If you're going to do this though, I suggest installing a VM and running it on there!

rj

2013-06-01 13:46:44

From: dumbassbots
now that i am thinking about it would probably be easier to remove the smart and make it run on an open browser at max screen?


Please read some scripting tutorials move mouse and click mouse are terrible and will get you banned

P1ng

2013-06-01 14:03:20

I would suggest you read up on the basic scripting tutorials to get a general idea of building a simple script, moving the mouse, finding an object and walking.

TPAs would be the next more advanced step and would be the way to go to find the altar in question.
Also, check out CTS or colour tolerance speeds. By using CTS2 you would be able to identify that altar in ACA without any problems at all :)

Feel free to shoot me a PM if you'd like some more specific help or add me on skype and when available I could run you through a few simple bits and pieces.