Laz Posted May 6, 2014 Author Share Posted May 6, 2014 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. Link to comment
Nezz Posted May 6, 2014 Share Posted May 6, 2014 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. >.>; 1 Link to comment
Laz Posted May 6, 2014 Author Share Posted May 6, 2014 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. Link to comment
Botre Posted May 6, 2014 Share Posted May 6, 2014 (edited) The packaging changed, not the API. Barely anything has changed structurally inside the class files. Any chance you could post a dummy/example script? Edited May 6, 2014 by Botrepreneur Link to comment
Swizzbeat Posted May 6, 2014 Share Posted May 6, 2014 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. Link to comment
xzythe Posted May 6, 2014 Share Posted May 6, 2014 This is probably a stupid question, but what's the use of a proxy server while botting? If IP ban, isn't that chance low :p Link to comment
Nezz Posted May 6, 2014 Share Posted May 6, 2014 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? Link to comment
cashmoneytyrone Posted May 7, 2014 Share Posted May 7, 2014 Went to try this out with CMHAbyss , get this error: "Error downloading remote SDN script id : 236" Link to comment
DEMONTIME Posted May 7, 2014 Share Posted May 7, 2014 need to talk to developer about possibly client being detectable. all clients are detectable. Link to comment
Joseph Posted May 7, 2014 Share Posted May 7, 2014 is it safe enough to start scripting for osbot 2 Link to comment
Laz Posted May 7, 2014 Author Share Posted May 7, 2014 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. Link to comment
Nick Posted May 7, 2014 Share Posted May 7, 2014 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. Link to comment
BotRS123 Posted May 7, 2014 Share Posted May 7, 2014 I guess my question is, how is this compared to the previous OSBot 2 release and the current OSBot 1? Link to comment
Th3 Posted May 7, 2014 Share Posted May 7, 2014 (edited) Nvm found solution Edited May 7, 2014 by Th3 Link to comment