Results 1 to 23 of 23

Thread: Clean Script.

  1. #1
    Join Date
    Jul 2007
    Location
    Australia
    Posts
    320
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Clean Script.

    I am wondering if anyone has a script that is for woodcutting (or anything simple) but its like totally clean and empty so its easy to learn from and edit.

    I believe you learn a lot from editing things and thats what I want to do with a simple script.

    Thanks.


  2. #2
    Join Date
    May 2006
    Location
    Helsinki, Finland (capital)
    Posts
    269
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    What do you mean by clean? I think you learn most from making completely own script, because then you have to read what every function does and how it is used.

    I'd suggest you to start making your own script, but that is just my opinion.

  3. #3
    Join Date
    Jul 2007
    Location
    Australia
    Posts
    320
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I mean as in a simple script that just cuts logs and drops (or something) and is very easy to understand by the way its made.

    I think you learn most from making completely own script

    True for some, but for me I seem to learn a lot better by going over other peoples work when it is put simply.


  4. #4
    Join Date
    Apr 2007
    Location
    UK
    Posts
    2,295
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Goto the tutorial island.

    Rogeruk's Al-Kharid Tanner V1.1 [Released]
    Rogeruk's Barbarian Crafter [Coming Soon]
    Rogeruk's Guild Fisher [Coming Soon]
    !! - Taking Requests - !!

  5. #5
    Join Date
    Jul 2007
    Location
    Australia
    Posts
    320
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I have looked there but I learn better when I see what things are and what they do and can edit them and if I get errors I figure how to fix em myself..


  6. #6
    Join Date
    Apr 2007
    Location
    UK
    Posts
    2,295
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Then look at the scripts in the Free for All section.

    Rogeruk's Al-Kharid Tanner V1.1 [Released]
    Rogeruk's Barbarian Crafter [Coming Soon]
    Rogeruk's Guild Fisher [Coming Soon]
    !! - Taking Requests - !!

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

    Default

    Quote Originally Posted by awesom View Post
    I think you learn most from making completely own script
    I totally agree with that! I have needed tutorials nowhere (no offense to tutorial makers. Tutorials of course help most of people to get started).

    If you know some simple SCAR functions (mouse, colors, finding objects) and how to use them, then just go and start making your script, one function after one, like make woodcutting part, then dropping part and maybe then progress report etc. when one function works, then start making new function. And then just add new stuff etc, and you have a good script there.

    EDIT:
    Any help of this? Made it very fast.
    SCAR Code:
    {.include SRL/SRL.scar}

    const
      TreeColor = 00000; //CTRL + P to pick color

    Function FindTree: Boolean;
    begin
      if FindObj(x, y, 'Chop', TreeColor, 30) then  //Find tree
      Result := True;
    end;

    Procedure CutTree;
    begin
      GetMousePos(x, y);
      Mouse(x, y, 5, 5, True);          //Click on tree
    end;

    Procedure DropThem;
    begin
      DropTo(2, 28);                    //Drops from inventory slot 2 to 28
    end;

    begin
      SetUpSRL;
      repeat
        repeat
          if FindTree then
          CutTree
        until InvFull      //Cuts tree until inventory is full.
        DropThem;
      until False;
    end.

  8. #8
    Join Date
    Apr 2007
    Location
    UK
    Posts
    2,295
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Pentti View Post
    I totally agree with that! I have needed tutorials nowhere (no offense to tutorial makers. Tutorials of course help most of people to get started).

    If you know some simple SCAR functions (mouse, colors, finding objects) and how to use them, then just go and start making your script, one function after one, like make woodcutting part, then dropping part and maybe then progress report etc. when one function works, then start making new function. And then just add new stuff etc, and you have a good script there.

    EDIT:
    Any help of this? Made it very fast.
    SCAR Code:
    {.include SRL/SRL.scar}

    const
      TreeColor = 00000; //CTRL + P to pick color

    Function FindTree: Boolean;
    begin
      if FindObj(x, y, 'Chop', TreeColor, 30) then  //Find tree
      Result := True;
    end;

    Procedure CutTree;
    begin
      GetMousePos(x, y);
      Mouse(x, y, 5, 5, True);          //Click on tree
    end;

    Procedure DropThem;
    begin
      DropTo(2, 28);                    //Drops from inventory slot 2 to 28
    end;

    begin
      SetUpSRL;
      repeat
        repeat
          if FindTree then
          CutTree
        until InvFull      //Cuts tree until inventory is full.
        DropThem;
      until False;
    end.
    Exactly, start from the base.. work up, each time it works add to it. Make it click a tree, make it check if the tree is an oak, check for ent etc

    Rogeruk's Al-Kharid Tanner V1.1 [Released]
    Rogeruk's Barbarian Crafter [Coming Soon]
    Rogeruk's Guild Fisher [Coming Soon]
    !! - Taking Requests - !!

  9. #9
    Join Date
    Jul 2007
    Location
    Australia
    Posts
    320
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks guys, you've given me some good ideas.

    If you know some simple SCAR functions
    I don't know many but the script you posted is exactly the sort of thing I was looking for like a completed one but that will help thanks.


  10. #10
    Join Date
    Oct 2007
    Posts
    106
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Eicca u said the best way to learn is making self 1, but where can i find all the tags or codes n what they do? so that i can read the codes n try to put 1 together ?..

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

    Default

    Quote Originally Posted by awesom View Post
    Thanks guys, you've given me some good ideas.



    I don't know many but the script you posted is exactly the sort of thing I was looking for like a completed one but that will help thanks.
    Thats nice to hear.
    Btw, if you test it on RuneScape now, and it cuts tree.. You will see it keeps clicking on the same tree all the time.
    Do you know how to fix that?

  12. #12
    Join Date
    Jul 2007
    Location
    Australia
    Posts
    320
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    No idea :P have not tested it either just looked at the code but I plan on studying it hard tomorrow


  13. #13
    Join Date
    Oct 2007
    Posts
    106
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Eicca u said the best way to learn is making self 1, but where can i find all the tags or codes n what they do? so that i can read the codes n try to put 1 together ?.. Can some1 anwser ?

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

    Default

    Quote Originally Posted by s33 teh pain View Post
    Eicca u said the best way to learn is making self 1, but where can i find all the tags or codes n what they do? so that i can read the codes n try to put 1 together ?.. Can some1 anwser ?
    You already asked a few minutes ago, dont spam. Alright?
    And you can use your own brains to understand what like command "ClickMouse(50,50,True" do.
    Also, SCAR manual: Open SCAR -> Press F1
    SRL functions are explained on SRL manual.

  15. #15
    Join Date
    Oct 2007
    Posts
    106
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yeai know but i thought, if there are newer posts they wont read mine (A) so i dont know if people were still watching every post from this topic or just the newest

  16. #16
    Join Date
    Jul 2007
    Location
    Australia
    Posts
    320
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Usually people read all the posts... And people are probably less likely to answer you since you hijacked my topic a little maybe make your own ?


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

    Default

    Quote Originally Posted by s33 teh pain View Post
    yeai know but i thought, if there are newer posts they wont read mine (A) so i dont know if people were still watching every post from this topic or just the newest
    Btw, i answered to your post.
    And what kind of forum would this be if everyone think same way like you?

  18. #18
    Join Date
    Oct 2007
    Posts
    106
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    why hijacked.. u wanted to learn how to script.. same here so just asked a question on howto learn it ( where cna i find codes for scar n what they do )
    that is something like ur question i think.. but anyway thx for trying to help..

  19. #19
    Join Date
    Jul 2007
    Location
    Australia
    Posts
    320
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yeah I know but maybe people will see my question and answer it and not think of yours because they are trying to answer mine :P


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

    Default

    Quote Originally Posted by s33 teh pain View Post
    why hijacked.. u wanted to learn how to script.. same here so just asked a question on howto learn it ( where cna i find codes for scar n what they do )
    that is something like ur question i think.. but anyway thx for trying to help..
    Hehe...
    * awesom got he's SCAR script template.
    * s33 teh pain, you got told where to find the function/procedure list and what they do.

    No one lose nothing. ..Except me, I lose my useless time.

  21. #21
    Join Date
    Jul 2007
    Location
    Australia
    Posts
    320
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well your useless time got me started with something I can work with

    I'm wasting my time right now.. I should have my Woodcutter running and be in bed lol.


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

    Default

    Quote Originally Posted by awesom View Post
    Well your useless time got me started with something I can work with

    I'm wasting my time right now.. I should have my Woodcutter running and be in bed lol.
    Well, now go sleep, and then tomorrow start scripting. You get noting done if its late and you are tired, dont even try it or you will get angry and then you wont get sleep and then everyhing is fucked up etc...

  23. #23
    Join Date
    Jul 2007
    Location
    Australia
    Posts
    320
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hahaha yeah I know man thats why I have not tested or anything yet but I am totally doing it all tomorrow but I fully am going to bed as soon as this download is finished....


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Keep Your PC Clean!
    By perrz in forum Computer Help and Tutorials
    Replies: 10
    Last Post: 06-01-2011, 07:02 PM
  2. Clean out old, outdated scripts?
    By XxsomethingxX in forum News and General
    Replies: 1
    Last Post: 08-04-2008, 02:43 AM
  3. IDEA: Forum Clean-up
    By Avaphi in forum News and General
    Replies: 15
    Last Post: 05-14-2006, 02:06 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
  •