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

Random Crashes on Mobile #19

Open
ReynardoEW opened this issue Apr 9, 2023 · 7 comments
Open

Random Crashes on Mobile #19

ReynardoEW opened this issue Apr 9, 2023 · 7 comments

Comments

@ReynardoEW
Copy link

ReynardoEW commented Apr 9, 2023

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

@Megghy
Copy link
Owner

Megghy commented Apr 10, 2023

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

@ReynardoEW
Copy link
Author

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
Copy link
Author

crash.txt
log.txt

I have attached 2 logs for you to check

@MacroCFT
Copy link

MacroCFT commented Jul 1, 2023

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

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

@Megghy
Copy link
Owner

Megghy commented Jul 1, 2023

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

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

收到感谢

Megghy added a commit that referenced this issue Jul 1, 2023
@exxgba1232000
Copy link

exxgba1232000 commented Jul 15, 2023

The minimap is abnormally missing

@Megghy
Copy link
Owner

Megghy commented Jul 21, 2023

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.

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

4 participants