Results 1 to 18 of 18

Thread: Easy And Usefull Stuff Tutorial!!!

  1. #1
    Join Date
    Mar 2007
    Location
    In your computer
    Posts
    244
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Easy And Usefull Stuff Tutorial!!!

    Hello you might be a sucker at scripting while you reading this.Iam just gonna tell you some basic things, that are pretty usefull .

    Some people think what other things are there if click mouse and move mouse are really detecteble?How i make the mouse move to a spot with the color i picked and stuff like that, read below if you are not too lazy and you will learn something from it .

    Well the first thing is when you want your script to be nice and don't get an error because of the code.
    SCAR Code:
    program Something;
    {.include SRL/SRL.scar} //ALWAYS HAVE THIS!!!


    Procedure Something;
    begin
    //Code here...
    end;


    begin
    SetupSRL;
    Something;
    end.

    {.include SRL/SRL.scar} <==What that does is it includes SRL from the folder
    Includes.

    SRL has lots of things in it,and iam gonna explain the easy stuff from it.

    SCAR Code:
    program Something;
    {.include SRL/SRL.scar}


    Procedure Something;
    begin
    MMouse(100,100,3,3);//What this does is, it moves the mouse to the coords
    //100,100 and makes a 3x3 box and Moves the cursor inside of it.This DOES NOT CLICK.
    //You can change the 3,3 to 2,2 or more or less.

    Wait(1000+random(200));//Well this just waits 1 second + a random of 200 MS.

    Mouse(200,200,2,2,true);//This moves the mouse to the Coords 200,200.
    //And makes a 2x2 box, then left click's once at a random spot inside the
    //2x2 box.You can make the 2,2 more or less it depends on the thing.
    //What true means is that it will left click.False means right click.

    Wait(500+random(500));//This waits 500 MS + a random of 500 MS.

    TypeSend('I like pie');//This types the text at normal human speed.

    If FindColor(x,y,TheColorHere,0,0,200,200)then //This looks for the color
    //from the coords 0,0 to 200,200
    Mouse(x,y,1,1,false);//This right clicks the color inside of a 1x1 box
    ChooseOption(x,y,'ack');//This chooses the option attack but you should
    //only have 3 letters of the name.
    end;


    begin
    SetupSRL;
    Something;
    end.


    Now go grab some cookies and some milk if you are hungry and continue to read :P.


    Sometimes the script won't find the color on the screen, well maybe it will but it might be a color that you did not want the script to pick.So thats when failsafes are going to save us.

    SCAR Code:
    Program Something;
    {.include SRL/SRL.scar}
    Const
    TreeColor = 2783618;//The tree color should be here.Thats just an example.


    Procedure FindTree;
    begin
    repeat
    If FindColor(x,y,TreeColor,0,0,400,400)then //Looks for the color...
    MMouse(x,y,1,1);//Moves the mouse to the color.
    Wait(100+random(100));//Waits....
    until (IsUpText('ree'));//repeates everything above until text ree is up.
    if (IsUptext('ree'))then //if text ree is up then
    Mouse(x,y,1,1,true);//Click the color.
    end;


    begin
    SetupSRL;//Oh ya never forget to put this!
    FindTree;
    end;

    Post anything not right or compliments here!

  2. #2
    Join Date
    Jun 2007
    Posts
    26
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i dont get it... but i do like cookies and milk

  3. #3
    Join Date
    Jun 2007
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i dont get either

  4. #4
    Join Date
    May 2007
    Posts
    433
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Thanks a bunch dude I kept not knowing what the 100,100 meant, don't know what those people above me are talking about

  5. #5
    Join Date
    May 2007
    Posts
    433
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    IN fact i like it so much that i printed it :P

  6. #6
    Join Date
    Mar 2007
    Location
    In your computer
    Posts
    244
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    dont get it... but i do like cookies and milk
    Wtf...Lol what not to get?-I like pie more than cookies and milk but they good too .

    dont get either
    -...Learn some more bout scripting then you will understand everything.



    Thanks a bunch dude I kept not knowing what the 100,100 meant, don't know what those people above me are talking about
    - thanks alot.

    IN fact i like it so much that i printed it :P
    -Lol thanks again for saying its a good guide!
    Even If You Are On Your Way, You Will Get Run Over If You Just Sit There.
    -ILikePie1995.

    My Best Script I Yet Made, Go Check It Out, Its In The Fighting Section. Look For UndeadKiller!

    GET FREE CASH!!!READ ALL ABOUT IT!!!
    http://www.AdPaid.com/ptr/pages/join...d=ilikepie1995

    JOIN AdPaid.Com NOW!!!ITS OWNAGE!!!
    http://www.AdPaid.com/ptr/pages/conf...d=ilikepie1995

  7. #7
    Join Date
    May 2007
    Location
    North Pole =]
    Posts
    38
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i dont get this about scripting whats 1,1 or 2,2 or 3,3 w/e
    the box
    where is the box? and how big is 1,1?
    btw nice tut i know more things now
    um ... hiya

  8. #8
    Join Date
    May 2007
    Location
    NSW, Australia
    Posts
    2,823
    Mentioned
    3 Post(s)
    Quoted
    25 Post(s)

    Default

    I get it but the noobs dont. Maybe you should simplify is some how i dont know how. Because you simplifyed and explained the lot.

  9. #9
    Join Date
    Jul 2007
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Amazing tutorial! Thank you so much, you explained things in just the way that I learn them in. (I don't know if that made any sense). I like that you explained things through the script. Anyways to my question...Actually just as I was typing this, I figured out the answer to my question..Well thanks anyways,
    -yo_d3d

  10. #10
    Join Date
    Dec 2006
    Location
    In the SaMe WoRld as yOu
    Posts
    202
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hmm i get it, maybe some more

    http://stats.srl-forums.com/be/SRL-S...erbars/305.png
    | Buying All Rune Ess - 30Ea | & | Buying P Ess As well |

    http://www.fenjer.com/adnan/SRLStats/305.png
    If I see you autoing with level 3 - Default clothes - Crap name I WILL report you.
    [ Auto Correctly: Put this in your signature, if you agree ]

    http://starblaster.freehostia.com/stress/Aje10.png

  11. #11
    Join Date
    Jul 2007
    Location
    Live in Canada... In an Igloo, yes.
    Posts
    134
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    That actually helped me a lot.

    I am going to read every tutorial and post a comment because I am going to FORCE myself to learn scar/srl.

    FORCE! =)
    Sp0rk-eh Forums!- The BEST Runescape Black Market on the net... and more!

  12. #12
    Join Date
    Jul 2007
    Location
    Players[CurrentPlayer].Loc:='Bank'
    Posts
    875
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Awsome tut. I learned how to use (IsUpText) from you. *Love*
    Quote Originally Posted by sirlaughsalot
    .... Obama had the devil jump out of his ass, run and stab Hillary in the back...
    ILMMTYAEAFHPY.

  13. #13
    Join Date
    Jul 2007
    Posts
    238
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    tnx for the TUT it really helped me alot

  14. #14
    Join Date
    Aug 2007
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Thx

    This TUT helped me a ton. I got alot done on my script with your help. Thanks!

  15. #15
    Join Date
    Sep 2007
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    you confused me a little but i think i got it.

    mmmmm...cookies and milk...

  16. #16
    Join Date
    Sep 2007
    Posts
    638
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Good Tut thanks for the fail safe part. And you noobs that don't uderstand it he specificly said that you should read another tut before this one if you don't understand basic concepts.

  17. #17
    Join Date
    Aug 2007
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Nice, i've seen better...

  18. #18
    Join Date
    Mar 2007
    Posts
    41
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Make it so that it fits scripting standards.Also you put a semi-colon on the main loop.They might copy and paste and not know what to do next.I am learning too...so yea...just that.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How easy would it be to make a tutorial island script?
    By guidenation in forum News and General
    Replies: 13
    Last Post: 01-26-2009, 12:43 AM
  2. Trade stuff to main easy
    By Boom Headshot in forum Bot Information and Spottings
    Replies: 17
    Last Post: 01-07-2008, 02:10 AM
  3. Some of my usefull Anti-Ban stuff!
    By Pentti in forum RS3 Outdated / Broken Scripts
    Replies: 13
    Last Post: 02-14-2007, 05:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •