Page 8 of 20 FirstFirst ... 67891018 ... LastLast
Results 176 to 200 of 483

Thread: Unmatched Beginner's Guide to Scripting Scar

  1. #176
    Join Date
    Aug 2007
    Posts
    115
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    This tutorial helped me a lot! I recommend it to every beginner

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

    Default

    hey just a thanx this tut has helped me with my scripts alot be posting my first script soon ya

  3. #178
    Join Date
    Aug 2007
    Posts
    46
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i had almost given up. i have read so many tutorials but this one really clarified things. i wonder why this isn't stickied (or is it and I have completely missed it?). I managed to write a simple tree-finder and cutter.

    now to work on a loop.

  4. #179
    Join Date
    May 2007
    Posts
    18
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    very nice tutorial im now working on my first script

  5. #180
    Join Date
    May 2007
    Location
    Lithuania
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks for the guilde now i can start scripting my own script ;}

  6. #181
    Join Date
    Aug 2007
    Posts
    24
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    amazingly detailed.. gr8 job.. such in depth tutorial tht makes it seem like scripting is a piece of cake

  7. #182
    Join Date
    May 2007
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default cheers

    that rly helped ^^

  8. #183
    Join Date
    May 2006
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Amazing tutorial, I'm learning a lot from it.

  9. #184
    Join Date
    Jan 2007
    Posts
    31
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks so much man this is going to help me out alot.
    Korn

  10. #185
    Join Date
    Sep 2007
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Click on tools and picture to string

    Not Script

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

    Default

    Hey, can anyone help me out with antiban ?
    I need it for my power cutter .

  12. #187
    Join Date
    Jun 2006
    Location
    Australia
    Posts
    435
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i have not yet read the whole guide... im planing to start writing scripts in the future when i have more time, just a quick question about scar.. when you write a procedure for example:
    SCAR Code:
    procedure CheckVersion;
    begin if version=<3 then
     begin Writeln('Version is out of date')
     end;
    end;
    // rest of script

    does that get stored in the memory of scar and therefore means that whilst the script is running and it ever encounters a Version less than 3 it will say that its outdated and then end?
    SCAR Code:
    procedure CheckVersion;
    begin if version=<3 then
     begin Writeln('Version is out of date')
    end;
    // rest of script

    then this means that when it encounters a Version less than three it will write the message but continue the script?

    if im right ill be so happy

    oh and also.. did i write all that correctly?
    Part of the Scar/SRL community since may 05'

  13. #188
    Join Date
    Apr 2007
    Posts
    18
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    awesomei readed it carefully and learnt something at all.Wish a day i'll make a script..thanx

  14. #189
    Join Date
    Sep 2006
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    this tut ownz

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

    Default

    Quote Originally Posted by Czepa View Post
    i have not yet read the whole guide... im planing to start writing scripts in the future when i have more time, just a quick question about scar.. when you write a procedure for example:
    SCAR Code:
    procedure CheckVersion;
    begin if version=<3 then
     begin Writeln('Version is out of date')
     end;
    end;
    // rest of script

    does that get stored in the memory of scar and therefore means that whilst the script is running and it ever encounters a Version less than 3 it will say that its outdated and then end?
    SCAR Code:
    procedure CheckVersion;
    begin if version=<3 then
     begin Writeln('Version is out of date')
    end;
    // rest of script

    then this means that when it encounters a Version less than three it will write the message but continue the script?

    if im right ill be so happy

    oh and also.. did i write all that correctly?
    More like this:
    SCAR Code:
    var
      version: Integer;

    procedure CheckVersion;
    begin
      if version < 3 then
        WriteLn('You have the wrong version.');
    end;

    begin
      version := 3;
      CheckVersion;
    end.

    Hope that helps.

  16. #191
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    (* And *) is Comment to..

    Example:
    Copy/Paste this into scar.
    SCAR Code:
    program New;
    begin
      //Comment.
      {Comment.}
      (*Comment.*)
    end.

  17. #192
    Join Date
    Sep 2007
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    This tut has been an awesome help! however i am rather stuck at one point in the middle. (as you will probably notice i have never done anything like this before so my terminalogy may be a tad askew) I am stuck at the Bitmap section of the tutorial. I was able to do steps 1-8, but i have no idea how or what to load as the Bitmap! for example:

    SCAR Code:
    program BitmapExample2;
     
    var
    Fish: Integer;
     
    begin
      Fish := BitmapFromString(8, 11, 'z78DA33302007B801C16015C7C5A6A' +
           '77A62F4E252894CD21F0000D64369E1');
    end.

    where the heck did you get:
    "Fish := BitmapFromString(8, 11, 'z78DA33302007B801C16015C7C5A6A' +
    '77A62F4E252894CD21F0000D64369E1');"???

    i tried many times to use the script i got on step 7, in different ways, but none of them worked. i'd love your help on this! (hope you understand my problem) anyway, i'll be posting more later,
    cya later
    Juitar

  18. #193
    Join Date
    Jan 2007
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    O rly nice guid thanks

  19. #194
    Join Date
    Oct 2006
    Location
    Netherlands
    Posts
    3,285
    Mentioned
    105 Post(s)
    Quoted
    494 Post(s)

    Default

    Quote Originally Posted by Juitar1 View Post
    This tut has been an awesome help! however i am rather stuck at one point in the middle. (as you will probably notice i have never done anything like this before so my terminalogy may be a tad askew) I am stuck at the Bitmap section of the tutorial. I was able to do steps 1-8, but i have no idea how or what to load as the Bitmap! for example:

    SCAR Code:
    program BitmapExample2;
     
    var
    Fish: Integer;
     
    begin
      Fish := BitmapFromString(8, 11, 'z78DA33302007B801C16015C7C5A6A' +
           '77A62F4E252894CD21F0000D64369E1');
    end.

    where the heck did you get:
    "Fish := BitmapFromString(8, 11, 'z78DA33302007B801C16015C7C5A6A' +
    '77A62F4E252894CD21F0000D64369E1');"???

    i tried many times to use the script i got on step 7, in different ways, but none of them worked. i'd love your help on this! (hope you understand my problem) anyway, i'll be posting more later,
    cya later
    Juitar
    I think you have to search a item of runescape on the internet... like a tuna... than translate that to bitmap and place it in your script..

    now you can let your mouse search for a image(bitmap) instead of a colour.

    plz check if what I said is right because I'm not sure about it...

    anyway: the best tutorial of "the srl-forum" !!!!

    masterBB

  20. #195
    Join Date
    Sep 2007
    Posts
    41
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hi, really great thread, just wanted to say that for loading a bitmap, you said to click on script>>picture to string>>....
    and on my version of SCAR (3.6), the picture to string command is under tools>>scripts. appart from that, awsome thread, with it i created my first oak chopper autoer, and I just heard of this programm 3 days ago, and not leached a single script.

  21. #196
    Join Date
    Sep 2007
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by masterBB View Post
    I think you have to search a item of runescape on the internet... like a tuna... than translate that to bitmap and place it in your script..

    now you can let your mouse search for a image(bitmap) instead of a colour.

    plz check if what I said is right because I'm not sure about it...

    masterBB
    yeah, i have the bitmap from runescape, and convert it to a string...but the "string" shows up in the debug box, as a 5,000 number/letter answer. i have no idea what part of this answer to put in the script. that's where i need help. anyway, thanks again.
    Juitar

  22. #197
    Join Date
    Sep 2007
    Location
    Greece
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Awasome

    Dude This Helped Like Hell . It Is So Wonderfully Writen And Detailed Only 1 Typo On The Whole Text This Is Just The Neatest Text,TuT And Post I Have Ever Seen.

    P.S.:Examples Helped Alot

  23. #198
    Join Date
    Sep 2007
    Posts
    50
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Tysm!!!

  24. #199
    Join Date
    Sep 2007
    Posts
    36
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    woah i get it now ! this is soo helpful ( must have taken u ages to write this tut )

    Qasim

  25. #200
    Join Date
    Oct 2006
    Location
    Netherlands
    Posts
    3,285
    Mentioned
    105 Post(s)
    Quoted
    494 Post(s)

    Default

    can anyone post me a good working bitmap image from a bone in the chaos temple??

    I really need it..

    good tut anyway

Page 8 of 20 FirstFirst ... 67891018 ... LastLast

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 (Hands On)
    By WhoCares357 in forum Outdated Tutorials
    Replies: 44
    Last Post: 09-02-2010, 09:39 PM
  2. UnRivaled Guide To Scripting
    By pwnaz0r in forum OSR Intermediate Scripting Tutorials
    Replies: 119
    Last Post: 11-08-2008, 11:00 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
  •