Page 2 of 2 FirstFirst 12
Results 26 to 45 of 45

Thread: Unmatched Beginner's Guide To Scripting Scar (Hands On)

  1. #26
    Join Date
    Dec 2006
    Location
    SC
    Posts
    692
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I'll fix it. Thanks.

  2. #27
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Just found your tutorial posted in here: http://rsunleash3d.smfforfree3.com/i...topic,4.0.html
    No even credits gave to you, this is some kind of leechers community.
    I told them a few words already.

    EDIT: He credited now, and deleted my posts.

  3. #28
    Join Date
    Dec 2006
    Location
    SC
    Posts
    692
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Pentti View Post
    Just found your tutorial posted in here: http://rsunleash3d.smfforfree3.com/i...topic,4.0.html
    No even credits gave to you, this is some kind of leechers community.
    I told them a few words already.

    EDIT: He credited now, and deleted my posts.
    Thanks, I'll check it out.

  4. #29
    Join Date
    Oct 2007
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)
    Wow, thanks for all the info, this has really helped

    Good Job

  5. #30
    Join Date
    Aug 2007
    Location
    Georgia, U.S.
    Posts
    890
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thanks, this script helped alot.

  6. #31
    Join Date
    Oct 2006
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    man, this is an awsum guide, i wish more pplz could make more in-depth/practical guides about scar, i was going to give up but now ive seen this im gonna keep trying. thnx heaps :P
    Another post by your freindly scar-scripter wannabe nibblit :P

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

    Default

    Thank you. Your tut helped me,I needed the if,then,else.
    I am making my very first script finally, and I want it to be good can you tell me if this is an "okay" procedure,it's part of my script (AutoWCer)Got it made thanks to you:

    SCAR Code:
    Procedure DropandCount;

    Var
     LogLoadsCut : Integer;

    Const
     LogLoadsToCut := 10;
    Begin
      Begin
       If InvFull then
          Begin
            WriteLn('Your Inventory is full.');
            DropAll;
             While(DropAll) do
              Begin
               WriteLn('Dropping logs and find Randoms.');
               FindRandoms;
              end;
           end else
             WriteLn('Still not full.');
             ChopTrees;
      end;
      If InvEmpty then
         Begin
           WriteLn('All logs dropped.');
           LogLoadsCut:=LogLoadsToCut - 1;''Hope I did this part right....
           WriteLn('You have' + IntToStr(LogLoadsCut)+'loads cut.')  
         End;
    End;

    Did I do it right? Hopefully I did;I really want my very first script a masterpiece.

  8. #33
    Join Date
    Aug 2007
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Great tutorial, this is a very well written guide.

  9. #34
    Join Date
    Dec 2006
    Location
    SC
    Posts
    692
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)
    Quote Originally Posted by red1 View Post
    Thank you. Your tut helped me,I needed the if,then,else.
    I am making my very first script finally, and I want it to be good can you tell
    me if this is an "okay" procedure,it's part of my script (AutoWCer)Got it made thanks to you:
    I only see a few mistakes. Good job.

    SCAR Code:
    procedure DropandCount;

    Var
     LogLoadsCut : Integer;

    Const  //Have this const at the beginning of the script (can't have it here)
     LogLoadsToCut = 10; //consts use = not :=

    Begin
      Begin
       If InvFull then
          Begin
            WriteLn('Your Inventory is full.');
            DropAll;
            //You can't integrate DropAll and while; just make it do that stuff after it drops
              Begin
               WriteLn('Dropping logs and find Randoms.');
               FindRandoms;
              end;
           end else
             WriteLn('Still not full.');
             ChopTrees;
      end;
      If InvEmpty then
         Begin
           WriteLn('All logs dropped.');
           LogLoadsCut := LogLoadsCut - 1;//Hope I did this part right.... - use // for comments; I also fixed the counter for you
    //You want it to count down one after each time subtracted
    //Yours just always subtracts 1 from 10 so it's always nine
           WriteLn('You have' + IntToStr(LogLoadsCut)+' loads cut.')  
         End;
    End;


    Also, because you want to tell Scar what LogLoadsCut is before you subtract from it each time the procedure goes through, you have to do it at the beginning of the script (out of the forever loop, though; just put it before you write the stuff that it will do over and over). To do that, just add this line to the beginning of your script (once again, place it before any repeats).

    LogLoadsCut := LogLoadsToCut;

    Of course, there are less confusing ways to do this, but I just built off of yours. It's pretty much all just straight-forward math . Hope it's not too confusing. Overall, great job.

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

    Default

    Oh ok,thank you.

    You are such good help.

  11. #36
    Join Date
    Mar 2007
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hands down the best

  12. #37
    Join Date
    Oct 2007
    Location
    United States
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    TuT = \/\/icked....... /\/ice \/\/ork /\/\an..... lolz

    /\/\ust have took a |_ ongggggggg time to /\/\ake huh?

    Unmatched BG + Unmatched BG (Hands on) = Noob to Pro tranformation.... >_>
    OR

    Both your tuts change noobs into pros =P

  13. #38
    Join Date
    Dec 2007
    Posts
    56
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  14. #39
    Join Date
    Nov 2007
    Location
    New Zealand
    Posts
    18
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks heaps man! This guide has sent me well on my way on my first script
    Awesome guide to learn from - everything made sense!

  15. #40
    Join Date
    Jun 2007
    Location
    ENGLAND
    Posts
    220
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Ashur2Good View Post
    Thank you so much! This tut is the best i've ever seen, you explain it so clear, you're first tut if good as well( i read that one first :P)

    I highly recommend ure tuts to begginers
    I agree, v.good for NEW SCRIPTERs rep+

    Well done
    Exppo

  16. #41
    Join Date
    Aug 2008
    Posts
    30
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Niiiiice! thx for the help

  17. #42
    Join Date
    Aug 2008
    Location
    Serdia, Isla Prima
    Posts
    68
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Thanx for the hands on tut Pity I did not see it when I did your 1st one

  18. #43
    Join Date
    Sep 2008
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    amazing tutorial, im so new to scripting, im taking notes and teaching myself everyday, -
    this is the first tutorial ive been able to start with , without any prior knowledge of scripting.

  19. #44
    Join Date
    Nov 2008
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    lol thanks for this, i made a script that randomly moves the mouse around my screen :P

    Code:
    program Mouse_Random;
    begin
    repeat
    MoveMouse(random(1000),random(1000));
    until(false);
    end.

  20. #45
    Join Date
    Aug 2010
    Location
    Nicaragua
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Nice tut! now i understand like 25% more than i did before. Now when i read a complex script atleast i identify which is a function, procedure, boolean etc . congrats you are a very good teacher and tyvm!

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Unmatched Beginner's Guide to Scripting Scar
    By WhoCares357 in forum Outdated Tutorials
    Replies: 482
    Last Post: 04-08-2011, 08:11 AM
  2. Willing to PAY for hands on scripting help.
    By PlAnT in forum News and General
    Replies: 23
    Last Post: 03-11-2009, 11:53 PM
  3. All In One Beginner's Guide To Scar Scripting
    By xaviar in forum Outdated Tutorials
    Replies: 4
    Last Post: 07-05-2008, 10:11 AM
  4. Best scripting guide?
    By Conman3030 in forum OSR Help
    Replies: 5
    Last Post: 11-30-2007, 11:07 PM
  5. Guide to Scripting(If you are totally new at it)
    By WhiteShadow in forum Outdated Tutorials
    Replies: 6
    Last Post: 06-01-2006, 04:02 AM

Posting Permissions

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