Anuken / Mindustry

The automation tower defense RTS
https://mindustrygame.github.io
GNU General Public License v3.0
22.8k stars 2.99k forks source link

Placing a logic with lots of lines causes the schematic not to be built until that processor is removed #5065

Closed ghost closed 3 years ago

ghost commented 3 years ago

Platform: Windows

Build: v6.0 Build 126.2

Issue: Building a processor with a lot of lines can cause it not to be able to be built, from my testing, it only happens when on a multiplayer server, was able to reproduce it consistently on .io survival server, some of the members of the server also experienced such problems, this has the same symptoms to issue https://github.com/Anuken/Mindustry/issues/3438 but without getting kicked, does not happen on singleplayer

Steps to reproduce: Join a server, for my test, I use .io's survival server, then build the logic schematic Tested on : .io (Survival) nydus .pl (Attack) AA (Campaign) CN (Survival) ALEX (Survival) Omega (Rush) MinDurka (Attack)

Tested on same machine vanilla server with no plugins : can build, default configuration

Link(s) to mod(s) used: dev mode : https://github.com/DeltaNedas/dev-mode pictologic : https://github.com/DeltaNedas/pictologic timecontrol : https://github.com/sk7725/TimeControl ui lib : https://github.com/DeltaNedas/ui-lib

Save file: SaveFile.zip Schematic.zip

https://user-images.githubusercontent.com/59116912/113643980-d14e2480-96ad-11eb-91e9-b1814bb08020.mp4

If you remove the line above without reading it properly and understanding what it means, I will reap your soul. Even if you're playing on someone's server, you can still save the game to a slot.

(Crash) logs: No Crash

Place an X (no spaces) between the brackets to confirm that you have read the line below.

Anuken commented 3 years ago

The processor has too much data associated with it, so nothing gets built due to large packets. There is currently no solution for this, other than to decrease the maximum number of lines.

Kieaer commented 9 months ago

How to place lots of lines processor now

HKalbasi commented 4 months ago

What is the maximum possible lines of logic code? Or is it dependent on the actual instructions?

Matita008 commented 4 months ago

What is the maximum possible lines of logic code? Or is it dependent on the actual instructions?

1) don't use old resolved issue, almost no one watches them 2) iirc the limit of instruction per processor is 1000

Matita008 commented 4 months ago

How to place lots of lines processor now

Don't use old closed issue