Mindustry: Map file broken when playing multiplayer editor

Created on 19 Jan 2020  路  23Comments  路  Source: Anuken/Mindustry

Platform: Windows

Build: Build 102.2

Issue: Map file broken when playing multiplayer editor.

Steps to reproduce:

  1. Open In-game editor
  2. Open server
  3. invite any players and build long time
  4. map save and exit
  5. map load
  6. You can see this error
    旌§矘

It's 100% bug.

All 23 comments

This works for me; maps edited in multiplayer load correctly. I'll need some more specific reproduction steps than that.

1
More stacktrace

The block does not appear when other players build it.
Blocks are displayed only when the screen is moved or blocks are place/break.

It then generates this error randomly.

image

I don't have that problem. Blocks appear immediately when either person builds something.

after 6 hours I'll upload how to reproduce video to discord

woo #1400

Perhaps I need to create a map for more than six hours to reproduce this bug.
It doesn't occur in a short time.

1583119686092
1583119703224
1583119689177
@Anuken Perhaps this is expected to be creating an error.

I still don't know what causes that or how to reproduce it.

How many hours were you editing for?

@Anuken 4 players, 300 x 300 map size, total 5 hours (multiplay)

Yeah I can't reproduce any issues with this at all. Setting the time to 5 hours in the future, or even simulating the main loop of the game to reflect 5 hours passing doesn't do anything. Both the host and client can still place and remove blocks correctly.

It's random.. see this video
https://vimeo.com/395173393

may
This may be the cause.

Does messing with nodes in that way cause map errors/block placement issues? By itself, it shouldn't be a problem - that happens because the power graph updates when you remove nodes.

I am trying to reproduce the bug again.

our players are afraid that this bug will be reproduced, so they don't want to do it :eyes:

Maybe it will be fixed in 6.0.

@Kieaer build 102.2? im pretttttttttttttttttttttttty sure its 104.10 you should be reporting about, 102.2 is quite outdated.

As far as i know, with much experience with the Nydus server and countless hours on Editor, there has never been that error

@BlueWolfGaming Last test version is 104.10

From what I see, your client might have issues saving the map file, or your connection is full of jank.

@BlueWolfGaming Not only am I, but other users have also experienced this bug

@Anuken Bug reproduced
ezgif com-optimize
雲鬼檾_2020_05_09_11_32_11_30
雲鬼檾_2020_05_09_11_32_53_71

+ When players connected to the editor server connect to the server again, the player list is said to be duplicated.

That's pretty wild. It could be related to the block change notification system, or the way entities are queued... but both of those things were rewritten in 6.0, so it's hard to debug or reason about. It could have fixed this issue altogether.

I'm going to close this, at least for now:

  • It's not clear what causes it
  • I haven't been able to reproduce despite trying multiple times
  • v6 has many changes to core entity logic, and it's not clear whether or not this issue will still occur
  • There's not much to discuss unless it happens in a newer version again

I'll reopen this if anything new happens.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MrEgor4Ik picture MrEgor4Ik  路  4Comments

ajd07 picture ajd07  路  4Comments

TimurMindustry picture TimurMindustry  路  4Comments

bendnuts picture bendnuts  路  3Comments

nodevlfrb picture nodevlfrb  路  3Comments