Dedicated Server issue

  • Problem
  • Updated 4 years ago
  • Solved
"Server is in lan mode.
Stats will not be submitted to Shattered Horizon Stats Server.

Steam client is present.
Server started.
Level loaded: eva/levels/searchlight.evagamestore
gameserver.cpp (109) : Assertion Failed: m_CMInterface.GetLogonState() == k_ELog
onStateNotLoggedOn
Assert( Assertion Failed: m_CMInterface.GetLogonState() == k_ELogonStateNotLogge
dOn ):.\gameserver.cpp:109"

What is this error and how do I fix it, I've been testing it with online, and LAN, different maps etc. What else can I do?
Photo of andrew.anon.drakeA

andrew.anon.drake

  • 9 Posts
  • 0 Reply Likes
  • Sad :(

Posted 4 years ago

  • 2
Photo of FM_Jarnis

FM_Jarnis, Official Rep

  • 8347 Posts
  • 504 Reply Likes
There is a know issue that requires a workaround;

Close Steam client, start up the dedicated server and, once running, restart steam client (in order to start up the SH client).

If you are still using the server that is available on Steam Tools tab, you have to remove that and use the stand-alone server available on www.shatteredhorizon.com

(Steam changed something in Steam login procedure and the server would require an update to fix it - however, the server does not actually require Steam client to run, so this is a way around the issue. The bug is in our tracking database but I honestly do not know if/when it can be fixed)
Photo of andrew.anon.drakeA

andrew.anon.drake

  • 9 Posts
  • 0 Reply Likes
Alright, that fixed it.
But now, the server is running:

"Server is in lan mode.
Stats will not be submitted to Shattered Horizon Stats Server.

Server started.
ServiceStart: started as Windows service
Level loaded: eva/levels/moondust.evagamestore
Adding master server 63.234.149.83:27011
Adding master server 72.165.61.153:27015"

But it won't show up on Internet or LAN listings.

Next step?
Photo of FM_Jarnis

FM_Jarnis, Official Rep

  • 8347 Posts
  • 504 Reply Likes
Okay, am I correct in assuming that you are trying to set up a server in your local LAN which is behind a NAT (so your local IP is either 127.x.x.x or 192.168.x.x) If so, you have to understand that the server browser in Shattered Horizon will not be able to find the server for you because it cannot connect to it using the external IP.

Only practical way for you to connect to your own server that is in the same local network is by directly connecting it with the IP address

To directly connect to a IP, add the following command line parameter to Shattered Horizon (on Steam, Right Click -> Properties and Set Launch Options...)

--connect_to IP_address port

eg.

--connect_to 72.51.41.151 27015

If you want others outside of your internal network to see the server, you must also ensure that ports 27011 and 27015-27020 are open and routed to your server (you may have to set up port forwarding)
Photo of andrew.anon.drakeA

andrew.anon.drake

  • 9 Posts
  • 0 Reply Likes
I'm using Hamachi, so I do have a static IP.

So, I'd do "--connect_to 5.7.92.117 27015 "?
Photo of FM_Jarnis

FM_Jarnis, Official Rep

  • 8347 Posts
  • 504 Reply Likes
Yes. However, if you do have public IP, it should also work without, assuming the ports are not blocked.
Photo of andrew.anon.drakeA

andrew.anon.drake

  • 9 Posts
  • 0 Reply Likes
Alright, I can connect just fine, it registers on my CMD. But, now I disconnect "Steam authorization failed" or something to that effect.
Photo of andrew.anon.drakeA

andrew.anon.drake

  • 9 Posts
  • 0 Reply Likes
I have the register key enabled and such. If it makes a difference.
Photo of FM_Jarnis

FM_Jarnis, Official Rep

  • 8347 Posts
  • 504 Reply Likes
Does your server have connection to Steam master servers and does your client have connection to Steam (with Steam client running)?
Photo of andrew.anon.drakeA

andrew.anon.drake

  • 9 Posts
  • 0 Reply Likes
Yes for both. I am attempting to run it in online mode, rather than LAN.
Photo of andrew.anon.drakeA

andrew.anon.drake

  • 9 Posts
  • 0 Reply Likes
Same error.
Photo of andrew.anon.drakeA

andrew.anon.drake

  • 9 Posts
  • 0 Reply Likes
Verifying server registration key.
Statistics will be collected by Shattered Horizon Stats Server.
Server started.
ServiceStart: started as Windows service
Level loaded: eva/levels/moondust.evagamestore
Adding master server 72.165.61.153:27015
Adding master server 63.234.149.83:27011
[unknown] (client id: 1) connected
Client disconnected: [unknown] (client id: 1).
Level loaded: eva/levels/moondust.evagamestore
Photo of FM_Jarnis

FM_Jarnis, Official Rep

  • 8347 Posts
  • 504 Reply Likes
Can your client connect / play on other servers okay? "Steam authorization failed" should only happen if there is a problem communicating with Steam.
Photo of andrew.anon.drakeA

andrew.anon.drake

  • 9 Posts
  • 0 Reply Likes
Yes, I can join other servers easily. Any ideas?
Photo of FM_Jarnis

FM_Jarnis, Official Rep

  • 8347 Posts
  • 504 Reply Likes
Any software firewall that might be blocking the server from communicating with Steam?
Photo of inshameI

inshame

  • 1 Post
  • 0 Reply Likes
I have every single problem described in this thread. I managed to run the server without the assertion error but I can't connect myself because of the authentication error. No firewalls, I allowed everything in windows firewall. Friends can' even see my LAN server when we are in the same LAN.

Server why you no work!?