Replies: 1 comment 1 reply
-
You're trying to use bad resources. Please use the resources required for Grasscutter: https://gitlab.com/YuukiPS/GC-Resources/ |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
13:57:32 INFO:Grasscutter Loading Grasscutter...
13:57:32 INFO:Utils 为完整使用任务,推荐添加 'Server' 目录
13:57:32 INFO:Utils 为完整使用任务,推荐添加 'ScriptSceneData' 目录
13:57:32 INFO:Utils 在 'Anime-Game-Servers/CustomGCResources' 找到额外的 resources
13:57:32 INFO:Grasscutter 正在启动 Grasscutter...
13:57:32 INFO:Grasscutter 游戏版本:4.0.0
13:57:32 INFO:Grasscutter Grasscutter 版本:1.7.4-
13:57:33 INFO:ResourceLoader 正在加载 resources...
13:57:34 WARN:HttpServer [Dispatch] 无法连接路由
com.google.gson.JsonSyntaxException: java.io.IOException: Invalid DynamicFloat definition - BEGIN_OBJECT
at com.google.gson.Gson.fromJson(Gson.java:1006)
at com.google.gson.Gson.fromJson(Gson.java:956)
at emu.grasscutter.utils.JsonUtils.loadToMap(JsonUtils.java:116)
at emu.grasscutter.data.ResourceLoader.loadTalent(ResourceLoader.java:465)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1845)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
at emu.grasscutter.data.ResourceLoader.lambda$loadTalents$31(ResourceLoader.java:451)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1845)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
at emu.grasscutter.data.ResourceLoader.loadTalents(ResourceLoader.java:445)
at emu.grasscutter.data.ResourceLoader.loadAll(ResourceLoader.java:92)
at emu.grasscutter.utils.lang.Language.loadTextMaps(Language.java:369)
at emu.grasscutter.utils.lang.Language.loadTextMaps(Language.java:322)
at emu.grasscutter.utils.lang.Language.getTextMapKey(Language.java:312)
at emu.grasscutter.utils.lang.Language.getTextMapKey(Language.java:317)
at emu.grasscutter.tools.Tools.createGachaMappingJsons(Tools.java:218)
at emu.grasscutter.server.http.documentation.GachaMappingRequestHandler.(GachaMappingRequestHandler.java:14)
at emu.grasscutter.server.http.documentation.DocumentationServerHandler.applyRoutes(DocumentationServerHandler.java:11)
at emu.grasscutter.server.http.HttpServer.addRouter(HttpServer.java:146)
at emu.grasscutter.Grasscutter.main(Grasscutter.java:140)
Caused by: java.io.IOException: Invalid DynamicFloat definition - BEGIN_OBJECT
at emu.grasscutter.utils.JsonAdapters$DynamicFloatAdapter.read(JsonAdapters.java:46)
at emu.grasscutter.utils.JsonAdapters$DynamicFloatAdapter.read(JsonAdapters.java:16)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:130)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:221)
at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:41)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:82)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61)
at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:41)
at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:187)
at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:145)
at com.google.gson.Gson.fromJson(Gson.java:991)
... 38 common frames omitted
13:57:34 WARN:FileUtils Failed to read resource: /html/handbook.html
13:57:34 INFO:ResourceLoader 正在加载 resources...
Exception in thread "main" java.lang.Exception: Script loader already initialized
at emu.grasscutter.scripts.ScriptLoader.init(ScriptLoader.java:45)
at emu.grasscutter.data.ResourceLoader.loadAll(ResourceLoader.java:87)
at emu.grasscutter.Grasscutter.main(Grasscutter.java:157)
Beta Was this translation helpful? Give feedback.
All reactions