Войти или зарегистрироваться
  • Вы находитесь в сообществе Rubukkit. Мы - администраторы серверов Minecraft, разрабатываем собственные плагины и переводим на различные языки плагины наших коллег из других стран.

Помогите Уязвимости NBTM

Статус
Закрыто для дальнейших ответов.

dehucrus

Активный участник
Пользователь
Баллы
78
Приветствую, понимаю что тема уже наболевшая и все таки нужна помощь знающих людей, и да, скажу сразу: если бы я хотел или мне было нужно перейти на 1.7.10, я бы перешел, нужно именно на эту версию. А теперь по порядку, крашат сервер на mcpc+, нашел причину краша здесь, так как ссылки все старые, удалось найти только класс от @alexandrage вот здесь.
После переименование в ca.class и переброса в ядро, появился краш:
[SEVERE] Encountered an unexpected exception LoaderException
cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/nbt/NBTTagList
at cpw.mods.fml.common.LoadController.transition(LoadController.java:147)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:697)
at cpw.mods.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:93)
at cpw.mods.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:355)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:168)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:588)
at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)
Caused by: java.lang.NoClassDefFoundError: net/minecraft/nbt/NBTTagList
at forestry.core.genetics.Genome.writeToNBT(Genome.java:53)
at forestry.core.genetics.IndividualLiving.writeToNBT(IndividualLiving.java:57)
at forestry.plugins.PluginApiculture.registerDungeonLoot(PluginApiculture.java:710)
at forestry.plugins.PluginApiculture.postInit(PluginApiculture.java:321)
at forestry.core.ForestryCore.postInit(ForestryCore.java:143)
at forestry.Forestry.postInit(Forestry.java:49)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:494)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:192)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:172)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:103)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:696)
... 5 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.nbt.NBTTagList
at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:273)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 37 more
Caused by: java.lang.NoClassDefFoundError: net/minecraft/nbt/NBTTagList (wrong name: net/minecraft/server/v1_5_R3/NBTTagList)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:262)
... 39 more
Где-то читал, что нужно запускать с флагом -Dfml.ignorePatchDiscrepancies=true, но проблема в том, что если, в моем случае, указать флаг в start.sh, то ничего не измениться... Буду очень благодарен в решении данной проблемы! Комментарии по переходу на более новые версии игнорируются.
 
если бы я хотел или мне было нужно перейти на 1.7.10, я бы перешел, нужно именно на эту версию.
Ну да, куда же без продажи админок. И замечательных плагинов на батуты, свадьбы, наркотики...
 
Ну да, куда же без продажи админок. И замечательных плагинов на батуты, свадьбы, наркотики...
Как-будто на новых версиях не продают админки и нет плагинов со свадьбами, наркотиками и батутами
 
Приветствую, понимаю что тема уже наболевшая и все таки нужна помощь знающих людей, и да, скажу сразу: если бы я хотел или мне было нужно перейти на 1.7.10, я бы перешел, нужно именно на эту версию. А теперь по порядку, крашат сервер на mcpc+, нашел причину краша здесь, так как ссылки все старые, удалось найти только класс от @alexandrage вот здесь.
После переименование в ca.class и переброса в ядро, появился краш:
[SEVERE] Encountered an unexpected exception LoaderException
cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/nbt/NBTTagList
at cpw.mods.fml.common.LoadController.transition(LoadController.java:147)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:697)
at cpw.mods.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:93)
at cpw.mods.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:355)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:168)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:588)
at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)
Caused by: java.lang.NoClassDefFoundError: net/minecraft/nbt/NBTTagList
at forestry.core.genetics.Genome.writeToNBT(Genome.java:53)
at forestry.core.genetics.IndividualLiving.writeToNBT(IndividualLiving.java:57)
at forestry.plugins.PluginApiculture.registerDungeonLoot(PluginApiculture.java:710)
at forestry.plugins.PluginApiculture.postInit(PluginApiculture.java:321)
at forestry.core.ForestryCore.postInit(ForestryCore.java:143)
at forestry.Forestry.postInit(Forestry.java:49)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:494)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:192)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:172)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:103)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:696)
... 5 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.nbt.NBTTagList
at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:273)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 37 more
Caused by: java.lang.NoClassDefFoundError: net/minecraft/nbt/NBTTagList (wrong name: net/minecraft/server/v1_5_R3/NBTTagList)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:262)
... 39 more
Где-то читал, что нужно запускать с флагом -Dfml.ignorePatchDiscrepancies=true, но проблема в том, что если, в моем случае, указать флаг в start.sh, то ничего не измениться... Буду очень благодарен в решении данной проблемы! Комментарии по переходу на более новые версии игнорируются.
Краш-лог говорит об отсутствии NBTTagList.class. Вы что, переименовали его в ca.class?
Для фикса уязвимости, нужно перекинуть NBTTagList.class в net/minecraft/server/v1_5_R3/
 
Вот так выглядит ядро, папки net/minecraft/server/v1_5_R3 не существует. Как быть, кто подробно объяснит как пофиксить этот краш? :confused:
 

Вложения:

  • Снимоквв.PNG
    Снимоквв.PNG
    Размер файла
    40,5 КБ
    Просмотров
    22
Все Hitech сервера с mcpc+ на 1.5.2 с фиксом
help
help2
В общем, я так полагаю помощи ждать бесполезно, исходники к этому ядру уже тоже не найти... на mcpc+ 1.5.2 судя по всему, конкретно моему маленькому хайтеч серверу не удастся прожить. Крафты на последующих версиях игры игроков тоже не устраивают, поэтому, видимо, нет смысла существовать этой теме...
 
Последнее редактирование:
Здравый совет - обновляй хайтек сервера до 1.8.9. Ic 2 ex уже вышел под нее.
 
Статус
Закрыто для дальнейших ответов.

Поделиться этой страницей

Назад
Верх