View Full Version : SCAR Scripting Tutorial


Starblaster100
04-14-2008, 08:37 PM
Ultimate SCAR Scripting Tutorial
By Starblaster100
Version 1 (http://freddy1990.com/SCAR%20Scripting%20Tutorials/SCAR_Scripting_Tutorial_Ver_1.chm)

As part of my promise to the SRL community, I have started a SCAR scripting tutorial.

This tutorial will eventually end up covering every topic in SCAR that I can think of. It has been written by myself in a hope to teach SCAR and SRL users a bit more than they already know.

Currently, the tutorial is only in its first version, and covers the fundamentals of SCAR. If you are just starting to learn SCAR, I highly recommend you download and read this tutorial through. It will give you a great kick start into the SCAR and SRL world.

Unlike other tutorials on this site, this tutorial must be downloaded, as it is a chm file, and it is very big. This tutorial also encourages you to actually script whilst learning about the different parts instead of just reading. Exercises and examples are dotted along the way to help you through.

Version 1 of the tutorial is downloadable --> here <-- (http://freddy1990.com/SCAR%20Scripting%20Tutorials/SCAR_Scripting_Tutorial_Ver_1.chm). Thanks to Freddy for the hosting :)

If you spot any mistakes, or have any suggestions, please feel free to post them.

Thanks a lot,

Starblaster100



Mirrors for Version 1:
1 - Rapidshare (http://rapidshare.com/files/102924490/SCAR_Scripting_Tutorial_Ver_1.chm)
2 - MyFreeFileHosting (http://myfreefilehosting.com/f/b3760c34fe_3.05MB)
3 - MegaUpload (http://www.megaupload.com/?d=OCM0RZ1B)
5 - File Factory (http://www.filefactory.com/file/2a7c96)
6 - MediaFire (http://www.mediafire.com/?cynxmmgoimb)
7 - Hy71194.mgatesphoto (http://www.hy71194.mgatesphoto.com/other/SB100/SCAR-Scripting-Tutorial-Ver-1.chm)

Tad
04-14-2008, 08:38 PM
Woot! You released it. Thanks. I'm looking through it right now :)

Dan Cardin
04-14-2008, 08:44 PM
my first suggestion is not to host it on rapidshare -.- :p.

other than that i dont have any suggestions cuz you've only gotten to the basics.

Though i like the exercise thing at the end, because it makes them try to figure how to use it on their own instead of just copying from the tutorial. It will probably be more useful when you get to the comre complicated things, but i still like the idea. :)

Starblaster100
04-14-2008, 08:46 PM
Unfortunately, I have nowhere else to host it. If anyone whats to mirror it on other sites, I will happily add the links to the main post above.

Thanks

Tad
04-14-2008, 09:01 PM
I read all the background info, and skimmed through the scripting part you have so far. Looks great :) I wish I had had this when I started scripting :p

Only 1 suggestion - Maybe I missed it b/c I only skimmed through it, but you could mention that using the Scar functions (MoveMouse, Clickmouse, Sendkeys, etc) isn't safe for RS.

Other than that, perfect so far. Sticky it :p

Dan Cardin
04-14-2008, 09:18 PM
http://myfreefilehosting.com/f/b3760c34fe_3.05MB
http://www.megaupload.com/?d=OCM0RZ1B
http://www.turboupload.com/download/7xN9IY0YQxsv/SCAR_Scripting_Tutorial_Ver_1.chm
http://www.filefactory.com/file/2a7c96
http://www.mediafire.com/?cynxmmgoimb

:) i just really dont like rapidshare :(

Hermen
04-14-2008, 09:21 PM
Uppit is very fast ;)

Freddy1990
04-14-2008, 09:38 PM
http://freddy1990.com/SCAR%20Scripting%20Tutorials/ :)

Dumpin
04-15-2008, 05:10 PM
sick, thanks man :) keep updating, i'm sure your knowledge goes further then mine does.

Torrent of Flame
04-15-2008, 05:14 PM
This program cannot display the webpage

Most likely causes:
You are not connected to the Internet.
The website is encountering problems.
There might be a typing error in the address.

What you can try:
Check your Internet connection. Try visiting another website to make sure you are connected.

Retype the address.

Go back to the previous page.

More information

This problem can be caused by a variety of issues, including:

Internet connectivity has been lost.
The website is temporarily unavailable.
The Domain Name Server (DNS) is not reachable.
The Domain Name Server (DNS) does not have a listing for the website's domain.




Every Time :(

Harry
04-15-2008, 05:34 PM
Unfortunately, I have nowhere else to host it. If anyone whats to mirror it on other sites, I will happily add the links to the main post above.

Thanks

Feel free to contact me for your stuff, I got over 500 mb of free space on my server. It is quite fast.

Rapidshare stinks :p

Here you go. http://www.hy71194.mgatesphoto.com/other/SB100/SCAR-Scripting-Tutorial-Ver-1.chm

Starblaster100
04-15-2008, 05:44 PM
I have changed it to Freddy's link. Thanks a lot dude.

Freddy1990
04-15-2008, 07:45 PM
This program cannot display the webpage

Most likely causes:
You are not connected to the Internet.
The website is encountering problems.
There might be a typing error in the address.

What you can try:
Check your Internet connection. Try visiting another website to make sure you are connected.

Retype the address.

Go back to the previous page.

More information

This problem can be caused by a variety of issues, including:

Internet connectivity has been lost.
The website is temporarily unavailable.
The Domain Name Server (DNS) is not reachable.
The Domain Name Server (DNS) does not have a listing for the website's domain.




Every Time :(

Got the same problem, in my case I thought ti was due to IE8 Beta

I have changed it to Freddy's link. Thanks a lot dude.

np ;)

Harry
04-15-2008, 08:09 PM
I have changed it to Freddy's link. Thanks a lot dude.

:| Freddy's > My link?

Can I be added to the mirror list?

By the way, you should name the mirrors. AKA 1 is titled "Rapidshare", etc, it is easier to find your favorite one :)

Hermen
04-15-2008, 08:12 PM
Firefox Ftw!

Torrent of Flame
04-16-2008, 11:05 AM
Lol.. Stupid IE eh Freddy =[

hamish909
04-16-2008, 08:04 PM
Thanks for this im just starting off so this is defenitly what I need.

HyperSecret
04-17-2008, 05:32 AM
very very nice SB, i seen this mention in a thread and have been waiting to take a look

Hugolord
04-17-2008, 05:48 AM
awesome SB, I'll be reading it soon man.

Naum
04-17-2008, 10:45 AM
Well Done Star,
This will help everyone for easier use: Maybe move it to the beginner section and get it stickied.
So it's easier (becuase some people mightn't scroll down).
On another note, this is a brilliant tutorial, I wish I had this when I was learning scripting.
Keep Up The Good Work!!!

scissormetimbers
04-18-2008, 05:23 AM
wow finally, ive been reading tuts for a while now and they all do a sub-par job of explaining scripts and this one is by far the best of all. ive learned a lot from this script. keep up the good work ;D

rs master835
04-18-2008, 10:42 AM
dude this thing is not working it say this page can't be displayed

Jimakos21
04-22-2008, 12:05 PM
how to open .hcm files? anyone know?

Jimakos21
04-22-2008, 12:06 PM
cleared things up, thanks alot keep up the good work, 5 stars
:D

WT-Fakawi
04-22-2008, 09:52 PM
Grrrrreat!

DaBomber2
05-07-2008, 01:23 AM
Not working for internet explorer, is this only for Firefox?
i do not personally own the computer i am on so i can't add firefox.

iamaguy
05-21-2008, 09:21 PM
wicked sick i like that part at the end!
even though it was verrrry basic the idea is good,
but maybe try a higher diffulculty if someone wanted
to learn this stuff they could just go to begginer forum
lol
good try.

EvilChicken!
05-30-2008, 10:00 PM
Ok, Star, this tutorial is pretty well made, I'll add it to my sig after the end of the FireFox Download day. (Please PM me if I forget to do it..)

Although, I was dissapointed it didn't have anything of the more advanced type of scripting. Could you add that whenever you get time?

Starblaster100
05-31-2008, 09:36 AM
Its only version 1...

I'm getting there, it takes a stupid amount of time to write, so not that my exams are finally over, I can concentrate more on SCAR stuff

AnonyMouse
06-01-2008, 09:05 AM
Thanks heaps for this, I've read heaps of tutorials on scripting and am making my own powerchopper at the moment. Can't wait to improve it with this. ^.^

firefoxx
06-04-2008, 08:06 PM
Great tut, maybe add some more advanced stuff in future

warlord0522
06-08-2008, 09:40 PM
To fix the 'cannot show the web page' issue, right click on the application. Then select properties. Around the bottom of the properties it should say unblock. Hit it and at the bottom right, click apply then ok. Rerun the application and it should load. (By the way I did this with Vista.);)

GeneralHarbl
06-10-2008, 01:50 AM
This is a great guide to get someone started making their own scripts. Great Job.

The Claw
07-02-2008, 10:02 AM
Bump because this deserves more attention that what it got

Starblaster100
07-02-2008, 10:06 AM
Version 2 is nearly ready :)
Thanks Claw

herezt
07-02-2008, 02:43 PM
brilliant tut there:D realy helped me out a bit:D

hahicx
07-02-2008, 05:56 PM
This is a really good tut. Exams are over, and I'm going to start learning SCAR :cool:


Seriously, thanks. It's what I need to start scripting :D

Cerium
07-04-2008, 10:39 PM
Looks great until now:)

thebob142
07-05-2008, 08:19 AM
for some reason it won't let me open it i downloaded it from freddy anyways trying a diffrent mirror right now

EDIT:

so i can open it now but i get this This program cannot display the webpage

Most likely causes:
You are not connected to the Internet.
The website is encountering problems.
There might be a typing error in the address.

What you can try:
Check your Internet connection. Try visiting another website to make sure you are connected.

Retype the address.

Go back to the previous page.

More information

This problem can be caused by a variety of issues, including:

Internet connectivity has been lost.
The website is temporarily unavailable.
The Domain Name Server (DNS) is not reachable.
The Domain Name Server (DNS) does not have a listing for the website's domain.




Every Time

is there anything i can do about this?

fourtwizzy
07-11-2008, 06:45 PM
well written guide!

WithoutFear
07-12-2008, 03:16 AM
To fix the 'cannot show the web page' issue, right click on the application. Then select properties. Around the bottom of the properties it should say unblock. Hit it and at the bottom right, click apply then ok. Rerun the application and it should load. (By the way I did this with Vista.);)

No unblock button when i right click and select properties. I am running Vista Ultimate. Anyone have any clue why?

gamer 5
07-12-2008, 03:32 AM
It doesn't work here!

Starblaster100
07-13-2008, 09:26 PM
Try downloading it from another mirror, at the bottom of the first post

n00bulat0r
07-14-2008, 01:24 AM
Yeah, I get the page cannot be displayed error, unfortunately. I tried the unblock, but still, to no avail.

unrealman
07-14-2008, 03:50 AM
Omg thanks a lot Starblaster! this tutorial helped me out alot. I made my own script that brings up internet browser and goes to Runescape and does everything and loggs me in. Now i just wanna learn how to make more advanced scripts with like colors. Well Anyways great tutorial I loved it and it helped a lot. Thnx!

unrealman
07-14-2008, 03:51 AM
do you know where i could find a more advanced tutorial but still not super duper hard? if you could tell me that could be much appreciated! ty

nathanator22
07-15-2008, 03:48 PM
I've hosted it on my clan website, here is link :)

http://www.twilightalliance.net/downloads/SCAR_Scripting_Tutorial_Ver_1.chm

I'm going through the tutorial right now, thank you, its quite helpful.

Edit: For people having problems with the unblock here is a pic!
http://twilightalliance.net/downloads/srlhelp.bmp

PureArrow
07-15-2008, 06:22 PM
wow, thx this is very useful and very easy 2 use guide, im sure because of this i may try 2 create some of my own scripts once i can get Scar 2 work lol, im having trouble installing the SRL4...keep getting an error.. but very nice keep up excellent work

mvpwill
07-16-2008, 04:36 AM
I am a COMPLETE noob to scar. i am looking for these things to help me learn. i really hate jagex. played fair for a while then decided there just idiots so im here. All i can say to this tutorial is. THANKS MAN. your the best. this really jump started me to learning scar. KEEP IT UP :D

Rs-Gp-4U
07-29-2008, 09:56 AM
Hey, I would say sweet TUT but i can't get it working. I've installed firefox and it still doesn't work -.-.

This program cannot display the webpage

Most likely causes:
You are not connected to the Internet.
The website is encountering problems.
There might be a typing error in the address.

What you can try:
Check your Internet connection. Try visiting another website to make sure you are connected.

Retype the address.

Go back to the previous page.

More information

This problem can be caused by a variety of issues, including:

Internet connectivity has been lost.
The website is temporarily unavailable.
The Domain Name Server (DNS) is not reachable.
The Domain Name Server (DNS) does not have a listing for the website's domain.


:mad:

Dgby714
07-30-2008, 05:17 PM
http://ionoone.net:8080/SCAR_Scripting_Tutorial_Ver_1.chm another mirror

nathanator22
08-01-2008, 06:07 AM
Hey, I would say sweet TUT but i can't get it working. I've installed firefox and it still doesn't work -.-.

This program cannot display the webpage



:mad:

I posted a screen pic on how to fix that problem, look up on the second page.

deadman2
08-03-2008, 07:36 PM
I sure hope this will help me. I'm trying to learn a little scar. I'ma try to open it up now. Thanks a bunch.

Mariuswbz
08-16-2008, 06:42 PM
just awesome sb :)

iseedcuk
08-21-2008, 09:34 PM
cool thanks

Minkino
09-28-2008, 06:09 AM
Pretty good although I dont think your supposed use ClickMouse, SendKeys ect. anymore isnt it detectable wouldn't use it anyway rather use Mouse and TypeSend.

Can somebody PM me on where to go from here tuts ect. really need help little bit clueless

dikkidu
10-02-2008, 07:26 PM
Thanks for sharing this tut. You've done some nice work there. ;) I'll have a look, and let see if I might get excited to make some scripts by myself.

gandalf3451
10-09-2008, 07:05 AM
i cant open it say page doesnt found -_- and tuts look like nice!

simen236
10-09-2008, 09:29 PM
No unblock button when i right click and select properties. I am running Vista Ultimate. Anyone have any clue why?

I works! This is the best tutorial I've came over yet.

Repentless
10-17-2008, 07:32 PM
Just looked through, great tutorial, I'm starting it as soon as SRL is working again. Thanks. :D

johnosuave
10-22-2008, 07:22 PM
great tutorial

joery
11-02-2008, 02:57 PM
Nice tutorial.. :)
Very big. also.

This will get me set up on some bether scripts. :)


I've hosted it on my clan website, here is link :)

http://www.twilightalliance.net/downloads/SCAR_Scripting_Tutorial_Ver_1.chm

I'm going through the tutorial right now, thank you, its quite helpful.

Edit: For people having problems with the unblock here is a pic!
http://twilightalliance.net/downloads/srlhelp.bmp

Thanks, with this example i now know how to make this help file work. :)

Drew
11-05-2008, 09:11 PM
Thank you, it was very informative and brilliantly presented.
I'm eagerly awaiting the next section of the tutorial.

mikemox
12-11-2008, 12:15 AM
thanks for posting this guide!

runeshapedd
12-13-2008, 07:56 PM
ty this really helpt me out allot;)

only lvl str
01-05-2009, 07:15 PM
wow, that was helpful thanks.

XxsomethingxX
01-08-2009, 04:28 PM
http://img253.imageshack.us/img253/2410/scarhelpky4.jpg

This is what I get for it. What's going on? I want to start reading up on this and I can't. :(

Brenster
01-10-2009, 04:08 AM
me too bro! help plz

kylo33710
02-12-2009, 06:22 AM
nooiiice!:spongebob:

miansc
02-19-2009, 08:21 AM
WHy doesn't it work? Nothing loads?

akvendetta
02-19-2009, 11:18 PM
cool tutorial - wish I had one to RSBot scripts too (Java)

Mr. PK
03-21-2009, 06:27 PM
Down'ed it and it says couldn't find page, is the host offline?

obdukt
03-22-2009, 12:13 AM
yeah page cannot be displayed i see it is some wierd format which my pc is unable to read

obdukt
03-22-2009, 12:19 AM
Oh i resolved it,
If there are any more people with the "cannot be displayed" error read on:
download the link, hit save and save to desktop or sumwhere easy to acces,
right click on the icon then hit properties then press unblock somwhere on that box.

zeeky111
03-29-2009, 03:37 PM
If it gives you hell, here's what I did:

1. Download from MegaUpload
2. Save to C:\Program Files\Scar 3.15\Scripts\Tutorials (created folder)
3. Close MegaUpload
4. Open C:\Program Files\Scar 3.15\Scripts\Tutorials
5. Uncheck "Show me this window when I open this file" (or whatever)
6. DON'T INSTALL FF unless you want to. It just consumes disk space.

Now it works! Btw, thanks 4 the tut.

Lordrhyno15
05-11-2009, 02:56 PM
Thanks for this! Greatly appreciated :D

EDIT: I sat down and went through this whole thing in like 20 minutes, and I truly have to say that I understand the basics better than ever. (It's saying a lot, considering that other tuts threw me for a loop after hitting conversion functions.) So really, from the heart, THANK YOU :D:D:D:D:D:D:D

swindler01
06-10-2009, 08:53 AM
I want to make a few scripts.
Does this tutorial or guide can help me to make scripts in version 3.20d of DiviCDE Scar?
And if not, where can I find a new?
Thank you

TomTuff
06-16-2009, 04:43 AM
chm? been a while since i've seen one of those :P looking at it now, thanks

edit:

The address is not valid

Most likely causes:
There might be a typing error in the address.
If you clicked on a link, it may be out of date.

What you can try:
Retype the address.

Go back to the previous page.

wtf?

edit 2: nmd, i went to where it was saved, right click it, hit propgerties, ublock, apply, open, it worked :D

poopy2177
06-19-2009, 02:36 AM
chm? been a while since i've seen one of those :P looking at it now, thanks

edit:



wtf?

edit 2: nmd, i went to where it was saved, right click it, hit propgerties, ublock, apply, open, it worked :D


YAY dude ty a bunch i couldent see it either but why didnt I try that lol :duh:

OMFG looking over this for a while (an hour and a half) I learned so much ty a bunch!

drunken git
06-19-2009, 04:22 AM
Just going to have a read through now will edit with results.

Pages in guide are showing as unavailable.

poopy2177
06-19-2009, 05:34 AM
Hey what guide/guides should I look at now I now this stuff????


ty