Jump to content

Jack Shep

Members
  • Posts

    36
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Jack Shep

  1. Here's what the logger has to say after I start one of my scripts. After "Script Started: Jack's Tree Chopper" the bot began to head towards the botting area. At this point, I simulated a disconnect by disconnecting my computer from wifi. Afterwards, the autologin tries to log in but gets "Error Connecting to server". Where you see the "Starting 20 second sleep" after that is where I usually have a sleep that lasts 1.5-2.5 minutes, but for troubleshooting purposes I shortened it down to 20 seconds. During that 20 second break, I re-connected my computer to wifi so that the account would be able to log in again. Instead, the bot just stops. Attached is an image of my logger and an image of the code that tests for the error message as well as does the sleeping. I test for connection error numbers: -2, 5, 8, 9, 23, 25. Thank you for your time and help.
  2. Which one would be easier in your opinion? I'm pretty new so the more simple the better. What do you mean?
  3. When my computer disconnects and auto-login tries to log in, it gets an error message. I have my script sleep for 1.5-2.5 minutes when this happens. Afterwards, I'd like to re-enable auto login. Currently, after the first attempt and the waiting time, the script just ends. I know you can create your own log in handler, but is there a way to just get auto-login to try again?
  4. Is that the easiest way to go about it? I'm rather new to writing scripts and login handlers look quite intimidating. If there's no simpler way, I will definitely try and learn and understand them, but if there is an easier way I'd much rather go down that route.
  5. I recreated the issue by starting a script and disconnecting my computer from wifi. Once the account fully disconnects the auto login tries to log in once, then it gets "Error connecting to server." and stops the script immediately.
  6. I'm currently working on a runecrafting script and it works pretty well. However, I don't have the best wifi and I disconnect once every hour or two. When I disconnect the bot tries to log back in, but when it does it gets a message on the login screen and stops running. Is there a way to get the bot to sleep for a couple minutes when it disconnects to allow my wifi to re-connect to the internet, then log back in and continue botting?
×
×
  • Create New...