WarInternal last edited by WarInternal
I think containers should be significantly larger, to increase risk/reward and reduce cpu by sending out haulers less often. At least 2x or 4x the size. Currently a container is only worth maybe two creeps worth of carry parts, and not even the size of normal source.
deft-code last edited by
I like this idea, but its a big deal to change a constant, inevitably someones code will break. I'd be interested if the devs could apply the change to a single shard to try it out first. PTR in theory solves this problem but PTR is sufficiently weird that most players don't use it. My first thought was to target shard3 as the only customized shard but I get the impression that most new players start there, so we should take efforts to give new blood a stable (most fun?) experience.
So rollout something like PTR, ShardX, All.
I support the idea but the breaking change would be an issue my idea linked below would solve the issue adding a new structure similar to the existing extractor with a built in container. Maybe storage capacity of 5k-10k
WarInternal last edited by
You're both wrong with regards to breaking changes. This is why we have a
CONTAINER_CAPACITYconstants. If a user has hard-coded these numbers into their code without using the constants or the actual object's capacity then they have made a mistake. In no other circumstance would changing that value break anything.
Knightshade last edited by Knightshade
It's a change to a constant. If someone's code breaks, it's probably because they aren't handling constants and instead hardcoded shit. There's no point in having constants if we're just going to ignore them. Basically, if your code breaks, then you deserve to have your code break.
Saruss last edited by
Even when only changing the constants, it would be needed to adjust Code. For example, I use Containers as Buffers for different purpouses, and when the capacity changes, the amount of buffered energy would be inefficient, when i use 0.25 Times of Capacity for example as a Low limit, it would be to much with the value change. If i did different, i would have hardcoded numbers. Both cases, Code would work, but not optimal.
WarInternal last edited by
@saruss A minor inconvenience is not a reason to never rebalance things.
Also maybe consider moving away from a hardcoded modifier.. If you use 0.25 because it's 500 energy, write it as
500 / CONTAINER_CAPACITY, and then figure out where your buffer amount of 500 is calculated from, because it's probably dependent on room or empire factors.
deft-code last edited by
The devs should be free to change constants.
However, it should be done carefully. Constants that have never changed have a tendency to become assumptions elsewhere in code. Imagine a creep maintaining a container, it's sized for
CONTAINER_CAPACITY/2 => 20
CARRY. Suddenly the constant is 4x larger now the creep needs to be 80
CARRYand stops spawning.
wtfrank last edited by
I would certainly find the game less fiddly if container sizes were increased. There are all sorts of problems I have to solve because the container size doesn't map well to the size of cpu-efficient tranport creeps, and it means I have quite strict timing requirements to collect energy from containers. These are difficult and interesting albeit fiddly problems to solve. If we got made containers much bigger, it would remove these difficulties and make harvesting gathering an easier task.
It would open up some new solutions to energy retrieval such as boosted transporters or even trains, but it would generally simplify the problem of retrieving harvested minerals.
Would the game be better if this happened? I'm not sure.
I'm don't see how this in any significant way changes risk / reward. The biggest change is to how you size and programme your miners.
Saruss last edited by Saruss
@warinternal than there would be that constant of 500, thats what i meant; then i could directly use the magic 500. Of course some things depend on room/empire Status, but i just wanted to explain that with each aproach, changing the capacity would need some adjustments in code. I had no problem with it, as soon with the store change there is much to change nontheless.
But the only argument for now is that bigger Containers would make the game easier. Then, i am against a change. If you make everthing just easier, the game is just less a challenge and so, more boring. It would make coding good harvest/hauler code less rewarding. I know that in my lastest Code Version, i have/had problems to supply my upgraders container with energy. While bigger containers would make this easier, i totally liked the challenge.
Tigga last edited by
I can't decide if larger containers would make things easier or harder. Right now there's a few solutions to container mining, and most people either go for "haulers tied to a route and sized for the distance" or "wild haulers which can pull from any source container and are full sized". The former being a bit wasteful on CPU, but easier to code and less liable to edge cases screwing things up.
With larger containers (eg. 3k+) we'd add a few more options. You'd be able to harvest out a source into the container without worrying about spillover and move on to a new source. That'd make harvest boost better. It'd also make carry boost better. I also may add new harvesting techniques based off harvest boost and unboost.
Other constant changes would have similar effects. Bigger links would let you use them as sinks for remote haulers more easily. Longer source regen times (and correspondingly larger amounts) might help with roaming harvesters. etc. etc. etc.
In general though I think the game is too far along in development to change such fundamental values that may break codes that haven't been touched in years.
deft-code last edited by deft-code
I've changed my mind I don't think container up sizing is worth the disruption. However, double the number of containers might allow for some new and interesting solutions, especially in SK rooms.
10 remote containers cost 5 energy per tick to upkeep, but allows for more CPU efficient hauling. I think that is an interesting tradeoff.
Currently you need 8 sources in range to feed a T3 boosted 40
CARRY. Double the number of containers means you could feed it with 4 single source rooms where each source has 8 containers. Running the hauler less often is easier but efficiently mining out a source into 8 containers as worthy trade off.
Caravans have two problems. One is buffering between trips. But I find the second to be a bigger issue. Caravans don't offer any advantages over 5 single haulers. If we tweaked the pulling mechanic to allow for single intent caravan movement that would give me a reason to use caravans.