Jump to content

Chromelte

Members
  • Posts

    12
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

Recent Profile Visitors

1015 profile views

Chromelte's Achievements

Newbie

Newbie (1/10)

2

Reputation

  1. Ah! I figured it might have had something to do with the update. Thank you!
  2. So after making some changes to a script, a totally unrelated part seemed to stop working. After looking into it, it seems like attempting to access the inventory at all throws an error. This is the error I get with the line in question underneath. [ERROR][Bot #1][01/19 11:58:14 AM]: Error in bot executor! java.lang.AbstractMethodError: dm.getNodes()[Lorg/osbot/rs07/accessor/XNode; at org.osbot.rs07.api.util.NodeContainerUtilities.findNodeByHash(gp:212) at org.osbot.rs07.api.Inventory.getItems(ef:70) at org.osbot.rs07.api.util.ItemContainer.isFull(zg:609) at Test.onLoop(Test.java:13) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(gm:185) at java.lang.Thread.run(Unknown Source) inventory.isFull(); I created a brand new script just to test this so I'm sure it wasn't something I changed in a script. OSBot also seems unable to get past the welcome screen as well now, throwing this error [ERROR][Bot #1][01/19 11:58:13 AM]: Error on random solver : Welcome Screen java.lang.AbstractMethodError: client.getWidgetNodes()Lorg/osbot/rs07/accessor/XNodeContainer; at org.osbot.rs07.api.ui.RS2Widget.iIiiiiiiIiiI(go:292) at org.osbot.rs07.api.ui.RS2Widget.iIiiiiiiIiiI(go:222) at org.osbot.rs07.api.ui.RS2Widget.getAbsX(go:267) at org.osbot.rs07.api.ui.RS2Widget.getPositionIgnoreIsHidden(go:629) at org.osbot.rs07.api.ui.RS2Widget.getRectangleIgnoreIsHidden(go:585) at org.osbot.rs07.input.mouse.WidgetDestination.getBoundingBox(lp:138) at org.osbot.rs07.api.util.GraphicUtilities.getSuitablePoint(zl:680) at org.osbot.rs07.input.mouse.MoveMouseEvent.execute(ne:113) at org.osbot.rs07.event.EventExecutor$2.run(dn:284) at org.osbot.rs07.event.EventExecutor.execute(dn:121) at org.osbot.rs07.script.MethodProvider.execute(wj:853) at org.osbot.rs07.event.InteractionEvent.iIiiiiiiIiiI(vo:93) at org.osbot.rs07.event.InteractionEvent.execute(vo:373) at org.osbot.rs07.event.EventExecutor$2.run(dn:284) at org.osbot.rs07.event.EventExecutor.execute(dn:121) at org.osbot.rs07.api.ui.RS2Widget.interact(go:754) at org.osbot.rs07.randoms.WelcomeScreen.onLoop(zh:217) at org.osbot.rs07.event.RandomExecutor.run(cp:163) at java.lang.Thread.run(Unknown Source) Anyone know what could have caused these errors and/or how to resolve them?
  3. Hey there, I'm Chromelte. I've been playing Runescape since around 2006 but I am new to botting in general. I am currently studying computer science in school and have plenty of experience in Java so I thought it would be fun to incorporate programming into something I love. I'm a pretty newbie scripter but I'm looking to learn and release my scripts to the public. I'm working on a fairly big script idea that I have right now but won't be releasing that. Anyone have tips on how to get started and make my scripts available to the public and get my name out there as a scripter?
  4. Tried searching the API/Google for this but no luck. So basically, the script has a list of items to pick up. It checks the loot on the ground against the list of items to pick up and if any match and the inventory is not full, it'll pick it up. What I want to do though, is to pick up a stackable item if my inventory contains a stack already, regardless of if it's full or not. Is there any way to check if an item on the ground is stackable?
  5. boolean examined = false; List<RS2Object> allEntities = new ArrayList<RS2Object>(); allEntities = objects.getAll(); do { RS2Object obj = allEntities.get(random(0, allEntities.size() - 1)); if (obj != null && obj.hasAction("Examine")) { obj.interact("Examine"); examined = true; log(obj.getName() + " examined."); } } while (!examined); I am trying to get a list of all the entities around me and examine one at random. I seem to be able to get a random object just fine, but it never actually gets past this part. if (obj != null && obj.hasAction("Examine")) { Any ideas why?
×
×
  • Create New...