I see the dot. That was just an issue with the code I posted here. It turns out the actual issue is that I was trying to build creeps with more than 50 body parts. Didn't realise that was too many.
Posts made by rvabdn
-
RE: createCreep returning -10
-
createCreep returning -10
I am seeing -10, ERR_INVALID_ARG when calling create creep. An example of my code is
Game.spawns.Spawn2.createCreep([WORK,WORK,WORK,CARRY,CARRY,CARRY,MOVE,MOVE,MOVE.MOVE,MOVE,MOVE], null, {role:'harvester', homeRoom:'W48N19'})
This worked as recently as yesterday but now it's throwing the error.
Smaller bodys seem to work ok. I have plenty of resources available.