Jump to content

Local Scripts not running


pocketpokie

Recommended Posts

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.

Link to comment
Share on other sites

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. 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 6 years later...
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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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