End-Tech / syncmatica

Server-wide shared litematics.
Creative Commons Zero v1.0 Universal
97 stars 26 forks source link

Unable to connect to server when syncmatica is used without malilib #27

Closed kaniol-lck closed 3 years ago

kaniol-lck commented 3 years ago

Unable to connect to server when syncmatica is used without malilib, including integrated server(singleplayer world), while with malilib it works fine.

syncmatica version: 0.2.6 game version: 1.17

logs:

...
[13:55:47] [Server thread/INFO]: kaniol[local:E:9306fc75] logged in with entity id 364 at (-173.04270340891006, 66.37429331309657, 0.7352774493016071)
[13:55:47] [Server thread/INFO]: kaniol joined the game
[13:55:47] [Netty Local Client IO #1/INFO]: Applied 0 biome modifications to 0 of 81 new biomes in 1.757 ms
[13:55:47] [Server thread/INFO]: kaniol lost connection: Disconnected
[13:55:47] [Server thread/INFO]: kaniol left the game
[13:55:47] [Server thread/INFO]: Stopping singleplayer server as player logged out
[13:55:47] [Server thread/INFO]: Stopping server
[13:55:47] [Server thread/INFO]: Saving players
[13:55:47] [Server thread/INFO]: Saving worlds
...
nnnik commented 3 years ago

Syncmatica wont run with malilib or litematica on the client. Its not needed on the client if you dont want to use its features. You cannot use its features without malilib or litematica.

What do you want to use Syncmatica for?

kaniol-lck commented 3 years ago

As malilib is needed for the features of syncmatica on client, and game runs wrongly if syncmatica is used without malilib, i thought it should better "depend" on malilib but not "suggest" it. Actually when debugging my modpack issue i got confused for unable to connect and finally found it's syncmatica caused.

nnnik commented 3 years ago

Ah yes - the reason for that is that syncmatica runs on both client and server and requires maliLib and litematica only on the client. I (and everyone using the mod on the server) shouldnt be bothered to install and create 2 different versions of the mod for server and client. Last time I checked there was no key like "suggestsClient" or "requiresServer" or similar to manage dependencies differently on client or server. Im all open for suggestions as for how this can be handled better but Im also not willing to completely refactor client sided code for this as of this moment.

nnnik commented 3 years ago

Its been a month so I guess Im gonna close this.