though, I do wonder now how source keepers are finding their path to their source
without creeps as objects or with
simply because my creeps don't harvest the sources at the source keepers pure and alone because the source keepers themself are blocking the path to the source
(meh... I'm kinda comparing it with an earthquake, it seems to be very easy to determine the vectors (or direction) of a plate, but hard to predict what happens at the faults)
If you have a surplus of energy, you can always manufacture more of the more expensive parts. The number of spawns you have makes a smaller difference.
if (!Memory.rooms){
Memory.rooms = {};
}
if (!Memory.rooms[spawn.room.name]){
Memory.rooms[spawn.room.name] = {};
}
if (!Memory.rooms[spawn.room.name].spawn_queue){ //Error thrown here.
Memory.rooms[spawn.room.name].spawn_queue = [];
}
I keep getting an error that undefined does not have property spawn_queue.
I have no idea why Memory.rooms[spawn.room.name] would be undefined after the 5th line.
And it only happens when ran on the server.
Ok, I changed Memory.rooms[spawn.room.name] with spawn.room.memory, and I still get an error :(
Error: Could not set room memory
at Room.Object.defineProperty.set (/opt/engine/dist/game/rooms.js:222:15)
at module.exports (spawns:17:31)
at main:16:18
Right now, everybody is given a constant (not expiring after a month, like would be normal) level of 300 credits, equivalent to a $24 a month subscription.