Discussion: long-range logistics revamp
-
This is a draft of upcoming changes. We'd like to get community feedback on it before implementing it.
Last update: May 26 15:45 UTC
We've seen many discussions and suggestions about combat aspects of the game, especially high-level combat which is not perfect currently. We were brainstorming a lot, discussing many possible solutions, both suggested by the community and by the team. In most cases, the conclusion was: “too breaking, unfortunately”. Finally, we're ready to come up with a set of changes aimed to remedy the most frustrating part of high-level combat: repair. More precisely, the issue is not that repair is overpowered itself (it's not) but that it's trivial to supply more than enough energy for repairs (either from other rooms or the game market) without any way for an attacker to interrupt it. To solve it, we're going to implement the following set of improvements and features.
Terminals inbound throughput limit
Terminals throughput for incoming transactions will now be limited. A terminal will be allowed to receive only a certain amount of resources. When the limit is exceeded, the incoming transaction will not succeed.
The throughput limit is supposed to work as leaky bucket (which many players are already familiar with), i.e. the limit unused in the current tick will be accumulated for future usage (including burst usage up to filling the whole terminal at once). The limit will be shared between all inbound transactions for the terminal generated by all calls of
StructureTerminal.send
andGame.market.deal
for the current tick. Preliminary numbers would be 50 resource units per tick accumulated up to a maximum of 300,000 resource units.Changes in PWR_OPERATE_TERMINAL and PWR_DISRUPT_TERMINAL
In addition to the existing effect,
PWR_OPERATE_TERMINAL
will also increase the inbound throughput of the terminal by additional 50/100/200/300/1000 units per tick depending on the power level. This will supposedly provide a simple way to preserve special solutions that rely on high terminal throughputs, like GCL farms or room burst upgrading.PWR_DISRUPT_TERMINAL
will no longer prevent withdrawing. Instead, it will reduce the accumulation of available throughput by 10%/25%/50%/80%/100% (other effects like increasing transaction cost and longer cooldown is still under discussion). This is supposed to make short interrupts of terminal disrupting less catastrophic for an attacker and to remove the possibility of avoiding disrupting by destroying and rebuilding the terminal.New structure: Warp Container
Warp Container is an unowned structure that can be built in any room (including rooms without controller). Each room may contain 2 or 3 (not decided yet) warp containers having general-purpose storage that is shared between all warp containers in the room. When you place a resource into one warp container, it can be withdrawn from another one on the next tick. Withdrawing from a warp container triggers cooldown on all warp containers preventing further withdraws from either warp container until it ends. The cooldown length will depend on the number of withdrawn resources, preliminary 1 tick per 1,000 units (rounding up). The cooldown will not prevent resources transfer into warp containers.
These structures are supposed to be expensive to build and maintain. The construction cost is 100,000 energy.
Every warp container will decay by 5000 hits once per 100 ticks (given their total health of 10 million hits, it takes 200,000 ticks to lose warp containers). Every harvest operation in the room will cause additional decay (
Math.max(0, 11 - range)
whererange
is the distance from the energy source to the warp container). In addition to this, containers must be charged with 100 energy every 100 ticks (for all warp containers in the room) to be able to hold resources inside.All the numbers above are still not final. They may be changed upon release.
It is also worth mentioning that while these structures are walkable, they will not catch resources dropped over it.
A "network" of warp containers among owned and unowned rooms may be an alternative replacement for terminals with much higher throughput, if you manage to maintain and defend it. Basically, you will be able to transfer 1,000 resources per tick, with the speed of 3 ticks per room.
We plan to release all these features and improvements in the next major update. Discussions, comments, suggestions, objections are welcomed as usual!
-
Regarding the warp container, why won't it catch what is dropped upon it? Seems to limit the usefulness quite a bit, and I cannot really see why it shouldn't be able to?
"It is also worth mentioning that while these structures are walkable, they will not catch resources dropped over it."
-
@vipo because making them be able to catch resources would create "the single best" solution for remote mining, which is undesirable.
-
@o4kapuk Thanks for the clarification
-
the issue is not that repair is overpowered itself (it's not)
Yes it is
Terminal changes look alright. I still think repair needs a tweak to be less effective, but maybe this is fine. 50 units/tick seems about right to me.
I think warp containers are OP. Especially if it's 3 per room. You said you didn't want "too breaking" but I think they are.
A link running at full throughput over 10 tiles costs 2.4 energy/tick and moves 80 energy/tick. Two warp containers have 12.5x the throughput at a cost of 2 energy/tick.
Mining a two source room currently needs haulers and containers. The containers are 1 e/tick. A hauler will typically cost you ~1.5 e/tick/source. Depends a bit on range. Warp containers aren't really that much more expensive (for 3), and you save a lot of CPU and spawn time.
IMO the throughput is too high and the cost too low. They almost make all current hauler+harvester solutions redundent. I don't think 3 is a good idea. Two might be interesting (adding another stage to the logistics chain for souce->warp container) but as-is, probably still overpowered.
-
Won't the limit on .send and .deal negatively influence market in itself by making ppl selling/buying less stuff due to desire to preserve bucket ?
I guess it might promote usage of compacted minerals but still it might impact market
-
@gadjung said in Discussion: long-range logistics revamp:
Won't the limit on .send and .deal negatively influence market in itself by making ppl selling/buying less stuff due to desire to preserve bucket ?
I guess it might promote usage of compacted minerals but still it might impact market
50/tick is a lot. You can trade bars, batteries and boosts. Seems fine to me.
-
Currently my market rooms do about 2000 auto on buying for incoming per tick and deal with a queue to purchase stuff so that's not too bad.
However, buying energy or bulk orders does tend to go anywhere of the tens of thousands to higher depending on what the other players do deal with, so can see a room auto-buying something depleting its bucket and/or needing to manage its auto-buying better when purchasing bulk orders (ex: buy power/collect power, need to plan to over-buy energy for x ticks to insure 'minimums' are kept, repairing walls, praise rooms needing a cycle to restock)
I already use PWR_OP_TERM to reduce eng costs in my market rooms so really it just changes my auto-buy logic from sell orders from 2k to 1k per tick if I don't want to incur using more of the 'bucket' (I presume)
Does this make terminal-based spamming attacks more effective though? since your actively using up your opponents 'total capacity' while your sending is not capped, their receiving is, spam enough and they couldn't buy enough on that terminal?
-
A bit more thoughts on "design" of warp containers. I think a lot of people have put a lot of care and attention into harvesting systems using haulers and harvesters. I think warp-containers as specified would make all this code redundent overnight. I also quite like the aesthetic of tendrils going out from a base with creeps heading how to do remote hauling.
With that said I think they should be positioned as follows:
-
Given infinite CPU, they're worse than haulers+harvesters. Right now (especially with 3 per room) they're not. They might be better even with infinite CPU. Haulers cost a lot of CPU just on move intents, so freeing up all this CPU and saving energy seems over the top. Oh, and saving spawn time. And road maintainance.
-
Even in limited CPU environments (eg. regular <28 GCL play on shards 0-2) there should be a choice. Either the cost or throughput (or both) of the warp containers needs to be worse than haulers. At this point you should be trading CPU/spawn time for energy efficiency.
-
But in some rooms they should be really neat. Avoiding nasty swamps/tunnels. Finding two sources close together that can share a single warp container and reduce maintainance. That sort of thing.
-
Throughput should probably be closer to links. So 5-10x lower.
Obviously these are all pretty hot takes. Will ponder some more. One thing that does occur to me is that these do favour those of us with lots of spare room. All those CPU/spawn time savings would let me harvest a lot more rooms.
-
-
@donatzor said in Discussion: long-range logistics revamp:
Does this make terminal-based spamming attacks more effective though? since your actively using up your opponents 'total capacity' while your sending is not capped, their receiving is, spam enough and they couldn't buy enough on that terminal?
That is a good point. Might be a bit easy to shut down a terminal. Just spam it with minerals and starve them of energy when attacking.
-
@tigga Yeah, good point. But, spamming terminals must be closer to the attacked terminal than supplying terminals because closer transactions take priority, as usual.
-
@tigga Could just auto-deny transactions from the player w/ creeps in your room attacking you but then I guess some one else (alliance member, ect) could still spam and/or you could start depleting their bucket before you attacked, so there'd have to be some way to detect the incoming spam and stop/adjust it like shutting off the terminal, or rejecting incoming trades from xyz room or player.
-
@o4kapuk If your in range to attack, you'd be in range to have fairly high priority on the spam wouldn't you? Unless your energy supplier from the buy order is much closer and/or you have an arrangement w/ a neighbor I guess.
-
I'm not sure there's a simple "fix". Best I can think of is a way to "reject" something sent via "send". I don't really know what that would look like. Maybe a blacklist of usernames? Maybe it's not a problem that need fixing.
-
@tigga a simple fix could be prioritizing deal transactions and intra-player send transactions over other transactions. Not a complete fix, however, but at least something. If this is a problem to be fixed (I'm not sure about it either)
-
@o4kapuk said in Discussion: long-range logistics revamp:
@tigga a simple fix could be prioritizing deal transactions and intra-player send transactions over other transactions. Not a complete fix, however, but at least something. If this is a problem to be fixed (I'm not sure about it either)
It'd give you 50/tick, which may be good enough, but it'd kill your "bucket".
-
@tigga this is exactly why I said 'not a complete fix'
-
How this does not classify as "breaking" I do not understand... This will pretty much break everyone's market and resource balancing code and on top of that potentially obsolete everyone's hard worked remote harvesting system. There is still so much for me to work on, I do not appreciate having to fully revisit something I have nailed fairly well.
I enjoy seeing as many screeps moving about as possible, I rather see less teleporting, not more. Teleporting removes geostrategic gameplay and removes logistics which is otherwise super important in warfare.
Just disable the terminal entirely when hostile creeps are in the room (or similar to 'safe mode' create a 'siege mode') and force logistics on the defender side to try and supply the room.. with haulers. Very common with sieges throughout history.
No repairs with hostile creeps in room could work also forcing the defender to leave the ramparts and try clear the room.
-
Might be a bit different from what is originally proposed, but I think a warp container can be like this:
- Limited to 1 per room.
- Each provides 500 capacity.
- If two warp containers are in rooms next to each other, they are in the same part of network. Their capacity adds up, and they share content. Total capacity cannot exceed for example 4000. This allows creation of huge network if you can defend. If previously disconnected networks are now connected, the content is added and merged in the new network. If previously connected network is broken up, content is divided evenly into subnetworks.
- Cooldown between withdrawing is fixed to 10 seconds, just like the send cooldown for terminals.
All numbers / functions are suggestions and can be changed.
This container will not replace containers or links at all, and throughput is much lower than terminal because of its limited capacity and cooldown when withdrawing, but helps for remotes and when terminals are blocked.
-
@cookies I see some problems with solution that you suggested. The main is warp containers are neutral thus anyone can connect to your network and steal resources. Maybe if warp containers were owned it could fix that. 1 per room, owned and you gotta defent it.
The second is cooldown should be triggered by sending to another warp container and not by creep withdrawing from it. Also can't imagine how capacities can add up. If container "merges" (shares) with near room warp containers, that containers can't be shared simultaneously for their neignbour rooms.
-
OPERATE_POWER will become useless