Cant connect to server #2530
Replies: 1 comment
-
Make sure you're using correct resource |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
17:21:32 INFO:Grasscutter Loading Grasscutter...
17:21:32 INFO:Utils 为完整使用任务,推荐添加 'Server' 目录
17:21:32 INFO:Utils 为完整使用任务,推荐添加 'ScriptSceneData' 目录
17:21:32 INFO:Utils 在 'Anime-Game-Servers/CustomGCResources' 找到额外的 resources
17:21:32 INFO:Grasscutter 正在启动 Grasscutter...
17:21:32 INFO:Grasscutter 游戏版本:4.0.0
17:21:32 INFO:Grasscutter Grasscutter 版本:1.7.4-
17:21:33 INFO:ResourceLoader 正在加载 resources...
17:21: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
17:21:34 WARN:FileUtils Failed to read resource: /html/handbook.html
17:21: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