Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

今天突然报错 #57

Open
Caijue117 opened this issue Apr 18, 2022 · 7 comments
Open

今天突然报错 #57

Caijue117 opened this issue Apr 18, 2022 · 7 comments

Comments

@Caijue117
Copy link

在曲速飞行时按Y打开戴森球面板弹出的报错

An error has occurred! Game version 0.9.24.11286 (Host)
Mods use: [StellarAutoNavigation1.6] [EnableMilkyWayGalaxy1.1.0] [DSPStationInfo0.4.4] [SplitterOverBelt1.1.0] [IlLine1.0.0] [LDBTool2.0.5] [DSP Mod Save1.1.4] [DSP Common API1.4.8.0] [NebulaMultiplayerMod0.8.4.5] [NebulaMultiplayerModApi1.2.0.5] [BulletTime1.2.4] [CloseError1.0.0] [Common API Nebula Compatibility1.4.8.0] [Galactic Scale 2 Plug-In2.4.22] [Galactic Scale 2 Nebula Compatibility Plug-In1.0.0.0] [MoreMegaStructure1.0] [Planet Vein Utilization1.0.3] 
DE Selection Change Call Back Error: 

System.NullReferenceException: Object reference not set to an instance of an object

  at MoreMegaStructure.MoreMegaStructure.RefreshUILabels (StarData star) [0x00007] in <6f510f0886a24f5b801a4eddb7183f51>:IL_0007 

  at MoreMegaStructure.MoreMegaStructure.SetTextOnSelectionChange (UIDysonEditor __instance) [0x00058] in <6f510f0886a24f5b801a4eddb7183f51>:IL_0058 

  at UIDysonEditor.OnSelectionChange () [0x00024] in <223ad7a8c9634815903ae66b31e1f398>:IL_0024 

  at (wrapper delegate-invoke) <Module>.invoke_void()

  at DESelection.NotifySelectionChange () [0x00039] in <223ad7a8c9634815903ae66b31e1f398>:IL_0039 
不知道是啥问题QAQ
@jinxOAO
Copy link
Owner

jinxOAO commented Apr 18, 2022

更新了。如果还有其他问题请告诉我。

@Caijue117
Copy link
Author

十分感谢!

@Caijue117 Caijue117 reopened this Apr 18, 2022
@Caijue117
Copy link
Author

另:作者大大可以帮忙看一下这个报错是因为什么吗,星云联机mod联机失败的报错
2022/4/13 21:23:32|Fatal|<>c__DisplayClass174_0.b__2|WebSocketSharp.WebSocketException: The header part of a frame could not be read.
at WebSocketSharp.WebSocketFrame.processHeader (System.Byte[] header) [0x0001f] in <8a487afc90034efd8834451ab3f060ab>:IL_001F
at WebSocketSharp.WebSocketFrame+<>c__DisplayClass71_0.b__0 (System.Byte[] bytes) [0x00001] in <8a487afc90034efd8834451ab3f060ab>:IL_0001
at WebSocketSharp.Ext+<>c__DisplayClass57_0.b__0 (System.IAsyncResult ar) [0x0008e] in <8a487afc90034efd8834451ab3f060ab>:IL_008E

@jinxOAO
Copy link
Owner

jinxOAO commented Apr 18, 2022

首先一个是我这个mod没有支持联机。
然后,这个报错我也不懂,只能是搜了一下。
“这可能是由于以下问题引起的:
应用程序和服务器都在同时以更快的速度发送批量消息或大量数据。有一个类似的问题(sta/websocket-sharp#202)

解决方案

您必须优化算法以满足以下约束并消除该错误

监控与服务器之间的数据传输速率
尝试等待一侧数据传输完成(Half Duplex)”
原贴https://stackoverflow.com/questions/49558475/websockets-sharp-exeption-websocketexception

@Caijue117
Copy link
Author

感谢作者大大,您的mod是可以用在联机游玩里的,各项功能应该能够正常使用,我自己也查询了一下,发现联机失败的原因很大概率是我和我朋友之间的网络问题,以及存档文件太大无法正常传输,再次感谢您为我的问题做出的分析

@starfi5h
Copy link

starfi5h commented Apr 19, 2022

关于联机的错误也可以来Nebula的github回报 https://github.com/hubastard/nebula/issues
如果是工厂档案太大可以试着让客户端把Documents\Dyson Sphere Program\player.key刪除,如此会重置玩家的数据(所在位置,物品等),然后再让他选一个工厂比较小的星球重新开始。
OQO有提出一个解法,若有效的話也許有機會在下一版修好…

@Caijue117
Copy link
Author

好的,晚些时候我和朋友试一下,谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants