chronosacaria / MCDungeonsArmors

Bringing the armours of Minecraft Dungeons to Minecraft
Other
22 stars 9 forks source link

Server Crash #21

Closed DatenShi9 closed 2 years ago

DatenShi9 commented 3 years ago

Hello I have a problem with the armor on my server every time I put on an armor on the server it locks and closes the server says this Exception in server tick loop

java.lang.AbstractMethodError: Receiver class chronosacaria.mcda.items.ArmorSets does not define or inherit an implementation of the resolved method 'abstract java.lang.String method_7694 ()' of interface net.minecraft.class_1741.Is there any solution?

chronosacaria commented 3 years ago

Could you send me the whole crash log? If I had the whole thing I would be able to diagnose what is happening and know things like what mods you have installed and what version you're on, for example

DatenShi9 commented 3 years ago

ok ---- Minecraft Crash Report ---- // Hey, that tickles! Hehehe!

Time: 8/10/21, 3:59 p. m. Description: Exception in server tick loop

java.lang.AbstractMethodError: Receiver class chronosacaria.mcda.items.ArmorSets does not define or inherit an implementation of the resolved method 'abstract java.lang.String method_7694()' of interface net.minecraft.class_1741. at net.minecraft.class_1738.handler$zpc000$useMixin(class_1738.java:543) at net.minecraft.class_1738.method_7836(class_1738.java:122) at net.minecraft.class_1799.method_7913(class_1799.java:254) at net.minecraft.class_3225.method_14256(class_3225.java:282) at net.minecraft.class_3244.method_12065(class_3244.java:1086) at net.minecraft.class_2886.method_12550(class_2886.java:25) at net.minecraft.class_2886.method_11054(class_2886.java:7) at net.minecraft.class_2600.method_11072(class_2600.java:21) at net.minecraft.class_3738.run(class_3738.java:18) at net.minecraft.class_1255.method_18859(class_1255.java:151) at net.minecraft.class_4093.method_18859(class_4093.java:23) at net.minecraft.server.MinecraftServer.method_24306(MinecraftServer.java:788) at net.minecraft.server.MinecraftServer.method_18859(MinecraftServer.java:164) at net.minecraft.class_1255.method_16075(class_1255.java:125) at net.minecraft.server.MinecraftServer.method_20415(MinecraftServer.java:770) at net.minecraft.server.MinecraftServer.method_16075(MinecraftServer.java:764) at net.minecraft.class_1255.method_18857(class_1255.java:134) at net.minecraft.server.MinecraftServer.method_16208(MinecraftServer.java:749) at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:701) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270) at java.base/java.lang.Thread.run(Thread.java:831)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- System Details -- Details: Minecraft Version: 1.17.1 Minecraft Version ID: 1.17.1 Operating System: Windows 10 (amd64) version 10.0 Java Version: 16.0.2, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode, sharing), Oracle Corporation Memory: 1282100840 bytes (1222 MiB) / 3254779904 bytes (3104 MiB) up to 10737418240 bytes (10240 MiB) CPUs: 12 Processor Vendor: GenuineIntel Processor Name: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz Identifier: Intel64 Family 6 Model 158 Stepping 10 Microarchitecture: Coffee Lake Frequency (GHz): 2,59 Number of physical packages: 1 Number of physical CPUs: 6 Number of logical CPUs: 12 Graphics card #0 name: NVIDIA GeForce RTX 2060 Graphics card #0 vendor: NVIDIA (0x10de) Graphics card #0 VRAM (MB): 4095,00 Graphics card #0 deviceId: 0x1f11 Graphics card #0 versionInfo: DriverVersion=30.0.14.7212 Graphics card #1 name: Intel(R) UHD Graphics 630 Graphics card #1 vendor: Intel Corporation (0x8086) Graphics card #1 VRAM (MB): 1024,00 Graphics card #1 deviceId: 0x3e9b Graphics card #1 versionInfo: DriverVersion=27.20.100.8681 Memory slot #0 capacity (MB): 8192,00 Memory slot #0 clockSpeed (GHz): 2,67 Memory slot #0 type: DDR4 Memory slot #1 capacity (MB): 8192,00 Memory slot #1 clockSpeed (GHz): 2,67 Memory slot #1 type: DDR4 Virtual memory max (MB): 32455,48 Virtual memory used (MB): 21098,54 Swap memory total (MB): 16227,74 Swap memory used (MB): 746,93 JVM Flags: 1 total; -Xmx10240m Fabric Mods: adorn: Adorn 2.1.5+1.17.1 advanced_runtime_resource_pack: Runtime Resource Pack 0.2.9 adventurez: AdventureZ 1.2.11 architectury: Architectury 2.5.30 bclib: BCLib 0.3.1 betterend: Better End 0.11.0-pre betternether: Better Nether 5.1.3 cardinal-components-base: Cardinal Components API (base) 3.0.0-nightly.1.17-pre1 cardinal-components-entity: Cardinal Components API (entities) 3.0.0-nightly.1.17-pre1 carrier: Carrier 1.8.0 cloth-basic-math: Cloth Basic Math 0.5.1 cloth-config2: Cloth Config v5 5.0.38 dehydration: Dehydration 1.2.4 dungeons_arise: When Dungeons Arise 2.1.47-fabric enchant_giver: Enchant Giver 1.1.0 fabric: Fabric API 0.40.1+1.17 fabric-api-base: Fabric API Base 0.3.0+a02b446318 fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.3.0+cbda931818 fabric-biome-api-v1: Fabric Biome API (v1) 3.2.0+cbda931818 fabric-command-api-v1: Fabric Command API (v1) 1.1.3+5ab9934c18 fabric-commands-v0: Fabric Commands (v0) 0.2.2+92519afa18 fabric-containers-v0: Fabric Containers (v0) 0.1.12+cbda931818 fabric-content-registries-v0: Fabric Content Registries (v0) 0.3.0+cbda931818 fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.5+be9da31018 fabric-dimensions-v1: Fabric Dimensions API (v1) 2.0.11+6cefd57718 fabric-entity-events-v1: Fabric Entity Events (v1) 1.2.3+87cc6e4c18 fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.10+fc40aa9d18 fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.1+92519afa18 fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.7+cbda931818 fabric-item-api-v1: Fabric Item API (v1) 1.2.4+cbda931818 fabric-item-groups-v0: Fabric Item Groups (v0) 0.2.10+b7ab612118 fabric-language-kotlin: Fabric Language Kotlin 1.6.5+kotlin.1.5.31 fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.4.4+a02b446318 fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.4+a02b446318 fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.3+92519afa18 fabric-networking-api-v1: Fabric Networking API (v1) 1.0.13+cbda931818 fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.11+a02b446318 fabric-networking-v0: Fabric Networking (v0) 0.3.2+92519afa18 fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.10.9+cbda931818 fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.3+a02b446318 fabric-particles-v1: Fabric Particles (v1) 0.2.4+a02b446318 fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.7.10+e2961fee18 fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.5+a02b446318 fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.14+4658223018 fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.8+a00e834b18 fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.8+cbda931818 fabric-structure-api-v1: Fabric Structure API (v1) 1.1.13+5ab9934c18 fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.2.1+b06cb95b18 fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.2.12+b7ab612118 fabric-transfer-api-v1: Fabric Transfer API (v1) 1.3.1+4658223018 fabricloader: Fabric Loader 0.11.7 graveyard: The Graveyard 1.0 jankson: Jankson 3.0.1+j1.2.0 java: Java HotSpot(TM) 64-Bit Server VM 16 levelz: LevelZ 1.0.12 libcd: LibCapableData 3.0.3+1.16.3 libgui: LibGui 4.1.6+1.17.1 libninepatch: LibNinePatch 1.1.0 mcda: MC Dungeons Armors 1.7.11 mcdw: MC Dungeons Weapons 3.5.3 minecraft: Minecraft 1.17.1 omega-config: OmegaConfig 1.0.8 org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 1.5.31 org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 1.5.31 org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 1.5.31 org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 1.5.31 org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm: kotlinx-coroutines-core-jvm 1.5.2 org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.5.2 org_jetbrains_kotlinx_kotlinx-serialization-core-jvm: kotlinx-serialization-core-jvm 1.3.0 org_jetbrains_kotlinx_kotlinx-serialization-json-jvm: kotlinx-serialization-json-jvm 1.3.0 reach-entity-attributes: Reach Entity Attributes 2.1.1 roughlyenoughitems: Roughly Enough Items 6.0.279-alpha simple_backpack: SimpleBackpack 1.1.19 Player Count: 1 / 5; [class_3222['Daten_Shi9'/53, l='ServerLevel[world]', x=65.18, y=66.00, z=-10.30]] Data Packs: vanilla, Fabric Mods Is Modded: Definitely; Server brand changed to 'fabric' Type: Dedicated Server (map_server.txt)

DatenShi9 commented 3 years ago

the version is 1.17.1

chronosacaria commented 3 years ago

@DatenShi9 Okay, so after taking a look at this, there is something definitely messing with the backend of things. There are a lot of mods that, it would appear, are unnecessary as they are not dependencies for anything that I am aware of. Now, granted, I could be wrong, and if I am, please correct me. However, I am unable to reproduce this error with the following mods at their latest versions:

Adorn AdventureZ Architectury BCLib Better End Better Nether Cardinal Components API Carrier Cloth Config v5 Dehydration Fabric API Fabric Language Kotlin The Graveyard LevelZ LibCapableData (which I really suggest that you consider an alternative to this as it is quite outdated) MC Dungeons Armor MX Dungeons Weapons Roughly Enough Items Simple Backpack When Dungeons Arise

aapr commented 3 years ago

Hello, i have this same issue, it only trigger on multiplayer servers. single player works as intended.

[11:19:41] [main/INFO]: Loading for game Minecraft 1.17.1 [11:19:42] [ForkJoinPool-1-worker-7/WARN]: The mod "extraalchemy" contains invalid entries in its mod json:

chronosacaria commented 3 years ago

Do you happen to know what armour piece they put on? Or is it all armour like the other issue?

chronosacaria commented 3 years ago

Also, thanks for the server log, that is insanely helpful!

chronosacaria commented 3 years ago

Okay @DatenShi9 & @aapr, so that server log really made the difference. The issue appears to be with MCDA and LevelZ. I'll reach out to Globox_Z and see what can be done

aapr commented 3 years ago

Do you happen to know what armour piece they put on? Or is it all armour like the other issue?

I believe its all armours, i tested with squid armour and just know with ocelot armour. Here is my guess: the LevelZ ( rpg like mod )mod changes armour properties in a way that if you dont have the required stats you cant wear it, this apply to all armour and weapons except for mcd armors for some reason.

It seams to only care on the server side of things as in single player doesnt crash your client.

Edit 1: The issue seams to be with how LevelZ handle some modded armour, i test with battle tower mod armour piece, it wasnt level gated and worked properly while BetterEnd mod armour, it wasnt level gated and crashed the same way

chronosacaria commented 3 years ago

Ah, okay. I am familiar with LevelZ. I know that Globox_Z was working on fixing some serverside crashes and had recommended that people not use it a while back, but I didn't know if that had changed. I am filling out an issue report for them now and I'm sure that I'll hear back from them relatively quickly as they are pretty Johnny on the Spot with this kind of stuff

DatenShi9 commented 3 years ago

In my case it is also only in multiplayer thank you if you can inform us when the problem is solved thanks

chronosacaria commented 3 years ago

@DatenShi9 sure thing!

DatenShi9 commented 2 years ago

Hello, good morning, does the other creator of the mod already have a solution?

chronosacaria commented 2 years ago

Yep! I'm gonna attempt to fix it today and tomorrow 🙂

DatenShi9 commented 2 years ago

What a great developer humile hahaha

chronosacaria commented 2 years ago

@DatenShi9 & @aapr, I have resolved the issue of the crash and will be pushing out an updated version to CurseForge by the end of the night. Thanks, again, for bringing this issue to my attention :)