Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Buy OSRS Gold

Sell OSRS Gold
ltztakechi

java problems pls help

Recommended Posts

Array

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Similar Content

    • By DizFunk
      Hi guys, I just started attempting to script. I bought VIP so I could write my own scripts. I've been having the hardest time setting up my eclipse to work with TRIBot. So far I have set up my eclipse to compile with JDK/JRE 8, TRIBot is being launched with JDK 8. Everything seems to be setup correctly, however I get this odd error message in my bot debug logs. I've attached a photo of the logs. 
      Here is what my class file looks like: 
      package scripts;
      import org.tribot.script.Script;
      import org.tribot.script.ScriptManifest;
      @ScriptManifest (authors = { "DizFunk" }, category = "Test", name = "Test")
      public class Test extends Script {
          @Override
          public void run() {
              println("Hello World!1");
          }
      }
       If anyone knows whats going on here it would be a big help

    • By schenkelenkel
      Getting this error, client won't start.

    • By voidk5
      Hey guys, I'm facing some problems with my Debian 8 VPS, currently I'm not able to install Java 8, I was using this as reference https://tecadmin.net/install-java-8-on-debian/ but as it says "IMPORTANT: Java 8 is no longer available to download publically. You can use below link to install Java 11."  Java 8 can't be downloaded anymore, so I tried to use Java 11, but TRiBot doesn't work with it. 
      Anyone can have with this? 
      I'll give more info if required.
       
       
    • By Rajo
      Hello, i am new here. 
      I need help. I can't login at all.
      As you can see the picture

      I can't fill the right captca because i can't resize the windows. Only small window like that xD.
      And second. When i try login my account. The result is...

      So what's the problem it is? What's solution? 
       
      Thank You.
    • By Medieval
      Hello, firstly i'd like to say that running a bot on mac is 1000x more difficult than running a bot on a windows. I've downloaded Tribot and have jdk-11.0.1.
      I keep getting an error which I've linked below. Please help as I've been trying to run a bot on this macbook forever. It seems impossible.
      Thanks,
      Medieval 

    • By syhler
      I'm trying to add a JSON library by adding every java file from https://github.com/stleary/JSON-java to my project. But it keeps giving me the error
      java.lang.NoClassDefFoundError: scripts/JSONObject Which makes sense because it fails to load the JSONObject. But why?
       Error Loading Local Script: JSONObject! I have tried to make a package inside the scripts package called "org.json" without any luck, I have also tried to put the files directly into scripts package.(Check picture for reference)

      I don't think the run method has anything to do with it, but it looks like this
      @Override public void run() { println("Hey Test"); JSONObject json = null; try { json = JsonParser.readJsonFromUrl("url"); } catch (IOException e) { e.printStackTrace(); } assert json != null; println(json.toString()); } JsonParser.readJsonFromUrl Comes from a class which is taken from StackOverflow - https://stackoverflow.com/questions/4308554/simplest-way-to-read-json-from-a-url-in-java- 
      And looks something like that
      public class JsonParser{ private static String readAll(Reader rd) throws IOException { StringBuilder sb = new StringBuilder(); int cp; while ((cp = rd.read()) != -1) { sb.append((char) cp); } return sb.toString(); } public static JSONObject readJsonFromUrl(String url) throws IOException, JSONException { InputStream is = new URL(url).openStream(); try { BufferedReader rd = new BufferedReader(new InputStreamReader(is, Charset.forName("UTF-8"))); String jsonText = readAll(rd); JSONObject json = new JSONObject(jsonText); return json; } finally { is.close(); } } } Yes, I do have VIP (at least for 2 days) and I'm using IntelliJ Idea. To set my project up I have used the guide from here.
      Thank you for your time  
       
    • By r0ot
      I've nearly got TRiBot running on an Ubuntu machine but have run into an error with the loader.  When I run the loader for the first time and it populates the dependencies folder, the file togl.dll get's downloaded instead of libTOGL.so which TRiBot.jar eventually looks for.  Error looks like this:
      Loading TOGL Loading: /home/<user>/.tribot/dependancies/libTOGL.so Exception in thread "AWT-EventQueue-1" java.lang.UnsatisfiedLinkError: Can't load library /home/<user>/.tribot/dependancies/ibTOGL.so Inside my dependencies folder there's a file called togl.dll.  The bug report forum says I need to post here before I can post there.
    • By Jigglepurf
      So i try to start triBot and it says "Files loaded triBot will now start" and then the window closes and Nothing else happens. Am i doing something wrong?
    • By sgt p0wned
      hey guys, im getting an error
      [23:20:56] TRiBot Release 9.307_0 loaded. (1.8.0_102:C:\Program Files (x86)\Java\jre1.8.0_102)
      [23:20:56] Loading human mouse movement data.
      [23:20:57] Successfully loaded human mouse data.
      [23:21:09] Exception in thread "0"
      [23:21:09] java.lang.ArrayIndexOutOfBoundsException: 1
      [23:21:09]     at java.util.ArrayList.elementData(Unknown Source)
      [23:21:09]     at java.util.ArrayList.get(Unknown Source)
      [23:21:09]     at obf.nh.kH(bd:304)
      [23:21:09]     at obf.nh.yg(bd:75)
      [23:21:09]     at obf.Ql.LK(bh:523)
      [23:21:09]     at obf.RK.Da(ao:27)
      [23:21:09]     at obf.xk.m(wm:562)
      [23:21:09]     at obf.xk.<init>(wm:161)
      [23:21:09]     at obf.Ql.<init>(bh:162)
      [23:21:09]     at obf.RK.<init>(ao:192)
      [23:21:09]     at obf.vJ.<init>(gg:113)
      [23:21:09]     at obf.EG.run(af:738)
      [23:21:09]     at java.lang.Thread.run(Unknown Source)
      [23:21:09] Exception in thread "-1"
      [23:21:09] java.lang.ArrayIndexOutOfBoundsException: 1
      [23:21:09]     at java.util.ArrayList.elementData(Unknown Source)
      [23:21:09]     at java.util.ArrayList.get(Unknown Source)
      [23:21:09]     at obf.nh.kH(bd:304)
      [23:21:09]     at obf.nh.yg(bd:75)
      [23:21:09]     at obf.Ql.LK(bh:523)
      [23:21:09]     at obf.RK.Da(ao:27)
      [23:21:09]     at obf.xk.m(wm:562)
      [23:21:09]     at obf.xk.<init>(wm:161)
      [23:21:09]     at obf.Ql.<init>(bh:162)
      [23:21:09]     at obf.RK.<init>(ao:192)
      [23:21:09]     at obf.vJ.<init>(gg:113)
      [23:21:09]     at obf.EG.run(af:738)
      [23:21:09]     at java.lang.Thread.run(Unknown Source)
       
      Is there a known fix?
      FOUND A FIX.. I'm Blind..
      A username and password helps.. forgot i just deleted .tri file.
      My bad..
  • Our picks

    • Over the past few months, I’ve been working diligently on a new project - TRiBot X. Everything has been written from the ground up, with all of the best practices of software engineering. Every aspect of TRiBot has been re-imagined to support three main goals: flexibility, useability, and reliability.
        • Like
      • 49 replies
    • Come give us feedback on the next version of TRiBot!
        • Thanks
        • Like
      • 86 replies
    • TRiBot is looking to improve a lot of its customer relationship management, customer on boarding process, customer experience, design elements, community engagement and pretty much everything else you can imagine when it comes to marketing.

      Our goal: To ensure that the marketing done TRULY reflects the experience and does not shine an inaccurate light on what TRiBot is lacking in.

      So I ask, what do you love about TRiBot and what do you hate about TRiBot? What does O S Bot, Rune M8, PowR Bot and Dre amBot do better? (yes I purposely didn't spell it right 😂).

      Love, 

      RileyZ
        • Like
      • 25 replies
    • Over the last three weeks, I've been working on upgrading our server infrastructure. It's finally ready and is now live!

      Why?

      Increased reliability - less server errors


      Increased availability - less downtime


      Increased security - keeping us and you secure


      Increased capacity - ability to serve you better


      Increased speed - less waiting for things to load


      Faster development - server and service updates will come faster


      What are the changes?

      Move from a single AWS EC2 instance to AWS ECS (Elastic Container Service)


      Distributed computing


      Load balancing


      Git management of server files and filesystem


      Redis caching


      How?

      AWS ECS (with 10 EC2 instances)


      AWS ElastiCache (Redis)


      AWS Load Balancing


      AWS EFS (Elastic file system)


      Please bare with us as I continue to tune the server for maximum performance. Slow loading speeds may occur temporarily. I thank everyone for their patience.

      Please post on this thread if you experience any issues other than slow loading times.
        • Like
      • 51 replies
    • This release will:

      Fix prayers and world hopper API (Thanks @JoeDezzy1 and @erickho123)


      Improve banking API (Thanks @Encoded)


      Adds methods for returning and using Java Lists, rather than arrays


      Slightly randomizes some hardcoded behaviour


      Removes sleeps from waitConditions; the efficiency saving potential is negligible in these use-cases, therefore cleaner code is preferable


      Other back-end improvements





      Note: If you are using LG, please restart both the RS client and TRiBot.
        • Sad
        • Haha
        • Thanks
        • Like
      • 90 replies
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...