bumzag Posted December 21, 2019 Posted December 21, 2019 I know I've either asked this same question or see it answered on here but I can't find the thread. I'm rebuilding my Wheat Picker script and have to configure IntelliJ but I'm getting those errors. I know it's a simple fix but I can't remember how it's done. Any advice?
Naked Posted December 21, 2019 Posted December 21, 2019 The osbot jar is not imported into the project properly. https://osbot.org/forum/topic/154399-script-development-setup/
bumzag Posted December 21, 2019 Author Posted December 21, 2019 I followed Explv's instruction to setup the environment and the osbot.jar shows in the dependencies tab in the Modules section of the Project structure but it still show's as an error when building the project.
Naked Posted December 21, 2019 Posted December 21, 2019 (edited) Follow Token's guide as closely as possible. It isn't importing properly. Edit: Have you imported import org.osbot.rs07.api.ui.RS2Widget; Edited December 21, 2019 by Naked
bumzag Posted December 22, 2019 Author Posted December 22, 2019 I deleted the project and followed Token's to a T but still getting the error. Here's a screen shot
BravoTaco Posted December 23, 2019 Posted December 23, 2019 (edited) For objects you have to import org.osbot.rs07.api.model.RS2Object Also in intellij u can click the RS2Object object and press alt+enter it will than import that for you if available. Edited December 23, 2019 by BravoTaco