Simulation mode: Error with structure's Store property
-
Which shard is affected? Simulation mode. I'm currently on Shard 3
What happened?
- Errors thrown when accessing the store property of certain structures: containers, links, storage, terminal, towers, extensions.
- Some structures do not render even though there are registered in the Game object. Storage, container and link seems to be the consistent ones.
- Extensions crashes the game once created.
What should have happened?
- the
structure.store
property should be present and the available methods accessible. - The structure should render in the game.
- 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:
- try accessing their store property
- look to see if the structures are rendered on screen (settings: Hardware acceletration: on, Lighting: Normal, Swamp texture: Animated)
- check console after creating extention.
-
@levx Thanks for the report, it will be fixed soon.
-
@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, thestore.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.