Nabu's Comments

  • Well done devs ! You just fixed some bugs and added more code that will produce some further bugs !

    By the way, thanks for your work and your time !

  • ! EDIT : problem found and solved !

    ------------------------------------------------------

    From "instance.js, under c3runtime folder, inside the plugin's .c3addon file

    Line 118, last line of "LoadFromJson(o)", there is this :

    "this.this.wallCleared = o["wallCleared"];"

    That line caused "wallCleared" to be undefined, and should be replaced by this :

    "this.wallCleared = o["wallCleared"];"

    Now the plugin supports Load again.

    ------------------------------------------------------

  • Hello, I got this error using ROT.JS plugin and Save/Load.

    ------------------------------------------------------

    runtime.js:114 [Construct] Failed to load state from storage: TypeError: Cannot set properties of undefined (setting 'wallCleared')

    at RotJsInstance.LoadFromJson (8496761f-b9ad-46fb-ad80-c6ea81157d70:118:26)

    at Instance.LoadFromJson (instance.js:36:101)

    at ObjectClass._LoadFromJson (objectClass.js:30:470)

    at C3Runtime._DoLoadFromJsonString (runtime.js:120:13)

    at C3Runtime._DoLoadFromSlot (runtime.js:114:311)

    at async C3Runtime._HandleSaveOrLoad (runtime.js:111:52)

    at async C3Runtime.Tick (runtime.js:82:175)

    ------------------------------------------------------

    Everything is fine without the plugin. A small project with only ROT.JS and a Save/Load action triggers the error.

Nabu's avatar

Nabu

Member since 14 Feb, 2015

Twitter
Nabu has 1 followers

Connect with Nabu

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies