@arsdragonfly Where do your code running? The bug haven't been fixed in the private server.
fangxm
@fangxm
6
Posts
1063
Profile views
0
Followers
0
Following
Posts made by fangxm
-
RE: Error This creep doesn't exist yet with Store
-
Why does reset so often since 16 Dec
shard
shard3
My code reset frequently since 16 Dec. What happened to the server?
-
RE: Invader healer doesn't suicide when there is no attacker
@o4kapuk But i find that the healer didn't suicide when it was alone.
You can find it in reply.
I did some experiment after the two healers died.
-
Invader healer doesn't suicide when there is no attacker
shard3
The healer should suicide when there is no attacker, but I have encountered an exception.
replay: https://screeps.com/a/#!/history/shard3/E49N19?t=12720919
thank @EricGuo for providing the reproduce method.
-
RE: Error This creep doesn't exist yet with Store
@o4kapuk But I still have this problem with the code above.
-
RE: Error This creep doesn't exist yet with Store
I have the same problem.
This seems to happen when a creep is spawned and then immediately get its store in the same tick.
I have reproduced the problem in the simulator.
code:
var n = 1; module.exports.loop = function () { if(n == 1){ let spawn = Game.getObjectById('10484812e4326970c56cf6e3'); spawn.spawnCreep([MOVE], 't'); let store = Game.creeps['t'].store; } n = 0; return }
error:
Error: This creep doesn't exist yet at _:2:118566 at Object.get [as store]:7:62 at Object.module.exports.loop:6:37 at __mainLoop:1:22556 at eval:2:4 at Object.r.run:2:151285