1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Question Need help setting up the environment for Development

Discussion in 'Developer Support' started by P3rson101, Nov 22, 2023.

  1. P3rson101

    Joined:
    Jan 7, 2018
    Messages:
    3
    Likes Received:
    0
    I have completely got everything setup in IntelliJ and it runs but when I add a bot and a manifest it finds it but says "Failed to retrieve bot data". Here is a screen shot of the IntelliJ, and my code and error message plus IntelliJ log

    [​IMG]

    [​IMG]


    test.java

    package com.p3rson101.scripts bots.test;

    import com.runemate.game.api.script bot.framework.LoopingBot;

    public class test extends LoopingBot {
    @Override
    public void onLoop() {

    }
    }

    test.manifest.xml


    <manifest>
    <main-class>com.p3rson101.scripts bots.test.test</main-class>
    <name>Test</name>
    <description>This is a test.</description>
    <version>1.0.0</version>
    <compatibility>
    <game>OSRS</game>
    </compatibility>
    <categories>
    <category>COOKING</category>
    </categories>
    </manifest>

    InteliJ Log


    12:21:41 [TRACE] [ RuneMate] Initializing JavaFX Platform
    12:21:41 [INFO ] [ RuneMate] Deleted 0 files over a week old
    12:21:41 [DEBUG] [ RuneMate] RuneMate Version: 3.14.13
    12:21:41 [DEBUG] [ RuneMate] Operating System: Windows 11 amd64
    12:21:41 [INFO ] [ RuneMate] JAVA ENVIRONMENT:
    12:21:41 [DEBUG] [ RuneMate] Home: C:\Users\strac\.jdks\openjdk-21.0.1
    12:21:41 [DEBUG] [ RuneMate] Version: 21.0.1 x64 (Oracle Corporation)
    12:21:41 [DEBUG] [ RuneMate] Max. Heap: 3900MB
    12:21:43 [TRACE] [ RuneMate] Skipping runemate-game-api.jar since a local version is being used instead.
    12:21:43 [INFO ] [ RuneMate] Using custom extension library
    12:21:43 [TRACE] [ RuneMate] Identified manifest and main class of Test
    12:21:43 [INFO ] [ RuneMate] Detected 1 manifests and 1 unique content roots
    12:21:43 [WARN ] [ RuneMate] Failed to retrieve bot data
    java.lang.IllegalArgumentException: Unsupported class file major version 65
    at nul.IiIIIiiiiIiiii.<init>(zl:586) ~[RuneMate.jar:?]
    at nul.IiIIIiiiiIiiii.<init>(zl:333) ~[RuneMate.jar:?]
    at nul.IiIIIiiiiIiiii.<init>(zl:154) ~[RuneMate.jar:?]
    at nul.iiIIIIiiiIIIIi.IIiIiiiiIiIiII(hx:259) ~[RuneMate.jar:?]
    at nul.iiIIIIiiiIIIIi.visitFile(hx:302) ~[RuneMate.jar:?]
    at java.nio.file.Files.walkFileTree(Files.java:2786) ~[?:?]
    at nul.IIIIiIiiiIIIii.IIIiIiiiIIiIIi(hx:576) ~[RuneMate.jar:?]
    at nul.IIIIiIiiiIIIii.<init>(hx:175) ~[RuneMate.jar:?]
    at nul.IIIIiIiiiIIIii.<init>(hx:518) ~[RuneMate.jar:?]
    at nul.IIIIiIiiiIIIii.<init>(hx:497) ~[RuneMate.jar:?]
    at nul.IiIIIIiiiIIiiI.IiIIIIiiiIiIIi(hr:534) ~[RuneMate.jar:?]
    at nul.IIIIIIiiiiIiii.iiIIIiiiiIIIii(lq:733) ~[RuneMate.jar:?]
    at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
    at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) ~[?:?]
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) ~[?:?]
    at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) ~[?:?]
    at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) ~[?:?]
    at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) ~[?:?]
    at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) ~[?:?]
    12:21:43 [DEBUG] [ RuneMate] Required x86 JDK resource exists - skipping download.
    12:21:44 [INFO ] [ RuneMate] Successfully downloaded missing resources
    12:21:44 [INFO ] [ RuneMate] Unable to login: An error occurred while downloading information about your bots.
    Process finished with exit code 130
     
  2. Bing Bong

    Bing Bong Bot Author

    Joined:
    Jan 29, 2016
    Messages:
    1,083
    Likes Received:
    103

    Your intelliJ package doesn't look correct, you need to create a folder and put the Java class inside that folder along with the XML file.

    Something like this
    upload_2023-11-22_20-11-16.png

    I can hop on TeamViewer or AnyDesk or something to come take a look?

    Edit: May be the application data OR you've not built the program, so there is no "out" .class files and that's what you need to do.
     

Share This Page

Loading...