SRL Archive - Outdated Tutorials

Path To SRL Members


pwnaz0r

2007-08-17 17:03:54


Path To SRL Members
By : Pwnaz0r
Why did I write this? All the bad applications we see daily

^^^^^^^
My MSN Status. Feel Free to Drop me a message




———————————————————————————————-
Table Of Contents:

    [*]Introduction
    [*]The Secrets
    [*]Extra Things that will aid you greatly
    [*]Things To Remember!
    [*]Step 1 - Learning the Basics
    [*]Step 2 - Basic functions and controls
    [*]Step 3 - Making your own procedures and functions
    [*]Step 4 - The Player Array
    [*]Finishing Up
———————————————————————————————-

Introduction



Hello and welcome to the tutorial :). This was written by my to try to cut down on all the bad applications we get daily. It seems to me that most scripts used in the applications are thought to be good but yet, it is not the standard of which SRL members are accepted. This tutorial cannot and will not take the place of Boreas's tutorial which can be found here -http://www.villavu.com/forum/showthread.php?t=3562?t=4302 . However, his tutorial, in my opinion, only tells you some behaviors that you should follow and maybe a few things about the actual application. This tutorial will only focus on the applications for the most part and things such as what we look for, how we look at it, and constructive criticism. I highly recommend reading Boreas's tutorial first as it is should be a highly effective list of things to do / not to do.



The Secrets


~Note To Devs/Mods~ These can and should be changed if a developer / moderator decides that it is too much information. But before you change it, please ask yourself this question. Why? Why do you want to keep what we look for a secret? Some SRL Members, including myself, have been complaining about the quality of the applications and there is really no reason to take these off. :).

Now on to the secrets :).

1. In SRL Members applications, SRL members like to see SRL scripts. They look for many qualities in scripts. What makes members vote "yes" to you and your script is if it includes these qualities.

  • The SRL Player Array(MultiPlayer)
  • SRL functions
  • AntiBan
  • Antirandoms
  • Not Breaking SRL Rules
  • Use Scripting Standards!

———————————————————————————————-

The SRL Player Array

Probably the most important detail. SRL scripting is based around the fact of when one auto-er is disabled, you switch players and keep auto-ing for the most production. If I scroll down and don't see the SRL player array somewhere in the script, I automatically vote "No" and post the phrase " Needs MultiPlayer". This holds true for 99.9% of all SRL members. If you don't have Multiplayer in your script, I'm going to vote No.

———————————————————————————————-

SRL Functions

This includes things such as
  • MMouse
  • Mouse
  • Colorfinding Functions
  • All Antirandom Functions
  • Make sure it compiles!
  • So Many More!
They let SRL Members know you know how to use SRL and they are MADE FOR YOUR ENJOYMENT AND PURPOSES. They are made by SRL developers for the most part, so they are of high quality. To get a list of these functions, in SCAR, go to the "Help" Drop-Down menu and select "SRL Manual". At the top, it will give you a list of the various SRL subcategories. Simply use the "find" commands (ctrl + F for internet explorer and Firefox users) and Type the name.

Ex = "Banking.scar" (No quotations);

Be sure to especially use the Antirandoms!

———————————————————————————————-

AntiBan

AntiBan in your script is a MUST. You probably won't get accepted on a script that will get you banned. I'm sorry it just wont work :D. You can find many AntiBan functions in Antiban.scar in the SRL Manual.

———————————————————————————————-

Antirandoms

YOU MUST HAVE ANTIRANDOMS IF YOU WISH TO GET ACCEPTED INTO SRL MEMBERS. I have never heard of a Member who, nor think it is possible, got accepted with a script that didn't have randoms(Unless it was a non-rs script which would have to be extremely good). Please take a look at Antirandoms.scar in the SRL Manual and find good SRL antirandoms funcitons. They are the best around and it is one of the three key things SRL is founded upon.

———————————————————————————————-

Make sure it compiles!

If your script doesn't compile, it shows you have a lack of, well, knowledge about SRL. Members WILL try your scripts and if they don't compile, its an automatic no from me.

———————————————————————————————-

Extra Things that will help you greatly


If you wish to become an SRL Member, these are the few common factors that make my mindset from " Alright, I might vote yes and I might vote no." to "Nice Script! Yes from Me". Be sure to include these in your application to ensure your getting into SRL Members with their rating out of 10.

  • Use of DTM's
  • Forms
  • Make Sure to have a GOOD ATTITUDE and correct your scripts as soon as someone tells you your mistakes.
  • Self Made Procedures
  • Use of advanced SRL related actions such as finding rotated DTM's
  • Clever Idea's / Well constructed loops!

If you have all of these as well as the items above, you will get almost all yes's for sure.

Things To Remember!


NEVER:
  • COPY SCRIPTS
  • HAVE A BAD ATTITUDE
  • APPLY THE NEXT DAY IF YOU DONT GET ACCEPTED
  • CREATE NEW ACCOUNTS TO MAKE MORE APPLICATIONS
  • SUBMIT BLANK APPLICATIONS

If you copy scripts in applications, you are ALWAYS found. YoHoJo has caught 48 people to this day and many more have been caught. Ever other person has caught. Members and Dev's have ways of finding if you copied a script and you WILL get caught.

Having a Bad attitude, even if you have the masterpiece-of-scripting script, you will not be asked to join. Being an SRL member is more than just scripting. It is having a "Can-Do" attitude and not ever giving up! I applied 3 times before being accepted.

Never Apply the next day if you don't get accepted. I was just looking at a string of applications from one person. He was permently banned within 15 minutes of his most recent application. Now, don't get me wrong, the SRL members are not cruel. If you simply edit the post and say " I didn't mean to submit this, I'm sorry" or if you lost the thread, just throw a PM my way or a Dev's way that you didn't mean to submit it and it will be fixed :).

The above paragraph addresses this.

Submitting a application without a script will not get in you in trouble unless it is done repetitively. Please try to avoid this.


Step 1 - Learning the Basics


Well now. Hopefully you have learned what most SRL Members look at before voting and why they look for it. The basics, in my opinion are the understanding of
  • Variables
  • Constants
  • Procedures
  • Functions
  • The Mainloop
  • Including Things
These are the things you need to script with scar without SRL. I will refer you to these tutorials to learn these. These are, in my opinion, the best from top to bottom of tutorials to learn the basics.

(REMEMBER, ONLY LEARN THE SECTIONS NAMED SOMETHING CLOSE TO THE BASICS! SOME OF THESE TUTORIALS, INCLUDING MY OWN, GO MUCH FURTHER! ONLY LEARN ABOUT THE THINGS LISTED ABOVE AT FIRST)


Step 2 - Basic Functions And Controls


There is nothing I can teach you for you to learn the basic functions and controls except to tell you that you will need to spend some time in the manual. Simply go to the "Help" menu in SCAR and click "Help" for SCAR Divi functions or "SRL Manual" for SRL functions.For R-S, I would highly recommend SRL functions over the Divi functions only because of the limited functions in Divi (sorry Freddy). Yet the Divi functions are very effective for forms and such things not included in SRL. Knowing the functions in the Divi Manual are what, in my opinion, set apart " the men and the boys " (ha).

Making your own Procedures and Functions


Well this is the part of the tutorial where I actually teach :). Now there are two types of "Commanders". Procedures, which execute an action and Functions, which return a result. They are declared this way.


Procedure {Procedure Name Here};
begin
//Coding Here
end;



Function {Function Name Here} : {Variable Type Returned}
//Variables types are things such as Integer, String, Boolean, and Extended;
begin
//Coding here. Make the Code and say "Result :=" To return a result
end;


By Learning the basics, you probably know about what procedure are. You might even know about functions and how to make them. In any case, the best way I can think to teach you is by example so here are some functions and their uses.


Program Tutorial;

var
Int1 : integer;

function FindAndMoveColor(x,y : integer) : integer;
// The result will be an integer, which is a color here
begin
Result := GetColor(x,y);//will get the color
MMouse(x,y);
end;

begin
Int1 := FindAndMoveColor(113,243);
Writeln('The Color is: ' + IntToStr(Int1));
end.



The SRL Player Array



     
HowManyPlayers :=2;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer:=0;

Players[0].Name :='yourname';
Players[0].Pass :='yourpass';
Players[0].Nick :='urna';
Players[0].Loc :='yourloc';
Players[0].Skill:='yourskill';
Players[0].Active:=True;

Players[1].Name :='yourname';
Players[1].Pass :='yourpass';
Players[1].Nick :='urna';
Players[1].Loc :='yourloc';
Players[1].Skill:='yourskill';
Players[1].Active:=True;

This is the SRL Player array. It may look hard but it really isn't!

HowManyPlayers - Count the number of players in the array and set this as the number. Please notice that my array only goes to Players[1], but I have two players, so I used that as the number.

NumberOfPlayers - Don't worry about this one.

CurrentPlayer - The Player you want to start out with. This IS the player's number in the player array.
Ex. - If I wanted to start with my second player, I would set it to "1".

Players[ ].Name :='yourname'; - Insert this players username between the ''s.

Players[ ].Pass :='yourpass'; - Insert this players password between the ''s.

Players[ ].Nick :='urna'; - Insert this players Nickname between the ''s. A nickname is 3-4 letters of your players name that have no spaces between them that the antirandom procedure's use to find randoms saying your username.

Players[ ].Loc :='yourloc'; - This is your Location. I usually just delete this out of the player array because there is no reason for the player to insert this. This is usually for scripters so the script will know where each character is.

Players[ ].Skill:='yourskill'; - The Skill you want to use a magic genie lamp on

Players[ ].Active:=True; - Keep this at true if you want this player to keep auto-ing. Set it to "False" if you want him to stop.




Also take some time to check out Wizzup?s tutorial - http://www.villavu.com/forum/showthread.php?t=5410



Finishing Up


In conclusion, please remember to do the things listed above and don't do the things I have instructed not to. Please feel free to message me at any time on Msn or here. Thanks for reading the tutorial and hopefully this was helpful to you!

Harry

2007-08-17 17:06:02


Under construction


Woot?

dvdcrayola

2007-08-17 17:07:04

Im excited for this.. when should it be done?

pwnaz0r

2007-08-17 17:09:07

Lol @ hy :p.

Um I dont know. I really havent had time and this is the first time i have really posted in over five months since I had various other stuff in life to do as I do today. I believe it will be done today.

dvdcrayola

2007-08-17 17:16:09

oh cool… so are you coming back now? or just for the tut

pwnaz0r

2007-08-17 17:17:10

Im pretty much coming back now ha. Now please I need to finish before night Ha ;).

Buckleyindahouse

2007-08-17 18:33:11

Looking good, Keep it up :D.

Sp0rky

2007-08-17 18:34:12

Sexy guide. Gj dude.

Hugolord

2007-08-17 18:35:45

1337 guide dude

pwnaz0r

2007-08-17 18:44:33

Thanks guys. If any SRL Members have anything to add, please say so.

Buckleyindahouse

2007-08-17 19:14:54

maybe something about player switching and loops oh and my name in the credits :).

HyperSecret

2007-08-17 19:45:31

thx for an updated tut on this, ive been wondering what my script will need to get accepted, thx

pwnaz0r

2007-08-17 19:54:46

Your Welcome and Buckley, it will be so ;)

WOOT TUT WRITING CUP on this one. Hurray!

~alex~

2007-08-17 20:14:16

Very impressive tut 10/10

pwnaz0r

2007-08-18 11:50:27

Thanks ha. I didn't think this tutorial would get such good feedback from SRL members. Now all you people wanting to become members can see how much this would affect your votes and scripting abilities .

dvdcrayola

2007-08-18 16:24:12

From: pwnaz0r
Your Welcome and Buckley, it will be so ;)

WOOT TUT WRITING CUP on this one. Hurray!


congrats.. you deserved it!

great guide.

Light

2007-08-18 16:35:58

great tutorial, very helpful

pwnaz0r

2007-08-18 17:01:08

Thanks you guys. This will be updated shortly

R0b0t1

2007-08-18 17:40:25

Oh, yeah, If anybody is looking for help on there own Procedures/Functions or wants me to help them make a DDTM you can PM me and get a MSN time set.

@pwnaz0r - now I don't get to give out as many noobpoints… :(

pwnaz0r

2007-08-18 18:38:02

Ha. I guess the system will be unused now :p. Anyways Updated

Kik

2007-08-18 20:04:42

Thanks a ton. This will definitely help me with my app for members!

pwnaz0r

2007-08-20 22:30:18

Your very welcome. And SRL has been updated woot

dark4mdawn

2007-08-21 00:51:34

really nice tut very well done

pwnaz0r

2007-09-02 20:03:44

thnx ;) anything I should add SRL Members?

romber

2007-09-02 21:12:50

oohh very helpful

pwnaz0r

2007-09-03 23:12:30

thnx

P1nky

2007-09-04 23:36:01

sweet X-) now i know what i need well acully most of my script got it =)

kamikeza

2007-09-05 12:21:03

its hard because there are lwasy new updates:mad:
but i wanna post my script soon if i knew how;p

pwnaz0r

2007-09-05 19:43:48

:p good

elementalelf

2007-09-08 03:14:41

i beat this tutorial :P
my script not only doesnt have most of these things(Except multi-login which is being implemented as soon as it gets out of alpha)
it has no anti ban, and no anti randoms, it didnt have scripting standards(at first release) and it was released AFTER i became a member :)

i think it should be noted that anti randoms and antiban is not necessary if you make a tutorial island runner as antirandoms and mods do not come to tut island.

one other thing that should probably be looked for in member apps(although i cant say much as i have only been here for 4 days, so feel free to disregard ANYTHING i say) is efficiency in scripting.

for example.
someone who uses


begin
case(random(5))of
1: blah;
2: bleh;
3: robotfelatio;

instead of

var i,e:integer;
begin
i:=random(5);
if(i=0)then blah;
if(i=1)then bleh;
if(i=2)then robotfelatio;
etc etc.

would have more likelyhood of recieving a yes from me.

another thing is knowledge of pascal, not only SCAR
to be honest with you, it would probably result in alot more trustworthy scripts if all scripters learnt pascal before learning scar.

now for tips:
i personally find it ALOT easier to make a really basic script that does all the actions i want it to, albiet extremely inefficiently, then improve on it constantly, deleting sections and replacing them with bits from SRL etc.

for example, if you see my half completed tut island runner in scripting help(search my name, and keyword "tolerance" to find it)(completed version will be available when you become a member :) )
you will see that alot of the coords for the findbitmapin or findcolorspiral have been hardcoded, i did that on the first run through, since then i have replaced all of them with the SRL mmx1,mmy1,mmx2,mmy2, or msx1,msy1,msx2,msy2

as well as making alot more of my procedures more efficient, for example
findguy;
i have replaced the repeat findbitmapin(); mmouse(); until(istextupmulti());

with findobjdeformed()



in summary:
-learn pascal rather then scar so you dont fall into the habit of bad scripting(by the time you get to SRL member's status you will probably be good enough not to have any bad scripting regardless, but learning pascal is a good way to fasttrack your learning)

-use the most efficient scripting methods possible

-when you first make a script, just make it so it works, even if it doesnt work very well.

-then go back to edit the script, standardize it, and make procedures more efficient.
for this step, i suggest you look at EVERY one of the procedures and functions that you have written, then look in SRL manual to find out ANYTHING from SRL that could possibly replace what you have written, if there is, chances are it will be more efficient.

pwnaz0r

2007-09-09 02:49:54

True, will add thnx ;)

ultima2007

2007-09-09 04:04:26

This tutorial was the best one I've read so far
I'm still really new at this I just entered the biz end of august
but im gettin there
trying to create a miner/banker myself so I dont feel like a leecher lol

puredragonnn

2007-09-09 16:04:53

excellent

pwnaz0r

2007-09-09 16:30:20

From: ultima2007
This tutorial was the best one I've read so far
I'm still really new at this I just entered the biz end of august
but im gettin there
trying to create a miner/banker myself so I dont feel like a leecher lol


cool

From: puredragonnn
excellent



thnx ;)

TravisV10

2007-09-09 16:36:49

I did not think that you should have gotten into members

puredragonnn

2007-09-09 17:08:23

This will help me for many things considering I am just learning about all of this stuff…

elementalelf

2007-09-09 23:44:10

From: born2code
I did not think that you should have gotten into members


who are you talking about, and moreover, i thought you left and were not coming back :/

pwnaz0r

2007-09-10 20:21:50

EDIT: Yeah i thought so too (lol)?

Smartzkid

2007-09-10 20:45:38

From: born2code
I did not think that you should have gotten into members


I didn't think you should have gotten into members. But you did. The day after it happened, I wrote you some code; fixed a major problem with your script. I didn't act rude to you, or anything. I see now that I was far too nice to you. If you can't show the slightest bit of respect when you have been respected so much by others, you really don't belong here.

Please go away, get some friends, and enjoy life. Don't come back here once you've gained some maturity.

Thank you.

pwnaz0r

2007-09-12 19:18:44

From: Smartzkid
I didn't think you should have gotten into members. But you did. The day after it happened, I wrote you some code; fixed a major problem with your script. I didn't act rude to you, or anything. I see now that I was far too nice to you. If you can't show the slightest bit of respect when you have been respected so much by others, you really don't belong here.

Please go away, get some friends, and enjoy life. Don't come back here once you've gained some maturity.

Thank you.


agreed.

BobboHobbo

2007-09-13 07:48:57

From: pwnaz0r
agreed.


Agreed.

pwnaz0r

2007-10-07 22:04:29

Lol no replys in awhile:)

migaeler1

2007-12-19 09:24:03

nice tutorial!

Negaal

2007-12-19 10:06:54

Nice
Nice
Nice

It's the best tutorial I'v seen awhile… I didn't mean't scripting part(because they are many of them)…

You really deserve tutorial writers cup:)

It had really good point in it.

It should be pop as ReadMe before "Apply to Member". Before you can post you script…