Results 1 to 10 of 10

Thread: Super Chopper Delux

  1. #1
    Join Date
    Feb 2011
    Location
    Earth
    Posts
    1,784
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default Super Chopper Delux

    Super Chopper Delux


    Status: v1.2 Working AND Stable! In need of Testers!

    New In Version 1.2

    • Oak Tree Cutting!
    • Improved Player Switching
    • MORE Failsafes!
    • Fixed some errors
    • Code is somewhat more efficient


    This is my first complete script, and hopefully the first of many to come. Currently it chops willow logs at Port Sarim, Oak Trees north of Port Sarim(No crowds, 2 trees) and Regular Trees nw of draynor bank, and banks at Draynor. I decided to make this script for the 6th SRL Scripting Competition, and will continue to develop the script until the deadline for submission.

    Set-Up Instructions
    • Open script in Simba
    • Fill out DeclarePlayers procedure
    • Choose a starting location(Be very careful, valid locations are at the top of the script
    • Have axe equipped or in first inventory slot
    • Run the script and post the proggy!


    Current Features
    • Multi-Player
    • Anti-Ban
    • Anti-Randoms
    • Progress Reports
    • Reflection Walking
    • Any Axe Supported(except dragon)
    • Banking
    • Timed Breaks
    • SRL Stats
    • multiple tree types


    Future Features
    • (Possibly?) Firemaking and PowerChopping Support
    • Even more tree types and locations
    • Color Walking


    Bugs
    • Some Timing Errors
    • Sometimes Picks Up Dropped Willow Logs(not really a bad thing)
    • More To Come(With YOUR Help)


    Sample Progress Report
    Progress Report:
    [==================================================================]
    [           Super Chopper Delux by PatDuffy                        ]
    [==================================================================]
    [         Total Time Run: 7 Hours, 50 Minutes and 6 Seconds        ]
    [==================================================================]
    [ Total Number of Regular Logs Cut: 1344                           ]
    [ Total Number of Oak Logs Cut: 2100                               ]
    [ Total Number of Loads: 123                                       ]
    [ Total Number of Experience Gained: 112800                        ]
    [ BanHammer Evaded : 288                                           ]
    [==================================================================]
    [ Player 0: lind                                                   ]
    [ Loads: 75                                                        ]
    [ Oak Logs Cut: 2025                                               ]
    [ Player Active: True                                              ]
    [==================================================================]
    [ Player 1:  aey                                                   ]
    [ Loads: 48                                                        ]
    [ Regular Logs Cut: 1344                                           ]
    [ Player Active: True                                              ]
    [==================================================================]


    Credits
    • All the wonderful tutorial writers
    • The Devs who maintain SRL
    Last edited by PatDuffy; 03-15-2011 at 01:21 AM.

  2. #2
    Join Date
    Jan 2011
    Location
    Denver, CO
    Posts
    1,351
    Mentioned
    2 Post(s)
    Quoted
    72 Post(s)

    Default

    This is really nice for your first script, I like the fact that you paid attention to the scripting conventions (most first scripts look pretty messy). If you added color walking as a failsafe, this script would be stellar

  3. #3
    Join Date
    Sep 2010
    Location
    Northern Kentuckeh
    Posts
    759
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Why not bank at the deposit box by the Entrana monks? It's muuuuch closer

  4. #4
    Join Date
    Feb 2011
    Location
    Earth
    Posts
    1,784
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by doublex8 View Post
    Why not bank at the deposit box by the Entrana monks? It's muuuuch closer
    When I started the script I forgot about the deposit boxes. I think I'll add an option to bank at draynor or the boxes. Unfortunately I will be away from my computer for the weekend, so ill add it when I fix bugs and add another tree type (possibly color walking too)

  5. #5
    Join Date
    Feb 2011
    Location
    Earth
    Posts
    1,784
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    New In Version 1.1

    • Better Multiplayer Support
    • Multiplayer Progress Reports
    • Cleaner Looking Reports
    • More Failsafes
    • Faster Object Finding
    • Checks to see if already chopping
    • SRL Stats!
    • New Tree Type!(Regular)



    It's much more stable which I hope convinces more people to try it out and give me some feedback

  6. #6
    Join Date
    Nov 2007
    Posts
    326
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Looking through your code, why not check the player's location by doing a tile check instead of looking for symbols since you're using Reflection?
    I would add a boolean to see if players want to use the autotyper in AntiBan or not.
    When you begin a procedure, you can combine the lines into this:
    Simba Code:
    if (not(LoggedIn)) or SwitchPlayers then
        Exit;
    I would add a check to see if the player ever needs to rest for a bit instead of just always setting them to run.
    You can simplify your Tile walking by just putting the Tile array into WalkTile, the extra line where you label it Tile is unnecessary.
    Instead of rewriting your path backwards to run back and forth to the trees, try using InvertPath();
    Change this:
    Simba Code:
    Players[CurrentPlayer].Active := False;
    NextPlayer(True);
    to
    NextPlayer(False);

    Overall I like your script techniques, I think you'll do just fine here. Sorry if anything sounds snippy, I was just writing as I came across any issues.

    Check out my Edgeville Smelter!

  7. #7
    Join Date
    Feb 2011
    Location
    Earth
    Posts
    1,784
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    That was the type of help I needed Ipwnz. Fortunately I discovered a few of these errors myself and just didn't officially release v1.2. I could definitely do some more cleaning up in the script.

    I tried to do the InvertPath() in the new version, but I couldn't get it to work properly. The FindLocation procedure definitely needs work, just this afternoon I thought that it could misidentify a location(such as logging in lost near regular trees,wanting to chop willows) in this case I think currently it would force the player to chop regular trees.

    I hadn't thought of adding a choice to use the talking anti-bans or not, I will look into this

    Currently: Working on Defending&Attacking in my Castle-Wars Script
    Project Rebuild: 90M/170M

  8. #8
    Join Date
    Oct 2008
    Location
    /root
    Posts
    181
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Your script runs well - good constant pace and the failsafes you have seem to work well. Neat easily readable standards, good notes, etc. Reading through/running it now. One question, in the future are you planning on adding Oak log support? Running my army with this right now. I'll let you know how it goes after the script ends! (:

    Edit: Found a minor issue you may interpret; When the player has a full inventory the script won't detect it until it attempts to chop another tree and the inventory is full message appears. It's not really a big issue, only time it really made a difference was when all the trees were chopped and were on wait to respawn, the player had some downtime while the script was searching for trees.

    Edit2: My friend stopped the script and didn't save the proggy ): I used my SRL-Stats account on the script though, if it's any consolation. - Script also got my characters 31+ wc

    -Still running my army (:
    Last edited by 1337w33d; 03-15-2011 at 05:05 AM. Reason: Minor issue /&/ lost proggy D:
    Time is just an illusion, we are all dying from the disease of age.
    When in doubt, please go here.

  9. #9
    Join Date
    Feb 2011
    Location
    Earth
    Posts
    1,784
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Actually the newest version I'm releasing very soon has oak support and is much more stable. I would do it now but I'm not home.

    Currently: Working on Defending&Attacking in my Castle-Wars Script
    Project Rebuild: 90M/170M

  10. #10
    Join Date
    Feb 2011
    Location
    Earth
    Posts
    1,784
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Updated with Version 1.2

    Added Oak Trees and fixed some minor/major errors. Script is much more stable now

    Currently: Working on Defending&Attacking in my Castle-Wars Script
    Project Rebuild: 90M/170M

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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