Open 1.1.0: Minetweaker scripts somehow get desync from client

  • This section is closed. Please do bug reports over at the FTB GitHub repos.
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Keridos

New Member
Jul 29, 2019
29
0
0
Version:
1.1.0

What is the bug:
Sometimes after disconnecting and reconnecting from our server or maybe even idling for some time the recipe changes from the Minetweaker scripts do not seem to be loaded on the client resulting in non working NEI recipes that work either after reconnecting or doing a "/mt reload". Have not yet managed to exactly reproduce it but it happens. Scripts are all vanilla 1.1.0 ones, no custom changes.

Mod & Version:
MineTweaker 3.0.10B (maybe ModTweaker2 0.9.5)

Paste.feed-the-beast.com log:


Can it be repeated:
Just happens after a while (both to my friend and me playing on a server)

Known Fix:
 

beaualee

New Member
Jul 29, 2019
22
0
0
This happens solo, also. If I exit to save/load game, but still have the game open, it will remove quite a few recipes from NEI.

Notably the recipes for creating Ore in the Induction Smelter.
 
C

codewarrior0

Guest
This happens solo, also. If I exit to save/load game, but still have the game open, it will remove quite a few recipes from NEI.

This is almost certainly caused by MineTweaker, in Single-Player, running its scripts on the client thread after they have already run on the server. Since the server and client share the same recipe database in Single-Player, this causes sync errors due to the server trying to make use of the recipe database while the client is (re-)modifying it.

I've explained this to the MineTweaker dev multiple times but I wasn't able to get through to him that this is a concurrency problem, and that MT does not need to run twice in single-player games.

https://github.com/stanhebben/MineTweaker3/issues/297