SRL Archive - First Scripts

KINGKONG apetoll autofighter


alucard123

2010-01-05 10:19:00

so this is the final result ( working )scar 3.23 u will need srl and magic skills (includes)
if u want this to work ull need to go in runescape and put screen setting on Fixed or it wont work at all!!!!
Set prayer protection Melee (i will work on that later, so its set it automaticly but kinda useless ( no autologin ))
bring varrock tele
Set colors
Set client on runescape
Set the name of ur character mine is oob so search in the script for 'oob' in pink ( as in noob3)
it is made to train str so if u want to train something else ull have to modify the main antiban part ( where it say 'strength')
i use it everyday on my lvl 100 so DONT WORRY :D
credits:myself(x23+20 was my idea hehe),Cigue(ur the best :D)and coh3n for awesome begginer instalation ive done it with another computer and Perfect took me 20min and…it worked


if u use this script i would b glad if u leave a comment :D





if u want to install scar go there http://www.villavu.com/forum/showthread.php?p=600983#post600983 good tut

Markus

2010-01-05 10:30:07

moved to first script as this isn't quite appropriate for FFA :)

Nava2

2010-01-05 10:47:59

Yo dawg, great to be contributing, but would you mind putting your code in SCAR tags?

without the space after the /.

Tim0suprem0

2010-01-05 12:57:29

Someone correct me if I'm wrong, because I haven't scripted in forever, but isn't mousing in the same spot over and over insta-ban?
mouse(626, 374,0,0,true);
wait(1000)
mouse(626, 374,0,0,true);
wait(1000)
mouse(626, 374,0,0,true);
wait(5000)
mouse(626, 374,0,0,true);

I would change those to
mouse(626, 374, 2, 2, true)

Main

2010-01-05 16:44:14

wait(xx);

Mr. Doctor

2010-01-05 16:49:56

Few things to say about this.

1: No Anti-Randoms

2: No Random waits

3: No Anti-Ban

4: No standards.

5: Co-ordinate clicking

Other than that, it's great to see a Registered User contributing :)

marpis

2010-01-06 06:50:23

Totally add randomness to your clicking buddy!
And learn to use functions & procedures:

Program KINGKONG;
{.include srl/srl.scar}

Procedure KillMonkey; // Start declaring procedure like this and give it a meaningful name
Begin // Begin...
If Not LoggedIn Then Exit; // This is good to be in the beginning of every procedure, so it won't click anywhere if logged out
{ Your code here, these FindColors are just examples }
If FindColor(X, Y, 321321, MSX1, MSY1, MSX2, MSY2) Then
Begin
Mouse(X, Y, 3, 3, True);
Wait(10000 + Random(2000));
End;
End; // Must have an ";" after the End

{ This is the main execution! }
Begin
SetupSRL;
Repeat
KillMonkey;
Until(False);
End. // <- Ends with a full stop

The Claw

2010-01-07 03:56:00

Added SCAR tags for you, but it messed up the standards - sorry bro.

Alot of your mouse clicks are for things SRL can do, such as changing gametab and selecting spells etc, and alot arent documented so it makes it hard to follow. You would be much better off using SRL for things like this, as the SRL versions generally have failsafes in case changing to a gametab failed, for some reason whereas yours doesnt which could very possibly mess up the whole script run. Failsafes are very important.

You also need to use more randomness in your clicks (some have no randomness at all, which is basically saying "BAN ME!!" to jagex), and use anti-randoms and more SRL procedures and functions. Good potential though, it would be a very good script to have working well. I'd use it (always thought of making one myself but never got around to it)

daddyproboot

2010-01-08 12:24:39

Deffinately a good attempt at a first script :) we all started here somewhere like this :').
Just needs a few things, Sleeptimes, Declare players, No failsafes, No antibans, No anti Randoms. There all very easy to implement in scripts if you use the basic ones then you should start looking at creating your own ;) or helping others

Sex

2010-01-09 03:57:37

Well you could use the Logout; procedure in SRL..

daddyproboot

2010-01-09 05:29:32

What i mean is its set as until (false)
You need a logout procedure if it can't do something for example if it goes into a random ;)

Mr. Doctor

2010-01-09 11:49:24

He means if something goes wrong, it won't stop. It will keep repeating because it's set to false. But let's say you had DeclarePlayers; in your script. Your character gets lost and logs out and set to false for inactivity. If that was the last player it would end the script if you set it to be so. But with yours, it wouldn't stop, it would keep repeating. I have a DeclarePlayers Tutorial in my signature if you would like to learn how to use DeclarePlayers.

daddyproboot

2010-01-09 14:41:14

Yep that is exactly what i mean. Put it this way i never use a script without declare players i never use a permanent loop incase theres trouble

xx disire xx

2010-01-18 21:32:18

if this gets more improved ill be using this script forever:) glad to see someone finally doing this script though

alucard123

2010-01-21 06:38:20

i dont see wat else i can do… its already good…well enough to use it the only problem is other players :S but it still works perfectly for me

Mr. Doctor

2010-01-21 07:01:38

From: alucard123
i dont see wat else i can do… its already good…well enough to use it the only problem is other players :S but it still works perfectly for me


xx disire xx is just trying to get his 10 posts, become a Jr member and leach. It looks pretty good for a registered user script.

alucard123

2010-01-25 02:22:24

thx man all the other comments are not very good looking and people dont even look at it…
i wish some of u delete some post here, or edit them cuz i almost did all of the thing they say i shuld do

ex: post #3 post #6 and probly half of the other comments are wrong there IS anti random there is a homemade antiban which is pretty good..take a look at it :P there is no co ordinate clicking anymore…almost all in standards(i think)

Heavenguard

2010-01-26 21:27:15

thx man all the other comments are not very good looking and people dont even look at it…
i wish some of u delete some post here, or edit them cuz i almost did all of the thing they say i shuld do

ex: post #3 post #6 and probly half of the other comments are wrong there IS anti random there is a homemade antiban which is pretty good..take a look at it :P there is no co ordinate clicking anymore…almost all in standards(i think)


I know what you feel, but your not really in the position to be complaining bout that, since this is your first script, Any type of Feedback is necessary.

The reason people leave feedback there is to only show things you had wrong. When people look at your script, they'll see you took the Feedback seriously and worked on it, which means a lot more then most people think.

Great Job on completing the Script dude, I didn't even look at it yet, but if it works perfect, then it works perfect [assuming script runs forever flawlessly :P], I had a hard time with that before in my first script [due to map walking], Great Job once again. Will check it out soon. You should post up one of your Progress Reports, nothings better then looking at the Author's Progress :D


===========================================================================================

Update : Took a quick look at the script. I got a little bit of feedback. Great first script T.T You did a lot of things I don't normally see from the freshest scripters.

~The thing that kinda bothered right away, was your standards. Of course standards are yours for the making, as your the one basically reading/writing the code, but it does look very scrambled.

~This could go with Standards as well, your variables are very code conservative, but putting all of the global variables in one line usually doesn't look good. Try splitting them into sets, kinda like grouping the ones that work together.

~Not going to bother you with colors, Im sure your going to put in AutoColors/ColorToleranceSpeed in for those Statics :P.

~Great use of the SRL Functions :D

~Fail Safes, I know as a First Script its not really the first thing on your mind to Fail Safe your procedures, but it does help adding in that little back up plan in case anything fails.


Well thats pretty much it, sides the lack of Color Tolerance and a Progress Report, thats all I can read T.T. Great Job dude, One of the best First Scripts!

Smarter Child

2010-01-27 20:56:25

I'm sorry to say this, but nobody really tests out scripts. Especially scripts made by beginners. Try making another one when you get junior members, people might use it there ;)

alucard123

2010-01-28 17:35:06

lol it will take time to get junior :P cuz i dont really post much and i delete useless posts ,thx heavenguard i enjoy reading ur comments even though i dont understand much…example:`standards i dont really know how to make them,fail safe either im still a newb, tolerance… idk how to use it well…i wuld need som1 to talk with on msn and get some help …tyvm i apreciate the comment really



ill try tolearn how to use autocolor


ps if u want to add me on msn leave me a private message ^^ ill make good use of ur help

and i kinda suck with the walking part which i need to learn properly without coordinate :P

Smarter Child

2010-01-28 23:54:24

From: alucard123
lol it will take time to get junior :P cuz i dont really post much and i delete useless posts ,thx heavenguard i enjoy reading ur comments even though i dont understand much…example:`standards i dont really know how to make them,fail safe either im still a newb, tolerance… idk how to use it well…i wuld need som1 to talk with on msn and get some help …tyvm i apreciate the comment really



ill try tolearn how to use autocolor


ps if u want to add me on msn leave me a private message ^^ ill make good use of ur help

and i kinda suck with the walking part which i need to learn properly without coordinate :P


Read some tutorials in the Tut. Island section. Tolerance is the tolerant of a color, so for example you have GREEN, and the tolerance is 5 then it will find 5 different shades of green. Well, something like that. It makes it easier to find things in runescape, since colors change their tolerance by a bit. To apply autocolor to your script[especially mapwalking] go to Autocolor.scar And if you want to make a new autocolor, then simply check AutoColorAid in scripting tools[in scar folder]

If you want to walk on the minimap you should learn DDTMs and RadialWalk. Check those in the tutorial section.

Also, read this tutorial, made by me: http://www.villavu.com/forum/showthread.php?t=50299

Very easy to understand road-walking tutorial. If you need extra assistance please message me via SRL or add me on my msn: [email]muhammadmoolla@hotmail.com[/email]

I've taught many people on SRL, the basic methods of scripting. I also taught Lance who is an SRL member today.
~~ :)

Edit: example of failsafe: Say you want to know if you reached the fishing spot, you can try

if not FindColor(fishingspotcolor) then
begin
findcolor(anotherfishingspotcolor);
movemouse
if isuptext('Fishing')then
Writeln('We found the fishing spot using a failsafe!');

alucard123

2010-01-30 15:37:54

thx smarterchild i added you, i learned how to use autocoloraid yesterday VERY VERY cool its awesome save me lot of time
cigue gave me some function to use radial walk and i started making a green drags killer :D
its already walking from the bank to the drags :D:D::D (like 15 click hehehe i dont have much credits since he did all the hard part :P) but then stupid revs… are a problem… i also need to learn how to put autocolors into this : if (find autocolor) then ,I bet its ez,
RUN AWAY HEHEHEH i would use it in this script if (find autocolors Monkey) then kill it… thx if som1 answer ME :D(on my way to junior(3more post!) cant wait to see all its content :D:D:D)

Mr. Doctor

2010-01-30 15:50:39

From: alucard123
thx smarterchild i added you, i learned how to use autocoloraid yesterday VERY VERY cool its awesome save me lot of time
cigue gave me some function to use radial walk and i started making a green drags killer :D
its already walking from the bank to the drags :D:D::D (like 15 click hehehe i dont have much credits since he did all the hard part :P) but then stupid revs… are a problem… i also need to learn how to put autocolors into this : if (find autocolor) then ,I bet its ez,
RUN AWAY HEHEHEH i would use it in this script if (find autocolors Monkey) then kill it… thx if som1 answer ME :D(on my way to junior(3more post!) cant wait to see all its content :D:D:D)


If you have MSN add me. I have a lot of time to help. My MSN is at the top right corner of the post, as is everyone elses if they added their MSN to the website. I'm always online.