Creep.move
and Creep.moveByPath
are called by Creep.moveTo
, as you can see here. You should also be aware that most profilers measure cumulative execution time, so the true average cost of Creep.moveByPath
is about 0.02, as 0.199 is taken up when it calls Creep.move
.
Muon
@Muon
Posts made by Muon
-
RE: Need some help improving my CPU usage
-
RE: Boosting 'Bug' fix with No testing, No announcement, and working 30% of the time.
I also really think this bug should be turned into a feature. Like many of the other people in this thread, I spent a lot of time designing a base layout and implementing lab code that would allow for creeps to be boosted while they are spawning. I think allowing in-spawn boosting significantly raises the "skill ceiling" of lab/boosting mechanics without making it any less accessible to newer players, and I would be sad if this feature got removed.
-
RE: NPC resource trains
@SystemParadox Perhaps "literally nonfunctional" is a (very small) overstatement, but aside from gradually slowing down to unmanageable tick rates, the sim is missing several crucial features that public/private servers have, such as IVM, multiple rooms, etc.
-
RE: NPC resource trains
@artch Wow I feel stupid. I just went to test this one more time, and I realized it wasn't working because you can only place the invaders on exit tiles... It's been a while since I've interacted with the manual UI, so I guess I had forgotten that red text = invalid placement. (It might be worth clarifying this though, or removing the exit-tile-only restriction.)
I do still think it would be nice to have options to create the other NPC events on private server though!
-
RE: PTR Changelog 2018-08-28
I would disagree with shedletsky's opinion that HEAL should be cheaper and that recycling should be removed. HEAL is already very powerful and recycling provides interesting strategies. However, I do think that it would be worth considering buffing CARRY boosts. Currently the manufacturing cost is the same as ATTACK / RANGED_ATTACK / HEAL boosts, but I don't think that 4x carry capacity provides nearly the same utility that 4x damage/healing does (ignoring the fact that the healing further synergizes with XGHO2, which I personally think is a bit overpowered).
For example, assuming 100% lab efficiency and using T3 boosts, if you want to move a full storage worth of resources from 3 rooms away using 40 move / 10 carry creeps, it will take you 25 creeps and 3.56 million lab ticks for the entire operation. The same amount of lab ticks could boost 20 creeps (5 full 2x2 squads) with 10 tough / 40 (attack/ranged/heal) / 10 move bodies, which, in the hands of the right players, is more than sufficient to take out most rooms. I would argue that taking out a room is worth far more than faster and slightly cheaper resource transport.
One final thing I would add is that I think a big factor that limits the usefulness of CARRY boosts is that containers are limited to 2000 capacity, which is only slightly higher than the max unboosted creep carry capacity. I think it is worth considering adding an
EXTEND_CONTAINER
power to the operator power creep, which would increase the capacity of a container from 2000 to 8000 (max boosted carry capacity) for X ticks. (This would really need to be useable in outpost rooms to be useful, however, so I'm not sure how that would work with enabling/disabling powers in a room.) Alternately, simply increasing container capacity altogether could make this boost more useful on a day-to-day basis, and I don't forsee any balance problems with this change. -
RE: NPC resource trains
This is a bit of a tangent, but I think that a thing that Screeps desperately needs is a better sim, or at the very least least private server commands to spawn various NPC events such as resource trains.
(The "create an invader" button on public servers has been broken for well over a year now.)(EDIT: I'm just dumb) Currently, the sim is literally nonfunctional, and on the private server, it takes a lot of work to set up and test a given rare scenario (testing defenses/offenses, NPC events, etc.) if it is even possible in the first place. Things that would be nice to have as private server commands or in a new sim environment:(might still be nice to have as a console command though)createInvader(roomName, melee/ranged/healer, small/big, amount=1)
: spawn an invader(s) in a roomcreateNpcTrain(roomName)
: create an NPC train in a roomcreateNpcStronghold(roomName)
: create an NPC stronghold (once this feature is completed)
-
RE: Super Structures and Creeps Idea.
@wtfrank The ideas I pitched were just me spit-balling and may indeed be imbalanced, but I do think that there is a lot of room for interesting new structures in the game! Some responses to your comments:
- Teleporter: I don't think this would be too overpowered except in the possible case of being used by a mega-alliance (looking at you,
shard1
...) I do think that the game needs a more reliable way to traverse across the map and across shards, since currently most players are limited to only ever interacting with a half-dozen other players. Perhaps a more balanced version would be this. On a cooldown of ~10k ticks, create a portal in any core room for 100k energy which has 1hp, which can be destroyed by enemy creeps. Portals last for 1000 ticks or until 10 creeps have traveled through it. - Super terminal: the point of no send costs is to incentivize the structure for mass storage use, which necessitates good defenses. Perhaps it should only be able to send to terminals owned by the player though.
- Missile silo: I hadn't thought about killing baby rooms; some sort of modification might need to be made for that. I envisioned this idea mainly as disrupting clumped squads of creeps, which seems to be the primary combat strategy in high level play. As I imagine it, ramparts wouldn't provide immunity per se, but any creeps under the rampart would be protected. The rampart would take damage, but 10k damage to a rampart is barely noticeable, and the production time and costs would be large enough that this wouldn't be effective as a siege device.
I also like the idea of using minerals in a temple to increase the upgrade cap. I've always disliked the RCL8 upgrade cap mechanic as it currently is, since you can easily but inelegantly avoid it using temple rooms. Perhaps a version that might provide a better workaround for this would be:
- Temple: a structure with a store which can be built on top of a controller. Temple has an
upgradeController(amount)
method, which consumesamount
energy andceil(amount/X)
ghodium to upgrade a controller byamount
points, ignoring upgrade caps. (Perhaps it could accept any mineral, withX
varying depending on the type of resource.)
- Teleporter: I don't think this would be too overpowered except in the possible case of being used by a mega-alliance (looking at you,
-
RE: Super Structures and Creeps Idea.
I really like this idea! However, I don't like the "super creeps" part, since it seems redundant with power creeps coming soon (TM). I think 100M energy might be a bit too expensive (it would take a room mining 10 sources over a month to build this structure); perhaps 10-20M might be more reasonable.
If I were to design this feature, I would do something along these lines. Each RCL8 room can build one super structure from the following list of totally balanced ideas, and only one of each structure can be built per player:
- Teleporter: open a portal that lasts for X ticks to a core room in any sector (maybe inter-shard?). However, portals are traversable in both directions by any creep and cannot be pre-emptively closed
- Super terminal: can store a huge amount of resources (10M?) and can send resources to any terminal for no energy cost. (Minimum send size of 5000; cooldown of 20 ticks)
- Munitions factory: has an input and output storage. When supplied with energy and minerals, generates a bomb every X ticks. Bombs are handled like resources but take up 5000 carry space (so creeps carrying them must be CARRY/MOVE boosted), and can be sent through terminals. If a bomb is dropped, either through the creep dying or by using drop(), it detonates after 5 ticks, dealing X damage to anything within Y range.
- Missile silo: like a miniature nuke. When supplied with energy and minerals, generates a missile every X ticks up to a maximum of 10. Missiles can be launched to any room (friendly or enemy) within 10 range, land after 3 ticks, and deal 10,000 damage to everything in a 3x3 area. Single missiles could easily be dodged, so arranging them in a formation that invaders could not dodge would be necessary.
-
RE: More interactive Market UI
@orlet I think the difference is that placing structures is a feature that is encountered within the first hour of playing the game, so having an (initial) manual way to do this manually is important for new players. In contrast, market code is a more advanced feature that is usually attempted only once a player has a better understanding of the game and has a fair amount of automation in place already.
Of course, I'm all for improving UIs in general, but given the limited resources of the dev team, I don't think that making nicer interfaces for doing things manually should be a high priority.
-
RE: Tombstones don't decay on PTR
This happens to me sometimes, but I think it's a graphical bug, as it goes away after a page refresh. Do they persist through refreshes on PTR?