Do you guys think it would be so awesome
if we could all create and publish a book on SCAR?
It would include its history, how to use, how to script, etc etc.
cuz there are already tons of book on
other types of programming, why not a book on SCAR?
Do you guys think it would be so awesome
if we could all create and publish a book on SCAR?
It would include its history, how to use, how to script, etc etc.
cuz there are already tons of book on
other types of programming, why not a book on SCAR?
Yeah, good idea
Need any help?
edit:
For the people ask me how i can post so fast(Sooo... fast....-.-)
i just the click the new posts button 10 times a sec![]()
~Hermen
SCAR isn't a programming language. It is an interpreter. Therefore we would have to create a book on PASCAL. But there is already a book on PASCAL...
I really wish there could be one,
learning online is so hard!! i get distracted easily..
I know. I would want to do this too. Maybe E-Book?
E-book is a online postcard?!?
~Hermen
no, ebook is not an online postcard
it's like a pdf version of a book
this would be great
definatly somthing i would buy
i also get distracted easly while learning on the internet so many games to play
Well, you couldn't really write stuff on how to use SRL in it, as SRL is constantly updated and you can't really constantly update a book. Unless there's some way to update an e-book? Most people want to learn SRL, for use in Runescape, not SCAR (even though it can be used for many things). So unless it's somehow updateable I don't think it's that great of an idea.
EDIT: 990 posts![]()
| get firefox, block ads and surf more securely | how to get paid cash for placing ads on your already exicisting website |
| get the best free webhost ever! (300gigs bandwidth) | Unzip .rar .tar zip.7z .iso .cad and zip files with 7-zip for free |
Death is, infact, a once in a life time experience
If learning online is hard how will an e-book help any of you? And if you don't have the patience to sit down and learn to script when you are online I don't see how you'll be able to learn to script AWAY from your computer through sole memorization. Honestly, this is not a very good idea. I'd be surprised if more than like 200 people bought this book.
It'd haveto be a .pdf IMO, you can always print it =p
Ce ne sont que des gueux
Nice idea...but wat if scar gets outdated for some games n stuff??
we could just make a website with the E-book on it, also we could make a contact / suggestion button, if things get outdated we will update ect..
btw i can offer hosting / E-mail accounts for staff.
[22:20] <[-jesus-]> freddy, go uninstall yourself
Well I once saw 'The Idiots Guide To S.C.A.R' In Pakistan once, be that was about a year ago..?
would be a nice idea... tough in my opinion, you can also learn online
i prefer learning by trying, not reading that much
i do if i cant get it to work...
and if reading doesn't help,.. i ask for help
thats where this nice community is for![]()
nah , tuts already are like Ebooks.
Good idea. But maybe website with scar functions and comends with examples.
I started one a couple of moths ago. I left the project since I had little time left to concentrate on SCAR. I will post what I have written so far. Please feel free to add/subtract/enhance.....I dont know if I will ever finish it, but with collaborate efforts it might be possible.
The Great Book of SCAR- cheating
by WT-Fakawi
Preface
This article is the fruit of two years experience in SCAR-scripting. It bundles everything I know about SCAR and rs-cheating. This article does not make any attempt in learning you how to program. It merely shows you how to structurise your scripts and how to look through the game.
So you want to be a cheater
I have seen it all to many times: unfinished ambitious projects. Many of you have tried, most of you failed. Its takes a lot of persistence, stamina and testing to finish a large script. In effect, this is not unlike real life programming. The classical approach of design,implementation and testing is valid for each and every humble SCAR scripts too.
Design
Designing the flow of a script is very important, since SCAR initially does not allow forwarded functioncalls. So the most generic functions appear on top of your script, and the most specialised at the bottom. You cannot call a function before its declaration, the compiler works top down.
Design an empty framework is probably the easiest way of setting up a script. Just declare some empty functions, such as:
Function Bank;Boolean;
Begin
Result := True;
End;
When designing scripts try to copy as much as you can on from previously written functions, your own, or even other peoples scripts. (dont forget to credit!) Better copied good than poorly written. In my scripts I always copy functions from other scripts. You will alter them unrecognisable anyway. This is a very time efficient way of working.
Looking at rs from a different perspective
Most people play runescape the normal fashion. I dont. When I play runescape, I see collections of rotating colors, changing texts and moving objects. I dont see the game, I see collections of boolean logics, elaborate loops in a timed envorinment. I look through runescape. If you want to become a good scripter, it is vital to do this too: look through runescape. You need to be alert of every hint the game hands you out and stay on guard all the time for unexpected events.
Runescape has a distinct flow. A pace, so you like. All events happen within a certain fixed timeframe.Its crucial to recognize this as it is the key to optimal profit and flawless scripting. Believe me, if you get this right, you're halfway of becoming a succesfull cheater. As a rule of thumb you need to remember this: runescape is unbelievably slooooow compared to SCAR. Thus you need wait for everything. Runescape autoing is primarily...waiting, waitng for things to finally happen. So if a script lags it's probably something to do with you not waiting long enough or checking for things way to fast. The faster SCAR works, the slower runescape becomes. So, take it easy. Wait for things to happen.
Now, while waiting for certain things to happen, unexpected events can occur. For instance a Random might adress you after you pressed a mousebutton. So waiting doesnt neccesarily mean idling, for there are things that need checking while doing nothing. Make sure your script checks for randoms regularly. Also check for unexpected events like pickheads falling off, whirlpools popping up, etc. Do all this approx. 1-4 times a second, no more, no less. Aslso, check for events to happen after you click the button. Only a mousebutton evokes a random. FindNormalRandoms takes about 100 msec for a complete scan, so this leaves you plenty of time to check for other events.
Handling Script Specific problems.
Compared to humans, us bots have one incredible major advantage over humans: time. We have all the time in the world. We can play as long as we like. There is absoluteley no rush in botting. Besides, as mentioned before, runescape has a distinct pace. You should work to this pace. There are a great number of approaches when it comes to solving timed related issues, but they all boil down to repetitiveness. Looping is a one essential concept that scripter need to master, breaking out of loops is of even greater importance.
An Example.
Lets take an example step-by-step: suppose you want to design an uberleet autofighter. How would you go about such a task?
- 1. Simulate the script. Take a legit Character and manually simulate the script. Copy exactly what you want your Bot to do. Now here comes the hard part: while playing: I want you to reprogram your brain. I want you to look at runescape not as a regular game, but as a collection of hints, through colors and text. Observe closely what happens when you perform an action like fishing, mining or wc-ing. Repeat its loop again and again until you get a feel of its rhythm and understand the logic of the sequence.
For instance:
if findsymbol then
if clicksymbol.then
if findrock then
if clickrock then
if chattext('you swing') then
wait until new item in inventory or timeout or rockcolor is gone.
Or:
if findcolor(NPCColor) then
if finduptextcolor(Yellow) then
if FindUpText('Attack') then
if not infight then
if clickNPC then
wait until fullhitbar or timeout but breakout if chattext('someone else')
Now this is ofcourse not actual code, but by breaking it down to small pieces you get an idea of the kind of logic you're looking for. Notice that abovementioned examples do not contain any else structures. These are vital for a proper script, for they act as failsafes in case anything goes wrong. And believe me: anything that can go wrong will. Scripting for runescape using SCAR is Murphy at his best. The absence of failsafes, else structures and breakout has always been my main cause for bannage. Nothing more frustrating then turning on your monitor and finding your Player is stuck in some kind of hideous loop, doing something utterly wrong. Instinctively you know it: ban! Needless to say, build in breakout timers and failsafes whereever you can. Better safe then sorry.
Things to take into consideration
A practical approach
Advanced techniques
As said, I never finished it. Feel free to do so![]()
SRL is a Library of routines made by the SRL community written for the Program Simba.We produce Scripts for the game Runescape.
Hey fakawe can i claim that as my own and upload plz?
In the kingdom of the blind, the one-eyed man is king
SRL is a Library of routines made by the SRL community written for the Program Simba.We produce Scripts for the game Runescape.
There are currently 1 users browsing this thread. (0 members and 1 guests)