sudoinit6 Posted April 12, 2017 Share Posted April 12, 2017 I this to the beginning of the next class: am having an issue where in tut island "You made a bronze bar! click to continue" shows up after smelting. It also happens from time to time when the script misclicks. I am trying to find the misclicks, but after smelting it is killing me. I tried adding this to the beginning of the next class: // if // (script.widgets.getWidgetContainingText(162,"Click to continue").isVisible()){ // script.log("I see the widget Click to continue"); // RS2Widget w = script.getWidgets().getWidgetContainingText(162, // "Click to continue"); // w.hover(); // script.mouse.click(false); // } But it basically crashes the script (grinds to a halt and I have to use task manager to kill the app). I tried researching the issue here and I saw some talk about it but was unable to find a working solution. Any advice? Quote Link to comment Share on other sites More sharing options...
Chris Posted April 12, 2017 Share Posted April 12, 2017 null check u loser 1 Quote Link to comment Share on other sites More sharing options...
sudoinit6 Posted April 12, 2017 Author Share Posted April 12, 2017 2 minutes ago, Chris said: null check u loser Yeah, yeah, I am working on it, but it won't help after smelting the bronze, that happens every time. Obviously there is a fix, I just haven't figured it out yet. Quote Link to comment Share on other sites More sharing options...
Final Posted April 12, 2017 Share Posted April 12, 2017 15 minutes ago, sudoinit6 said: Yeah, yeah, I am working on it, but it won't help after smelting the bronze, that happens every time. Obviously there is a fix, I just haven't figured it out yet. That is the fix so it stops crashing and you can debug... 2 Quote Link to comment Share on other sites More sharing options...
Explv Posted April 12, 2017 Share Posted April 12, 2017 I believe getWidgetContainingText ignores widgets in the chatbox (with root 162). You should use your own filter instead Quote Link to comment Share on other sites More sharing options...
sudoinit6 Posted April 12, 2017 Author Share Posted April 12, 2017 37 minutes ago, Explv said: I believe getWidgetContainingText ignores widgets in the chatbox (with root 162). You should use your own filter instead Thanks, I will try a different filter. Quote Link to comment Share on other sites More sharing options...