I am always between 70-100+ for my cpu. Are people manually building structures to save cycles or are you programming everything? I am in the process of putting more things into memory and refactoring code. I was just curious ...
Fikal
@Fikal
Posts made by Fikal
-
Building structures
-
About self hosted Custom map potential feature
Hey guys!
I am really big into performance and fine tuning my scrips. I think that if we eventually get the self hosted custom map feature, this can go even further.
Would I be able to setup a script that would run my custom map scenario 100 times and record some value(s) from each test to use for figuring out the most optimal script ?
-
Be able to set controller level in Custom mode
I would like to be able to start testing building roads and other things that need a higher level controller. This would definitely speed up testing.
Thanks
-
RE: Memory no longer being saved with created Creep!
Artem,
You are correct! I discovered this an hour or so after I moved some things around. Thanks to everyone for checking and offering suggestions.
-
RE: Memory no longer being saved with created Creep!
After further investigation, it looks like my cleanup creep code is now the one causing the issues I was having. Weird, it seems this worked the other day .... ?
if (spawnName.spawning === undefined || spawnName.spawning === null) { for (var name in Memory.creeps) { var memoryCreep = Memory.creeps[name]; if (!Game.creeps[name]) delete Memory.creeps[name]; } }
-
Memory no longer being saved with created Creep!
The following code no longer creates a creep with memory properties. This just started to happen yesterday 5/16/2015.
var memory = {}; memory['role'] = 'miner'; memory['attacking'] = null; spawnName.createCreep([MOVE, WORK, WORK, WORK, WORK], null, memory);
-
Some cool features
A way to save my custom game setup. Setting up a bunch of guys to create a scenario to test is very time consuming. Fix a bug or tweak something and then you have to recreate that same setup all over again.
Friends - Once duel mode is done, it would be really cool to be able to duel my friends that play this game.
Thanks for a great game!
Ryan