pocketpokie Posted July 14, 2017 Share Posted July 14, 2017 (edited) I'm new to coding and I've made a decent script. It has been running everyday and now that I am almost done the bot doesn't start the script anymore? Is this a bug with an update? Edit: Fixed the problem. Thanks everyone! Edited July 15, 2017 by pocketpokie Quote Link to comment Share on other sites More sharing options...
nasty Posted July 14, 2017 Share Posted July 14, 2017 1 minute ago, pocketpokie said: I'm new to coding and I've made a decent script. It has been running everyday and now that I am almost done the bot doesn't start the script anymore? Is this a bug with an update? sounds silly but have you tried re-opening your client? sometimes when i click play my scripts do nothing, I just have to re-load. Quote Link to comment Share on other sites More sharing options...
pocketpokie Posted July 14, 2017 Author Share Posted July 14, 2017 1 minute ago, apexv6 said: sounds silly but have you tried re-opening your client? sometimes when i click play my scripts do nothing, I just have to re-load. Yeah I have , I'm going to restart my computer now to see if that fixes it. Also re-downloaded the client too. Quote Link to comment Share on other sites More sharing options...
pocketpokie Posted July 14, 2017 Author Share Posted July 14, 2017 4 minutes ago, pocketpokie said: Yeah I have , I'm going to restart my computer now to see if that fixes it. Also re-downloaded the client too. That didn't fix it. Not too sure what is going on. I'll check if it's an issue on my side by downloading a local script that runs for others to see if it runs for me. Quote Link to comment Share on other sites More sharing options...
dreameo Posted July 14, 2017 Share Posted July 14, 2017 Activate the logger and see what the logs say. Quote Link to comment Share on other sites More sharing options...
Abysm Posted July 14, 2017 Share Posted July 14, 2017 I had some issues like this with some really small and silly mistakes like having extra brackets somewhere. so you just might want to look really closely your whole code? or post it here if its not any secret money making script so we could take a look! Quote Link to comment Share on other sites More sharing options...
bugsinmycode Posted July 15, 2017 Share Posted July 15, 2017 Make sure you don't have any .form files (for example if you used intellij builder for the GUI it creates a .form file). I'm not 100% sure that the .form file would cause issues here, but it has with other bots for me. Another thing is to make sure you aren't using the API in the constructor of your main.java file. If you are, then move that code to the on start function instead. Quote Link to comment Share on other sites More sharing options...
pocketpokie Posted July 15, 2017 Author Share Posted July 15, 2017 I ended up fixing it. I changed something in my code that made it not startup. It had to do with where I defined the variables. Thanks for the help all! Quote Link to comment Share on other sites More sharing options...
TheCongregation Posted March 7, 2024 Share Posted March 7, 2024 (edited) On 7/15/2017 at 10:35 AM, pocketpokie said: I ended up fixing it. I changed something in my code that made it not startup. It had to do with where I defined the variables. Thanks for the help all! "I changed something and it got fixed" yo talk about the most least helpful conclusion EDIT: HAHAHA same problem and same solution I just put the variables onstart onloop oneverywhere and eventually the IDE suggestions fixed it Edited March 7, 2024 by TheCongregation Quote Link to comment Share on other sites More sharing options...