Yo, yeah. i would like to use the singlefilter since it would make my code whole lotta cleaner but does it eat more cpu? im noob :d ty
RS2Widget w = widgets.singleFilter(widgets.getAll(), f -> f.isVisible() && f.getMessage().equals("ok") && f.getTextColor() == 138573512);
if (w != null)
interact();
VS
RS2Widget w = widgets.getWidgetContainingText("ok");
if (w != null && w.isVisible() && w.getTextColor() == 15837581)
interact();
@Override
public int onLoop() throws InterruptedException
{
Position FungusPosition = new Position(3421, 3437, 0);
getWalking().walk(FungusPosition);
return (random(100, 150));
}
if i tried it with getWalking().webWalk(FungusPosition); it gave me this
wtf am i dumb or why the hell it doesnt work lol