When I start my linux vps, it gives me this error:
and then deletes the steam_appid.txt, which means I can’t play on said server. any help?
When I start my linux vps, it gives me this error:
I don’t think steam_appid.txt is something that is handled manually by you for a dedicated server. You should be including your appid in your ProjectServer.Target.cs and your DefaultEngine.ini: Online Subsystem Steam Interface in Unreal Engine | Unreal Engine 5.3 Documentation
The error message may also indicate you might have multiple processes running on the same port as Steam, you can try changing the game server query port away from 27015 if that’s the case
what command would I use to put the appid in the server.target?
Replacing MyProject and <your_appid> with the appropriate values, something like:
public class MyProjectServerTarget : TargetRules
{
public MyProjectServerTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Server;
DefaultBuildSettings = BuildSettingsVersion.V4;
IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_3;
ExtraModuleNames.Add("MyProject");
GlobalDefinitions.Add("UE_PROJECT_STEAMPRODUCTNAME=\"<your_appid>\"");
GlobalDefinitions.Add("UE_PROJECT_STEAMGAMEDIR=\"MyProject\"");
GlobalDefinitions.Add("UE_PROJECT_STEAMGAMEDESC=\"My Project\"");
GlobalDefinitions.Add("UE_PROJECT_STEAMSHIPPINGID=\"<your_appid>\"");
}
}
It has to all be strings including the backslashes, like GlobalDefinitions.Add("UE_PROJECT_STEAMSHIPPINGID=\"480\"");
You don’t actually need the < and >, sorry for confusion