Results 1 to 11 of 11

Thread: Lumber Jack v1.0

  1. #1
    Join Date
    Mar 2008
    Posts
    38
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Lumber Jack v1.0

    This script will chop any type of tree based on the woodcutting skill level of the player. Once the inventory is full, it will drop all the items specified from your inventory. I have a "To Do" list in the source so any feedback on how to accomplish some of those tasks would be great.

    There are two source files:
    LumberJack 1.0.scar (my main script)
    NewSRLCode.scar (new methods that would belong in the SRL library)

    As this is my first script ever, I know there will be many things that could
    be done better and even more things that just need to be done but you have to start somewhere. Also it should be noted that I have not played the actual game myself very much either. My son plays all the time and it is because of him that I decided to write some scripts. For me it is more fun writing scripts to play for me than it is playing the game itsself.

    Since I realize there will be other noobs like myself reading this post
    I sort of feel the need to explain what to expect from scripts like this
    that you download and why they may not always work out-of-the-box for you. I tried to make the code readable with lots of comments for the noobs.

    When I began writing this script and testing, things happened in the
    game that I didn't expect to happen, or at least I didn't take the time to think
    about how to handle that situation. As I encountered these situation I would
    modify my script to handle that situation. So if you download a script and it
    does not work perfectly for you then please realize that your game character
    may be in a situation that the author had not encountered or thought about.
    With that in mind please use this script freely and give me feedback both good and bad as you see fit.

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

    Default

    its very simple.

    if you made the findanytree procedure why not just put it in your scrip?
    ps: hy check your pm's

  3. #3
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    ps: hy check your pm's
    Quite random to mention me in a thread not by me... thanks anyways


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

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

    Default

    i knew that you were looking at iSpy so i just posted it here so that you could see.

  5. #5
    Join Date
    Jan 2008
    Posts
    33
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    hi, iam getting this error, when compiling the script: Failed when compiling
    Line 57: [Error] (8924:24): Type mismatch in script C:\Program Files\SCAR 3.14\includes\SRL/SRL/Core/AntiRandoms/EvilBob.scar

    edit: thanks skilld u. Well its working. It first chopped down 6 trees, than, after there were no more trees, it waited, moved the camera, when the trees "respawned" it right clicked am and choose "examine". and didnt stop examing everything.

  6. #6
    Join Date
    Mar 2008
    Posts
    38
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    make sure you have the LumberJack tab selected before you compile. Other than that I can't find anything that would make it not compile. Just note the version I am running which I documented in the code.

  7. #7
    Join Date
    Mar 2008
    Posts
    38
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    skilld u,
    well honestly because I am thinking more long range. On one hand I realize I am a noob at this and for that maybe I should have. But on the other hand I have been coding in this langage for over 15 years so I am hoping as I get more experience with the game and the SRL library that I may be able to contribute to the SRL library so other noobs don't have to write the same stuff that I am learning.

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

    Default

    thats an error with SRL, not his script. make sure that you have newest SRL and SCAR

    edit: don't double post.

  9. #9
    Join Date
    Dec 2006
    Location
    Program TEXAS home of AUTOERS
    Posts
    7,934
    Mentioned
    26 Post(s)
    Quoted
    237 Post(s)

    Default

    this name is already taken from JAD script

  10. #10
    Join Date
    Nov 2007
    Location
    USA/Arizona
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Simple, but OK for a first script.

  11. #11
    Join Date
    Dec 2007
    Location
    192.168.1.73
    Posts
    2,439
    Mentioned
    6 Post(s)
    Quoted
    119 Post(s)

    Default

    Quote Originally Posted by Runite View Post
    Simple, but OK for a first script.
    Your saying that for loads of threads on here... what scripts have you actually made?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Simply Lumber by Timothegreat
    By Timothegreat in forum RS3 Outdated / Broken Scripts
    Replies: 14
    Last Post: 03-23-2008, 04:09 AM
  2. OMG its Kangaroo Jack!
    By Czepa in forum Semi Stupid Pictures
    Replies: 23
    Last Post: 10-11-2007, 02:12 AM
  3. Varrock lumber jack cutter..
    By Paci in forum RS3 Outdated / Broken Scripts
    Replies: 2
    Last Post: 08-05-2007, 09:56 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
  •