Malii Posted April 28, 2016 Share Posted April 28, 2016 I have no idea what I did because I'm super new to scripting, but my script was working fine about five minutes ago, I changed one thing went to go test it again and I got this: https://gyazo.com/cf411f7363b2709605a1d70efaabbce0 I ctrl + z it and its still fucked up. No matter what I've tried nothing is going back to how it was. Also before this happened my import org.osbot.rs07.script.MethodProvider; and import org.osbot.rs07.utility.ConditionalSleep; were working now they are grayed out and say Unused import statement. I've also tried reloading a save, but I save frequently so I saved this stupid mess by accident. I just don't understand? Quote Link to comment Share on other sites More sharing options...
Aiban Posted April 28, 2016 Share Posted April 28, 2016 (edited) I dont know the errors but next time you should use try using the Undo feature Edited April 28, 2016 by Aibanker Quote Link to comment Share on other sites More sharing options...
Lone Posted April 28, 2016 Share Posted April 28, 2016 Looks like on multiple lines you missed closing out your statement. Make sure you use ";" 1 Quote Link to comment Share on other sites More sharing options...
Khaleesi Posted April 28, 2016 Share Posted April 28, 2016 You probably removed a "}" or some ")". Read everything again and see if you are not missing anything ^^ If you add me on skypee: khaleesi.bot I can take a look for you ^^ 1 Quote Link to comment Share on other sites More sharing options...
progamerz Posted April 28, 2016 Share Posted April 28, 2016 I have no idea what I did because I'm super new to scripting, but my script was working fine about five minutes ago, I changed one thing went to go test it again and I got this: https://gyazo.com/cf411f7363b2709605a1d70efaabbce0 I ctrl + z it and its still fucked up. No matter what I've tried nothing is going back to how it was. Also before this happened my import org.osbot.rs07.script.MethodProvider; and import org.osbot.rs07.utility.ConditionalSleep; were working now they are grayed out and say Unused import statement. I've also tried reloading a save, but I save frequently so I saved this stupid mess by accident. I just don't understand? If u want help add my skype : progamerz.rs or send me source pm. 1 Quote Link to comment Share on other sites More sharing options...
FrostBug Posted April 28, 2016 Share Posted April 28, 2016 knowwhere 1 Quote Link to comment Share on other sites More sharing options...
Malii Posted April 28, 2016 Author Share Posted April 28, 2016 I can't quote any of you because the forums are shit on mobile but I am using semicolons every spot that needs one has one along with ( ) Like I script was running I went to try and add a line of code, exported to test and it came up with all those errors. I'll add some of you on skype tonight. Currently at work. Thanks everyone. Quote Link to comment Share on other sites More sharing options...
Acerd Posted April 28, 2016 Share Posted April 28, 2016 show us the script Quote Link to comment Share on other sites More sharing options...
Malii Posted April 28, 2016 Author Share Posted April 28, 2016 It's one of my money making methods and the prices have been good for while so I don't want to ruin it sorry. If I can't get the help because the errors are to vague I'll just rewrite the script from scratch. Quote Link to comment Share on other sites More sharing options...
Explv Posted April 28, 2016 Share Posted April 28, 2016 Jesus Christ. It's not like it tells you what the error is or anything. Quote Link to comment Share on other sites More sharing options...
Malii Posted April 28, 2016 Author Share Posted April 28, 2016 Jesus Christ. It's not like it tells you what the error is or anything. No shit that's the issue the errors shouldn't exist because all the line of code that should have ; and () have them. I exported the script tested it in the osbot client went back into the script to change how it banked and went to go export again and I got all those errors. Quote Link to comment Share on other sites More sharing options...
Explv Posted April 28, 2016 Share Posted April 28, 2016 (edited) No shit that's the issue the errors shouldn't exist because all the line of code that should have ; and () have them. I exported the script tested it in the osbot client went back into the script to change how it banked and went to go export again and I got all those errors. The only reason you will get that errors is because your syntax is incorrect. Doesn't necessarily mean you are missing a ; or have incorrect (). It just means your syntax is fucked Learn Java pls baws Edited April 28, 2016 by Explv Quote Link to comment Share on other sites More sharing options...
Malii Posted April 28, 2016 Author Share Posted April 28, 2016 The only reason you will get that errors is because your syntax is incorrect. Doesn't necessarily mean you are missing a ; or have incorrect (). It just means your syntax is fucked Learn Java pls baws Well considering this is my first script ever and I study as much as I can I guess I'm already learning Java. Quote Link to comment Share on other sites More sharing options...
Explv Posted April 28, 2016 Share Posted April 28, 2016 (edited) Well considering this is my first script ever and I study as much as I can I guess I'm already learning Java. Are you using an IDE? It should highlight any syntax errors you have Edited April 28, 2016 by Explv 1 Quote Link to comment Share on other sites More sharing options...
Tevez Posted April 28, 2016 Share Posted April 28, 2016 not sure tbh Quote Link to comment Share on other sites More sharing options...