Welcome to TRiBot Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Sign in to follow this  
Followers 0
Orangutan

TriBot VIP Trial

4 posts in this topic

Hello, I'm having issues loading local scripts, that includes some of the free ones that I grabbed from repos. Is this an issue with my 2 day VIP trial I paid for?

 

This is my script, 

 

package scripts;

import org.tribot.script.Script;
import org.tribot.script.ScriptManifest;

@ScriptManifest(authors={"Orangutan"},name="TestScript",category="Mining")
public class TestScript extends Script{

	@Override
	public void run() {
		// TODO Auto-generated method stub
		int helo = 1;
	}

}

 

This is the directory I'm putting it into. 

 

C:\Users\Usr\AppData\Roaming\.tribot\bin\scripts

 

 

Edited by Orangutan

Share this post


Link to post
Share on other sites

Your code seems to be fine, Did you compile the script and placed the compiled classes into  C:\Users\Usr\AppData\Roaming\.tribot\bin\scripts ?

Because TriBot scripts loader reads compiled scripts as far as I know.

 

Best regards

UKF

 

 

Share this post


Link to post
Share on other sites

Ah you are right I'm an idiot, I was putting a jar file in the folder and then trying the .java. Didn't even think about putting the class file. It works now!

Share this post


Link to post
Share on other sites
2 minutes ago, Orangutan said:

Ah you are right I'm an idiot, I was putting a jar file in the folder and then trying the .java. Didn't even think about putting the class file. It works now!

 

Glad it worked buddy :)

If you have any questions, feel free to ask!

 

Best regards

UKF

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.