I directly use createCreep
Genovese
@Genovese
Posts made by Genovese
-
Spawn direction doesn't work when spawning creeps that take 1 tick to spawn
When having Power Operate Spawn level 5 (80% spawn time reduction) and spawning a creep of 1 bodypart (1 tick). The given spawndirection isn't taken into account.
See https://screeps.com/season/#!/history/shardSeason/E19N15?t=1255565 A few tick later (1255570) the spawn boost stops, and the same "recycler" creeps go out to different spot while giving the exact same direction in the API call. Also I verified then the issue is gone when spawning recyclers with 2 body parts.
-
Creep.spawning is not updated correctly after spawn process
This issue is only applicable on a private server ! (test on two individual servers/pc's).
The tick that a creep comes out of the spawn the ticksToLive is still undefined while the spawning boolean is already false. This is not the case on the real game server!
spawning process private server:[9:24:52 PM]_creep.ticksToLive: undefined spawning: true
[9:24:52 PM]_creep.ticksToLive: undefined spawning: false
[9:24:52 PM]_creep.ticksToLive: 1499 spawning: false
[9:24:52 PM]_creep.ticksToLive: 1498 spawning: false
[9:24:52 PM]_creep.ticksToLive: 1497 spawning: false
[9:24:52 PM]_creep.ticksToLive: 1496 spawning: falseReal server:
[7:43:46 PM]_creep.ticksToLive: undefined spawning: true
[7:43:50 PM]_creep.ticksToLive: undefined spawning: true
[7:43:54 PM]_creep.ticksToLive: 1499 spawning: false
[7:43:57 PM]_creep.ticksToLive: 1498 spawning: false
[7:44:00 PM]_creep.ticksToLive: 1497 spawning: false
[7:44:09 PM]_creep.ticksToLive: 1496 spawning: false -
RE: Exploit?
I also agree that this should not be possible, however I also think that the game should add some kind of "morale" of the screeps. It is impossible for a starting player to defend against big players and since the map is very small, you have to spawn near a big player. It is also not fun for a starting player to get killed twice a day.