bumbleshoot / automate-habitica

Automate Habitica is a suite of automation tools for Habitica, allowing you to focus on your tasks instead of managing gameplay. Each tool can be enabled, disabled, and configured to suit your needs.
https://habitica.fandom.com/wiki/Automate_Habitica
22 stars 6 forks source link

Automate Habitica error since last 24 h #35

Closed Falzart closed 3 months ago

Falzart commented 4 months ago

What is the bug? Every 10 minutes, the script send me an error message. The message is like this: TypeError: Cannot read properties of undefined (reading 'Milk') at hatchFeedPets (automations/hatchFeedPets:128:73) at processQueue (global:413:11) at onTrigger (global:31:5) at GS_INTERNAL_top_function_call.gs:1:8

Additional context I don't do anything on the script, also not on my Habitica character. It just suddenly pop up

How often does this happen? Every 10 minutes.

Script version V 0.29.36

Script settings default setting

bumbleshoot commented 4 months ago

Thanks for the bug report @Falzart! Multiple people reported the same problem around the same time you did. Because this wasn't an issue previously, and now several people are reporting it at once, I suspect it has something to do with an update Habitica made. I will look into it as soon as I can - a bit swamped with life stuff right now. In the meantime, your best course of action would be to disable Auto Hatch/Feed Pets by following these instructions.

zdraco commented 4 months ago

happened to me as well!

bumbleshoot commented 3 months ago

Hi @Falzart, can you please try enabling Auto Hatch/Feed Pets again (using these instructions) and let me know if you get any more of these error messages? Thanks!

Falzart commented 3 months ago

Because of the continuous error messages, I moved the script to brand new Google account on June 30th. Just logged in to said new account (because I read this reply) and found the error messages persisted only until July 1st.

Thank you. I will let you know if anything else goes wrong. 😃

bumbleshoot commented 3 months ago

Great! I did not make any changes to the code. I investigated the error message and the code and determined that it was probably an issue on Habitica's end. I tested my own copy of the script and didn't get the error message, so I figured the problem had been fixed. Thanks for confirming that!