Jump to content
Sign in to follow this  
TRiLeZ

TRiBot Beta 7.43_0

Recommended Posts

Hey Trilez, thanks for fixing the Banking API so fast.

 

Banking.DepositAll() could just click the [Deposit All] button now, instead of looping through the inventory items array, right clicking each item, and clicking deposit all. (Not only more efficient, but if everyone in rs is using the Deposit All button, and the bots still deposit all the old one, might look suspicious).

 

I also recommend adding Banking.DepositAllEquipped() // clicks the [Deposit All Equipped Items] on the bank screen.

 

Also, 3 bank rows (24 bank slots) were added to the bank. Which means the scroll bar height has changed, meaning bank scrolling (in the Banking API) could be off. So if an item is not on the top screen of the bank, the withdraw function may fail, since the scrollbars have changed (ratios, height, etc). My suggestion is this:

 

Inside of withdraw(), if the item is not on the first bank page, it clicks [search] button, it types in the item name, then this makes the item show at the top of the bank, then withdraw can run as normal. This is an easy-fix, but also a much more accurate method for withdrawing items that are not on the first bank page (even with the old bank, it often failed, which is why script writers would always say that you must put items at the top of your bank)

 

Also if someone does Banking.DepositAllExcept(x) and let's say X is a "Knife" (fletching script), then it might be better for it to click the [Deposit All] button, then to left click to withdraw the Knife back into the inventory. Much quicker, and more human-like. (This behaviour on DepositAllExcept would only occur if 1 item is passed as the argument, and there is only 1 of this item in the inventory).

Share this post


Link to post
Share on other sites

Banking.DepositAll() could just click the [Deposit All] button now, instead of looping through the inventory items array, right clicking each item, and clicking deposit all. (Not only more efficient, but if everyone in rs is using the Deposit All button, and the bots still deposit all the old one, might look suspicious).

Banking.depositAll() was changed with this update to use the button. :)

 

I also recommend adding Banking.DepositAllEquipped() // clicks the [Deposit All Equipped Items] on the bank screen.

Banking.depositEquipment() was also added, just not in the java docs yet.

Also, 3 bank rows (24 bank slots) were added to the bank. Which means the scroll bar height has changed, meaning bank scrolling (in the Banking API) could be off. So if an item is not on the top screen of the bank, the withdraw function may fail, since the scrollbars have changed (ratios, height, etc). My suggestion is this:

 

Inside of withdraw(), if the item is not on the first bank page, it clicks [search] button, it types in the item name, then this makes the item show at the top of the bank, then withdraw can run as normal. This is an easy-fix, but also a much more accurate method for withdrawing items that are not on the first bank page (even with the old bank, it often failed, which is why script writers would always say that you must put items at the top of your bank)

Typing takes too long. I'll just change the scroll position calculation.

Also if someone does Banking.DepositAllExcept(x) and let's say X is a "Knife" (fletching script), then it might be better for it to click the [Deposit All] button, then to left click to withdraw the Knife back into the inventory. Much quicker, and more human-like. (This behaviour on DepositAllExcept would only occur if 1 item is passed as the argument, and there is only 1 of this item in the inventory).

I don't really want the API having too much logic for a method like this. It should be up to the script to have that logic. The API is just a framework that should do exactly what it is told.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Our picks

    • This release will:

      Add LG support for Runelite


      Fix NPCChat issues


      Fix a bug where the camera angle setter would just hold down a key for 5 seconds (the timeout)


      Slightly adjust the rotation via keys to be more accurate


      Add the ability for asynchronous camera movement via keys


      Make Camera rotation via mouse more fluid, with more antiban, and work much better in resizable mode


      Add a "Camera#setCamera" method, allowing the rotation and angle to be set in parallel


      Increase the likelihood of using the mouse for camera movements


      Add support for adjusting the camera to positionable entities (Positionable#adjustCameraTo)



      Upcoming updates:

      Improved CLI support


      Much more



      Note: If you are using LG, please restart both the RS client and TRiBot
        • Like
      • 43 replies
    • This update will:

      Allow for clicking through the chat box when possible (Thanks @Todd)


      Fix Combat#selectIndex (Thanks @Encoded)


      Ensure worlds stay sorted and added a check to avoid misclicks in the in-game world hopper (Thanks @erickho123)


      Fix out-dated Options API interface indices (Thanks @Todd)



      Upcoming updates:

      Break handler bug fix


      Improved CLI support


      Much more



      Note: If you are using LG, please restart both the RS client and TRiBot
      • 12 replies
    • This release will:

      Fix login bot after today's game update (Thanks @JoeDezzy1)


      Fix latest in-game world hopping issues (Thanks @erickho123)


      Compact Settings UI and set location relative to TRiBot (Thanks @JoeDezzy1)


      Fix an older implementation of GrandExchange#getWindowState (Thanks @JoeDezzy1)


      Improve the preformance of NPCChat by only searching in certain interface parents (Thanks @JoeDezzy1)



      Upcoming updates:

      Break handler bug fix


      Improved CLI support


      LG support for RuneLite


      Much more



      Note: If you are using LG, please restart both the RS client and TRiBot
      • 16 replies
    • This release will:

      Fix bytecode manipulation in order to prevent the modification of parameters within the Filter and Condition classes themselves (thanks @wastedbro)


      Fix NPE caused by non-null value in GE API (thanks @erickho123)


      Add and fix equals methods for api2007.types (thanks @JoeDezzy1)


      Modify Mouse#leaveGame to make the mouse leave the game from top, left, right, or bottom (thanks @erickho123)


      Add Entrana area to Ships API (thanks @erickho123)


      Fix raid prayers index/settings in Prayer API (thanks @erickho123)



      Upcoming updates:

      Break handler bug fix


      Improved CLI support


      Much more



      Note: If you are using LG, please restart both the RS client and TRiBot
      • 29 replies
    • This update will:

      Implement better canvas locking/synchronization mechanism


      Fix small Login API bug


      Remove the requirement for xbooting Java classes


      Use ExecutorService to perform canvas work in parallel


      Add "Account Management" game tab to GameTab API (thanks @Encoded)


      Fix NPCChat#getMessage (thanks @Encoded )


      Fix NPCChat#selectOption (thanks @Encoded )


      Fix Banking API after today's update (thanks @Encoded )


      Fix in-game world hopper after today's update (thanks @Encoded )



      Upcoming updates:

      Break handler bug fix


      Improved CLI support


      Much more



      Note: If you are using LG, please restart both the RS client and TRiBot
        • Like
      • 38 replies
  • Recently Browsing   0 members

    No registered users viewing this page.

×