Jump to content

Recommended Posts

11 minutes ago, gosubear said:

Does it include any antiban? If you can be a bit more descriptive it would be nice! Thanks for the contribution though!

I'm still new to the anti-ban compliance. I believe so.

 

All nodes extend TTask (See source code) which has an Idle method, this calls the ABC2 utility as follows

 

  public void idle() {
        // TODO:: Implement ABC2

        if (this.abc_util.shouldCheckTabs())
            this.abc_util.checkTabs();

        if (this.abc_util.shouldCheckXP())
            this.abc_util.checkXP();

        if (this.abc_util.shouldExamineEntity())
            this.abc_util.examineEntity();

        if (this.abc_util.shouldMoveMouse())
            this.abc_util.moveMouse();

        if (this.abc_util.shouldPickupMouse())
            this.abc_util.pickupMouse();

        if (this.abc_util.shouldRightClick())
            this.abc_util.rightClick();

        if (this.abc_util.shouldRotateCamera())
            this.abc_util.rotateCamera();

        if (this.abc_util.shouldLeaveGame())
            this.abc_util.leaveGame();

    }

 

This method is called whenever as task is executing that allows idle actions, for example whilst running to a target location, and (most commonly) whilst spinning flax.

 

I would like confirmation that this is the appropriate way to handle the ABC2 utility.

Share this post


Link to post
Share on other sites
On 2/16/2018 at 6:08 PM, TScripts said:

I'm still new to the anti-ban compliance. I believe so.

 

All nodes extend TTask (See source code) which has an Idle method, this calls the ABC2 utility as follows

 

  public void idle() {
        // TODO:: Implement ABC2

        if (this.abc_util.shouldCheckTabs())
            this.abc_util.checkTabs();

        if (this.abc_util.shouldCheckXP())
            this.abc_util.checkXP();

        if (this.abc_util.shouldExamineEntity())
            this.abc_util.examineEntity();

        if (this.abc_util.shouldMoveMouse())
            this.abc_util.moveMouse();

        if (this.abc_util.shouldPickupMouse())
            this.abc_util.pickupMouse();

        if (this.abc_util.shouldRightClick())
            this.abc_util.rightClick();

        if (this.abc_util.shouldRotateCamera())
            this.abc_util.rotateCamera();

        if (this.abc_util.shouldLeaveGame())
            this.abc_util.leaveGame();

    }

 

This method is called whenever as task is executing that allows idle actions, for example whilst running to a target location, and (most commonly) whilst spinning flax.

I would like confirmation that this is the appropriate way to handle the ABC2 utility.

This method should only be called when the bot is not particularly busy. In your script, you should only call this method when the bot is spinning flax. If the player is busy "running towards a target location", timed actions should not be performed.

Instead of including the method in TTask, it would be a lot simpler to declare an utility class that contains a static method. Whenever the character is idle (spinning flax in this instance), simply call the method: UtilClass.performTimedActions();

Also, it's not necessarily a mistake, but ideally you want to use verbs in your method names, since they represent actions. Instead of idle, a more appropriate name for your function would be: performTimedActions, performIdleActions etc.

 

55 minutes ago, KOSSO said:

it doesn't work 

This is my new favorite bug report so far.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By TScripts
      Now available in the Repository

      Requirements:
      10 Crafting Plenty of Flax Features:
      Updated to work with new interfaces released on 08/03/2018! The fastest flax spinner, uses keyboard for new-style interfaces. Start anywhere Attempts to return to Lumbridge when lost Opens doors if needed Implements Anti-Ban Compliance (ABC2) Known Bugs
      Spams 3  Can get stuck behind door when spamming 3 Can get stuck if talking to crafting tutor Submit a Suggestion / Bug report
       
    • By Worthy
      Welcome to Worthy Scripts

      Less than a year and a half ago, I released the first version of the Zulrah Slayer. It did the job well with over 1,000,000 total kills across 1300+ users. After much analysis and noted user feedback I decided to rewrite the script taking a better structured approach to improve efficiency and performance.
       
       
      New features
      Unlimited multi-kill performance The bot will determine if it has enough supplies to start another Zulrah battle after killing the boss the previous time. It can continue doing this until it runs out of food, allowing a single, double, triple, or quad+ kill. Options to teleport out if out of food and not winning is now available.
        Modular traveling system The navigation system in place has been restructured. Each travel route is broken into a set of movements, which is a small part of the overall route. Routes, such as fairy rings, charter travel, can easily be added with a combination of movements and plugged into the script. Navigation is smoother, reliable, and more inclusive. Fairy rings have been added. Mounted fairy rings will be added. Travel methods like Zul-andra scrolls and Camelot Charter have been restructured and are still available to use.
        Dynamically prioritized combat framework Combat has been improved tremendously to reduce mistakes and ensure success. All actions are broken down into several tasks which are ran and checked against a list of priorities.
        Improved Zulrah tracking Zulrah tracking has optimized computation-wise and improved accuracy-wise. The bot will be able to multi-task easily, keeping track of JAD attacks or anything else which may occur.  
      How to access
      There will be an closed beta for a 2-3 days before v2 is released. Anyone who is a current owner of v1 will be able to apply for a beta key and use v2 of the script. However, they are expected to report bugs if they find any. To apply for the beta, PRIVATE MESSAGE ME and I will add you to be whitelisted to v2. Link to the script is https://tribot.org/repository/script/id/2123 After the closed beta, v1 will be updated to v2. Any user who has v1 will automatically be updated to v2.  
      Hiscores
      Users which participate in the beta will have their stats automatically uploaded to the hiscores page. Link: http://www.worthy.rs/tribot-php/ZulrahSlayerV2/hiscores.php  
      Pictures
       
      Regards,
      Worthy
    • By iant06
      iMediumSolver by iant06

      Hello all! I've been developing my medium clue solver for the past couple weeks and it is time for the beta test! 90% of all clue tasks have been added to the script I just need your guys help finding the last few and and finding all the bugs!
      To be apart of this beta test, I'd like to keep it small so you will have to have purchased at least 1 auth of iClueSolver to join, as the requirements for the medium solver script are pretty low and the ban rates are next to nothing, I'd definitely like to keep it that way  
      You can purchase at any time to be added to the UserID list so the medium solver beta script will be available to you on the repository. The start of the beta will be announced tomorrow in the comments below  
      Total Clues Added: 112
       
       
      Requirements:
      Skill Levels:
      30 Attack (Recommended, For Emote Clue Equipment) 30 Defence (Recommended, For Emote Clue Equipment) 50 Range (Recommended, For Emote Clue Equipment) 40 Magic(Only Needed For 2 Emote Clues, Recommended) 10 Agility(Recommended, To Use Agility Shortcut) If you do not have the required level to wear the emote equipment or use an agility shortcut, the script will drop the clue and will attempt to acquire another.  
      Quests:
      Waterfall Quest (Recommended, For Coordinate Clue) Priest in Peril (Recommended, For Multiple Clues) Tree Gnome Village (Recommended, For Cryptic Clue and Spirit Trees)   Items: Teleportation Method: Teleport Tabs: Varrock, Lumbridge, Falador, Camelot, Ardougne(If Quest Done) Teleport Runes: Law, Air, Water, Earth, and Fire Cannon + Cballs(If Selected) Spade Duel Ring Games Necklace Amulet of Glory Ardougne Cloak(If Diary Done) Rope(In Bank for clue task) Tinderbox(In bank for clue task) Candle(In bank for clue task)  
       
      Features:
      Acquiring Medium Clues:
      Attacking Guards in Falador Cannon Guards in Falador Medium Clue Tasks:
      Map Clues Cryptic Clues Emote Clues Anagram Clues Coordinate Clues Traveling:
      Teleport Tablets Teleport Runes Ardougne Cloak Games Necklace Duelling Ring Amulet of Glory
    • By Fay
      Original Thread

       

      Please look at original thread.

       

      I saw a request for the script to be fixed.

      I made some additional modifications.

      Same thing applies as what the original scripter said:

      "If you like the script feel free to give me a "Thanks", if you don't like the script please leave suggestions on how I can make it better for you!"

       

      PLEASE NOTE:

      This script is a CPU hog because it needs to constantly check to see if you are going to make a hit.

      Also the spec/magic buttons use a mouse speed of x10 that of a normal noob (this was true in the last release of the previous developer).

       

       

  • Our picks

    • This release includes:

      Fix updater bug which was causing a bunch of issues


      TRiBot will no longer require manual hook fixes every time the RS client updates - the updater has been fully patched for objects


      Hooked login fields


      Improved the login bot


      Ability to recognize the banned/locked messages again


      Ability to read the current input for username and password fields


      If the username or password is already entered correctly, it won't be erased


      If only part of the username or password is already entered correctly, it won't be erased. The login bot will fill in what's missing.


      If there are a few invalid characters after a valid substring of your username/password, only (approximately) those invalid characters will be erased. The login bot will then proceed to fill in the missing characters.





      Coming soon:

      Skull icon fix


      Improve screen rate and responsiveness of the RS client (both regular client and LG)


      Much more
        • Thanks
        • Like
      • 20 replies
    • This release includes:

      Fix shift clicking option selecting


      Fix high paint delay settings saving


      Update prayer IDs for the quick select menu


      Remove RS3 support


      Fix hooks



      RS3 Support Removed

      The RS3 client hasn't been updated since our Old-School version of TRiBot was released, as many of you may have noticed. Keeping all of the RS3 code in the client made the client as a whole harder to maintain, larger, slower, and messier. As hardly anyone still uses the RS3 client, and since the RS3 API was hardly functioning, we made the decision to completely remove it from TRiBot.

      For the average user, this means that the client will be smaller, cleaner, and faster. Future updates will also take less work meaning there will be more frequent updates.

      If you were one of the few users still using the RS3 client, we apologize for the inconvenience. No future support for RS3 is planned. There are many other botting clients which has support for RS3, so we recommend finding an alternative if you wish to continue botting on RS3.
        • Thanks
        • Like
      • 25 replies
    • Please welcome our new developers, @JoeDezzy1, @erickho123, @Encoded, and @wastedbro.

      These members will be responsible for working on, maintaining, and improving TRiBot.

      This means that bug fixes and improvements will now come at a much faster pace! We're committed to providing users with the best botting experience possible!
        • Thanks
        • Like
      • 30 replies
    • This release includes:

      More 3rd party libraries for script writers to use


      Apache Commons Codec


      Apache Commons Collections


      Apache Commons Configuration


      Apache Commons IO


      Apache Commons Lang


      Apache Commons Math


      GSON


      Guava


      JFoenix




      Hint arrow API


      Game#getHintArrowX


      Game#getHintArrowY




      Fix player hooks including Player#getSkullIcon and Prayer#getPrayerIcon
        • Thanks
        • Like
      • 49 replies
    • This update includes:

      Fix broken hooks


      Fix login bot for the message "No reply from login server. Please wait 1 minute and try again."


      Fix bug relating to which bot tab is sent human input


      General#randomLong bug fix involving negative numbers


      Fix GE API



      Please note: There are still some issues with the login bot due to a change in the game mechanisms handling the login screen. We're working on a fix and will upload it when ready.
        • Thanks
        • Like
      • 37 replies
  • Recently Browsing   0 members

    No registered users viewing this page.

×