Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Question Can't load the local script

Joined
Jan 4, 2019
Messages
2
Hi all. I'm try writing the first script. But, Runemate isn't see it. I've try change the JDK version from 1.8.0_60 to 1.8.0_60, but nothing. In the Runemate log i'm always see:

Code:
[Notice] Your bot list has been refreshed.
Unable to locate "C:\Users\Cynic\IdeaProjects\rmCannonBuddy\out\production\CannonBuddy\com\cynicrus\bots\CannonBuddy.class".

My a project struct:


Output catalog:


Path in the Runemate:


Manifest file:
Code:
<manifest>
    <main-class>cynicrus.bots.CannonBuddy</main-class>
    <name>CannonBuddy</name>
    <tag-line>Cannon</tag-line><!--Max of 50 chars-->
    <description>Mainterance cannon anywhere</description><!--Max of 110 chars-->
    <version>1.0.0</version>
    <compatibility>
        <game>OSRS</game>
    </compatibility>
    <categories>
        <category>Combat</category>
    </categories>
    <!--Required to publish on the bot store-->
    <internal-id>CannonBuddy</internal-id>
    <!--The rest are optional-->
    <open-source>false</open-source>
    <hidden>false</hidden> <!--If you need to hide it from the bot store for maintenance-->
    <access>public</access>
    <tags>
        <tag>Cannon</tag>
        <tag>Ranged</tag>
    </tags>
    <resources>
        <resource>nop.png</resource>
    </resources>
</manifest>

Idk exactly, maybe I do something wrong. What could be the problem?
 
Java Warlord
Joined
Nov 17, 2014
Messages
4,906
in the manifest, you're missing the "com" package when specifying the main class.
 
Joined
Jan 4, 2019
Messages
2
Added that in the manifest.
Still same error:
Code:
Unable to locate "C:\Users\Cynic\IdeaProjects\rmCannonBuddy\out\production\CannonBuddy\com\cynicrus\bots\CannonBuddy.class".
 
Well. Figured it out. Idk why, but its works for me, in in the manifest i set:
Code:
 <main-class>com.cynicrus.bots.CannonBuddy.CannonBuddy</main-class>
 
Top