sisby-folk / surveyor

Unified API, networking, and save data for minecraft map mods.
https://modrinth.com/mod/surveyor
GNU Lesser General Public License v3.0
9 stars 2 forks source link

Mixin Startup Crash on Server #27

Closed OneWorldStudio closed 2 months ago

OneWorldStudio commented 3 months ago

https://mclo.gs/veCBKHf

sisby-folk commented 3 months ago

does this occur on a fresh instance with only atlas, connector, and ffapi?

OneWorldStudio commented 3 months ago

Yeah

sisby-folk commented 3 months ago

can you post that log as well? Sounds like a new connector-introduced issue.

sisby-folk commented 3 months ago

https://mclo.gs/u1ZWIib can't reproduce - try using the recommended 47.1.3 forge version.

OneWorldStudio commented 3 months ago

It is not possible to run the server on 47.1.3, I have a hybrid kernel and supports only 47.3.1 and above, and besides, I have epic fight, which does not support below 47.2.0

sisby-folk commented 3 months ago

Forge versions rewrite the code the mod is running on - having a version that works on 47.1.3 and 47.3.1 is like having a version that runs on 1.19.2 and 1.20.1 - possible, but by no means a guarantee, and usually impossible to fix if it breaks.

That said, here's atlas running on neo 47.1.106 (latest neo for 1.20.1) - try that?

image

OneWorldStudio commented 3 months ago

Версии Forge переписывают код, на котором работает мод - иметь версию, работающую на 47.1.3 и 47.3.1, это все равно, что иметь версию, работающую на 1.19.2 и 1.20.1 - возможно, но ни в коем случае не гарантия, и обычно невозможно починить, если он сломается.

Тем не менее, вот Atlas, работающий на Neo 47.1.106 (последняя Neo для 1.20.1) — попробуйте его?

изображение

Okay, thank so much

OneWorldStudio commented 3 months ago

[05:56:21 FATAL]: Mixin apply for mod surveyor failed surveyor.mixins.json:MixinServerWorld from mod surveyor -> net.minecraft.server.level.ServerLevel: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Critical injection failure: @Inject annotation on onPointOfInterestRemoved could not find any targets matching 'Lnet/minecraft/server/level/ServerLevel;m207559(Lnet/minecraft/core/BlockPos;)V' in net.minecraft.server.level.ServerLevel. Using refmap surveyor-refmap.json [PREINJECT Applicator Phase -> surveyor.mixins.json:MixinServerWorld from mod surveyor -> Prepare Injections -> -> handler$zck000$surveyor$onPointOfInterestRemoved(Lnet/minecraft/core/BlockPos;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Parse]

OneWorldStudio commented 3 months ago

He generally complains to me about surveyor, not Atlas, although what's wrong with it without crash

OneWorldStudio commented 3 months ago

It doesn't work only on the server side, but everything works fine on the Client before that.

sisby-folk commented 3 months ago

still can't reproduce (latest neo, server) https://mclo.gs/UdZx0bt

Xiaoanawa commented 3 months ago

I encountered the same issue with version 1.20.1, using Mohist as the server core, which is a hybrid platform combining Forge with Bukkit and Spigot, specifically running Forge version 47.3.1. The Atlas mod was version 2.9.5, and Surveyor was version 0.5.6 (previously, I had Atlas at 2.9.5 and Surveyor at 0.5.3, and the server still wouldn't start before the update).

Neither mod, whether installed individually or together, would allow the server to start up. There was no crash log, and the log content is the same https://mclo.gs/QAQI8Nq

However, when using a Forge server alone, I was able to successfully start it, Forge version 47.2.36.

I attempted to launch the server with Mohist server core using Forge 47.2.32, but it still failed to start. https://mclo.gs/MaSewNP

I intended to test with the Mohist server core paired with Forge version 47.1.3, but network issues prevented me from downloading it. https://mclo.gs/VbNUxDv

sisby-folk commented 2 months ago

no plans to support a bukkit/spigot hybrid server, whether through something like mohist or cardboard

sisby-folk commented 2 months ago

@OneWorldStudio let me know if you end up with the crash on actual forge again (latest neo or recommended), and post the log - I'm closing this for now because I still have no repro case after many attempts and it's going off topic.

Xiaoanawa commented 2 months ago

Okay... thanks for your answer.