Leggo.
Leggo.
ok not sure what im doing wrong but
and it only happens when i type in the script myself im not sure if i do the spacing wrong or how im supposed to do it. the code im typing isCode:[Error] (10:3): Unknown identifier 'WriteIn' at line 9 Compiling failed.
Code:program Testing; function GetNumber: Integer; begin Result := 10; end; begin WriteIn(IntToStr(GetNumber)); end.
It is WriteLn. It is short for Write line. Also in your example the IntToStr isn't needed since WriteLn tries that itself.
Working on: Tithe Farmer
Error: Exception: Access violation at line 101
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]
PLEASE SOMEONE HELP ME!!!
Has been solved many times - if you had any sense you would use the Search Button before resolving to a hopeless plea in all caps (which is very annoying and an infractable offence)
Simply a GOD beast...
My Tutorials
Time to end my leech hood lol.
This really is an amazing guide. I have a rudimentary understanding of programming and this was a good refresher on the basics. Time to start expirementing >.
The only true authority stems from knowledge, not from position.
You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.
Thank you for this Tutorial.
This will help me on my way to make my own bot![]()
Thanks so much Coh3n, following this to make my own first script!
I kinda don't understand these anti leeching things. If you don't want the script to be leeched don't post it in public but members instead?
No one wants their script to be leeched, but unfortunately there are users here who just come here for the scripts and never leave feedback on how they can be improved. Shame really.
Also, we want people to actually use and appreciate our scripts. If all the scripts were posted in the SRL Member forum then 70 - 80% of all users here won't have access to any decent scripts at all.
Sure this sites about programming and learning, but you also want to show you're work and what you've achieved by posting it publicly. It's then up to the users to give feedback on the script and post progress reports so the scripter knows his work is being appreciated.
Simply a GOD beast...
My Tutorials
Very nice beginner's tutorial, thanks for the hard work and hours spent making it!
Definitely going to make a few newby scripts and post for feedback.![]()
Same with above, and also you spell declaring as declareing![]()
I keep getting smart server errors and don't know why
Very nice tutorial, thank you. I will refer back to this thread whenever I have any doubts fundamentally.
I think, somewhere in the 'Cases' section, you should add that 'case' functions as a 'begin' and needs an 'end' of its own. Other than that, this guide has cleared up all of my nooby errors.![]()
Without chaos... There would be no organization.
You should print this out into book format and sell it. I would buy, going on deployment without internet and I would like to learn while I am gone.
Im going to read as much as I can.
Woot! Made my 1st working script!
Thx a ton, Coh3n!
rep +1
I'd like to begin by mentioning your absolutely phenomenal job on the tutorial. Decided I'd get into it and look at some of the natives. Unfortunately, the wiki appears it was removed. May I ask where I can view the natives?
If applicable, I'd like to avoid having to use something similar to Microsoft's intellisense to figure each function out.
Thanks!
I can convert it to a .pdf fairly easily I think. E: Here you go.
http://www.coh3n.com/articles/beginners_simba.pdf
Oh yes, the Wiki was removed some time ago. It has been replaced with SRL Documentation, which you can find here. I'll update the tutorial right now.
Thanks.
Oh, and note that not every SRL file is in the documentation. They're not all finished; however, all the core files are there.
E: Fixed. There may be other errors as well, so don't be afraid to let me know.![]()
Last edited by Coh3n; 09-23-2012 at 05:15 PM.
SRL's F.A.Q. (Error fixes) | How to Convert SRL-5 Scripts to SRL-6 | Draynor Chop N' Bank (RS3)| AIO Superheater (RS3)
T - E - A - MTogether Everyone Achieves More
Does that mean the intermediate tutorial is released now![]()
?
This TuT helped me so much feel more comfortable with the basics even though I still have no idea what <> means. I googled it and all but couldn't find anything and you have it in your TuT.
Not even the slightest clue....
More than or less than (i.e. anything that is not '='), commonly used to compare integers/strings.
>= will be more than or equal to
<= will be less than or equal to
Also he already has an AIO one here: http://villavu.com/forum/showthread.php?t=49089
SRL's F.A.Q. (Error fixes) | How to Convert SRL-5 Scripts to SRL-6 | Draynor Chop N' Bank (RS3)| AIO Superheater (RS3)
T - E - A - MTogether Everyone Achieves More
There are currently 2 users browsing this thread. (0 members and 2 guests)