Jump to content

Local Scripts not running


Recommended Posts

Posted
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.

Posted
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. 

Posted

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.

  • 6 years later...
Posted (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 by TheCongregation

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...