IMPORTANT BULLETIN!
May the server be soon REOPENED!!! (April 17, 2009)
Crank That Scape
March 29, 2024, 06:02:16 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Hopefully this is welcoming you back, based on an announcement sent out.
 
  Home   Forum   Help Search Arcade Gallery Links Staff List Calendar Login Register  

Setting up SCAR so you can Auto

Pages: [1]
  Print  
Author Topic: Setting up SCAR so you can Auto  (Read 38 times)
0BbY
0BbY
Global Moderator
Sr. Member
*****

Rep: 65535
Gender: Male
Subtract: 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Posts: 126


Eating, eats!


View Profile
« on: February 10, 2008, 05:59:26 am »

Before u gonna read, read this and scroll down to download it.

- Setting up Scar -


- - - - - Download Scar- - - - -
Scar is the program you use to auto.  Obviously this is needed to run Scar script

Download scar from the official site:  www.dylock.net/scar







- - - - - Make sure you have downloaded the include Files - - - - -
These are commands which scripters have written to help other scripters make their script easier, and if you dont have one of the includes, error messages will come up and your script wont start.

Code:
Include file C:\...\SCAR 2.03\includes\SRL.txt does not exist.
Failed when compiling






- - - - - Turning off Silent Mouse - - - - -
Silent mouse was originally used in RSC so that you could auto and do other things on the computer at the same time.  Unfortunately, Jagex caught on and so now Silent mouse has to be turned off for you to be able to auto.  This means your mouse will be controlled by scar and you wont be able to do anything else whilst the script is running.
Silent Mouse is off by default, but you should check just in case.
In Scar, hit 'Tools' and make sure the first option 'Silent Mouse' is Unticked






- - - - - Dragging crosshair onto the Runescape Window - - - - -
This is so Scar knows the boundaries of the RuneScape screen so that you can auto properly.
  • Drag this symbol : : onto the runescape screen.
  • You must drag the symbol every time you open up scar, or change world!
  • A huge box will appear around the Selected Client and shrink to fit it.  A new message will appear on the debug box saying:
Code:
'User specified a new RS window'
  • If the message comes up, but the box doesn't, drag the crosshair again and repeat until the message and shrinking box both appear.





- - - - - Picking Colors - - - - -
This is so scar knows what colors to click and what colors to look for in RuneScape, so the script functions properly.  This is a very important step and must be done properly.  You must do it yourself, because each time you log onto runescape, the colors change slightly.  No one else can do this for you.  If you change worlds, you muct repick all of the colors asked for.  There are 2 ways in which a script will tell you which colors to pick.


- - - 'Const' Colors - - -

Code:
banksymbol = 5825779;   //Green part of $ sign
yewtree = 1282831;      //middle of yew tree on minimap
roadcolor = 5921634;    //road color on minimap

Under the word 'Const' in the script is a list of all the colors you need to pick.  The writing to the right of the numbers (e.g '//middle of yew tree on minimap') describes what color you need to pick.
To pick the color asked for, login to runescape, and go next to the color which the script asks you for. 
]With both Scar and Runescape visible, click this Symbol in Scar : : and your screen will freeze.
Click the color asked for and a new message wil appear in the debug box:

Code:
Color Picked: 16777215 at (214, 203)

The numbers will always be different, so dont worry if you didn't get the same numbers as me.
Copy the long number using Ctrl + c and paste it over the existing color under 'Const'.
Repeat this for all the colors asked for and you will setup all of the colors.
An example of the colors setup after selecting all of the colors would be

Code:
banksymbol = 3047422;   //Green part of $ sign
yewtree = 16777215;      //middle of yew tree on minimap
roadcolor = 262913;    //road color on minimap

Remember, the above are just examples!



- - - 'Form' Colors - - -

This is an example of a form asking for colors.



It works in basically the same way as the 'Const' colors, except you have to type in the colors asked for since you can't copy and paste.  The other different is you wont be able to select the color picking tool, you will have to press the shortcut Ctrl + Alt + P to activate it.  Fill in the form and the colors will be saved.






- - - - - Other Setup - - - - -
Other setup is required so that the script knows what to do incase something 'irregular' happens, such as you log out by accident, you get a lamp for a genie, you are attacked etc.

Code:
TheLampskill = 'prayer';//Skill to use lamp on if found
RunDirection = 'N';     //Direction to run away in
UsingTiera = True;      //Are you using a Tiera?
esslimit = 1000;        //Number of Essence you have in bank

The different types of options you have to setup are as follows:
  • String - This is a word which you type in.  The word Must be surrounded by quote marks (' ')
  • Boolean - This means 'true' or 'false'  No quote marks here
  • Integer - This is a number.  again no quote marks.
Again the writing to the right informs you about what you have to set.
The first one in my example is the skill to use the lamp on if youfind one in your inventory.  Type in the skill you want to use lamps on.
Next is the run direction you want to run away in if you are being attacked.  Type in 'N', 'E', 'S' or 'W'
This comes from my air crafter script, and so you have to tell the script if you are wearing a tiera or using a tally.  If you are wearing one, type in true and if not, type in false.
The Ess limit is how much essence you have in your bank.  Type in the number of essence you have so the script knows when to stop.
An example of my setup:

Code:
TheLampskill = 'Mining';//Skill to use lamp on if found
RunDirection = 'E';     //Direction to run away in
UsingTiera = False;      //Are you using a Tiera?
esslimit = 587;        //Number of Essence you have in bank

This could again be written in a form, but thats easy to fill in and its basically the same thing as above.
Note - Scar Scripts cannot stela your Username or Password, so it is OK to fill it out into a script.  Just make sure you delete it before sending the script to anyone!
Make sure you fill out any other setup the script asks for, like standing in a specific place, having something in your invenotry etc.






- - - - - Starting, Stopping and Pausing the Script - - - - -
This is so the script can run and stop when you tell it to.
Make sure scar is completely setup by following the instructions above.
  • Hit the green arrow the run the script
  • Hit the Yellow / Orange double lines to pause the script
  • Hit the Red square to stop the script

Alternatively, use these shortcut keys:
  • Start: Ctrl + Alt + R
  • Pause: Ctrl + Alt + A - Note, to start the script again after pausing, hit the shortcut for 'Start'
  • Stop: Ctrl + Alt + S



And thats it!  Thats everything you need to setup SCAR.  If you need anymore help, just ask.  If you need more visual help, check out my Flash guide which is attached to this post

Hope that Helps
Report Spam   Logged

Share on Facebook Share on Twitter

Pages: [1]
  Print  
 
Jump to:  

News!
I hope to have a new server up within a week!
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy