How do I get LocalStorage to work again.

  • I've recently been using the local storage for saving and it works fine. I can save what weapon the player has and all the stats. But in the past week it has stopped working without me tampering with the events. Specifically, weapons now no longer load. All your other stats load fine. So I check my weapon events for loading and saving to see if I accidently tampered with it. I hadn't it was still exactly the same. So I deleted all my events for saving and loading and re-did them. Weapons are working again. But as I implement loading regular stats EVERYTHING has stopped loading? I've even made a test project that allowed me to randomize 3 stats, save and load them and it works perfectly. Can LocalStorage just not handle loading 35 variables at once or something?

    I'm not posting game capx

    Thanks.

    • Conra
  • I've recently been using the local storage for saving and it works fine. I can save what weapon the player has and all the stats. But in the past week it has stopped working without me tampering with the events. Specifically, weapons now no longer load. All your other stats load fine. So I check my weapon events for loading and saving to see if I accidently tampered with it. I hadn't it was still exactly the same. So I deleted all my events for saving and loading and re-did them. Weapons are working again. But as I implement loading regular stats EVERYTHING has stopped loading? I've even made a test project that allowed me to randomize 3 stats, save and load them and it works perfectly. Can LocalStorage just not handle loading 35 variables at once or something?

    I'm not posting game capx

    Thanks.

    - Conra

    Please don't multi-post the same post in different sections.

    Allow sufficient time for a response. Remember that users come from many different time zones so a little patience is required.

    It is perfectly acceptable to 'bump' your own thread after 24 hours if no answer has been forthcoming.

    Thanks.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Did you find any solution, it just happened to me ...

    The problem only happens in google chrome, last thing i remember doing in construct 2 was testing the wireless server capabilities which i failed to make it work... and then it just does not save local keys anymore

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)