SRL Archive - First Scripts

Cammy Telle my first script.


themoss992

2008-10-28 23:29:17

hey guys this is my first script please post how it runs and how it dosn't work , if it dosn't work please tell me why and how i can improve on it thank you :)

~TheMoss992~


//this is my first script...set co-ords yourself and hit run
//plaese post bugs :D

program Auto_CammyTelle;
var
x,y: Integer;

begin
movemousesmooth(x,y,2200,2234,244,255);
clickmouse(x,y,2200,2234,244,255,True);
wait(1500)
movemousesmooth(x,y,2400,43634,2562,253);
clickmouse(x,y,23523,235235,235235,25325,True);

end.

joelster134

2008-10-29 01:15:52

ok, few problems

1. if your using FindColor(co-ords) then have

if(FindColor(x,y,134523,23523 5,235))then
MMouse(x,y);
Mouse(x,y);

DO NOT use Movemousesmooth + Clickmouse as it WILL get you banned. keep reading tutorials how to use DTM/s and Bitmaps as well as Radial walking, thats all i got atm good try for a first script though keep up good work :)

also might wanna add in SRL login procedures and such

procedure DeclarePlayers;

begin
HowManyPlayers:= 1; //Change to your liking :)
NumberOfPlayers(HowManyPlayers);

Players[0].Name:=''; //username
Players[0].Pass:=''; //Password
Players[0].Nick:=''; //Nickname here 3-4 letters no nums
Players[0].Active:= True ; //Are you using this player?
Players[0].Worked:= 10 ; //How many fishing trips do you want to do?

{ Players[1].User:='Username'; //username
Players[1].Pass:='Password'; //Password
Players[1].Nick:='Nickname'; //Nickname here 3-4 letters no nums!
Players[1].Active:='True' ; //Are you using this player?
Players[1].Worked:= 100 ; //How many Loads you wanna do }

end;

just an example of the login.

in2it

2008-10-29 02:04:29

Nice script for you first go :P if you wanna see some areas and stuff check out mine \/\/ im glad to help but add me to creds if you remake :)

themoss992

2008-10-29 23:31:16

From: in2it
Nice script for you first go :P if you wanna see some areas and stuff check out mine \/\/ im glad to help but add me to creds if you remake :)




cool ty man i am still a bit nooby on all this scripting stuff but ill get better at scripting i am currently reading DTM and RadialWalk tutorials to improve this script. iwill look at your script and if itake anything out of it will add you to creds,

Dervish

2008-11-06 11:44:24

One thing that made me lol is the Coords of your clicks O.o Did you pull the crosshair over runescape client before you scripted ? :S Don't think so.

As people already said : Don't use MoveMouseSmooth and these.
Use SRL functions, much more human (= safer).

But its good for first time =).

Read some tutorials on AntiBans and AntiRandoms (http://www.villavu.com/forum/showthread.php?t=23178 < reccomended)

Good luck, keep going.

Andyz55

2008-11-23 21:30:40

MMouse and Mouse are functions that are way less bannable than movemousesmooth and movemouse. You can use them by pasting this ({.include srl/srl.scar}) Without boarders, under your program name. MMouse uses the co ordinates that you are wanting to move the mouse to (x, y) and altering those co ords with the x mod and the y mod that come after it. It should look like this at the end.
MMouse(x, y, 5, 5);
The x and y can be replaced with any co ords and the x and y mod should be changed according to the objects size that you are clicking/moving the mouse to. Mouse is the same is MMouse except after the xmod and y mod you click a mouse button. True for left click, false for a right click.
it would look like this:
Mouse(x, y, 4, 4, true);
That would click the mouse at co ordinates specified by x and y (with a mod of 4) and it would left click.

In the main loop you are going to want to put Setupsrl; before the functions you have so that you can use srls functions.

You should alse add {.include srl/srl/skill/magic.scar} (I dont know if this is exactly correct) under the srl include so that you can use srl's magic functions like castspell. You can use castspell insted of color clicking or cord clicking. I didnt use castspell in my first script and it didnt work too well and I still should add it but im busy.

Anyways, good luck
-Andy

Kyle Undefined

2008-11-23 21:36:08

OMG! Andy you fail! Lol Grave dig a little?

~Camo

Andyz55

2008-11-24 21:00:42

Dude that wasnt a gravedig. It was 18 days lol.
I checked this time lol I already got a gravedig for being an idiot. haha