Jump to content

OSBot BETA 2.1.1 - Proxy Support, CPU Enhancements, and More!


Laz

Recommended Posts

Posted

alot less cpu nice but api issues with legacy still

ERROR][Bot #1][05/06 08:43:33 PM]: Error in bot executor!java.lang.StackOverflowError	at org.osbot.legacy.script.rs2.map.Position.walkMinimap(cf:59)	at org.osbot.legacy.script.MethodProvider.walkMiniMap(rg:644)	at org.osbot.legacy.script.rs2.map.Position.walkMinimap(cf:59)	at org.osbot.legacy.script.MethodProvider.walkMiniMap(rg:644)	at org.osbot.legacy.script.rs2.map.Position.walkMinimap(cf:59)	at org.osbot.legacy.script.MethodProvider.walkMiniMap(rg:644)	at org.osbot.legacy.script.rs2.map.Position.walkMinimap(cf:59)	at org.osbot.legacy.script.MethodProvider.walkMiniMap(rg:644)	at org.osbot.legacy.script.rs2.map.Position.walkMinimap(cf:59)	at org.osbot.legacy.script.MethodProvider.walkMiniMap(rg:644)	at org.osbot.legacy.script.rs2.map.Position.walkMinimap(cf:59)	at org.osbot.legacy.script.MethodProvider.walkMiniMap(rg:644)	at org.osbot.legacy.script.rs2.map.Position.walkMinimap(cf:59)	at org.osbot.legacy.script.MethodProvider.walkMiniMap(rg:644)	at org.osbot.legacy.script.rs2.map.Position.walkMinimap(cf:59)	at org.osbot.legacy.script.MethodProvider.walkMiniMap(rg:644)	at org.osbot.legacy.script.rs2.map.Position.walkMinimap(cf:59)	at org.osbot.legacy.script.MethodProvider.walkMiniMap(rg:644)	at org.osbot.legacy.script.rs2.map.Position.walkMinimap(cf:59)	at org.osbot.legacy.script.MethodProvider.walkMiniMap(rg:644)	at org.osbot.legacy.script.rs2.map.Position.walkMinimap(cf:59)	at org.osbot.legacy.script.MethodProvider.walkMiniMap(rg:644)	at org.osbot.legacy.script.rs2.map.Position.walkMinimap(cf:59)	at org.osbot.legacy.script.MethodProvider.walkMiniMap(rg:644)	at org.osbot.legacy.script.rs2.map.Position.walkMinimap(cf:59)	at org.osbot.legacy.script.MethodProvider.walkMiniMap(rg:644)	at org.osbot.legacy.script.rs2.map.Position.walkMinimap(cf:59)	at org.osbot.legacy.script.MethodProvider.walkMiniMap(rg:644)

Fixed on my private build. I'll release the bug fix soon.

Posted

Is the API stable enough for me to start scripting without worrying about needing to rewrite?

Last time I wrote a script, the next day you guys made a post saying the API was being redone again. >.>;

The packaging changed, not the API. Barely anything has changed structurally inside the class files.

Posted

I've barely looked at the API, but from what I've seen in some peoples example scripts it seems as though were being forced to use this "executor" framework. Am I being mislead? I would prefer the implementation we have now, just a simple looping method where we can design our own framework to use.

Posted

The packaging changed, not the API. Barely anything has changed structurally inside the class files.

I'm pretty sure the arguments were swapped in a few of the methods.

interactWithItemForName was one of them (I think, it's been a while since I looked) it threw @Novak and I for a loop. :P

 

So the script I wrote before for osb2 (when you released first beta version of it publicly) should still work with the latest release of osb2?

Posted

Very well working flax picking script: http://pastebin.com/dMS8Lv1U. Note it depends on a class called PositionPolygon which will be added on the next release (tomorrow). PositionPolygon is basically an array of positions that can form areas of various polygonal shapes or be used as a list of points for walking. This should make walking fool-proof for scripters.

 

tl;dr this script won't be able to compile until tomorrow! But it's a good reference as it uses various cool OSBot 2 features.

Posted

Very well working flax picking script: http://pastebin.com/dMS8Lv1U. Note it depends on a class called PositionPolygon which will be added on the next release (tomorrow). PositionPolygon is basically an array of positions that can form areas of various polygonal shapes or be used as a list of points for walking. This should make walking fool-proof for scripters.

 

tl;dr this script won't be able to compile until tomorrow! But it's a good reference as it uses various cool OSBot 2 features.

 

Very nice.

 

Looking forward to the release. Keep up the hard work man.

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

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