ukmojb / The-One-Probe-Community-Edition

MIT License
9 stars 9 forks source link

Caused by: java.lang.NoClassDefFoundError: mcjty/theoneprobe/network/PacketGetInfo #10

Closed tier940 closed 6 months ago

tier940 commented 7 months ago

This problem did not occur in 1.2.2, but has been occurring since 1.2.4. It seems that the update between 1.2.2 and 1.2.4 is to blame.

version

use modpack

error log

ukmojb commented 7 months ago

I changed some of the methods by making the module's display information client-side. Some modules (such as ae2, gregtech) use asm to enter the server and return information to the client to localize the displayed information, so they are not registered through the api provided by top, so they will report errors or crash. Unfortunately I moved this method to the client side, otherwise the original purpose of this community version (to localize the information display) would be violated (I18n method is only on the client side, so it will crash once it is run on the server side).

tier940 commented 7 months ago

Sorry, this error is the client. And regarding the unintroducible on the server, there may be a case where it needs to be introduced on the server as well, but can't you do something about it with @SideOnly ?

I changed some of the methods by making the module's display information client-side. Some modules (such as ae2, gregtech) use asm to enter the server and return information to the client to localize the displayed information, so they are not registered through the api provided by top, so they will report errors or crash. Unfortunately I moved this method to the client side, otherwise the original purpose of this community version (to localize the information display) would be violated (I18n method is only on the client side, so it will crash once it is run on the server side).

tier940 commented 7 months ago

Incidentally, if improvement is not possible, the CE will be changed to deprecated in the ModPack, and you will go back to no CE.

ukmojb commented 7 months ago

顺便说一句,如果无法改进,CE 将在 ModPack 中更改为已弃用,您将返回到无 CE。

In fact, all it takes is for gregtech to change the registration information to use api registration.))))

ukmojb commented 7 months ago

Incidentally, if improvement is not possible, the CE will be changed to deprecated in the ModPack, and you will go back to no CE.

When I have time, I fork that mods to make it work with topce(All we know so far is ae2,gregtech)

ukmojb commented 7 months ago

Incidentally, if improvement is not possible, the CE will be changed to deprecated in the ModPack, and you will go back to no CE.

If there are other mods that have the same problem, then feedback is welcome

tier940 commented 7 months ago

I'm sorry, but please 🙏

ukmojb commented 6 months ago

1.2.6 fixed