Closed CrebsTheCoder closed 2 months ago
Are this getting fixed anytime soon? or is there any other alternative way to add custom bone in an emote atm since im working on a custom ability smth that uses emotes to give the player animation and it uses custom bone that the player emote interacts with
[11:12:34 ERROR]: [ItemsAdder] Failed to load player animations from file: /home/container/plugins/ItemsAdder/contents/mmo_emotes/models/entity/sword/.player_advanced_animations
[11:12:34 WARN]: java.lang.StringIndexOutOfBoundsException: Range [-1, 101) out of bounds for length 101
[11:12:34 WARN]: at java.base/jdk.internal.util.Preconditions$1.apply(Preconditions.java:55)
[11:12:34 WARN]: at java.base/jdk.internal.util.Preconditions$1.apply(Preconditions.java:52)
[11:12:34 WARN]: at java.base/jdk.internal.util.Preconditions$4.apply(Preconditions.java:213)
[11:12:34 WARN]: at java.base/jdk.internal.util.Preconditions$4.apply(Preconditions.java:210)
[11:12:34 WARN]: at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:98)
[11:12:34 WARN]: at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckFromToIndex(Preconditions.java:112)
[11:12:34 WARN]: at java.base/jdk.internal.util.Preconditions.checkFromToIndex(Preconditions.java:349)
[11:12:34 WARN]: at java.base/java.lang.String.checkBoundsBeginEnd(String.java:4865)
[11:12:34 WARN]: at java.base/java.lang.String.substring(String.java:2834)
[11:12:34 WARN]: at java.base/java.lang.String.substring(String.java:2807)
[11:12:34 WARN]: at ItemsAdder_4.0.2-alpha-test-3.jar//ia.m.nC.G(SourceFile:580)
[11:12:34 WARN]: at ItemsAdder_4.0.2-alpha-test-3.jar//ia.m.ac.c(SourceFile:516)
[11:12:34 WARN]: at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
[11:12:34 WARN]: at ItemsAdder_4.0.2-alpha-test-3.jar//ia.m.ac.ae(SourceFile:500)
[11:12:34 WARN]: at ItemsAdder_4.0.2-alpha-test-3.jar//ia.m.G.a(SourceFile:824)
[11:12:34 WARN]: at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:101)
[11:12:34 WARN]: at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
[11:12:34 WARN]: at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[11:12:34 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[11:12:34 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[11:12:34 WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)
I ran it into 1.20.6 paper server and this was the error with the emote with custom bone sword.zip This is the emote iaentitymodel file and the export output
Attach your emote blockbench project file, there is something wrong with it. Anyway if you have BuitByBit please provide me here your username so that I can gift you the advanced emotes pack so that you can see that they work fine.
https://builtbybit.com/resources/34-detailed-emotes-pack-for-itemsadder.29141
MY MISTAKE NO NEED TO GIFT ME THAT I HAVE BEEN USING THE WRONG NAMESPACE THIS ENTIRE TIME :CRYING:
Im so sorry if i wasted your time looking into this i din't reliase i dint update the texture path in the bone json 😢
Its been resolved tq so much for pointing out my mistake
Terms
Discord tag (optional)
No response
What happened?
When i make emote with a custom bone it gives me this error and i have enabled emote in the config
I am using the latest beta
Steps to reproduce the issue
Server version
[15:57:04 INFO]: Current Purpur Version: 1.20.6-2233-0d6766e (MC: 1.20.6)*
ItemsAdder Version
4.0.2-alpha-test-3
ProtocolLib Version
5.3.0-SNAPSHOT-726
LoneLibs Version
1.0.56
Full server log
No response
Error (optional)
Problematic items yml configuration file (optional)
No response
Other files, you can drag and drop them here to upload. (optional)
No response
Screenshots/Videos (you can drag and drop files or paste links)
No response