Jump to content

Clayplug

Scripter I
  • Posts

    36
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Everything posted by Clayplug

  1. I recently re-started my VIP subscription and put mirror mode on for the first time in a while. It keeps looking for an osrs client, but I have the client running next to it. Never had this issue before. Used the osrs wiki instructions to install the client on Ubuntu. Everything is running on Java 8.
  2. Hey thanks a lot for the suggestion. I determined the MethodProvider wasn't null by having it log something if it != null. The mistake I made was not using the main class as the provider and instead instantiating a new MethodProvider entirely. Your suggestion helped me debug the issue, and now I have my first properly implemented behavior tree! Thanks
  3. Hello all! I'm writing a basic fishing script. When I set it up the first time it was working decently. Now I'm trying to map it over to a behavior tree (Task based script). I have this issue where in a Task that checks if the player is at a spot, the myPosition() method keeps giving me a NullPointerException. It says the issue is at org.osbot.rs07.script.MethodProvider.myPlayer(xe:677) and (xe:679). I've narrowed it down here. The MethodProvider is not null, the getInventory is not null, which means that other methods on the MethodProvider work. The only thing that's returning as null is the myPosition method. Does anyone have any advice?
  4. Hello, I'm new and stuck on this part: 5.5. Open the OSBot client and refresh the script list, the "Example Script" should appear on the list The script builds just fine, the problem is that it does not appear on the list of scripts in my OSBot client. I have the feeling that I'm outputting it into the wrong directory. I setup OSB on Ubuntu Linux, and it wasn't installed like most programs, I merely ran the jar file through the terminal. Can someone help me determine the proper directory to put the script into? Also, if there's a "proper" way to run OSB on Ubuntu, I'd be glad to see it. The program is running fine, I'm just not able to get the Example script to appear within it.
×
×
  • Create New...