Jump to content

Script randomly broke?


Chromelte

Recommended Posts

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?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...