SRL Archive - First Scripts

my 1st firemaking script very general check it out


shaheerpak

2007-12-17 15:58:19

hi this is my script plz tell me wat u think of it its very basic worked for me


thx

Fire Maker

By Shaheerpak

start in draynor willage bank screen open, logs what u want to burn in banks first slot and
and tinderbox in inventorys first slot
}


ClickMouse(95,85,true);
wait(500);

ClickMouse(95,85,true);
wait(500);

ClickMouse(95,85,true);
wait(500);

ClickMouse(95,85,true);
wait(500);

ClickMouse(95,85,true);
wait(500);

ClickMouse(95,85,true);
wait(500);

ClickMouse(95,85,true);
wait(500);

ClickMouse(95,85,true);
wait(500);

ClickMouse(95,85,true);
wait(500);

ClickMouse(95,85,true);
wait(500);

ClickMouse(95,85,true);
wait(500);

ClickMouse(95,85,true);
wait(500);

ClickMouse(95,85,true);
wait(500);

ClickMouse(95,85,true);
wait(500);

ClickMouse(95,85,true);
wait(500);

ClickMouse(95,85,true);
wait(500);

ClickMouse(95,85,true);
wait(500);

ClickMouse(95,85,true);
wait(500);

ClickMouse(95,85,true);
wait(500);

ClickMouse(95,85,true);
wait(500);

ClickMouse(95,85,true);
wait(500);

ClickMouse(95,85,true);
wait(500);

ClickMouse(95,85,true);
wait(500);

ClickMouse(95,85,true);
wait(500);

ClickMouse(95,85,true);
wait(500);

ClickMouse(95,85,true);
wait(500);

ClickMouse(95,85,true);
wait(500);
//————————————
MoveMouse(465,47);
wait(200);

ClickMouse(465,47, true);
wait(2000);
ClickMouse(596,92, true);
wait(2500);

//rivi1
MoveMouse(590,252);
wait(200);
ClickMouse(590,252, true);
wait(300);


MoveMouse(640,249);
wait(200);
ClickMouse(640,249, true);
wait(10000);

//—————————
MoveMouse(596,249);
wait(200);
ClickMouse(596,249, true)
wait(300);

MoveMouse(675,249);
wait(200);
ClickMouse(675,249, true);
wait(10000);

//————————–
MoveMouse(596,252);
wait(200);
ClickMouse(596,252, true)
wait(300);

MoveMouse(717,249);
wait(200);
ClickMouse(717,249, true);
wait(10000);

//——————————-




//rivi2
MoveMouse(590,288);
wait(200);
ClickMouse(590,288, true);
wait(300);

MoveMouse(590,252);
wait(200);
ClickMouse(590,252, true);
wait(10000);

//————————-
MoveMouse(640,288);
wait(200);
ClickMouse(640,288, true)
wait(300);

MoveMouse(596,252);
wait(200);
ClickMouse(596,252, true);
wait(10000);

//————————–
MoveMouse(673,288);
wait(200);
ClickMouse(673,288, true)
wait(300);

MoveMouse(585,252);
wait(200);
ClickMouse(585,252, true);
wait(10000);

//——————-
MoveMouse(717,288);
wait(200);
ClickMouse(717,288, true)
wait(300);

MoveMouse(585,252);
wait(200);
ClickMouse(585,252, true);
wait(10000);



//rivi3
MoveMouse(590,252);
wait(200);
ClickMouse(590,252, true);
wait(300);

MoveMouse(585,325);
wait(200);
ClickMouse(585,325, true);
wait(10000);


MoveMouse(640,323);
wait(200);
ClickMouse(640,323, true)
wait(300);

MoveMouse(585,252);
wait(200);
ClickMouse(585,252, true);
wait(10000);


MoveMouse(673,323);
wait(200);
ClickMouse(673,323, true)
wait(300);

MoveMouse(585,252);
wait(200);
ClickMouse(585,252, true);
wait(10000);


MoveMouse(717,323);
wait(200);
ClickMouse(717,323, true)
wait(300);

MoveMouse(585,252);
wait(200);
ClickMouse(585,252, true);
wait(10000);


//rivi4
MoveMouse(590,252);
wait(200);
ClickMouse(590,252, true);
wait(300);

MoveMouse(585,365);
wait(200);
ClickMouse(585,365, true);
wait(10000);


MoveMouse(640,365);
wait(200);
ClickMouse(640,365, true)
wait(300);

MoveMouse(585,252);
wait(200);
ClickMouse(585,252, true);
wait(10000);


MoveMouse(673,363);
wait(200);
ClickMouse(673,363, true)
wait(300);

MoveMouse(585,252);
wait(200);
ClickMouse(585,252, true);
wait(10000);


MoveMouse(717,363);
wait(200);
ClickMouse(717,363, true)
wait(300);

MoveMouse(585,252);
wait(200);
ClickMouse(585,252, true);
wait(10000);



//rivi5
MoveMouse(590,393);
wait(200);
ClickMouse(590,393, true);
wait(300);

MoveMouse(585,252);
wait(200);
ClickMouse(585,252, true);
wait(10000);


MoveMouse(596,252);
wait(200);
ClickMouse(596,252, true)
wait(300);

MoveMouse(640,400);
wait(200);
ClickMouse(640,400, true);
wait(10000);


MoveMouse(673,393);
wait(200);
ClickMouse(673,393, true)
wait(300);

MoveMouse(585,252);
wait(200);
ClickMouse(585,252, true);
wait(10000);


MoveMouse(717,393);
wait(200);
ClickMouse(717,393, true)
wait(300);

MoveMouse(585,252);
wait(200);
ClickMouse(585,252, true);
wait(10000);



//rivi6
MoveMouse(590,434);
wait(200);
ClickMouse(590,434, true);
wait(300);

MoveMouse(585,252);
wait(200);
ClickMouse(585,252, true);
wait(10000);


MoveMouse(640,434);
wait(200);
ClickMouse(640,434, true)
wait(300);

MoveMouse(585,252);
wait(200);
ClickMouse(585,252, true);
wait(10000);


MoveMouse(673,434);
wait(200);
ClickMouse(673,434, true)
wait(300);

MoveMouse(585,252);
wait(200);
ClickMouse(585,252, true);
wait(10000);


MoveMouse(717,434);
wait(200);
ClickMouse(717,434, true)
wait(300);

MoveMouse(585,252);
wait(200);
ClickMouse(585,252, true);
wait(10000);



//rivi7
MoveMouse(590,469);
wait(200);
ClickMouse(590,469, true);
wait(300);

MoveMouse(585,252);
wait(200);
ClickMouse(585,252, true);
wait(10000);


MoveMouse(640,466);
wait(200);
ClickMouse(640,466, true)
wait(300);

MoveMouse(585,252);
wait(200);
ClickMouse(585,252, true);
wait(10000);


MoveMouse(673,466);
wait(200);
ClickMouse(673,466, true)
wait(300);

MoveMouse(585,252);
wait(200);
ClickMouse(585,252, true);
wait(10000);


MoveMouse(718,466);
wait(200);
ClickMouse(717,466, true)
wait(300);

MoveMouse(575,252);
wait(200);
ClickMouse(585,252, true);
wait(10000);



end.


got some help from my friend to help me get started :$

plz leave comments
thx:)

Naike

2007-12-19 15:01:52

1. Read some Tut's
2. Try using Mmouse or Mouse
MMouse(150,150,5,5) <- That will move mouse to cords 150 150 and a random of 5 , 5

Same with mouse exept Mouse(150,150,5,5,true) <- True means it left click! False means it right click

Sir R. M8gic1an

2007-12-19 15:06:28

ClickMouse and MoveMouse are detectable. as n1kee said find out about MMouse and Mouse. also coord clickling is VERY unreliable, make sure you read some of the srl functions that will be VERY handy ;)

for example here you could use srl's banking functions, inventory functions, burning functions and walking functions if not more. if you use srl you'll also be able to solve randoms that'll show up every now and then ;)

But i love the fact that you're scripting. and this is better than my first attempt at a script, i just had my character walking round in squares. ;) Keep up scripting ;)

~RM

xhibit

2007-12-19 15:51:44

Just as the others said use the SRL procedures. Did it even run for you… theres a lot missing like the program name and theyres no main loop?

Jackrawl

2007-12-19 17:47:44

From: xhibit
Just as the others said use the SRL procedures. Did it even run for you… theres a lot missing like the program name and theyres no main loop?


That is* the main loop, all of that I think.

What you should do, is use integers
Ex. I:= I + 1;

and Repeats

Ex.
repeat
I:=I+1;
wait 500;
FindDTM(bahbahhbhhhahhh);
ClickMouse(x, y, true);
until I = 28;

However, ClickMouse, MoveMouse, MoveMouseSmooth, all of these spell ban backwards and forwards. You need to read different tutorials, I asked some people to edit them with different functions, but they felt it wasn't worth the time to not confuse people.

Mouse is a good function to use
Example for a left click
Mouse(x,y,1,1,true);
Example for a right click
Mouse(x,y,1,1,false);

It looks like a lot of corrections but really, no.
Good job.

comtech

2007-12-19 22:54:12

Criticism comes in many ways, well here is constructive criticism very good effort. Some people are easy learners and some fail, but as you learn in the future I would enjoy seeing what you can do. Nice script

Tech

WizOfTheOne

2007-12-19 23:32:42

needs some work but lookin good

shaheerpak

2007-12-20 23:16:02

Thank You very much for all your support … this was just my beginning and got alot of help from a friend … but im reading tutorials on my own to create a program with procedures and all that stuff :) wish me luck
thx

Magiful

2007-12-21 07:50:03

you have the right idea about it but as other people have said, read some tuts and learn about integers, MMouse, Mouse and others

footballjds

2007-12-21 11:09:40

very good first time, i actouly just made my very first script, but you didn't ask that;) .
ok im here to help as much as posible. first:
everytime you put wait(500); jagex sees oh wow this kid can count in miliseconds pretty good! he gets exactly 500 everytime wow! not realy….
they so oh this must be autoer no human can do it that everytime, instead replace it with: wait(500+random(150)); that will wait 500 milis than a random of 0-150. also all your move mouse and mouseclicks are to ovbius to rs that your autoer. for every movemouse you should use DTM's.
if you don't know how than read any tut and it will show you!
heres example.

i wana find a norm log, so i open up scare go to the dtm editor and get a dtm for it, than i call the dtm…..

if FindDTM(nameOfYourDTM, x, y, 1234,124,124);
begin
Mouse(x,y, 5, 5, True);
end;
now replace nameOfYourDTM with w/e your naming it, and put that name in var, also add to var x and y. now Mouse(x, y, 5, 5, True); will be explained.
the x and y come from your FindDTM and the mouse moves there, than the two 5's are a random ofset so its not the same coordanites everytime!
now all you have to do is put in a loop.
repeat
until(not (ExistsItem(28))); that says to repeat it until there is no item 28.
make sure your DTM is right, here is the final code for finding your dtm and loop, youl have to figure out from here:
begin
if FindDTM(nameOfYourDTM, x, y, 1234,124,124);
begin
Mouse(x,y, 5, 5, True);
end;
repeat
until(not (ExistsItem(28)));
end;

hope that helped and gl!
PS it took so long to right this it logged me out:mad:

mcaq

2007-12-21 12:58:10

can some1 post the good script?

mcaq

2007-12-21 13:02:25

and there lots of errors like [Error] (413:4): Identifier expected, i dont get it lol:P

footballjds

2007-12-21 13:50:40

From: mcaq
and there lots of errors like [Error] (413:4): Identifier expected, i dont get it lol:P


do not expect there to be a "working version" this is is first script, don't try to mooch a good fm off him, this section is to help him. not git u scripts.

why not try scripting yourself? and stfu with phr33 s700f p10x?:fiery: :fiery: :fiery: :fiery: :fiery:

ZaSz

2007-12-21 15:47:20

There are some tuts on this. Use Mmouse and mouse. And don't forget to use dtms. Learn more about procedures and different functions that are already build in, ex. banking.

That sums up alot of what all you guys are talking about.

arc036

2008-08-09 13:24:11

nice , i am also creating my very own FM sript(1st sript)
so i shall take some of your info and add other stuff so its workable without bannage and i will add banking too.
i will include you in the credits. thx.