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

peanuts1079

Registered
  • Content Count

    10
  • Joined

  • Last visited

  • Feedback

    N/A

Community Reputation

0 Neutral

About peanuts1079

  • Rank
    New Botter

Recent Profile Visitors

75 profile views
  1. Hi, I am trying to write a script and I am seeing weird client-sided bugs. Here is an example of code I am running RSItem[] item = Inventory.find("Item"); if(item.length > 1){ doSomething(); }else{ doSomethingElse(); } In-game, I will have 1 of the item in my inventory and doSomethingElse() is invoked. So essentially there must be an error with getting the length of inventory items because doSomethingElse() should only be called if there are less than 1 rings in the inventory aka 0, which is wrong because there is 1 and thus neither doSomething() or doSomethingElse() should be called. I am also just generally noticing weird behavior and clicks. For some reason the bot hovered very quickly over each individual item in my inventory after it closed the bank and I definitely have no code in my script to do that. It's just so weird.
  2. These problems just came up a few hours ago and have not resolved themselves. To further explain the input bug: I load a client and the red X mouse guide never appears and I can't click or type anything into the client.
  3. Hi, I'm looking for a snippet of code that returns the population of world i as an integer. There was a snippet made for this back in 2015 but it does not work now and honestly I don't really believe it ever worked. Paying $5 EDIT: The snippet should look up values from the online website. It's easily possible to grab the numbers from the world switcher interface in-game but website lookup would be less CPU intensive.
  4. I uninstalled Eclipse & Java and re-installed and the problem is fixed. Thanks guys.
  5. Just updated to the latest and it didn't fix the problem
  6. Still not fixing the error. I'm going to try and update my java
  7. I followed this youtube video to set up eclipse. It allows the .java files to be compiled directly to tribot. By dependencies do you mean setting up the build path with the .tribot jar?
  8. I am trying to define an RSObject but I am getting errors in eclipse. When I hover this is what the error is: "The type java.util.function.Predicate cannot be resolved. It is indirectly referenced from required .class files". I tried re-setting up eclipse and nothing changed.
×
×
  • Create New...