MachineMusePowersuits icon indicating copy to clipboard operation
MachineMusePowersuits copied to clipboard

Changing Visuals causes disconnect from server

Open Lordmau5 opened this issue 6 years ago • 15 comments

Minecraft Version: 1.12.2 Forge Version: 14.23.5.2796 MachineMusePowersuits Version: ALPHA-20

When trying to change the colors in the right side of the Visuals tab in the Power Armor Tinker Table whilst playing on a dedicated server, the server throws an error and disconnects the client. image https://paste.gg/p/anonymous/22d9a1084ba34f1f83dc12391bc6b7b4

From what I can tell the MPSNBTUtils.getMuseRenderTag has a reference to the DefaultModelSpec, which seems to be a client-only class, thus it can't find it.

Lordmau5 avatar Dec 10 '18 05:12 Lordmau5

As soon as I get the cosmetic preset code fished, this will be fixed.

lehjr avatar Dec 11 '18 17:12 lehjr

This should be fixed in Alpha 21.

lehjr avatar Dec 16 '18 18:12 lehjr

I assume that it is fixed, but the server doesn't even want to start with the newest Alpha build.

This is the newest crash - something in regards to the ServerProxy not being found:

https://paste.gg/p/anonymous/2deada5ac7f94ebda6c32b4e2019fe26

Lordmau5 avatar Dec 16 '18 21:12 Lordmau5

o.0 I'll give this a look in a few minutes. Should have a fix up in a couple hours. Not a hard fix, just have some stuff to do at the moment.

lehjr avatar Dec 16 '18 21:12 lehjr

Seems like a weird issue, considering that a ServerProxy file doesn't seem to be available anywhere in the .numina package... But glad to hear that it's not a hard fix :)

Lordmau5 avatar Dec 16 '18 21:12 Lordmau5

It's because I eliminated the "common proxy" in favor of using the mod file to handle proxy tasks

lehjr avatar Dec 16 '18 21:12 lehjr

New alpha uploaded.

lehjr avatar Dec 16 '18 22:12 lehjr

Server booted up again. Tried adjusting the colors through the cosmetics tab again and that worked now

The dedicated server still spews out some errors about trying to access a client class on the server https://paste.gg/p/anonymous/7b20a63fb91a4654aa5abfbe9399f939

Why is DefaultmodelSpec even being accessed on the server in the first place is what I'm curious about? Together with ModelRegistry and TexturePartSpec

Lordmau5 avatar Dec 16 '18 22:12 Lordmau5

I probably just need to re-calibrate the precision hammer.

lehjr avatar Dec 16 '18 22:12 lehjr

Testing a "new" fix. Server load time is terrible (which is why there are so many server related issues) on my machine so it might be awhile.

lehjr avatar Dec 16 '18 23:12 lehjr

Fixed that, just need to fix an issue with the cosmetic selection with the power fist.

lehjr avatar Dec 16 '18 23:12 lehjr

There, should be usable now.

lehjr avatar Dec 17 '18 00:12 lehjr

I'll report back in a bit, can't really test it right now. Thank you for the fix though :)

Lordmau5 avatar Dec 17 '18 01:12 Lordmau5

Alright, it doesn't throw errors anymore on the server :)

The only thing that doesn't work now is that the "Alpha" slider isn't doing anything, though I feel that's not really relevant to this issue in terms of it crashing (and probably also known)

Lordmau5 avatar Dec 17 '18 03:12 Lordmau5

The alpha slider should work but the effect isn't really apparent in the cosmetic GUI. It's a limitation of Minecraft's rendering.

lehjr avatar Dec 17 '18 03:12 lehjr