Results 1 to 5 of 5

Thread: Standards? Library documentation?

  1. #1
    Join Date
    Jun 2008
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Standards? Library documentation?

    Hey guys,

    I'm working on my first scripts, and have a few questions.

    Some people commented on scripts that "standards were bad", etc. What kind of coding standards do you recommend for scripts? Can you link a thread that talks about it?

    Is there a central documentation of the functions of the library, other than the function header comments?

    Does anyone have a template they use for new scripts that provides all the basic setup that complies with standards?

    What's the best way to read strings? What about read my health? Read hits?

    Thanks for any suggestions!

  2. #2
    Join Date
    Jan 2007
    Location
    Hamilton, New Zealand
    Posts
    177
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yep, dont double post btw.

    Ill have a look now
    <3 Delicious Loli
    15:59 [Putnam] I suck
    15:59 * ss23 pushes Putnam to his knees - Prove it.
    15:59 [Putnam] ss23, there's really no other way to stay fit in this town

  3. #3
    Join Date
    Apr 2007
    Posts
    994
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    All Functions. Go to where you installed SCAR, Includes, srl, srl.html. There you will find all srl functions. Then open up SCAR and press F1.

    Standards: http://www.villavu.com/forum/showthread.php?t=9377

    Jad's excellent tutorial has a little section on standards. Bam Bam Has one too, but it is way too complicated Imo.

    Template? When you open up SCAR, They already gave the template to you.
    [QUOTE]<GoF`> oh no its Raymooond
    <Raymooond> Heya
    <GoF`> is it ray or some other ray?
    <LeeLokHin> No idea
    <LeeLokHin> Raymond, what's the game you like the most?
    <Raymooond> Runescape
    <-- LeeLokHin has kicked Raymooond from #srl (Faker.)[/QUOTE]

  4. #4
    Join Date
    Apr 2007
    Location
    Colchester, UK
    Posts
    1,220
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i would say have a look in the SRL Wiki, that might help you, other than that just head over to the tut section, there are loads in there

  5. #5
    Join Date
    Jun 2008
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    leelokhin: Perfect! That's exactly what I was missing. Didn't see the F1 documentation and stupidly missed the srl.html. Will check standards now.

    As far as template, it seems here's a lot of common structure in the scripts here so it'd make sense not to have to copy & paste it each time. I guess it's not that much.. just player setups, and main login loops.

Thread Information

Users Browsing this Thread

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

Posting Permissions

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