April 12, 20178 yr 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?
April 12, 20178 yr Author 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.
April 12, 20178 yr 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...
April 12, 20178 yr I believe getWidgetContainingText ignores widgets in the chatbox (with root 162). You should use your own filter instead
April 12, 20178 yr Author 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.
Create an account or sign in to comment