Page 4 of 4 FirstFirst ... 234
Results 76 to 96 of 96

Thread: A brief tutorial on scar.

  1. #76
    Join Date
    Dec 2008
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks you so much for this easy to read tutorial I just started to script and you make it sooo much easier.

  2. #77
    Join Date
    Dec 2008
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Good job

  3. #78
    Join Date
    Feb 2007
    Posts
    433
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by xabdullahx View Post
    Arrggh

    still not working, plz correct this:

    SCAR Code:
    program tinderbox;
    {.include SRL/SRL.Scar}
    begin
    procedure TinderboxExample;
    var
    x,y : integer;
      Tinderbox : Integer;
    begin
      Tinderbox := BitmapFromString(33, 35, 'beNrtVltvEkEYnUWELWJ' +
           'CDPJs+mR8aNCkMcYLs7gV2kBZENptU+zMAsIGKbctUkSyIWjVqA/G' +
           'H+zZTqX4oOHSPpgwOSHLZc6Z73yXgZDlWq4Zl3SGK1z02ZOYGk0lt' +
           'y6RE4T0lp+GgjGVblCa0zQtmoiqdEEr8ns7u9l0LpOieqbI8q8Lhw' +
           'AeGNXxOUKA7iL8xqt9AJzVcqFWKdXflPEAQCKva0JCVSLzsdfMksl' +
           '568i0GlWg06q1DBNvzRIHP3T1dBahzScBQlCBs2vxfrc96B3jtWvV' +
           'K0UnBEQE/sMDPZPVMqnEWa5nLaqmTCzbTWwPsW0yHJwQq2w1cPKCW' +
           'eQiBbAIClGqzFe0Q9fJ19Php9FgZL8j3eNep+lYdGTCN8YVPXnjIO' +
           '3nOX9p7yZ0YdocUdikLfhx/l7rgh8Wbas+4OWmTwiRbhvfQiWxFZt' +
           'JwtVrCn6koNsoIC+oonhkxYFb/kNFI/3fKrMWqt1/C2A7DcvPH5/j' +
           'XCWycqGiyLARZQAoTvdNaxdjPIoWdhPi86yHvdJ9MlahE0KIiBJZ2' +
           '/Q1GrzTKhESDN0OTj3WqjgVOjp8zxO+43m67hUYC01GBIhMrcqu6S' +
           'UCLscobERbQeVh2Ps3FfrA4RedshrwTW9UMHANRYt0Yy+RXZAYq0y' +
           'ahiyjU/Ab9CBC9l0ns0hIP79/Rt066aaqCGQyFhQYnESlFdkG2hz8' +
           '+7vZORrQtqWR7SKMVxg3jHSRJY3tOKPUapiGwVmRow0pje9o8ZyDF' +
           '/PNWKd07Z5oENHjcMaZjSUO8zGdGFOQiwUuPgluyB7ycfhe9AgkWI' +
           'XDfJBjhsOfxW/VH99OA0QSF4SYrqoSwqy43GsUh/zywcY8cYaJVad' +
           'rd6/6z8ByLde/l/Jo7b+P4RdywhvG');
      if(FindBitmap(x, y, Tinderbox))then   // if found... -.-
      begin
      SetupSRL;
         Mouse(x, y, 1, 1, true);
      end;
      freebitmap(Tinderbox); // Always remember to do so.
    end;
      end.

    Btw. Error says:
    SCAR Code:
    Line 4: [Error] (16210:1): Identifier expected in script
    your begin is before the procedure starts.. >.>

  4. #79
    Join Date
    Dec 2008
    Location
    Flow-Ridaa
    Posts
    43
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by reflux View Post
    Thanks this really helped me alot to figure out how to start makin scripts.
    me too! i cant wait till i get moar RAM to be able to run another virtual machine on mah PC :P
    Current Project:
    Reflection Rune Mysteries quester.
    [10%]

    [INSERT HAWT SIG HERE]

  5. #80
    Join Date
    Jan 2009
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hopefully this will help me out when I'm writing my first script. I plan on reading and re-reading this until this all comes to me like sp3akln En6l1shh

    Very in-depth and explains pretty much everything you will need to know. Thanks for this

  6. #81
    Join Date
    Jan 2008
    Location
    California
    Posts
    88
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Very nice and helpful. I just read it all the way through and followed along through most of it with scar. Radial walking makes sense to me now! Some parts were a bit vague... but its my own fault for still being a noob and not knowing exactly what everything is. This definitely helped though. I'm bookmarking and re-reading after I learn more from other tuts. You must've worked very hard on this. TYVM!!!

  7. #82
    Join Date
    Aug 2008
    Posts
    55
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    still a little troubled by the TPA, but I guess that's why i'm a junior. Other than that an amazing job.

  8. #83
    Join Date
    Oct 2007
    Posts
    41
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    not so brief but AMAZING! Thanx a lot
    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.

  9. #84
    Join Date
    Jan 2009
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Wow thank you. This is helpful. Im trying to make a script that kills ogres for training range. So this will help lots

  10. #85
    Join Date
    Feb 2009
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Singa View Post
    You call that guide brief? Lol. Very nice though. I like the gfx and sarcasm.
    Gonna keep that guide in mind.
    Well it isn't in depth either.
    The way this programming works reminds me of Delphi. Not kidding.

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

    Default

    thx man, ill try to make a auto fisher for myself =]

  12. #87
    Join Date
    Dec 2008
    Location
    In a galaxy far, far away...
    Posts
    584
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    wohh!! this guide is too amazing :P im still reading though since im trying all your steps and playing with it xP but +rep! amazing tut!!

  13. #88
    Join Date
    Feb 2009
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Wow. Way long and lots of pictures. How long did it take? But excellent!

  14. #89
    Join Date
    Mar 2009
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ....... huh??????? i think ill stay leeching.... lol

  15. #90
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    I'm learning to script now, and this is very useful. Thanks.

  16. #91
    Join Date
    May 2008
    Location
    ;)
    Posts
    576
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by thaicoures3 View Post
    Well it isn't in depth either.
    The way this programming works reminds me of Delphi. Not kidding.
    im pretty sure it was made in delphi......... lol

    ANYWAY...

    i was working on a script (which im hoping will be done in a 2 weeks )
    and i was adding multiplayer...

    Code:
    Procedure DeclarePlayers;
    
      Begin
         NumberOfPlayers(1);
         CurrentPlayer := 0
    
         Players[0].Name :='******';
         Players[0].Pass :='******';
         Players[0].Nick :='***';
         Players[0].Active:=True;
      End;
    and then later on in the script...
    Code:
    begin
    SetupSRL;
    SetupSMART;
    ActivateClient;
         If RSReady Then
         LoginPlayer;
    end.
    When i attempt to run it, i login.scar opens up in a new tab, and in the debug box it says

    Code:
    [Runtime Error] : Out Of Range in line 325 in script
    What did i do and how do i fix it????

    thanks.

  17. #92
    Join Date
    Jul 2009
    Location
    Australia
    Posts
    667
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Great "Brief" tutorial, covers ALLOT of stuff so, thanks heaps.

    Standards huh? your standards section does not include anything on, 'do not capitalize bolded words, and camel-capping (TestScripterProgram not testscripterprogram), these 2 standards you break a fair few times in the guides' scripts.

    Also in your section under bitmaps your screenshot shown String to Picture not Picture to String (this can be a little misleading).

    Overall, it's a very, very good guide.
    Thanks!
    ~Caotom

  18. #93
    Join Date
    Jan 2009
    Location
    Belgium
    Posts
    175
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    nice tutorial, should toke a long time to make this but,
    i don't understand some parts of it, it's a little hard to understand without someone that can explane me more about it

  19. #94
    Join Date
    Aug 2009
    Posts
    35
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    wow thats alot to take in and remember awesome tut and this is going to help ALOT!!!!! of clueless ppl like me lol

  20. #95
    Join Date
    Sep 2009
    Posts
    32
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Thx pretty cool tuto

  21. #96
    Join Date
    Nov 2009
    Location
    Slovakia, you do not know huh?
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    There is a mistake in symbol walking... you have typed furance in code but it should be furnace

    Just to let you know.
    Last edited by WhiskySK; 11-15-2009 at 07:35 AM.

Page 4 of 4 FirstFirst ... 234

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. SCAR Scripting Tutorial
    By Starblaster100 in forum OSR Outdated Tutorials
    Replies: 83
    Last Post: 12-18-2011, 10:34 PM
  2. Scar/SRL Tutorial
    By pwnaz0r in forum Outdated Tutorials
    Replies: 11
    Last Post: 10-14-2007, 03:11 AM
  3. RGB.scar - The Tutorial
    By pwnaz0r in forum Outdated Tutorials
    Replies: 12
    Last Post: 08-23-2007, 04:50 PM
  4. Users.scar UsersManager.scar Tutorial!!
    By RsN in forum Outdated Tutorials
    Replies: 2
    Last Post: 04-08-2006, 08:25 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
  •