Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Can't export .Jar file, Script wont appear in local (2022)


    Jake Paul

    Recommended Posts

    Ive use both guides for both eclipse and Intellij. I am trying to get my script onto the dream bot client I have my path set right I have my manifest placed correctly. I haven't started writing the script I'm just simply trying to get the file to pop up in local. there are no errors whenever I try to export the jar file, there are no visible errors in the code itself. I don't understand what's going on please help lol.

    Link to comment
    Share on other sites

    11 hours ago, Jake Paul said:

    yeah i used that guide already idk what the problem is

    You must have skipped a step somewhere, start from scratch. If you follow 100% through the guide, it will work

    Link to comment
    Share on other sites

    does your code look like below? What is the folder path that you are putting the .jar in? What does your ScriptManifest look like? In the title of your post you say Can't export .jar file, yet in the post you say there are no errors when you exporting the .jar file. Did you try and fail to export the .jar, and didn't see any errors in the process? Or do you see a .jar file in the export folder??
     

    
    import org.dreambot.api.methods.MethodProvider;
    import org.dreambot.api.script.AbstractScript;
    import org.dreambot.api.script.Category;
    import org.dreambot.api.script.ScriptManifest;
    import org.dreambot.api.wrappers.widgets.WidgetChild;
    
    
    
    
    @ScriptManifest(name = "#Tester", author = "Dreambotter420", version = 0.01, category = Category.MISC)
    public class Tester extends AbstractScript
    {
    	@Override
    	public void onStart()
    	{
    		MethodProvider.log("OnStart Script!");
    	}
    	@Override
    	public void onStart(String[] i)
    	{
    		MethodProvider.log("OnStart Script quickstart!");
    		onStart();
    	}
    	@Override
    	public int onLoop() 
    	{
    		log("Test");
    		return 3000;
    	}
    	
    }

     

    Link to comment
    Share on other sites

    looks just like that. path is the dreambot script folder. Jar file does appear in the script folder it just doesn't appear in local when im actually running dreambot

    Link to comment
    Share on other sites

    Archived

    This topic is now archived and is closed to further replies.

    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.