I've also seen people build a wall in all cells adjacent to the spawn point. Does this prevent the creeps from spawning entirely?
Posts made by DXsmiley
-
RE: Walling In Source Keeper Spawnsposted in General Discussion
-
Walling In Source Keeper Spawnsposted in General Discussion
I've noticed that some players have walled in the source keeper spawns. Does this actually work? How long do the walls last?
-
RE: Constructed walls decay time after respawn.posted in Help
I'm pretty sure that the first time your spawn, you get 3 days protection. After that, you'll only get 3 hours each time you spawn.
-
Can't see into room E2N5posted in Technical Issues and Bugs
I can see room E2N5 on the map, but when I click on it, it's not displayed.
I tried clearing my browser cache and it didn't help.
-
RE: Please implement "send message"!posted in Feature Requests
There is a Game.notify function, which sends a message to your email.
http://support.screeps.com/hc/en-us/articles/203016382-Game#notify -
Who attacked me?posted in General Discussion
I just got a (very large) number of emails about my colony being attacked, but they don't specify who it was. Is there any way to find this out?
-
RE: Transfering energy to controllerposted in Technical Issues and Bugs
You should be using
creep.claimController(creep.room.controller)to claim it, and thencreep.upgradeController(creep.room.controller)to pump energy into it. -
RE: CPU Optimizationposted in General Discussion
While I haven't tried it myself, I think that using a flowfield would be beneficial.
The principal is as follows: You have many units wishing to find the shortest path to a particular point (or area), for example, your spawn. For every cell in the grid (a room, in this case), you calculate the direction in which a creep should move to get the the goal. After creating the flowfield, each creep can simply look at the flowfield and follow the direction. If there's something in the way, you could take the second-best direction, and so on.
While the initial setup of the flowfield could be slow, using it is very fast. However, it does have the drawback that it doesn't consider other units, so I'd avoid using it in situations where there are many creeps in a small space, or where the environment could potentially change.
-
Comment on last line of code causes errorsposted in Technical Issues and Bugs
Having a comment as the last line of code in a module (including 'main') causes an error. A similar thing occurs when there is a non-terminating multi-line comment (a
/*without a closing*/) anywhere in the code.main:42
// } })()
SyntaxError: Unexpected end of input
at flush (/opt/engine/dist/core/node_modules/q/q.js:110:17) -
Recolour Individual Creepsposted in Feature Requests
I'd like to be able to recolour individual creeps for debugging purposes; to show their assigned role, current state, etc.
-
RE: Strange error when executing successful command from console.posted in Technical Issues and Bugs
@QzarSTB:
The actual errorobject is not a functionis actually referring tobuilder, which is apparently not a function. The problem is that it is a function, and the error only occurs whenever I type a command into the console. -
Strange error when executing successful command from console.posted in Technical Issues and Bugs
Whenever I execute a command from the console, I get the following error:
main:15
builder(creep);
^
TypeError: object is not a function
at main:15:6Lines 14, 15, and 16 of my main module are as follows:
if (creep.memory.role == 'builder') {
builder(creep);
}builderis a function that is in another module.The error seems to have nothing to do with the command being executed, and does not appear to interfere with it.
