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 Einstein
      I decided to stop harassing users, and do something more productive instead.
       
       
       
       
      F2P Progressive Lobsters
          
       
       
       
      How to use this script:
      Create a new account / run a tutorial solver.
      Note: If you want to transfer the lobsters before the 18 hours of in-game time, use a quester to get 7QP.
       
      Simply trade 10k gold to the bot. All trades/ windows will be automatically accepted.
       

       
       
      Done! From this point on, everything else is automated!
       
      Buying fishing equipment...

       
       
      1-20 fishing...

       
       
      20-40 fishing...

       
       
      40+ fishing: Lobsters

       
       
       
      Fishing in Lumbridge & the combat problem
       
        The bot used to get bullied by goblins, spiders or even ducks.         
       
      This often resulted in deaths and equipment loss. A proper fail-safe has been implemented.
       
      Enjoy!
       
          
    • By Einstein
      Fishes (almost) anything, (almost) anywhere.
      ABC2 fully implemented.
      Drop/Bank option.
      Most banks are supported.
      Simply start the script in the desired fishing area.
      Very easy to use GUI.
       

       

       
          
       
    • By Einstein
      Cuts (almost) any tree, (almost) anywhere.
      ABC2 fully implemented.
      Drop/Bank option.
      Most banks are supported.
      Simply start the script in the desired woodcutting area.
      Very easy to use GUI.
      Ironman account option: selectively picks up bird nests.
       
       

       

          
    • 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 update will:

      Fix GE inventory item positioning bug


      Fix broken object hooks
        • Like
      • 23 replies
    • This release will:

      Fix some ClosedChannelException bug


      Fix bug in RSObject#getAllTiles


      Add game tab support for "Kourend Favour"
        • Like
      • 15 replies
    • This release will:

      Fix Settings UI placement bug


      Fix game object location bug


      Fix small layout bug making the client shift up and down


      Fix client crashing bug where loading the client with a small display area will cause the client to crash


      Fix annoying Linux bug relating to painting events and peers


      Fix settings saving bug where settings are saved to disk more often than they should


      Fix RSInterface#isBeingDrawn bug affecting a limited amount of people


      Drop Java 1.7 bytecode version for 1.8


      Important: Since the downloadable RS client uses Java 7, it will no longer be compatible with Looking Glass. To make up for this, we will add support for using other clients such as RuneLite (at a later date).


      This change was necessary to allow us to use Java 8 syntax. It also paves the way for Java 9/10/11 support.
        • Like
      • 40 replies
    • This update will:

      Fix the RSMenuNode bug which also fixes the bug with bank opening


      Fix the incorrect object positions bug


      Fix and re-enable the LG Objects API Accelerator


      Fix the RSObject#getAllTiles bug
        • Like
      • 22 replies
    • Try our development release by checking "Development Release" on the TRiBot Loader. Note that these new features are currently in beta.

      This release features:

      Re-sizable mode support for both LG and the regular client


      Slightly improved login bot


      Removed final access modifiers from API classes


      Added RSServer hook wrapper to get the client's cached list of server/world info


      [NEW] Bug fix for intelligent banking


      [NEW] Improvement to the stability of LG over time


      [NEW] Vastly improved the reliability and speed of Screen#getColorAt on both LG and the regular client


      [NEW] Fix LG login problems


      [NEW] Fixed re-sizable mode container bug


      [NEW] Fixed re-sizable mode mouse bug


      [NEW] Use of public constants in the Banking API


      [NEW] Use of other various constants such as Projection#NULL_PT and Screen#EMPTY_COLOR



      More features to come very soon!

      Please test it and let us know here if there are any new bugs introduced in this release.
        • Thanks
        • Like
      • 12 replies
  • Recently Browsing   0 members

    No registered users viewing this page.

×