Night of the Dead

Night of the Dead

View Stats:
EvilC0P Dec 27, 2023 @ 6:01pm
Dedicated server issues
After some troubleshooting, my friend was able to see my server listed under "decicated server: the parameters -Port=7777 -QueryPort=27015 can't be changed.
I had used different ports and my server was never listed. when i set everything to those default ports my friend was able to see the server.

With the help of allanMusk in this forum, adding "curl https://api.epicgames.dev/sdk/v1/default?platformId=WIN" in my batch file made the server to come up.
This is something that shouldn't happened, devs need to fix this.

But now the issue my friend and I have (my friend being outside of my LAN) and me being on the same network as my dedicated server (LAN) ; when we attempt to join the server we end up back to the Title Screen of the game.
I see no input on the cmd prompt of my server so no idea if it's suppose to verbose something or not.

How to fix this ?

And here's a bunch of error messages i gathered from my log, in hope it can help devs
My main concern is the anticheat enabled = false.

LogEOS: Error: GEngine is not available; the unique net ID stored in ULocalPlayer and APlayerState will not be correct until the next map load.

[2023.12.28-00.50.30:356][ 0]LogConsoleManager: Warning: Setting the console variable 'r.Lumen.Reflections.DownsampleFactor' with 'SetByScalability' was ignored as it is lower priority than the previous 'SetByProjectSetting'. Value remains '1'
[2023.12.28-00.50.30:356][ 0]LogConsoleManager: Warning: Setting the console variable 'r.Lumen.Reflections.MaxRoughnessToTraceForFoliage' with 'SetByScalability' was ignored as it is lower priority than the previous 'SetByProjectSetting'. Value remains '0.2'
[2023.12.28-00.50.30:356][ 0]LogConfig: Set CVar [[r.Lumen.Reflections.ScreenSpaceReconstruction.TonemapStrength:0]]
[2023.12.28-00.50.30:356][ 0]LogConsoleManager: Warning: Setting the console variable 'r.Lumen.TranslucencyReflections.FrontLayer.Allow' with 'SetByScalability' was ignored as it is lower priority than the previous 'SetByProjectSetting'. Value remains '0'

[2023.12.28-00.50.36:519][ 0]LogSlateStyle: Warning: Missing Resource from 'CoreStyle' Style: 'Unable to find Brush 'Sequencer.Timeline.VanillaScrubHandleDown'.'

[2023.12.28-00.50.36:658][ 0]LogStreaming: Error: Couldn't find file for package /Engine/EditorMaterials/TargetIcon requested by async loading code. NameToLoad: /Engine/EditorMaterials/TargetIcon
[2023.12.28-00.50.36:665][ 0]LogStreaming: Error: Found 1 dependent packages...
[2023.12.28-00.50.36:668][ 0]LogStreaming: Error: /Game/M4/Blueprints/SystemResources/Trails/Materials/V2/HighDetailFootprints

[2023.12.28-00.50.39:539][ 0]LogSteamShared: Warning: Steam Dedicated Server API failed to initialize.
[2023.12.28-00.50.39:542][ 0]LogOnline: STEAM: [AppId: 0] Game Server API initialized 0
[2023.12.28-00.50.39:544][ 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.
[2023.12.28-00.50.39:546][ 0]LogOnline: Display: STEAM: OnlineSubsystemSteam::Shutdown()
[2023.12.28-00.50.39:548][ 0]LogOnline: Warning: STEAM: Steam API failed to initialize!
[2023.12.28-00.50.39:550][ 0]LogOnline: Display: STEAM: OnlineSubsystemSteam::Shutdown()
[2023.12.28-00.50.39:554][ 0]LogSteamShared: Warning: Steam Dedicated Server API failed to initialize.
[2023.12.28-00.50.39:564][ 0]LogOnline: STEAM: [AppId: 0] Game Server API initialized 0
[2023.12.28-00.50.39:565][ 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.
[2023.12.28-00.50.39:567][ 0]LogOnline: Display: STEAM: OnlineSubsystemSteam::Shutdown()
[2023.12.28-00.50.39:569][ 0]LogOnline: Warning: STEAM: Steam API failed to initialize!
[2023.12.28-00.50.39:571][ 0]LogOnline: Display: STEAM: OnlineSubsystemSteam::Shutdown()

[2023.12.28-00.50.40:372][ 0]LogTemp: Warning: ULFGameInstance::Init(206) - AntiCheat Enabled : False

[2023.12.28-00.50.41:788][ 22]LogEOS: Warning: [LogEOSUI] Hot key event ignored because there are no known users.
[2023.12.28-00.50.41:791][ 22]LogEOS: Warning: [LogEOSUI] Social overlay is disabled due to overlay setup failure (EOS_NotConfigured).

[2023.12.28-00.50.55:375][666]LogStreaming: Error: Couldn't find file for package /Engine/EditorLandscapeResources/DataLayer requested by async loading code. NameToLoad: /Engine/EditorLandscapeResources/DataLayer
[2023.12.28-00.50.55:381][666]LogStreaming: Error: This will hitch streaming because it ends up searching the disk instead of finding the file in the pak file.
[2023.12.28-00.50.55:384][666]LogStreaming: Error: Found 1 dependent packages...
[2023.12.28-00.50.55:386][666]LogStreaming: Error: /Game/maps/LFMap/LFMap_Land_140

[2023.12.28-00.51.00:352][813]LogStreaming: Error: Couldn't find file for package /Engine/EditorResources/Waypoint requested by async loading code. NameToLoad: /Engine/EditorResources/Waypoint
[2023.12.28-00.51.00:358][813]LogStreaming: Error: This will hitch streaming because it ends up searching the disk instead of finding the file in the pak file.
[2023.12.28-00.51.00:361][813]LogStreaming: Error: Found 1 dependent packages...
[2023.12.28-00.51.00:363][813]LogStreaming: Error: /Game/_Blueprints/BP_NavigationInvokerActor

[2023.12.28-00.51.01:200][857]LogEOS: Warning: [LogEOSAuth] Unable to get Epic account id from product user id - No logged in user found
[2023.12.28-00.51.01:202][857]LogEOS: Warning: [LogEOSSessions] Session will be created, but user lacks permission to advertise presence.

thanks for any help/input.
< >
Showing 1-12 of 12 comments
Wilson Dec 27, 2023 @ 10:05pm 
Why don't you list step by step what you have done? Are you hosting from your PC? From a server in your home? Have you allowed the ports through the fire wall, as well as the router?
EvilC0P Dec 28, 2023 @ 7:42am 
Originally posted by Wilson:
Why don't you list step by step what you have done? Are you hosting from your PC? From a server in your home? Have you allowed the ports through the fire wall, as well as the router?

My bad, i have mentionned it in a different post.
hosting it on a Win10 VM. at home (like many other games; Project Zomboid, Necesse, used to to host Valhelm, Kepleerth, The Forest, Empyrion, to name a few.)
Windows Defender is down.

I followed this setup guide : https://steamcommunity.com/sharedfiles/filedetails/?id=2252239447

ports are fine if i use the default ones as mentionned. (i tried changing the ports and my friend couldn't see the game listed under "Dedicated Server" but I was seeing it thought, being on LAN)

Going through the log, i saw this :
LogEOS: Verbose: [LogEOSP2P] Using Port Range 7777-7876 for P2P traffic
LogEOS: Verbose: [LogEOSP2P] InitializeP2PNetwork - Initialized

so i modified my forwarding to this ; port 7777 to 7876 forwarded + 27015 (all UDP)

Unfortunately, any attempt to join the server brings me back to title screen of the game.

My StartServer.bat file :
@echo off
curl https://api.epicgames.dev/sdk/v1/default?platformId=WIN

xcopy ServerSettings.ini "%cd%\LF\Saved\Config\" /y

LFServer.exe ?listen -log -Port=7777 -QueryPort=27015 -CRASHREPORTS
exit

I added the curl part, thanks to user AllanMusk, otherwise the server wouldn't come up.

let me know if you have any idea,
thanks
Got the same problem, but I could fix it on my firewall (OPNsense). It's called NAT reflection (NAT loopback). Developers can easily fix this by adding an input field in the server browser for a direct connection with the IP address.
Wilson Dec 29, 2023 @ 5:53pm 
Have you allowed the ports through any Firewall/security, as well as the router. For example connecting to the router through chrome with the IP? Considering the most common issue is port forwarding :) Considering the guide doesn't really specify to connect to the router to allow the ports also, which is a shame :(
Last edited by Wilson; Dec 29, 2023 @ 6:03pm
EvilC0P Dec 30, 2023 @ 12:56pm 
I mention the ports, but yes. i do the port forward required.
Actually, double. long story short i can't pull the gpon from my fiber isp modem to hook it up directly to my UDM Pro.
So i forward the ports from my ISP modem to my UDM then from the UDM to the server running the app.

I host many things at home, and i know it works. I'm a Sys Admin.
But to name a few ; Project Zomboid (an other game i'm hosting, been running for ~2.5 years), torrents, Plex server, and other games in the past.

Guess i'll have to wait for some updates of the game.
The fact that the api.epic SDK isn't working by itself and all the errors i pasted in my original post shows there is a lot of tweaking to be done.

The game has a lot of potential, i like it.
But one thing that annoys me on the Official server, it seems that when i log off, my character goes back to some state a few minutes before i log off.
What i mean is; i clean up my bags of loots then go to my bed and log off. When i log back in, i am a few steps away from my bed with some loots in my bags.
2 days ago i had done some upgrades of my gear (ammo/food/materials bags) to +4 and the next morning, i get back in and all those bags are +3 with the pig skins back in my chest. I was like "wtf..."
So now, before logging off, i let my character stand for 3-5 minutes before logging off. in hope when i come back it's back to what it is suppose to be ;/
Originally posted by EvilC0P:
After some troubleshooting, my friend was able to see my server listed under "decicated server: the parameters -Port=7777 -QueryPort=27015 can't be changed.
I had used different ports and my server was never listed. when i set everything to those default ports my friend was able to see the server.

With the help of allanMusk in this forum, adding "curl https://api.epicgames.dev/sdk/v1/default?platformId=WIN" in my batch file made the server to come up.
This is something that shouldn't happened, devs need to fix this.

But now the issue my friend and I have (my friend being outside of my LAN) and me being on the same network as my dedicated server (LAN) ; when we attempt to join the server we end up back to the Title Screen of the game.
I see no input on the cmd prompt of my server so no idea if it's suppose to verbose something or not.

How to fix this ?

Having same issue where everyone that attempts to log in it booted back to the title screen. We couldn't get the server to show up on server list until using the "curl https://api.epicgames.dev/sdk/v1/default?platformId=WIN" argument you did. Also found the argument in the dedicated server guide made it show up too ("curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);" in the same spot instead of the platform ID one).

Can't be a NAT loopback/Hairpin issue as no one outside the network can connect either. I have noticed it's never even making a save game folder so not even sure the server is properly running.

Hopefully someone has an idea of what's happening.
Last edited by I Wear My Ukelele At Night; Dec 30, 2023 @ 4:14pm
EvilC0P Dec 31, 2023 @ 7:37am 
Originally posted by I Wear My Ukelele At Night:
Originally posted by EvilC0P:
After some troubleshooting, my friend was able to see my server listed under "decicated server: the parameters -Port=7777 -QueryPort=27015 can't be changed.
I had used different ports and my server was never listed. when i set everything to those default ports my friend was able to see the server.

With the help of allanMusk in this forum, adding "curl https://api.epicgames.dev/sdk/v1/default?platformId=WIN" in my batch file made the server to come up.
This is something that shouldn't happened, devs need to fix this.

But now the issue my friend and I have (my friend being outside of my LAN) and me being on the same network as my dedicated server (LAN) ; when we attempt to join the server we end up back to the Title Screen of the game.
I see no input on the cmd prompt of my server so no idea if it's suppose to verbose something or not.

How to fix this ?

Having same issue where everyone that attempts to log in it booted back to the title screen. We couldn't get the server to show up on server list until using the "curl https://api.epicgames.dev/sdk/v1/default?platformId=WIN" argument you did. Also found the argument in the dedicated server guide made it show up too ("curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);" in the same spot instead of the platform ID one).

Can't be a NAT loopback/Hairpin issue as no one outside the network can connect either. I have noticed it's never even making a save game folder so not even sure the server is properly running.

Hopefully someone has an idea of what's happening.

I can't even join and i am on the same network.
It seems there was a "Connect IP" option before but it's no more.
So i can't try connecting directly to my server's IP @ 192.168.x.y. ...

But ya, unfortunately we are kinda stuck.
Wilson Dec 31, 2023 @ 8:14pm 
Originally posted by EvilC0P:
I mention the ports, but yes. i do the port forward required.
Actually, double. long story short i can't pull the gpon from my fiber isp modem to hook it up directly to my UDM Pro.
So i forward the ports from my ISP modem to my UDM then from the UDM to the server running the app.

I host many things at home, and i know it works. I'm a Sys Admin.
But to name a few ; Project Zomboid (an other game i'm hosting, been running for ~2.5 years), torrents, Plex server, and other games in the past.

Guess i'll have to wait for some updates of the game.
The fact that the api.epic SDK isn't working by itself and all the errors i pasted in my original post shows there is a lot of tweaking to be done.

The game has a lot of potential, i like it.
But one thing that annoys me on the Official server, it seems that when i log off, my character goes back to some state a few minutes before i log off.
What i mean is; i clean up my bags of loots then go to my bed and log off. When i log back in, i am a few steps away from my bed with some loots in my bags.
2 days ago i had done some upgrades of my gear (ammo/food/materials bags) to +4 and the next morning, i get back in and all those bags are +3 with the pig skins back in my chest. I was like "wtf..."
So now, before logging off, i let my character stand for 3-5 minutes before logging off. in hope when i come back it's back to what it is suppose to be ;/

Something is going wrong considering it works fine on a dedicated home server without a UDM PRO using virgin media. Server will show up in the list even if the ports aren't open through firewall. You just get kicked back to start screen if you try to connect. When the ports were opened in the fire wall it worked fine.

I've not used a UDM PRO before, I have read it has its own fire wall you have to allow the ports through. Most likely culprit I still think is a port issue, since what else can it be D: Loads of dedicated servers on the list... that and the official servers work also.

If its the game then try hosting a Rust server(The game), and connect to that. Using the same method you've used for this game. I don't really understand why it doesn't work for you, but it works fine for me without the UDM PRO.

That save issue happens on dedicated also! Just have to save before you log out so you dont roll back. Now that is a game issue 100% :P
EvilC0P Jan 1, 2024 @ 8:46am 
Originally posted by Wilson:
Originally posted by EvilC0P:
I mention the ports, but yes. i do the port forward required.
Actually, double. long story short i can't pull the gpon from my fiber isp modem to hook it up directly to my UDM Pro.
So i forward the ports from my ISP modem to my UDM then from the UDM to the server running the app.

I host many things at home, and i know it works. I'm a Sys Admin.
But to name a few ; Project Zomboid (an other game i'm hosting, been running for ~2.5 years), torrents, Plex server, and other games in the past.

Guess i'll have to wait for some updates of the game.
The fact that the api.epic SDK isn't working by itself and all the errors i pasted in my original post shows there is a lot of tweaking to be done.

The game has a lot of potential, i like it.
But one thing that annoys me on the Official server, it seems that when i log off, my character goes back to some state a few minutes before i log off.
What i mean is; i clean up my bags of loots then go to my bed and log off. When i log back in, i am a few steps away from my bed with some loots in my bags.
2 days ago i had done some upgrades of my gear (ammo/food/materials bags) to +4 and the next morning, i get back in and all those bags are +3 with the pig skins back in my chest. I was like "wtf..."
So now, before logging off, i let my character stand for 3-5 minutes before logging off. in hope when i come back it's back to what it is suppose to be ;/

Something is going wrong considering it works fine on a dedicated home server without a UDM PRO using virgin media. Server will show up in the list even if the ports aren't open through firewall. You just get kicked back to start screen if you try to connect. When the ports were opened in the fire wall it worked fine.

I've not used a UDM PRO before, I have read it has its own fire wall you have to allow the ports through. Most likely culprit I still think is a port issue, since what else can it be D: Loads of dedicated servers on the list... that and the official servers work also.

If its the game then try hosting a Rust server(The game), and connect to that. Using the same method you've used for this game. I don't really understand why it doesn't work for you, but it works fine for me without the UDM PRO.

That save issue happens on dedicated also! Just have to save before you log out so you dont roll back. Now that is a game issue 100% :P

The right ports need to be used to show up, as I mentionned before, using different ports made my server not listed at all.
Also, i value ma privacy et security. So I know the UDM Pro isn't at fault.
Add to that, i use a pi-hole server as a DNS and it blocks a sh*tload of crappy websites and just looking at some random files on NOTD server, i found this :
\Saved\Config\CrashReportClient\UECC-Windows-1A915A594DD1F28B1153DC9A8A5B843C\CrashReportClient.ini
and it contains some stuff like this : DataRouterUrl="https://o439802.ingest.sentry.io/api/5407182/unreal/cbacd0cd717449a4b5c8e6f7d1b6a2f1/"

looking on my pi-hole : *sentry.io is blocked

2024-01-01 11:23:53 HTTPS o439802.ingest.sentry.io Blocked
2024-01-01 11:23:53 A o439802.ingest.sentry.io Blocked

so i don't know wtf they are doing, but everything seems to be going in all kinds of directions.
The sentry.io seems to be some sort of error reporting/telemetry service.
I whitelisted sentry.io (which i don't like the idea) and it didn't change the result,

EDRs don't like these types of softwares/behaviors... where i work, we hate all the telemetry bs. makes monitoring difficult. but programmers don't understand that.

Anyway, i'll try digging deeper and see if i can figure it out. but i can assume at some point the game will be polished and be more contained which will reduce most issues.
EvilC0P Jan 1, 2024 @ 9:08am 
wondering if this could be part of my issue :
found this in the LF.log
LogSteamShared: Warning: Steam Dedicated Server API failed to initialize.
LogOnline: STEAM: [AppId: 0] Game Server API initialized 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.
LogOnline: Display: STEAM: OnlineSubsystemSteam::Shutdown()
LogOnline: Warning: STEAM: Steam API failed to initialize!
LogOnline: Display: STEAM: OnlineSubsystemSteam::Shutdown()

i tried adding -nosteam in my .bat file but same result.

and also in that same log you can find this :
LogEOS: Verbose: [LogEOSP2P] Using Port Range 7777-7876 for P2P traffic
LogEOS: Verbose: [LogEOSP2P] InitializeP2PNetwork - Initialized
LogEOS: Verbose: [LogEOSP2P] Using Port Range 7777-7876 for P2P traffic

So i widen my port forward to 7777-7876 in hope it would help but no luck.
Wilson Jan 1, 2024 @ 4:05pm 
Can we attempt a try with pi hole disabled? Are you using default or custom blocking lists on pi-hole? Is steam white listed on PH?
EvilC0P Jan 1, 2024 @ 5:13pm 
Just for fun, i changed the DNS to 8.8.8.8 (to bypass pi-hole) and as I expected, same result.

And steam works fine, i use it on my computers and also, i am currently hosting an other game called "Project Zomboid", which is on Steam. (been running for 2+ years without a problem).

I took a look at my Event Viewer and i found a bunch of these errors;

LF-PID5700
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.

Ran out of memory

The description for Event ID 1 from source LF-PID5700 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

May be part of the problem.

RAM isn't an issue, 12gb and 8gb pagefile. when looking at task manager, memory doesn't go higher than ~27% usage ~3.1/12gb

but that steam connection error might be part of the issue.

Is there a way to run the server batch file with -nosteam?

So ended up installing Steam on the server and logged in with my account and same result.

I'm out of idea.

And this error annoys me lol
[2024.01.02-01.05.55:007][908]LogEOS: Warning: [LogEOSSessions] Backend in progress state out of sync with client
[2024.01.02-01.05.55:012][908]LogEOS: Warning: [LogEOSAuth] Unable to get Epic account id from product user id - No logged in user found

There is too much involved that have errors ; steam... epic apk... and maybe the game itself. who knows. And the save/logging off issue is not very good either.

I'll wait to hear what the devs got to say. I have done enough troubleshooting on something like this.
thanks
< >
Showing 1-12 of 12 comments
Per page: 1530 50

Date Posted: Dec 27, 2023 @ 6:01pm
Posts: 12