Jump to content

Cant use mouse after activating script


Recommended Posts

Posted

Hello

when i want to test out the script i made it will disable me mouse in-game i cant click anything or when i hover over the bank or such will be just blanc instead of what it supposed to do also it wont even load the script (it does appear on the script menu tho)

when i worked on the script i did test almost every single line at the end tho i didnt now when i "backtrack" the end code  it wont fix and i cant seem to find the problem 

 

this was the end code i romved it but still no improvements 

 

else if(getBank().contains("Uncooked pizza")) {
    getBank().withdrawAll("Uncooked pizza");
    getBank().close();
    cook.interact();
    sleep(2000);
    if(pbt != null) {
        pbt.interact();
        sleep(18000);
    }


}
Posted
39 minutes ago, Carolus_rise said:

Hello

when i want to test out the script i made it will disable me mouse in-game i cant click anything or when i hover over the bank or such will be just blanc instead of what it supposed to do also it wont even load the script (it does appear on the script menu tho)

when i worked on the script i did test almost every single line at the end tho i didnt now when i "backtrack" the end code  it wont fix and i cant seem to find the problem 

 

this was the end code i romved it but still no improvements 

 


else if(getBank().contains("Uncooked pizza")) {
    getBank().withdrawAll("Uncooked pizza");
    getBank().close();
    cook.interact();
    sleep(2000);
    if(pbt != null) {
        pbt.interact();
        sleep(18000);
    }


}

image.png.3746fe20193d6641550c5a8f7799ace2.png Click this guy twice to enable mouse. It'll look like this: image.png.a18a2bb8f57802a3a6b514c98358c7df.png

 

You may be compiling it incorrectly, or there is an error being thrown. Check the logger (Settings in the top right -> Toggle Logger) to get more info.

Posted
1 minute ago, Naked said:

image.png.3746fe20193d6641550c5a8f7799ace2.png Click this guy twice to enable mouse. It'll look like this: image.png.a18a2bb8f57802a3a6b514c98358c7df.png

 

You may be compiling it incorrectly, or there is an error being thrown. Check the logger (Settings in the top right -> Toggle Logger) to get more info.

hi

i checked the logger and there are none errors

image.png.ea300a11e4e70622a075c554fad5f834.png it seems to me that either it wont load the script at all or im missing something

Posted
11 minutes ago, Carolus_rise said:

hi

i checked the logger and there are none errors

image.png.ea300a11e4e70622a075c554fad5f834.png it seems to me that either it wont load the script at all or im missing something

If you're getting a green play button, there is no script running. Click the play button and select the script, then check the logger.

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