I has been too encountering this issue quite a bit, mostly when left the computer hibernating for a while and relog in. It's been one and a half years since I first encountered this bug.
Posts made by iamgqr
RE: Visual bug (Broken lighting and rotating yellow planes)
RE: getUsedCapacity fast-cache causes double counting of resources
Similar issues, but on local private server. I was using
Storeobject, and the key
_sumappears before all other valid resources.
And the second one is as what @trebbettes said.
Please fix that. What's your code supposed to do? What's its behaviour now?
And it's better to ask these basic questions on slack #help channel.
The first issue I spotted is that your first couple of lines are using both
Game.market.getOrderById returning incorrect price
I'm on shard 2, and was running
Game.market.getOrderByIdon some of my sold-out orders. This is what I got:
Apparently it's returning the wrong price. The order price should be 0.019. Interestingly, it went back normal after I extended it.
Reproduce: Just run
Game.market.getOrderByIdwith an id of a 0 remaining order, no matter the order is a sell or buy order. It seems that it will always return 1/1000 of the price.
energyStructures option for renewCreep
I think it would be better to choose which structures to draw energy from when renewing creeps, since spawnCreep already has the same option.
RE: Draft: NPC Strongholds
Thinking it's making the world less noob-friendly...