Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Buy OSRS Gold

Sell OSRS Gold
TRiLeZ

TRiBot Release 10.10_0 & 10.10_1

Recommended Posts

Just thought i'd add in my own research findings in hopes this might finally get fixed.

The test below has been done WITHOUT using the Login API / Break handler.

I ran all my accounts again on a PC that almost gaurentes that I hit the bug,

I've printed every line of my login / logout procedure and they were fine. the problem comes in when I call General.sleep(x,y)

    public void mineIron() {
        int InvCount = Inventory.getAll().length;
        RSObject[] ironOre = Objects.findNearest(5, IronOre);
        status = "Click on ore";
        if (ironOre.length > 0) {
            ironOre[0].click("Mine");
            status = "waiting for mining to finish";
            Timing.waitCondition(new Condition() {
                @Override
                public boolean active() {
                    General.sleep(300);
                    return Inventory.getAll().length > InvCount;
                }
            }, General.random(1800, 2400));
            General.sleep(General.randomSD(50, 300, 125, 25));
        }
    }

 

While stuck at the login screen my status was " waiting for mining to finish "

This has narrowed down my suspicions that it's either the timing function, or in the most likely case the General.sleep method. ( Yes I know you can do that new shorter version, but I don't want to mess with something that works )

Looking back at the github, I notice another user has posted an issue with the General.long ? or something along those lines, which further makes me believe this is the issue.

This has been bugging me the past few days, if any of the dev team could simply tell me " that the general.sleep api is just 3 lines of code, I might finally give up trying to fix this on my own.

 

Thanks.

@TRiLeZ

  • Like 1

Share this post


Link to post
Share on other sites

@contemporary

I've done all I can, if this doesn't get noticed i'm not going to bother creating a separate thread for the issue, feel free to quote my post if you wish to do so, i've given up.

for a tl;dr

This is NOT caused DIRECTLY by the login handler and or break handler, as my test used neither of these, and i'm 90% it has to do with the general.sleep or the timing api as that's what my findings are pointing towards.

Cheers 

Edited by theholyone

Share this post


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

  • Our picks

    • Over the past few months, I’ve been working diligently on a new project - TRiBot X. Everything has been written from the ground up, with all of the best practices of software engineering. Every aspect of TRiBot has been re-imagined to support three main goals: flexibility, useability, and reliability.
        • Like
      • 29 replies
    • Come give us feedback on the next version of TRiBot!
        • Thanks
        • Like
      • 74 replies
    • TRiBot is looking to improve a lot of its customer relationship management, customer on boarding process, customer experience, design elements, community engagement and pretty much everything else you can imagine when it comes to marketing.

      Our goal: To ensure that the marketing done TRULY reflects the experience and does not shine an inaccurate light on what TRiBot is lacking in.

      So I ask, what do you love about TRiBot and what do you hate about TRiBot? What does O S Bot, Rune M8, PowR Bot and Dre amBot do better? (yes I purposely didn't spell it right 😂).

      Love, 

      RileyZ
        • Like
      • 23 replies
    • Over the last three weeks, I've been working on upgrading our server infrastructure. It's finally ready and is now live!

      Why?

      Increased reliability - less server errors


      Increased availability - less downtime


      Increased security - keeping us and you secure


      Increased capacity - ability to serve you better


      Increased speed - less waiting for things to load


      Faster development - server and service updates will come faster


      What are the changes?

      Move from a single AWS EC2 instance to AWS ECS (Elastic Container Service)


      Distributed computing


      Load balancing


      Git management of server files and filesystem


      Redis caching


      How?

      AWS ECS (with 10 EC2 instances)


      AWS ElastiCache (Redis)


      AWS Load Balancing


      AWS EFS (Elastic file system)


      Please bare with us as I continue to tune the server for maximum performance. Slow loading speeds may occur temporarily. I thank everyone for their patience.

      Please post on this thread if you experience any issues other than slow loading times.
        • Like
      • 51 replies
    • This release will:

      Fix prayers and world hopper API (Thanks @JoeDezzy1 and @erickho123)


      Improve banking API (Thanks @Encoded)


      Adds methods for returning and using Java Lists, rather than arrays


      Slightly randomizes some hardcoded behaviour


      Removes sleeps from waitConditions; the efficiency saving potential is negligible in these use-cases, therefore cleaner code is preferable


      Other back-end improvements





      Note: If you are using LG, please restart both the RS client and TRiBot.
        • Sad
        • Haha
        • Thanks
        • Like
      • 90 replies
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...