minecolonies icon indicating copy to clipboard operation
minecolonies copied to clipboard

[BUG] Multiple players not seeing the build menu with the build tool

Open Roachamus opened this issue 2 years ago • 22 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Are you using the latest MineColonies Verison?

  • [X] I am running the latest alpha version of MineColonies for my Minecraft version.

Did you check on the Wiki? or ask on Discord?

  • [X] I checked the MineColonies Wiki and made sure my issue is not covered there. Or I was sent from discord to open an issue here.

Minecraft Version

1.19

MineColonies Version

minecolonies-1.19.2-1.0.1032-ALPHA

Structurize Version

structurize-1.19.2-1.0.443-ALPHA

Related Mods and their Versions

Forge Version 43.1.3 blockui-1.19-0.0.61-ALPHA

Current Behavior

No UI when using build tool

Expected Behavior

I expect a UI to pop up when I use a build tool

Reproduction Steps

Use build tool No ui happens Multiple people on my server have this issue

Logs

https://gist.github.com/Roachamus/ebfefb72f89c9529219e5d54595774d3

Anything else?

Screenshot of the issue

https://user-images.githubusercontent.com/113257318/189806017-ee73682d-f452-4187-a153-76f80371a548.png

Roachamus avatar Sep 13 '22 04:09 Roachamus

How many people on fabulous mode?

Raycoms avatar Sep 13 '22 06:09 Raycoms

You have too much memory allocated for mc. 10 GB is really big overkill. You probably have corrupted files or sth like that, many files are reported as missing in your logs. The error is

[00:04:52] [Structurize IO Worker #0/ERROR]: Structurize IO Thread errored! 
java.lang.NoClassDefFoundError: org/codehaus/plexus/util/FileUtils
	at com.ldtteam.structurize.storage.ClientStructurePackLoader.lambda$onStructurePackTransfer$3(ClientStructurePackLoader.java:253) ~[structurize-1.19.2-1.0.443-ALPHA.jar%23228!/:1.19.2-1.0.443-ALPHA]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
	at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.util.FileUtils
	at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
	at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:137) ~[securejarhandler-2.1.4.jar:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
	at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:137) ~[securejarhandler-2.1.4.jar:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
	... 4 more

Which is either our ci fault or again corrupted file

Nightenom avatar Sep 13 '22 06:09 Nightenom

It does not work on 4gb of ram and a fresh install for all users of server. Tries with 4 gb 5 gb 6 gb +

Roachamus avatar Sep 13 '22 06:09 Roachamus

Which minecraft launcher are you using?

Raycoms avatar Sep 13 '22 06:09 Raycoms

All users are using curseforge.

Roachamus avatar Sep 13 '22 06:09 Roachamus

The stuff that happened yesterday and how you go it to work might help as extra info Roach

Talyda avatar Sep 13 '22 07:09 Talyda

We got it to work for one of our users by swapping to an account it worked on on her PC and it worked after that. Today its happening to other users on the server who do not have the ability to swap accounts.

Roachamus avatar Sep 13 '22 07:09 Roachamus

and you're not on fabulous?

Raycoms avatar Sep 13 '22 07:09 Raycoms

No users are on fabulous.

Roachamus avatar Sep 13 '22 07:09 Roachamus

can you try updating forge/java ?

Raycoms avatar Sep 13 '22 07:09 Raycoms

Manually update forge from 43.1.3?

Java is on 17.0.4.1.

Roachamus avatar Sep 13 '22 07:09 Roachamus

Yesterday you said it was account specific - you tested the same (broken) account on different PC's - was it the same installation of curseforge/modpack? Like you just changed users in curseforge, but it all ran from the exact same place as the one that was working? (I don't know if that is important, but more information is always good =P)

Talyda avatar Sep 13 '22 07:09 Talyda

It can't be account specific, it must be computer specific. This is a missing library that should be on there afaik.

Raycoms avatar Sep 13 '22 07:09 Raycoms

Yesterday you said it was account specific - you tested the same (broken) account on different PC's - was it the same installation of curseforge/modpack? Like you just changed users in curseforge, but it all ran from the exact same place as the one that was working? (I don't know if that is important, but more information is always good =P)

The broken account is broken on 3 different PCs except for one no matter what PC that log in on.

All PCs are using the latest curseforge pack. All PCs are using the latest version of Java

Roachamus avatar Sep 13 '22 07:09 Roachamus

Issue has been resolved for all players by swapping accounts with the player that have a working GUI. I have no idea why this fix is working.

Roachamus avatar Sep 13 '22 07:09 Roachamus

So, logging in with a different account solves it?

Raycoms avatar Sep 13 '22 07:09 Raycoms

An account that has a working UI seems to resolve it.

Roachamus avatar Sep 13 '22 08:09 Roachamus

I'm not sure I understand. Do you mean people are exchanging passwords and are logging in with the account fo another person, and with that it works, but not with their own. And after relogging it then works with their own too?

Raycoms avatar Sep 13 '22 08:09 Raycoms

Correct currently played with a close group of friends and since it worked for one person we tried it with others and it worked.

Roachamus avatar Sep 13 '22 08:09 Roachamus

can you try to tell people to switch to a different pack?

Raycoms avatar Sep 13 '22 08:09 Raycoms

Is this in LAN mode?

Raycoms avatar Sep 13 '22 08:09 Raycoms

This on a hosted server. Not LAN mode. The issue persists with different versions of 1.19.2 pack

Roachamus avatar Sep 13 '22 18:09 Roachamus

Have you tried having the users first start/load a single player game and then exit the world and start the multi-player. For some reason that fixed the issue for me.

Terramup avatar Dec 04 '22 01:12 Terramup

Solved

Raycoms avatar Dec 04 '22 08:12 Raycoms