Coorviatior 0 Posted February 24, 2022 Hello, I have a problem visible in attached screenshot, anyone could tell me what's wrong? I followed the guide perfectly.
Coorviatior 0 Author Posted February 24, 2022 First of all, thanks for answering such a trivial question! I see that i attached a wrong launcher, but now when i'm trying to do it properly idea still cannot process it properly, i tried importing it as a class, and then i had errors at every dreambot mentioned in script.
pharaoh 131 Posted February 24, 2022 9 minutes ago, Coorviatior said: First of all, thanks for answering such a trivial question! I see that i attached a wrong launcher, but now when i'm trying to do it properly idea still cannot process it properly, i tried importing it as a class, and then i had errors at every dreambot mentioned in script. make sure you are in the project, then add it through File > Project Settings > Libraries https://dreambot.org/guides/scripter-guide/script-dev/setting-up-dev-env/ - adding dependencies section if youre still having issues and have not started with too much work, you could make a new project
Coorviatior 0 Author Posted February 25, 2022 Hmm, strange thing because i can't add it through File > Project Settings > Libraries, it says to add it through project structure. The screen shows what happens when i'm trying to add it through libraries. Sorry for making you answer such trivial questions, but after setuping the enviroment i think i will manage by myself, i just have zero experience beside c++/c# IDE's
pharaoh 131 Posted February 25, 2022 5 hours ago, Coorviatior said: Hmm, strange thing because i can't add it through File > Project Settings > Libraries, it says to add it through project structure. The screen shows what happens when i'm trying to add it through libraries. Sorry for making you answer such trivial questions, but after setuping the enviroment i think i will manage by myself, i just have zero experience beside c++/c# IDE's make a new project and make sure its Java not JavaScript, then you should be able to add the client to the libraries!
Coorviatior 0 Author Posted February 25, 2022 This is how it looks when creating a new project, is something wrong with the SDK version i downloaded?
pharaoh 131 Posted February 25, 2022 1 hour ago, Coorviatior said: This is how it looks when creating a new project, is something wrong with the SDK version i downloaded? that is fine, i am using the same one. here try to follow these steps; 1- new project > java (sdk is fine) > next (no template needed) > name and location of your choosing 2- file > project structure > libraries > java add the client.jar from \Dreambot\BotData and apply and ok 3- with your first folder make a test class and try to extend the AbstractScript, should be all set
Coorviatior 0 Author Posted February 27, 2022 Thanks a lot, i was doing everything as you showed here, the thing is that client.jar was corrupted and i needed to reinstall dreambot, it works fine now, thanks a lot!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.