Results 1 to 5 of 5

Thread: My WoodCutter.

  1. #1
    Join Date
    Jun 2009
    Location
    New Jersey
    Posts
    154
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default My WoodCutter.

    I am making a simple woodcutting script to get into scripting. I have a pretty nice function to find the tree and click on it, but I want to make a function that finds if the tree is gone so the script doesn't go on to the next tree right away.

    I just cant figure it out. Help would be greatly appreciated. =]
    Take a look at a new OpenDepositBox here.

  2. #2
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    You can either have the mouse on the tree the entire time and check the uptext, or save where the tree was found and check the color periodically, or if it is a tree that only provides one log (such as normal trees), you can count your inventory items and check for a change. If you need further help, don't hesitate to add me on MSN .
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  3. #3
    Join Date
    Sep 2008
    Location
    My House
    Posts
    519
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yes listen to Sex and add him to MSN he has helped me many times over. Also you could use some of the newer fuctions like OBJ finding and stuff like that. What I do is look at how other script do it. Try looking at some in the Public scripts and if your really desperate look at MSI's procedures.
    Still learning to code in Simba.

  4. #4
    Join Date
    May 2007
    Location
    UK
    Posts
    4,007
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Default

    Or check for animation.

  5. #5
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by The Man View Post
    Or check for animation.
    Ah, yes, there are a number of "new-school" ways you can do it as well .
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

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
  •