roguehippo Posted August 28, 2017 Share Posted August 28, 2017 hello, whenever i try to use webwalking and give it an area or position to walk to it just crashes instantly. the area is not null and its even visible when im logged in but it just crashes. here is the code: if(!myPlayer().isMoving()) { log("walking to portal"); walking.webWalk(portalFront); mySleep(50,150); } here is the error report: [ERROR][Bot #1][08/28 05:13:53 PM]: Error in bot executor! java.lang.NoClassDefFoundError: Could not initialize class org.osbot.Prn at org.osbot.rs07.event.WebWalkEvent.<init>(wg:262) at org.osbot.rs07.api.Walking.webWalk(qf:280) at main.walk(main.java:736) at main.onLoop(main.java:119) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(jj:122) at java.lang.Thread.run(Thread.java:745) anyone know what could be going wrong? Quote Link to comment Share on other sites More sharing options...
kazemaru Posted August 28, 2017 Share Posted August 28, 2017 delete webwalking folder in the osbot folder and redownload it (you can redownload it be reopening the client) you can also delete the whole osbot folder and reopen the client to download Quote Link to comment Share on other sites More sharing options...
Super Posted August 28, 2017 Share Posted August 28, 2017 5 minutes ago, roguehippo said: hello, whenever i try to use webwalking and give it an area or position to walk to it just crashes instantly. the area is not null and its even visible when im logged in but it just crashes. here is the code: if(!myPlayer().isMoving()) { log("walking to portal"); walking.webWalk(portalFront); mySleep(50,150); } here is the error report: [ERROR][Bot #1][08/28 05:13:53 PM]: Error in bot executor! java.lang.NoClassDefFoundError: Could not initialize class org.osbot.Prn at org.osbot.rs07.event.WebWalkEvent.<init>(wg:262) at org.osbot.rs07.api.Walking.webWalk(qf:280) at main.walk(main.java:736) at main.onLoop(main.java:119) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(jj:122) at java.lang.Thread.run(Thread.java:745) anyone know what could be going wrong? if it is visible then why are you webwalking? you should try using webwalking in a webwalking event and also account for how far you have to walk. if the position is close enough then you should not be using webwalker Quote Link to comment Share on other sites More sharing options...
progamerz Posted August 28, 2017 Share Posted August 28, 2017 a simple client restart would fix it Quote Link to comment Share on other sites More sharing options...
scape Posted August 28, 2017 Share Posted August 28, 2017 What is portalFront? Quote Link to comment Share on other sites More sharing options...
Viston Posted August 28, 2017 Share Posted August 28, 2017 29 minutes ago, superuser said: if it is visible then why are you webwalking? you should try using webwalking in a webwalking event and also account for how far you have to walk. if the position is close enough then you should not be using webwalker What's the point of using webwalking in a walking event? And it's not about the distance. You should only consider using webWalking() if there are obstacles obstructing your way. Quote Link to comment Share on other sites More sharing options...
Super Posted August 28, 2017 Share Posted August 28, 2017 10 minutes ago, Viston said: What's the point of using webwalking in a walking event? And it's not about the distance. You should only consider using webWalking() if there are obstacles obstructing your way. i never said to use webwalking in a walking event. i said to determine the distance and then determine whether to use webwalking or not. you also don't need to use webwalking if there are obstacles in the way. if you write a proper walking method then your script should be able to account for all obstacles no matter where you are walking. don't comment if you have no idea what you're talking about. as for the OP, is portalFront a position, or something else. try using its position if you aren't already. entities and npc's can sometime return values that the webwalker doesn't like. getPosition works 99% of the time though from my experience. Quote Link to comment Share on other sites More sharing options...
Viston Posted August 28, 2017 Share Posted August 28, 2017 (edited) 6 minutes ago, superuser said: i never said to use webwalking in a walking event. i said to determine the distance and then determine whether to use webwalking or not. you also don't need to use webwalking if there are obstacles in the way. if you write a proper walking method then your script should be able to account for all obstacles no matter where you are walking. don't comment if you have no idea what you're talking about. as for the OP, is portalFront a position, or something else. try using its position if you aren't already. entities and npc's can sometime return values that the webwalker doesn't like. getPosition works 99% of the time though from my experience. Read your comment, you are telling him to use webWalking() with a walking event. Again, what does the distance have to do with whether to use webWalking() or not? Please elaborate, seems like you are confused. It's better to just use walkPath() if the route is static and has no obstacles. Otherwise it's up to you whether you want to handle the obstacles or not. Yes, you can use any other method even if there is obstacles between you and the distance you are walking. However, you'll have to handle obstacles manually. YOU clearly don't have any idea of what you are talking about bruh Edited August 28, 2017 by Viston Quote Link to comment Share on other sites More sharing options...
Super Posted August 28, 2017 Share Posted August 28, 2017 (edited) 26 minutes ago, Viston said: Read your comment, you are telling him to use webWalking() with a walking event. Again, what does the distance have to do with whether to use webWalking() or not? Please elaborate, seems like you are confused. It's better to just use walkPath() if the route is static and has no obstacles. Otherwise it's up to you whether you want to handle the obstacles or not. Yes, you can use any other method even if there is obstacles between you and the distance you are walking. However, you'll have to handle obstacles manually. YOU clearly don't have any idea of what you are talking about bruh read it again. no where does it say walking event. you grab the distance to determine whether to use walkingevent or webwalking event. you could just use webwalking event for everything like you, a scripter 1, most likely do. i however have wrote a custom walking method that will handle obstacles automatically when using a walkingevent. that is what i was referring to when i said that. you can continue to use webwalker for everything and continue hardcoding all your walkingevents or you can understand what i am saying and become a better scripter. you have a lot to learn Edited August 28, 2017 by superuser minor grammar changes Quote Link to comment Share on other sites More sharing options...
Viston Posted August 29, 2017 Share Posted August 29, 2017 39 minutes ago, superuser said: read it again. no where does it say walking event. you grab the distance to determine whether to use walkingevent or webwalking event. you could just use webwalking event for everything like you, a scripter 1, most likely do. i however have wrote a custom walking method that will handle obstacles automatically when using a walkingevent. that is what i was referring to when i said that. you can continue to use webwalker for everything and continue hardcoding all your walkingevents or you can understand what i am saying and become a better scripter. you have a lot to learn Wtf is a webwalking event. We only have a Walking Event, I don't know which community you are coming from bro Quote Link to comment Share on other sites More sharing options...
dreameo Posted August 29, 2017 Share Posted August 29, 2017 15 minutes ago, Viston said: Wtf is a webwalking event. We only have a Walking Event, I don't know which community you are coming from bro Quote Link to comment Share on other sites More sharing options...
Chris Posted August 29, 2017 Share Posted August 29, 2017 23 minutes ago, Viston said: Wtf is a webwalking event. We only have a Walking Event, I don't know which community you are coming from bro retard read the api Quote Link to comment Share on other sites More sharing options...
Viston Posted August 29, 2017 Share Posted August 29, 2017 14 minutes ago, Chris said: retard read the api Ohhhhhhhhhhhhhhhhhhhhhhhh Autism Quote Link to comment Share on other sites More sharing options...
roguehippo Posted August 29, 2017 Author Share Posted August 29, 2017 wow Quote Link to comment Share on other sites More sharing options...