Results 1 to 9 of 9

Thread: Tree killer

  1. #1
    Join Date
    Aug 2007
    Posts
    113
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Tree killer

    This is my frist script, so please post proggies an such.

    fill out tree color

    fill out login information

    if anyone has any suggestions or anything to make this better please post

    can use for any tree as long as you pick the color

    has anti randoms that should work

    EDIT: version 2 is MUCH better, but any bugs or suggestions would be kindly appreaciated
    Special thanks to RogerUK, hairy duncan2, and King of Knives for helping me with getting the script running.

  2. #2
    Join Date
    Jul 2007
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hey I'm about to download this right now to see if it works. I will post a proggy or if I have some problems when I try it out.

    EDIT: Ok I have no idea what this error means but when I try to start the script I get this error
    Line 32: [Error] (14727:14): Unknown identifier 'x' in script C:\DOCUME~1\MATTPR~1\LOCALS~1\Temp\TreeKiller.scar

    Can someone please tell me what I need to do to fix this?

  3. #3
    Join Date
    Feb 2007
    Location
    Switzerland
    Posts
    583
    Mentioned
    1 Post(s)
    Quoted
    50 Post(s)

    Default

    you must declare the vars in the script.

    ...
    ...
    ...

    vars

    x, y , etc: Integer;

    const..
    ...
    ...


    or so

  4. #4
    Join Date
    Mar 2007
    Location
    Netherlands->Amersfoort.
    Posts
    1,615
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    he hasn't declare the vars x and y. but after adding that i got some other errors. have made this with srl 4.0+ ?

  5. #5
    Join Date
    Aug 2007
    Posts
    113
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    hey, yeah sorry about that im trying to fix it right now, and also going to add more stuff to it :S

    P.S. yeah thats the problem, didn't make it with SRL 4.0

  6. #6
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    As it is your first script, I cannot complain, but I'll give some constructive critisism.

    a) You need failsafes in your tree cutting, you cannot do "Until(InvFull)" because it is very un-usual that one single tree will last for 27 logs.

    b) Also, your script would just click the tree like crazy, the tree doesnt fall down in one second dude.


    Anyways, its a good beginning of your scripting path

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

    Default

    Here, fixed for SRL 4. It is not very good though, but ok for a first script


    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!

  8. #8
    Join Date
    Aug 2007
    Posts
    113
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks for all the suggestions guys i really appreciate it! I am currently working on an updated version which should be out in a day or two

  9. #9
    Join Date
    Jul 2007
    Posts
    29
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    hmm runs ok but theres bugs i end up in weird places sometimes but good 4 a first script overall good job

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Finding a tree
    By hamish909 in forum OSR Help
    Replies: 8
    Last Post: 05-06-2008, 07:52 PM
  2. tree
    By john_cenarules99 in forum RS3 Outdated / Broken Scripts
    Replies: 8
    Last Post: 05-02-2007, 01:04 AM
  3. Tree Sp4nker 2.0!
    By wtf i sp4nk in forum RS3 Outdated / Broken Scripts
    Replies: 7
    Last Post: 12-22-2006, 07:08 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
  •