Simulation mode: Error with structure's Store property



  • Which shard is affected? Simulation mode. I'm currently on Shard 3

    What happened?

    1. Errors thrown when accessing the store property of certain structures: containers, links, storage, terminal, towers, extensions.
    2. Some structures do not render even though there are registered in the Game object. Storage, container and link seems to be the consistent ones.
    3. Extensions crashes the game once created.

    What should have happened?

    1. the structure.store property should be present and the available methods accessible.
    2. The structure should render in the game.
    3. Extensions should render and not throw cannot read property 'energy' of undefined.

    How can we reproduce this? I tried this on both the steam client and web browser. Open simulation mode and select training. Use the customize tool to create the structure above and:

    1. try accessing their store property
    2. look to see if the structures are rendered on screen (settings: Hardware acceletration: on, Lighting: Normal, Swamp texture: Animated)
    3. check console after creating extention.

    7_1571362454543_scr_storage_error.png 6_1571362454543_scr_storage_error_2.png 5_1571362454543_scr_link_error_1.jpg 4_1571362454542_scr_link_error_2.jpg 3_1571362454542_scr_extention_error_2.png 2_1571362454542_scr_conatiner_error.png 1_1571362454542_scr_terminal_error.png 0_1571362454539_scr_tower_error.png


  • Dev Team

    @levx Thanks for the report, it will be fixed soon.


  • Dev Team

    @levx should be now fixed, please confirm.



  • @o4kapuk thanks, I have confirmed the fix.

    I notice that calling store.getCapacity() on a strucutre that requires a higher RCL returns null. Also, the store.getFreeCapacity() returns a negative number. Is this the intended behavior?

    To replicate, create a Storage or Terminal in Simulation mode without have the required RCL and access either method.