Jump to content

JAG98

Members
  • Posts

    5
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

JAG98's Achievements

Newbie

Newbie (1/10)

0

Reputation

  1. Is there a way to configure the script so that it stops at a certain level? For instance, after reaching level 40 attack, I want the script to exit. Any way to do that?
  2. private final class A extends Script{ //some code } private class B{ } How can I access MethodProvider methods in class B?
  3. NPC evil = NPCS.closest(npc -> npc!= null && npc.getName().equals("Goblin")); RS2Widget combat = Widgets.get(164, 53); Both .get() and .closest() give an error saying non-static methods cannot be referenced from a static reference. Seems to be happening for all similar classes Grounditems, Objects, Player etc.
  4. New to osbot, just shifted from poopbot. Tried launching the client for the first time and got the common error about the wrong version. 15.0.1. And yes, have gone to https://osbot.org/forum/java Followed the steps, Installed jre8u 281. Created the bat file. Even added jre to the path. Restarted, ran cmd and executed java -version. It returned the following: java version "1.8.0_281" Java(TM) SE Runtime Environment (build 1.8.0_281-b09) Java HotSpot(TM) 64-Bit Server VM (build 25.281-b09, mixed mode) Have IntelliJ setup and running on 15.0.1 jdk. Could that be an issue? Running out of ideas and possible solutions. Any help will be much appreciated!
×
×
  • Create New...