CubeCoders / AMP

Issue tracking and documentation for AMP
https://cubecoders.com/AMP
201 stars 38 forks source link

Some Unity/Mono based gameserver don't work #1119

Open thecoindalorian opened 2 weeks ago

thecoindalorian commented 2 weeks ago

Bug Report

System Information

I confirm:

Symptoms

Reproduction

Btw if i install those servers without AMP, they run like a charm. But i need it over AMP that my clan mates are able to restart and update the gameservers. Hope you have some clues for me.

AMPLOG 2024-06-08 11-24-33_FOUNDRY.log AMPLOG 2024-06-08 11-42-57_7D2D-UL.txt

thecoindalorian commented 2 weeks ago

In addition same problem with Valheim. See logs attached.

AMPLOG 2024-06-09 11-52-01_Valheim.txt

IceOfWraith commented 2 weeks ago

The issue with 7d2d is that the config needs updated for Undead Legacy. I'll address it shortly.

IceOfWraith commented 2 weeks ago

Valheim looks like a typical password issue. You need to do 5 characters of letters or numbers.

thecoindalorian commented 2 weeks ago

Regarding Valheim I can confirm, it was a password issue. Thanks for the hint. :)

FOUNDRY and PortalKnights still crashes at start. I attached an addtional AMP Log from the PortalKnights Instance. AMPLOG 2024-06-09 16-52-44_PortalKnights.txt

IceOfWraith commented 2 weeks ago

Install this and try the Portal Knights one again. It doesn't give any useful info in the log unfortunately.

https://www.techpowerup.com/download/visual-c-redistributable-runtime-package-all-in-one/

IceOfWraith commented 2 weeks ago

I'm about to run an errand, but try on your 7D2D to make sure you have alpha20.7 entered in the SteamCMD and Updates tab for the branch instead of public.

thecoindalorian commented 2 weeks ago

Thanks for the tip. That was the was the missing puzzle part. I thought if i select UL stable then AMP would automatically select the required 7D2D Version. It works now.

I installed the suggested all-in-one runtime package, but FOUNDRY and Portal Knight Server still crash at startup. The interesting part is, that both server run like a charm on the same server machine if i install and start them standalone without AMP. But i don't know why both don't run as AMP instance, if i install and configure it through AMP.

New AMP Log attached from after installing the all-in-one runtime package.

AMPLOG 2024-06-10 09-59-59_PortalKnights.txt AMPLOG 2024-06-10 10-01-33_FOUNDRY.txt

Greelan commented 2 weeks ago

AMP doesn't run servers as your normal user, it runs them as Network Service

thecoindalorian commented 2 weeks ago

Yeah i know @Greelan

You mean it could be due to some restrictions within the Network Service?

Greelan commented 2 weeks ago

Yes possibly. Or the fact that it is running it as a service

IceOfWraith commented 2 weeks ago

Actually, that just might be the cause. If you upgrade to Windows Server 2022 that could resolve it. 2022 handles services differently and has been known to work for more games.

thecoindalorian commented 2 weeks ago

I am curious to check that out. Today i ordered a new server machine which is capable to handle Windows 2022 Server.

IceOfWraith commented 2 weeks ago

In the end, this is a big reason Ubuntu/Debian is highly recommended though. :)

Greelan commented 2 weeks ago

I am curious to check that out. Today i ordered a new server machine which is capable to handle Windows 2022 Server.

Totally left field (but based on what someone else found with Soulmask) - install/enable Dotnet 3.5

cryonize commented 2 weeks ago

I am curious to check that out. Today i ordered a new server machine which is capable to handle Windows 2022 Server.

Totally left field (but based on what someone else found with Soulmask) - install/enable Dotnet 3.5

Enable/install Dotnet 3.5 in your server features and then go to your datastore and into your Soulmask server instance and run Start.bat. Let it install whatever it needs else other than dotnet 3.5. When it starts a server, close it and run it on AMP.

IceOfWraith commented 2 weeks ago

I am curious to check that out. Today i ordered a new server machine which is capable to handle Windows 2022 Server.

Totally left field (but based on what someone else found with Soulmask) - install/enable Dotnet 3.5

Enable/install Dotnet 3.5 in your server features and then go to your datastore and into your Soulmask server instance and run Start.bat. Let it install whatever it needs else other than dotnet 3.5. When it starts a server, close it and run it on AMP.

They aren't installing Soulmask. 😅