PDA

View Full Version : Guide to setting up and running scripts with video aid.



Wanted
12-22-2007, 05:45 AM
Step 1. SCAR and SRL set up here: http://www.villavu.com/forum/showthread.php?t=23023.

Step 2. Find a working script from our SRL scripts section or even make your very own scripts! (That's another tutorial though;))

Step 3. Opening the script in SCAR.

Now there's two ways scripts come in, the first way is your script comes as text in SCAR tags i.e.
program Example;
begin
//Script code and stuff here.
end.
, for this you need to do three things


Method 1.

1. Clear your SCAR's script window:

http://img175.imageshack.us/img175/4678/clearscriptwindowba5.gif

2. Highlight the entire script and right click it and select copy.

http://img177.imageshack.us/img177/3180/copyascriptallne1.gif

3. Open SCAR right click and select paste.

http://img524.imageshack.us/img524/4788/pastescriptje3.gif


Method 2.

the other way scripts come in are as files, .SCAR and .TXT formats are compatible, to open them in SCAR simple click on the open file folder.

http://img402.imageshack.us/img402/3290/openfileiv6.gif

by completing either method at this point you now have the script successfully opened!

Step 4. In this step we will need to input the correct information for the script to run properly, such as color values, player information, and customizable script settings!

Start off a by reading all of the directions available to you inside of the script you're using.

Now open runescape in low detail, set compass to north! Change your settings in game to v-bright then log out!

http://img521.imageshack.us/img521/5238/vbrighthk2.gif

Next we will need to specify runescape as our gaming client!

To do so click the Crosshairs and drag them over to the runescape window, you may want to repeat this several times to ensure it is down correctly, this is a vital part of the script run!

http://img518.imageshack.us/img518/8761/crosshairslk8.gif

Now, if and only if the script you are using claims to have a form, then simply click run.

http://img528.imageshack.us/img528/7337/pressrunwo1.gif

a form should appear, here is an example:

http://img102.imageshack.us/img102/1120/rcrbv200previewpicturegk8.png

fill out the form with the correct information then click start.

Alternatively, your script may not have a form! In the case you will need to edit the constants and the SRL player set up!

Scroll down in the script, in the top (should be labeled set up section) you may see a bolded word const under that you may see something like

const
BankSymbolColor = 0; //Place the golden bank symbol color here.

or another similar set up option, this is very easy, to find the color we are going to use a simple tool called the Eyedropper, on your tool bar click the Eyedropper then click on the bank symbol in runescape so it will put the color in the debug box as well as automatically copy it for you! All you need to do is paste the color in where the '0' in '= 0' was.

http://img172.imageshack.us/img172/1041/eyedroppersn6.gif

other types of const(s) include things that require word input and True or False answers such as

const
TextToAutoSpeak = 'Hi how are you?'; //Simply place text inside of the 'here'.
PlayRandomSounds = True; //True for YES, False for NO!

Now that we have learned how to set up constants all we need to do now is set up our SRL player array!

This part of the tutorial is by WhoCares357!

procedure DeclarePlayers;
begin
HowManyPlayers := 2; //Amount of Players you will use

CurrentPlayer := StartPlayer;
NumberOfPlayers(HowManyPlayers);

Players[0].Name :='Username'; //Your username
Players[0].Pass :='Password'; //Your Password
Players[0].Nick :='sern'; // 3-4 letters from your name, NO CAPITALS (that includes the first character)
Players[0].Loc :='Fally'; //Don’t worry about this one (Don’t touch it)
Players[0].Active:= True; //Will you use this player?

Players[1].Name :='Username';
Players[1].Pass :='Password';
Players[1].Nick :='sern';
Players[1].Loc :='Fally';
Players[1].Active:= True;
end;

"This is pretty simple. These are the things you need to change:

HowManyPlayers: How many players will you use? Put the number after :=.

You must set options for each player. Set the Username and Password. The “Nick” is used for randoms. Instead of looking for the whole random, it will see if it finds the random calling out your name. For this option, set 3-4 letters of your Username. Do not put a capital letter.

The next option is Location. Do not touch this one. Most scripts won’t even have this. Finally, there is the option Active. This just tells Scar if the character is going to participate in this autoing session. (True = will work; False = will not work)

After you set all the options and ID the Window (Drag the CrossHair over RuneScape) press Run (ctrl+alt+r). Remember that to stop you must press ctrl+alt+s. (to pause ctrl+alt+a)

Have fun cheating."

Step 5. Running the script! Now you have your script set up and ready to go, it would be a good idea to save it to a good place, File -> Save as, then to get to it just open the file! Just remember some settings need to change every time you run the script!

Autoing is fun, but making your own scripts is funner, check out some tutorials on how to script.

Happy autoing!

http://img528.imageshack.us/img528/7337/pressrunwo1.gif

Note: To continue learning look at my tutorial for the beginner scripter - http://www.villavu.com/forum/showthread.php?t=23133

skooter1000
12-23-2007, 07:41 PM
Good job, thx the vids help a lot. I'm a noob with this stuff so thx.

hudhery
12-29-2007, 01:57 PM
Execellent thread video aid helped a lot

I Deff skill
01-01-2008, 07:05 AM
This was VERY helpful since I am very new to everything about macroing lol...now I can edit most everything in a script...soon I'll be making my own!!:(h):


-Nick (I deff skill)

Zounass
02-26-2008, 03:09 PM
Line 1: [Error] (1:1): Unable to register function function FindGapsTPA(TPA : TPointArray; MinPixels: Integer): T2DPointArray; in script C:\Program Files\SCAR 3.12\Scripts\SRL Powerminer 3.09(3).scar

what to do? plz help me!

Markus
02-26-2008, 03:13 PM
Line 1: [Error] (1:1): Unable to register function function FindGapsTPA(TPA : TPointArray; MinPixels: Integer): T2DPointArray; in script C:\Program Files\SCAR 3.12\Scripts\SRL Powerminer 3.09(3).scar

what to do? plz help me!

Get Scar 3.14

daleward
03-02-2008, 03:19 PM
dude! i love you! =P
this was exactly what i needed...thanks so much.

spykids007
03-02-2008, 07:58 PM
Thanks this made me learn alot i learned about the form thing!

killer_game0
03-14-2008, 02:01 AM
Wow Nice Tut. It helped me out for sure. I had no idea how the color thing worked. I have even read through like 4-5 tuts and this is one of the top 2.

kollmann
03-14-2008, 04:20 AM
Getting NEW pickcolors, failed
Getting NEW pickcolors, failed
Getting NEW pickcolors, failed
Couldn't get pickcolors, Equip or have in inventory.

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

Please help me!!
This is obviously a auto miner script. And I have a pick equipped.
It just logs in, waits a few seconds and then logs back out and the script finishes.

blueguisee
05-21-2008, 02:58 AM
yay thx to this I finally made scar to work thx man
++Rep

mrpickle
05-21-2008, 03:10 AM
Only if you've made this 5 days earlier!, i woulda immediately understood what happened/ how to do it. But i had to reseach myself and that was a little more time consuming.

I love it, mind if you create another one on exactly how to MAKE scripts? (its already been done quite alot, but with video aids, it helps much MUCH more).

itSchRis917
05-21-2008, 03:16 AM
He actually made it last december.. You guys just gravedig like mad that's all..

Wanted
05-23-2008, 02:34 AM
Only if you've made this 5 days earlier!, i woulda immediately understood what happened/ how to do it. But i had to reseach myself and that was a little more time consuming.

I love it, mind if you create another one on exactly how to MAKE scripts? (its already been done quite alot, but with video aids, it helps much MUCH more).

I have... look in the beginners sections or just find all threads started by me...

versaapex
05-23-2008, 02:56 AM
man how long did you take to make the guide?

iky789
05-23-2008, 09:54 AM
thanks so much without this i would never of got it to work :D :D :D

Wanted
06-29-2008, 02:09 PM
what do i write at UserPassaver?

Your runescape account info.

fourtwizzy
06-30-2008, 07:15 PM
great job.. especially with the videos

moviewatcher09
06-30-2008, 07:59 PM
Thanks,
the flash video things helped a lot

Wanted
06-30-2008, 11:31 PM
man how long did you take to make the guide?

Not that long actually, I used Camtasia Studio.

Minkino
07-04-2008, 07:25 AM
Thank you thank yoou ive been looking for this for ages ur a bloody legend mate

omarzum2002
07-12-2008, 11:39 AM
Thank you!

casey
07-14-2008, 09:58 PM
You are THE best!:cool:

arc036
08-08-2008, 05:01 PM
Thx for the help

goldberg277
10-22-2008, 02:45 AM
O_o i feel dumb now haha you made it look simple + the vids helped a lot

imported_night_hawk
10-27-2008, 05:20 PM
thanks keep the good work up

realrocker00
10-30-2008, 08:43 PM
narsty

xindica
11-04-2008, 06:44 AM
lol cool guide ty

naryasha
11-05-2008, 03:09 AM
I did all the steps but i got a error message it says this "Line 1: [Error] (1:1): Unable to register function function FindGapsTPA(TPA : TPointArray; MinPixels: Integer): T2DPointArray; in script C:\Users\Alex\Documents\auto mine.scar" WHAT DO I DO?

Skullfire987
11-08-2008, 02:57 PM
I did all the steps but i got a error message it says this "Line 1: [Error] (1:1): Unable to register function function FindGapsTPA(TPA : TPointArray; MinPixels: Integer): T2DPointArray; in script C:\Users\Alex\Documents\auto mine.scar" WHAT DO I DO?

either an error in script or you need to try and update everything dude o.o


OK,

Thanks for this tutorial because in a few scripts I try to run I didn't know that a form to fill out was actually IN the scripts (lol). I like the videos that are super simple and ez to follow instead of just saying go to options-->tools>than click checkout or something like that when its not even right you know?

Great tutorial overall. Can't think of anything you would need to change or edit in atm!

dinries
11-22-2008, 07:58 PM
Nice work man! This really helps me out course i'm new at these things and the videos are great.

bobthepizzaman
12-14-2008, 08:27 PM
dude awsome video!i wish every1 could make it so easy and simple, i gave up on scar and started using rsbot cause its easier but now i think i might try it again!anyways dude continue to rock:D

only lvl str
01-05-2009, 08:21 PM
so that's how you do it, thanks a lot! Videos also helped figure it out.:D

HellsSaten
01-07-2009, 02:19 PM
great thread.. was having problem with some scripts this helped me out alot..ty!

pppolicy
02-07-2009, 03:21 PM
Line 241: [Error] (9246:1): Unknown identifier 'ClickContinue' in script C:\Program Files\SCAR 3.15\includes\SRL/SRL/Core/AntiRandoms/Demon.scar
Failed when compiling
Line 16: [Error] (16:27): Unknown identifier 'MSX1' in script C:\Program Files\SCAR 3.15\includes\SRL\SRL\Core\AntiRandoms\Demon.scar

goldengang5
02-11-2009, 08:13 PM
where do i start

reed6273
02-18-2009, 09:10 PM
{.include sslibrary.txt}
{.include par.txt}
{.include boxbreaker2.txt}
{.include AntiFord.txt}
-------------------------------
what would i put in this spot? lol

staleroflcake
03-01-2009, 06:34 PM
Wow this really helps. Thanks!

lychees
03-28-2009, 12:46 PM
verry nice
now i can beging on my fist script
tyvm

Gsus
09-15-2009, 09:04 AM
Thanks. This is the only guide I could find about setting up scripts. nice work brah