Zanhon Posted June 30, 2013 Posted June 30, 2013 hi im new to this site sorry if this is the wrong place to post this but i cant add .groovy files... it sais "i have no repsitory scripts" what do i do??
Peter Posted June 30, 2013 Posted June 30, 2013 (edited) Hello Zanhon, please make sure when adding .groovy files to your OSBot folder make sure it's not a .txt and make sure you tick "All Files" and save it as scriptname.groovy, also repository scripts and local scripts are two different things you could follow this tutorial on how to add local scripts. http://osbot.org/forum/topic/4008-how-to-add-and-use-local-scripts/ Edited June 30, 2013 by Peter
Zanhon Posted June 30, 2013 Author Posted June 30, 2013 (edited) hello peter... thanks for the answer but it did not work is there supposed to be a picture for groovy files? or do i need a program to read it? please help me if you can understand when im trying to say. [edit] oh and this is what the message sais: [iNFO ][06/30/13 12:53:29 PM]: Loading local scripts... [ERROR][06/30/13 12:53:31 PM]: Failed to load script : ArdougneChest org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: file:/C:/Users/Cale/OSBot/scripts/ArdougneChest.groovy: -1: The return type of java.lang.Object getVersion() in ArdougneChest is incompatible with double getVersion() in org.osbot.script.Script . At [-1:-1] @ line -1, column -1. 1 error please if anyone can help please do so Edited June 30, 2013 by zanhon
H0ppy Posted July 2, 2013 Posted July 2, 2013 just change the version of the file in the @Scriptmanifest to something else which is greater then 0.grtzhoppy