On thing you currently can do if you don't plan to use the nuker any more: Destroying it will cause all stored energy and Ghodium to drop to the floor, so you can try and pick up as much of it as you can.
Posts made by Mirroar
-
RE: StructureNuker is not a valid creep.withdraw() target.
-
RE: Leaderboard by unique code
While I somewhat like the idea, this is also a bit detrimental for those that share their code for others to use. You have no way of determining who the "original author" of the codebase is, everybody that uses it gets the same amount of credit that way, no matter how involved they were in creating that code.
-
RE: Error in Storage since build 29
Thx for the info, Artem. I was stuck with an empty db.json, and replacing it with the File from `server\node_modules\@screeps\storage\db.original.json` (using Steam) enabled me to start the server again without having to completely reinstall the game.
-
RE: Trying to for each towers
for (var tower in towers) {
// ...
}gives you the structure's index within the tower's array.
Try something like this:
for (var id in towers) {
var tower = towers[id];
// ...
} -
RE: Google Deep Mind?
Well, at BlizzCon 2016, a Google employee shared that the Deep Mind team is now working together with Blizzard Entertainment on connecting their AI to Starcraft 2. So they're certainly working at getting Deep Mind into RTS games.
-
RE: PTR Changelog 2016-09-19
I definately agree this has good parts, but will take some rethinking for established players. Currently a lot of my CPU goes in to remote mining and I've been working on optimizing my code so I can exploit more rooms, while trying to find the best rooms to exploit and get rid of less profitable ones.
This change will force me to reconsider which rooms are profitable, but that will also free up CPU that I can use on other things.
I'm not sure it will keep higher level players from trading. You'll still have an excess of some resources and a shortage of others, so it makes sense to sell some and buy others.
-
RE: PTR Changelog 2016-09-19
My main gripe with this is that it will greatly reduce the effectiveness of remote mining, especially when you're just starting out and can't reserve a room. We'll see.
I actually like the mineral changes. Now that market is live, it's otherwise too easy to get the minerals you want, and thus the highest level of boosts.
-
RE: Find closest across rooms
It would theoretically be costly if you already have a list of all the objects you are interested in. But it will be CPU-costly.
You can use http://support.screeps.com/hc/en-us/articles/207023879-PathFinder#search and pass it an array of targets even across multiple rooms. It will then give you the path to the closest target.
-
RE: notifyWhenAttacked on constructedWall doesn't work
I can confirm this. I currently use creeps to dismantle some of my old walls, and have them call target.notifyWhenAttacked(false) before doing anything. Yet I get emails about my walls being attacked.
I can also replicate this in the console. On a rampart:
> Game.getObjectById('57c9a4ff98f0d97072bdebef').notifyWhenAttacked(false)
< 0
> Game.getObjectById('57c9a4ff98f0d97072bdebef').notifyWhenAttacked(true)
< 0I see the checkbox correctly trigger off and on again.
When I do the same with a constructed wall, the output is similar:
> Game.getObjectById('57a1e78accdfa2861a6cc1a0').notifyWhenAttacked(true)
< 0
> Game.getObjectById('57a1e78accdfa2861a6cc1a0').notifyWhenAttacked(false)
< 0Yet the checkbox does not toggle.
-
RE: Power Banks only spawn in center of map?
They're spawning, just not as much as when they were turned on. There's one at E40S47 right now, for example.
So thanks for fixing it
-
RE: Power Banks only spawn in center of map?
Hi, I'm pretty close to Paul and can confirm this - I've been sending out scouts and set up a notification if I have vision in a room with a Power bank, but that hasn't happened at any point in the last few weeks.
I'd like to try and develop some code for them, but that makes it a little difficult. The first players in our region, me included, are starting to reach RCL 8, so Power would be cool to have access to.
-
RE: This should go in the next Screeps World Review
Haha, yeah, it's Daft Punk
-
RE: StructureSpawn.createCreep creates high cpu-load
I'm just guessing here, but do you manually name your creeps or use the "Random" names that get automatically generated? In the latter case, maybe you're getting close to the number of available random names so a lot of time is wasted trying to find a name that isn't taken yet.
-
RE: Game.maps.describeExits() takes an obscenely large amount of cpu
Looks good, taking between 0.002 and 0.2 CPU each call, even on the first call.
-
RE: Game.maps.describeExits() takes an obscenely large amount of cpu
It does seem to get better:
-
RE: Game.maps.describeExits() takes an obscenely large amount of cpu
I'm noticing the same thing. I've been wondering what was eating my CPU, and my lone scout uses up around 20 CPU every time Game.map.describeExits ist called.
Considering it's documented with LOW CPU usage I'm guessing something's broken here
-
RE: Sign-in via steam on website
I ran into the same problem when trying to connect an account to steam that I had previously created via link to github.
I was able to work around this by setting a new password on my account and then using the steam client to log into my account, which automatically linked the account to my steam.
I don't know if this will help you with logging in, though, but maybe you can at least set a password and login without steam after that.