gmiclotte / gear-optimizer

Gear optimizer for NGU Idle.
26 stars 19 forks source link

Not updating saved data #104

Open jab416171 opened 1 year ago

jab416171 commented 1 year ago

I update my zone to 70's and it hungers to v4, click "optimize all saves", and refresh, and it reverts back to "it hungers" and v2, and the presets all revert back to what they were before. So every time I refresh, I have to update the zone and it hungers back to v4, then optimize again, and then I can start using the tool.

Witcharrr commented 1 year ago

Same thing except i've cleaned my cookies and now it reverts to the clean state every time i refresh the page. Looked at chrome's devtools and got message "No local storage found. Loading fresh v2.0.0 state". Seems like GM doesn't save it's state or smth.

gmiclotte commented 1 year ago

I cannot reproduce this. After clearing cookies and then accepting the cookie again, everything works as intended as far as I can tell. If you have any additional info so that I can reproduce this please let me know.

Witcharrr commented 1 year ago

Tested with the latest Firefox - works perfect. But with Chrome 114.0.5735.90 and Brave v1.52.117 it doesn't save anything. But seems i found a fix. You need to click "Lock" icon near the address -> Cookies -> Delete saved data. After that reload Gear Optimizer and re-accept local storage and cookies. @jab416171 try this please and tell us if it worked for you

jab416171 commented 1 year ago

I forgot to comment earlier, but yes after clearing saved data it worked, thank you.