snoots Posted March 22, 2021 Share Posted March 22, 2021 It worked before, I'm not sure why I keep getting this error. I attached the artifact to the OSBot's client.jar, so I shouldn't be getting any errors from this. Quote Link to comment Share on other sites More sharing options...
ExtraBotz Posted March 22, 2021 Share Posted March 22, 2021 48 minutes ago, snoots said: It worked before, I'm not sure why I keep getting this error. I attached the artifact to the OSBot's client.jar, so I shouldn't be getting any errors from this. Can you post a screenshot of your artifact settings? I am not sure what you mean by attaching the artifact. The OSBot client should be used as a dependency in your project. When you generate an artifact you’re creating a .jar application with your code. By the client jar being a dependency it is already included in your project. Quote Link to comment Share on other sites More sharing options...
Khaleesi Posted March 22, 2021 Share Posted March 22, 2021 (edited) You don't have to add osbat jar or any jar as dependency All you need is the osbot client added as a library Edited March 22, 2021 by Khaleesi Quote Link to comment Share on other sites More sharing options...
snoots Posted March 22, 2021 Author Share Posted March 22, 2021 9 hours ago, ExtraBotz said: Can you post a screenshot of your artifact settings? I am not sure what you mean by attaching the artifact. The OSBot client should be used as a dependency in your project. When you generate an artifact you’re creating a .jar application with your code. By the client jar being a dependency it is already included in your project. sorry for late response, was at work. Here is a image of my module settings (since the bot is on a module) I used to make bots on poopbot, so I am currently using the poopbot method. It worked once for me with OSBot and then stopped working for some reason. Quote Link to comment Share on other sites More sharing options...
Czar Posted March 22, 2021 Share Posted March 22, 2021 That is the wrong import, you need to import the downloaded jar (something like osbot 2.6.22.jar), not client.jar. That's the RS client that osbot injects into So what I do is download latest version of osbot: https://osbot.org/mvc/get and then rename it to osbot.jar and just import that. So whenever there's a new client version I don't have to remove import and re-import the new version. Eclipse gang here so nobody can relate 1 Quote Link to comment Share on other sites More sharing options...
snoots Posted March 22, 2021 Author Share Posted March 22, 2021 2 hours ago, Czar said: That is the wrong import, you need to import the downloaded jar (something like osbot 2.6.22.jar), not client.jar. That's the RS client that osbot injects into So what I do is download latest version of osbot: https://osbot.org/mvc/get and then rename it to osbot.jar and just import that. So whenever there's a new client version I don't have to remove import and re-import the new version. Eclipse gang here so nobody can relate got it, thanks man! Quote Link to comment Share on other sites More sharing options...