View Full Version : Strategies for Learning SRL
IEatJ00erBaybees
03-28-2007, 12:35 AM
Now, we all know that SRL is a pretty large library. And there's no way one person can immediatly memorize every single function in it. So, I thought I would take notes. I'll post what I have so far for people to see.
Tell me if I'm forgetting anything.
Thank You!
rkroxpunk
03-28-2007, 06:50 AM
Isn't this what the manuals for oh well i'll have a look.
~alex~
03-28-2007, 07:04 AM
I dont exactly get what this is for, isn't it just a couple of procedures copied of the the manual?
Smartzkid
03-28-2007, 02:41 PM
I think he's just trying to take some notes; simplify using SRL a bit...
I guess it could be useful for some people...
IEatJ00erBaybees
03-28-2007, 07:24 PM
No, it's not done yet, I'm just wondering what your strategies are for learning it, and if this is an ok way. I'm not putting it out for people to use, unless they want.
Yakman
03-28-2007, 09:07 PM
well IMO i dont think thats a good way to learn, i think the best way to learn is through making examples
make a little script, say an autofighter for some monster, then look though another autofighter, see what functions it uses, you will learn just by using them in your own script
but you might want to make notes on some 'essencial' functions, heres a few you should know
'FindNormalRandoms' calls every find random check in SRL
'LoginPlayer' logs in the current player
'LoggedIn:boolean;' returns true or false depending on if your logged in or not
'Mouse' moves the mouse and clicks
'MMouse' moves the mouse, but doesnt click
IEatJ00erBaybees
03-28-2007, 09:37 PM
I know those ones though, it's the complex ones deeper in the includes that I don't know
WT-Fakawi
03-29-2007, 08:39 AM
Use the SRLManual.chm. Can't work without it :)
da_professa
03-29-2007, 10:45 AM
Use the SRLManual.chm. Can't live without it :)
Edited to my desire :p
edit: I forgot to post more :).. I think best way to learn is look at a script you find interesting, and make sure while you are looking at it, have srl manual and scar help open.. Then for example you don't understand a function they used. Well first try to search in the script if they have made the function them self, then try to find it in srl manual , then lastly try to search in the scar help file (f1)... I have learned scar like that.. Try not to start off, with the some complex script to try and learn from.. Also here's another way:
Take up a project, make sure a good script of the same project is available. Not too difficult. Then start working on it, test it out. If you get stuck, then open up the other project and find out what they did.. Try and do the same thing as them, but in your "own" way.. Even if it requires you to look back and forth, but try and type it up, instead of copy past. This will help you learn and remember.. Then try harder projects and so on
WT-Fakawi
03-29-2007, 05:34 PM
This is what I did:
I collected every script I could possibly get my hands on. I leeched. I printed out stupid3ooo's work, the StupidGuildMiner and his SSI2 include. I printed out Mutant's RSCI and RsN's SI. I carried the papers with me for some time, while at work, or whilst travelling, i'd study them and make notes on the paper. This soon became my all-in-reference, my bible if you will, it tought me everything I needed to know. Took a long time.
I started to script. First little silly things, but later big silly things. I always printed them out and took 'm with me. There are always moments during the day you can drift away into RS-code space. I thus editted the paper script first, and correct the script in nighttime.
You will need a lot of persistence if you want this to succeed. The weirdest things happen in codespace, but it is always your own flaw, not SCAR's. I never stopped looking at other peoples code too, implementing new techniques and finetuning functions. There are always new challenges and new solutions.
Good Luck.
Moral: Print!
IEatJ00erBaybees
03-29-2007, 08:09 PM
Interesting, I don't have SRLManual.chm
I just searched for it on my computer. Can somebody give me a path?
IEatJ00erBaybees
04-01-2007, 05:29 PM
Nvm, I'm such a nooby. Too bad on my screen there's a grey box halfway down the page,so I cannot see the rest. =P
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.