If we now have to keep track of our own order IDs in code, it might help if createOrder returned the order ID.
Bleem
@Bleem
Posts made by Bleem
-
RE: PTR Changelog 2016-10-08
-
Minor visual bug for flags with secondary color
To reproduce, enter and exit 'view room history' mode. All flags with secondary colors will look like this.
I'm on Chrome (v53.0.2785.116).
-
RE: Managed to make CPU give up on me EDIT: for multiple people
All was well. The world of Screeps was busy with creeps extracting energy and minerals from seemingly infinite sources. Terminals busied themselves, running scheduled loops to replenish stocks for the good of their empire. Creeps roamed, resupplying the STRUCTURE_EXTENSIONs, the first step in reproducing their next generation. Power banks buzzed against flurrys of XUH2O-boosted ATTACK parts. Portals flickered.
Suddenly, time stood still. The mechanical life-force within each Creep, each tower, each link, suddenly ceased as they failed to receive commands from the server. The creeps were helpless. A miner shook its WORK in the air, trying to say() for help but with no success. Nothing worked.
Across the world of Screeps, creeps began to die of old age. Dropped energy was slowly evaporating into the atmosphere, just as commands had evaporated from the universe. It was a fate scarier than a STRUCTURE_NUKER. It was the console EMP.
-
RE: Managed to make CPU give up on me EDIT: for multiple people
Seems like others have been getting the same error. I'm officially a hacker and a jerk.
-
Managed to make CPU give up on me EDIT: for multiple people
I executed this in the screeps console. In a brilliant display of my high level JS skills, I referenced console.log rather than this.log.
Object.getPrototypeOf(console).warn = function() {
var args = [...arguments];
args.unshift("Warning:");
console.log.apply(undefined, args);
}Now I'm getting this every tick: