koder20 0 Share Posted October 16, 2019 Hi, I'm trying to get into scripting and have wrote a basic woodcutting script and have exported into my dreambot script folder and I can see it there but I can't find the script under local scripts when I run the bot. Link to comment Share on other sites More sharing options...
Nuclear Nezz 2040 Share Posted October 16, 2019 Means you have an error somewhere in it. Make sure you're using the latest client in your build path, and that you're not building the client in with the script. Link to comment Share on other sites More sharing options...
koder20 0 Author Share Posted October 16, 2019 what do you mean that your not building the client in with the script? sorry for the confusion Link to comment Share on other sites More sharing options...
Nuclear Nezz 2040 Share Posted October 16, 2019 48 minutes ago, koder20 said: what do you mean that your not building the client in with the script? sorry for the confusion That you're not building the client in your build path into your script jar. When you build your script jar, you choose what sources you want to be put into it. You need to make sure the client is not part of that source. You'll probably know by the size of your script jar. It'll be large if you put the client into it. Link to comment Share on other sites More sharing options...
Defiled 423 Share Posted October 17, 2019 Hi, Make sure you have this in your code: (above the public ClassName extends AbstractScript....) @ScriptManifest(category = Category.CategoryName, name="ScriptName", author="YourName", version = 1.0, description="Script Description") Secondly: Make sure, that you are building correctly with the client.jar added as an External Library. Third: Export as Jar If you're using Eclipse, Click FIle > Export > Jar > Select Your Project > Finish I hope this helps! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.