moidu21 / minerplus

0 stars 0 forks source link

Speeds higher than FactoryTick can allow #37

Open lynkfox opened 1 week ago

lynkfox commented 1 week ago

This mod has belts that exceed the hardlimits of the Factory Tick:

Due to the complexities of how the game has implemented belts, the maximum belt transfer speed can't exceed 2000 items/min without leading to a loss of items. Splitters and mergers also have a similar 2000item/min limitation. If a mod offers faster belts than this, they will not work properly, and are likely a relic from older updates. Mods that compress items or globally reduce item costs (ex. Th3's Part/Recipe Compressor) exist as a workaround for the time being.

This hard coded limited was confirmed by CSS Devs in the modding server, and belt speeds faster than this are likely to cause game issues.

V3rald commented 1 week ago

Might i add, not just loss of items but belts not transporting items at all, corrupted save files and other various visual bugs because of the high speed

moidu21 commented 1 week ago

did you try this mod (because i play with it on my dedicated server and i don't get any issue with the belt speed) but it's clearly depending on your CPU capacity if you have a old one one yeah it might not follow Ben from CSS in U8 tell me how to bypass this and yeah in U8 it do not work very well but with this update (1.0) it's working well at least for me and my CPU (and all users that using it do not complain about the belt speed so i thnk it's ok for some prople)

V3rald commented 1 week ago

i did, thats why i commented i have a ryzen 5 5600x cpu, should be plenty for it.

V3rald commented 1 week ago

https://imgur.com/a/rlYUBDR this is just one of the issue with it that i happened to get on camera

After this, it eventually breaks the whole game, by stopping the whole conveyor belt (if you break the belt 1 ghost item at the end stays somehow but its clearly empty because machines dont get any and ofc the conveyor belt seems empty too) and if you save at this point, and try to reload it will crash the game consistently

lynkfox commented 1 week ago

It is not dependent on your CPU. It is a hard coded game limit on the factoryTick that it will only operate at 2000 or so item transfers per minute.

This information was provided directly by CSS devs.

Bypassing it means changing the timing of the FactoryTick which means changing the entire timing of the the entire game

On Wed, Oct 23, 2024, 5:47 AM Verald @.***> wrote:

https://imgur.com/a/rlYUBDR this is just one of the issue with it that i happened to get on camera

— Reply to this email directly, view it on GitHub https://github.com/moidu21/minerplus/issues/37#issuecomment-2431546662, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADLOBQ5B5523JPTGNOAMTVTZ45WEHAVCNFSM6AAAAABQLFN3J6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZRGU2DMNRWGI . You are receiving this because you authored the thread.Message ID: @.***>

Th3Fanbus commented 2 days ago

>belts2000 exists for a good reason: belt throughput can drop when the simulation struggles to keep up. I've seen people who couldn't even achieve 2000 items per minute on their computers.

I highly doubt that Ben from CSS would tell you specifically how to bypass a belt speed limit. Why would you be the only one to know?

V3rald commented 2 days ago

and clearly this bypass doesnt work anymore, or very unstable and doesnt work for everyone. i have a good cpu so that surely isnt the issue

Mastrmyrtr9 commented 2 days ago

I have performed two seperate tests on your Mk8 belt (claims to transfer 6000 items/minute). One was using SirDigby's Throughput Counter, and it reported an average of around 4800 items/min over 5 minutes (5 seperate counts).

For the other, I simply placed 6000 items in a storage container and then linked the container up to a sink for 1 minute, and then disassembling the belt right after. In that test, there was 1360 leftover, which means 4640 items were transferred in 1 minute.

I've given you the methods I used, so if you would like to replicate them yourself, then feel free. But it is certainly not related to CPU performance (I have a 12400f. Not the best in the world, but absolutely a capable CPU.)