Welcome!

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

Sign up now!

Bug Spectre failing to recognize bots developed w/ Modules.

Joined
May 31, 2016
Messages
5
I finally decided to spend the day to clean up all of my code before submitting to the bot store. I moved my framework into a nice Module as-well as created a module for my bot. (I've only moved one over to the modular based framework, but the entire framework and bot was completely rewritten while doing so).

Here's a picture of the project package structure:

Yes, I am aware the project's name is Xe/m/oTools and not Xe/n/oTools. This really shouldn't matter as my other projects that spectre recognizes don't even have my username in it.

18e366e61c5c9e6875f1bebc4be0952c.png


Here's the Manifest for those who think it may be an issue with the manifst.

Code:
<manifest>
    <main-class>com.xenotools.xenocookerlite.XenoCookerLite</main-class>
    <name>XenoCooker Lite</name>
    <tag-line>Cooks food. Burns it too! BETA</tag-line><!--Max of 50 chars-->
    <description>Cooks food. Burns it too! BETA</description><!--Max of 110 chars-->
    <version>1.0.0</version>
    <compatibility>
        <game>RS3</game>
    </compatibility>
    <categories>
        <category>COOKING</category>
    </categories>
    <!--Required to publish on the bot store-->
    <internal-id>XenoCookerLite</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>Cooking</tag>
    </tags>
    <resources>
    </resources>
</manifest>

I can change my local script directory to my other project which does not contain modules and my scripts will load fine.

Do we have to change anything in the manifest for Modularized scripts to be loaded, or are they simply not supported.

--- Spectre claims it cannot locate the class file, although it's in the location it's looking for it..


Unable to locate "C:\Users\mybro\Desktop\XemoTools\out\production\XenoCookerLite\com\xenotools\xenocookerlite\XenoCookerLite.class".


VIDEO of error:

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.


Attempted file-paths for module project:

- Attempted variations:
C:\Users\mybro\Desktop\XemoTools\out\production\XenoCookerLite\com
C:\Users\mybro\Desktop\XemoTools\out\production\XenoCookerLite
C:\Users\mybro\Desktop\XemoTools\out\production\
C:\Users\mybro\Desktop\XemoTools\out\
C:\Users\mybro\Desktop\XemoTools\
 
Last edited:
Java Warlord
Joined
Nov 17, 2014
Messages
4,906
Using multiple modules works perfectly fine for me, must be something with your setup.
 
Joined
May 31, 2016
Messages
5
Post your Local Bot Directory path?

Module Project: C:\Users\mybro\Desktop\XemoTools\out\production
- Attempted variations:
C:\Users\mybro\Desktop\XemoTools\out\production\XenoCookerLite\com
C:\Users\mybro\Desktop\XemoTools\out\production\XenoCookerLite
C:\Users\mybro\Desktop\XemoTools\out\production\
C:\Users\mybro\Desktop\XemoTools\out\
C:\Users\mybro\Desktop\XemoTools\


Non-Module Project: C:\Users\mybro\Desktop\PublicRunemateScripts\out\production <-- Works
 
Last edited:
Java Warlord
Joined
Nov 17, 2014
Messages
4,906
Module Project: C:\Users\mybro\Desktop\XemoTools\out\production
- Attempted variations:
C:\Users\mybro\Desktop\XemoTools\out\production\XenoCookerLite\com
C:\Users\mybro\Desktop\XemoTools\out\production\XenoCookerLite
C:\Users\mybro\Desktop\XemoTools\out


Non-Module Project: C:\Users\mybro\Desktop\PublicRunemateScripts\out\production <-- Works
C:\Users\mybro\Desktop\PublicRunemateScripts\ would be sufficient.
 
Joined
May 31, 2016
Messages
5
C:\Users\mybro\Desktop\PublicRunemateScripts\ would be sufficient.

No scripts can be found at that directory. Updated list of tried directories.

Should also add then when using directory:C:\Users\mybro\Desktop\XemoTools\out\production\XenoCookerLite

I receive the error:

Code:
Unable to locate "C:\Users\mybro\Desktop\XemoTools\out\production\XenoCookerLite\com\xenotools\xenocookerlite\XenoCookerLite.class".

However I can go to it in explorer and open the .class file right up

@Savior @Party added a video to the OP
 
Last edited:
Mod Automation
Joined
Jul 26, 2013
Messages
3,053
C:\Users\mybro\Desktop\XemoTools\out\production\XenoCookerLite
This is the only local bot directory that should work. The local bot directory path you select should also be the classloader root, i.e. the folder above your first package. So if your first package is "com" located in C:\Users\mybro\Desktop\XemoTools\out\production\XenoCookerLite\com\ then your local bot directory should be C:\Users\mybro\Desktop\XemoTools\out\production\XenoCookerLite\.

No scripts can be found at that directory. Updated list of tried directories.

Should also add then when using directory:C:\Users\mybro\Desktop\XemoTools\out\production\XenoCookerLite

I receive the error:

Code:
Unable to locate "C:\Users\mybro\Desktop\XemoTools\out\production\XenoCookerLite\com\xenotools\xenocookerlite\XenoCookerLite.class".

However I can go to it in explorer and open the .class file right up

@Savior @Party added a video to the OP
This, however, I can't explain. @Cloud
 
Top