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

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

Open
3 tasks done
thecoindalorian opened this issue Jun 8, 2024 · 16 comments
Open
3 tasks done

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

thecoindalorian opened this issue Jun 8, 2024 · 16 comments

Comments

@thecoindalorian
Copy link

thecoindalorian commented Jun 8, 2024

Bug Report

System Information

  • Operating System Windows Server 2019 Standard Version 1809, all current Windows Updates installed
  • AMP version and build date AMP Release "Callisto" v2.5.0.12, built 31/05/2024 14:46
  • Which AMP release stream you're using (Mainline)

I confirm:

  • that I have searched for an existing bug report for this issue.
  • that I am using the latest available version of AMP.
  • that my operating system is up-to-date.

Symptoms

  • What are you trying to do? To launch a unity/mono based gameserver with included gameserver templates
  • What are you expecting to happen? That the configured gameserver starts
  • What is actually happening? The gameserver begins to start and crashes.

Reproduction

  • made a clean install of the gameserver over AMP (tested with FOUNDRY and Seven Days to Die - Undead Legacy)
  • configured gameserver variables in the instance over AMP GUI like servername, port, max. players etc.
  • checked if all ports are opened in windows firewall and my hardware firewall
  • started server
  • server crashes
  • again fresh install, but same behavior (other gameserver run like a charm on AMP Unreal, Java (Minecraft Fabric) and Source based Servers, V-Rising and CoreKeeper which uses Unity too, runs fine over AMP)

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

In addition same problem with Valheim.
See logs attached.

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

@IceOfWraith
Copy link
Collaborator

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

@IceOfWraith
Copy link
Collaborator

IceOfWraith commented Jun 9, 2024

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

@thecoindalorian
Copy link
Author

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

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

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

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

Greelan commented Jun 10, 2024

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

@thecoindalorian
Copy link
Author

Yeah i know @Greelan

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

@Greelan
Copy link
Contributor

Greelan commented Jun 10, 2024

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

@IceOfWraith
Copy link
Collaborator

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

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

@IceOfWraith
Copy link
Collaborator

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

@Greelan
Copy link
Contributor

Greelan commented Jun 11, 2024

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

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

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. 😅

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