Hi guys,
In the last 4 days I searched in every post, every tutorial, every wiki, doc or something,
but nobody knows whats happening.
I follow step-by-step this tutorial:
changing DefaultEngine.ini properly
[/Script/Engine.GameEngine] !NetDriverDefinitions=ClearArray +NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="OnlineSubsystem.IpNetDriver") [OnlineSubsystem] ;DefaultPlatformService=Null DefaultPlatformService=Steam PollingIntervalInMs=20 [OnlineSubsystemSteam] bEnableSteam=True bEnabled=True SteamAppId=378930 SteamDevAppId=378930 GameServerQueryPort=27015 bRelaunchInSteam=False P2PConnectionTimeout=90 bAllowP2PPacketRelay=True bVACEnabled=1 GameVersion=1.0.0.0 Achievement_0_Id="ACH_DIE_ONE_TIME" ;others archievements removed [OnlineSubsystemNull] Achievement_0_Id=ACH_DIE_ONE_TIME Achievement_0_bIsHidden=false Achievement_0_Title="First Blood" Achievement_0_LockedDesc="This Archievement is not for you. Thanks Oblivion. Die a first time." Achievement_0_UnlockedDesc="Die a first time" ;others archievements removed [/Script/OnlineSubsystemSteam.SteamNetDriver] NetConnectionClassName="OnlineSubsystemSteam.SteamNetConnection" Game.Build.cs
PrivateDependencyModuleNames.Add("OnlineSubsystem"); if ((Target.Platform == UnrealTargetPlatform.Win32) || (Target.Platform == UnrealTargetPlatform.Win64)) { UEBuildConfiguration.bCompileSteamOSS = true; if (UEBuildConfiguration.bCompileSteamOSS == true) { DynamicallyLoadedModuleNames.Add("OnlineSubsystemSteam"); } } Game.Target.cs
in construct method added
bUsesSteam = true; And in Standalone Game steam works fine.
But in shipping build show this message:
UE4Editor-Cmd: [2016.01.05-04.25.23:668][ 0]LogOnline:Display: STEAM: Loading Steam SDK 1.32 UE4Editor-Cmd: [2016.01.05-04.25.23:668][ 0]LogOnline:Warning: STEAM: check if steam api is enabled UE4Editor-Cmd: [2016.01.05-04.25.23:871][ 0]LogOnline:Warning: STEAM: Failed to initialize Steam, this could be due to a Steam server and client running on the same machine. Try running with -NOSTEAM on the cmdline to disable. UE4Editor-Cmd: [2016.01.05-04.25.23:872][ 0]LogOnline:Display: STEAM: OnlineSubsystemSteam::Shutdown() Failed to initialize Steam, this could be due to a Steam server and client running on the same machine. Try running with -NOSTEAM on the cmdline to disable.
How can I set my game is only a Game without Server?
I’m compiling in a WindowsNoEditor mode, following this steps:
My engine version is 4.10.2 from github.
PLEASE EPIC A LITTLE HELP HERE.
my game is this: Pesadelo - Regressão on Steam