MultiSEngine icon indicating copy to clipboard operation
MultiSEngine copied to clipboard

Random Crashes on Mobile

Open ReynardoEW opened this issue 2 years ago • 7 comments

It randomly crashes when you join using mobile devices, without doing anything it will still instantly crash but there's a chance it'll work perfectly fine too but then the next time you try to join again it'll crash again

MultiSEngine running on Linux TShock latest version also running on Linux

Tried to debug this and I see some patterns on crash and non crashes

On non crashing connection it'll send PlayerZone to the client first and then the PlayerBuff packet but on the crashing one it skips the PlayerZone and directly to the PlayerBuff. I don't know whether this is expected or is indeed the main cause for the crash

ReynardoEW avatar Apr 09 '23 08:04 ReynardoEW

Are there any errors reported during crashes? I'll try to fix it after a while

Megghy avatar Apr 10 '23 11:04 Megghy

There's no error reported only that the socket has been closed, the game just force closes on it's own looking at the stacktrace also don't tell anything

ReynardoEW avatar Apr 11 '23 05:04 ReynardoEW

crash.txt log.txt

I have attached 2 logs for you to check

ReynardoEW avatar Apr 11 '23 06:04 ReynardoEW

我在MultiSEngine/Core/Handler/AcceptConnectionHandler.cs中第50行设置了WorldSurface的初始值后,移动端似乎不再出现崩端情况,也许这个方法可以解决/缓解这个问题?

使用的移动版本为Terraria v1.4.4.9 Build 993 (经汉化过的版本)

MacroCFT avatar Jul 01 '23 14:07 MacroCFT

我在MultiSEngine/Core/Handler/AcceptConnectionHandler.cs中第50行设置了WorldSurface的初始值后,移动端似乎不再出现崩端情况,也许这个方法可以解决/缓解这个问题?

使用的移动版本为Terraria v1.4.4.9 Build 993 (经汉化过的版本)

收到感谢

Megghy avatar Jul 01 '23 15:07 Megghy

The minimap is abnormally missing

exxgba1232000 avatar Jul 15 '23 13:07 exxgba1232000

The minimap is abnormally missing

This is a limitation of the game itself, and cannot be solved by anything other than tmodloader or modification of the game itself.

Megghy avatar Jul 21 '23 19:07 Megghy