Jump to content

Dedicated server only shows on the list when I join my server


kojiwafu

Recommended Posts

I am having an issue with the server, everything seems to be in order. My server does not appear on the public list when I am not in the game. however, It  appears and my friends can join to my server when I am inside the game. but they get disconnected and my server disappears as soon as I close the game or exited the server. From the logs it shows this line "[Steamworks.NET] Connection closed 7 days to die" when I quit the game.

Here's a screenshot of my port forward settings on the router:
https://ibb.co/QYhJmb1

Here's my serverconfig

Quote

<!-- GENERAL SERVER SETTINGS -->

    <!-- Server representation -->
    <property name="ServerName"                        value="Aimee's server"/>        <!-- Whatever you want the name of the server to be. -->
    <property name="ServerDescription"                value="A 7 Days to Die server"/>    <!-- Whatever you want the server description to be, will be shown in the server browser. -->
    <property name="ServerWebsiteURL"                value=""/>                    <!-- Website URL for the server, will be shown in the serverbrowser as a clickable link -->
    <property name="ServerPassword"                    value="1111"/>                    <!-- Password to gain entry to the server -->
    <property name="ServerLoginConfirmationText"    value="Test" />                    <!-- If set the user will see the message during joining the server and has to confirm it before continuing. For more complex changes to this window you can change the "serverjoinrulesdialog" window in XUi -->

    <!-- Networking -->
    <property name="ServerPort"                        value="26900"/>                <!-- Port you want the server to listen on. Keep it in the ranges 26900 to 26905 or 27015 to 27020 if you want PCs on the same LAN to find it as a LAN server. -->
    <property name="ServerVisibility"                value="2"/>                    <!-- Visibility of this server: 2 = public, 1 = only shown to friends, 0 = not listed. As you are never friend of a dedicated server setting this to "1" will only work when the first player connects manually by IP. -->
    <property name="ServerDisabledNetworkProtocols"    value="LiteNetLib"/>    <!-- Networking protocols that should not be used. Separated by comma. Possible values: LiteNetLib, SteamNetworking. Dedicated servers should disable SteamNetworking if there is no NAT router in between your users and the server or when port-forwarding is set up correctly -->
    <property name="ServerMaxWorldTransferSpeedKiBs" value="1300"/>                <!-- Maximum (!) speed in kiB/s the world is transferred at to a client on first connect if it does not have the world yet. Maximum is about 1300 kiB/s, even if you set a higher value. -->

    <!-- Slots -->
    <property name="ServerMaxPlayerCount"            value="20"/>                    <!-- Maximum Concurrent Players -->
    <property name="ServerReservedSlots"            value="0"/>                    <!-- Out of the MaxPlayerCount this many slots can only be used by players with a specific permission level -->
    <property name="ServerReservedSlotsPermission"    value="100"/>                <!-- Required permission level to use reserved slots above -->
    <property name="ServerAdminSlots"                value="0"/>                    <!-- This many admins can still join even if the server has reached MaxPlayerCount -->
    <property name="ServerAdminSlotsPermission"        value="0"/>                    <!-- Required permission level to use the admin slots above -->

    <!-- Admin interfaces -->
    <property name="ControlPanelEnabled"            value="true"/>                <!-- Enable/Disable the web control panel -->
    <property name="ControlPanelPort"                value="8080"/>                <!-- Port of the control panel webpage -->
    <property name="ControlPanelPassword"            value=""/>            <!-- Password to gain entry to the control panel -->

    <property name="TelnetEnabled"                    value="true"/>                <!-- Enable/Disable the telnet -->
    <property name="TelnetPort"                        value="8081"/>                <!-- Port of the telnet server -->
    <property name="TelnetPassword"                    value=""/>                    <!-- Password to gain entry to telnet interface. If no password is set the server will only listen on the local loopback interface -->
    <property name="TelnetFailedLoginLimit"            value="10"/>                <!-- After this many wrong passwords from a single remote client the client will be blocked from connecting to the Telnet interface -->
    <property name="TelnetFailedLoginsBlocktime"    value="10"/>                <!-- How long will the block persist (in seconds) -->

    <property name="TerminalWindowEnabled"            value="true"/>                <!-- Show a terminal window for log output / command input (Windows only) -->

    <!-- Folder and file locations -->
    <property name="AdminFileName"                    value="serveradmin.xml"/>    <!-- Server admin file name. Path relative to the SaveGameFolder -->
    <!-- <property name="UserDataFolder"                value="absolute path" /> -->    <!-- Use this to override where the server stores all generated data, including RWG generated worlds. Do not forget to uncomment the entry! -->
    <!-- <property name="SaveGameFolder"                value="absolute path" /> -->    <!-- Use this to only override the save game path. Do not forget to uncomment the entry! -->

    <!-- Other technical settings -->
    <property name="EACEnabled"                        value="false"/>                <!-- Enables/Disables EasyAntiCheat -->
    <property name="HideCommandExecutionLog"        value="0"/>                    <!-- Hide logging of command execution. 0 = show everything, 1 = hide only from Telnet/ControlPanel, 2 = also hide from remote game clients, 3 = hide everything -->
    <property name="MaxUncoveredMapChunksPerPlayer"    value="131072"/>            <!-- Override how many chunks can be uncovered on the ingame map by each player. Resulting max map file size limit per player is (x * 512 Bytes), uncovered area is (x * 256 m²). Default 131072 means max 32 km² can be uncovered at any time -->
    <property name="PersistentPlayerProfiles"        value="false" />            <!-- If disabled a player can join with any selected profile. If true they will join with the last profile they joined with -->

 

Edited by kojiwafu
edited quoted text (see edit history)
Link to comment
Share on other sites

Is this a dedicated server or one that you are running from your computer while you are playing the game?   If it is the latter, I don't think it would show up until you are setup fully on your computer (started, in the game).  I could be wrong as I don't play MP but this seems to be the standard when using a dedicated server vs starting one up on your computer while playing.

Link to comment
Share on other sites

11 minutes ago, kojiwafu said:

I am using the dedicated server one and installed it using streamcmd with anonymous login.

Sorry just had to ask.  Sometimes people state things like they are not using any mods then paste their logfiles which shows they are indeed using modes.

 

 

ST has a good pinned topic at top and one of the areas she talks about is setting up and running a dedicated server.  Not sure if you read up on that yet or not.  If you have, then ST will be around soon to assist.

Link to comment
Share on other sites

Hi, yes I did follow the instructions from that post and I followed the steamCMD path. from this link the post provided: https://developer.valvesoftware.com/wiki/7_Days_to_Die_Dedicated_Server

about ST mentioned about ports, I just saw this on the thread, do I also need to port forward this for dedicated server?
 

Quote

Required Ports for Steam

 

 

  • To log into Steam and download content:
    • HTTP (TCP port 80) and HTTPS (443)
    • UDP 27015 through 27030
    • TCP 27015 through 27030

     

     

    [*]Steam Client

     

    • UDP 27000 to 27015 inclusive (Game client traffic)
    • UDP 27015 to 27030 inclusive (Typically Matchmaking and HLTV)
    • UDP 27031 and 27036 (incoming, for In-Home Streaming)
    • TCP 27036 and 27037 (incoming, for In-Home Streaming)
    • UDP 4380

     

     

    [*]Dedicated or Listen Servers

     

    • TCP 27015 (SRCDS Rcon port)

     

     

    [*]Steamworks P2P Networking and Steam Voice Chat

     

    • UDP 3478 (Outbound)
    • UDP 4379 (Outbound)
    • UDP 4380 (Outbound)



About Mods, I have mods on my game folder but those are from the servers I joined. My own server does not  have mods as of today since I just set this up. I just used nitrogen with compo pack 46.

Link to comment
Share on other sites

54 minutes ago, kojiwafu said:

I just used nitrogen with compo pack 46.

Then you do have mods. Compo-Pack must be installed on both the server, and all clients.

 

Also, are you double-natted? A lot of lower quality ISP's are using GC-Nat with can make it so your "public" IP address isn't actually your IP address.

Are you running the dedi from the same PC as the client?

Logs would be helpful also.

Link to comment
Share on other sites

I see, the prefabs for the compopack was placed on prefabs folder for both game and dedicated server.
I am running my dedicated server on the same PC i play 7 days to die.

Here's the logs from my dedicated server

Quote

2021-04-27T08:24:01 26.067 INF WinThread started
2021-04-27T08:24:03 27.843 INF [GSM] GameSparks Connected
2021-04-27T08:24:04 28.696 INF NET: Starting server protocols
2021-04-27T08:24:04 28.696 INF [NET] Disabling protocol: LiteNetLib
2021-04-27T08:24:04 28.699 INF [Steamworks.NET] NET: Server started
2021-04-27T08:24:04 28.700 INF Started thread SteamNetworkingServer
2021-04-27T08:24:04 28.701 INF StartGame
2021-04-27T08:24:04 28.701 INF NetPackageManager Init
2021-04-27T08:24:04 28.963 INF Persistent GamePrefs saved
2021-04-27T08:24:04 29.044 INF StartAsServer
2021-04-27T08:24:04 29.096 INF [GSM] Skipping me
2021-04-27T08:25:05 90.074 INF Block IDs with mapping
2021-04-27T08:25:05 90.074 INF BlockIDs from Mapping
2021-04-27T08:25:18 102.491 INF Item IDs with mapping
2021-04-27T08:25:18 102.492 INF ItemIDs from Mapping
HDR Render Texture not supported, disabling HDR on reflection probe.
2021-04-27T08:25:34 119.015 INF createWorld: pahimakasv2, MyGame, GameModeSurvival
2021-04-27T08:25:34 119.015 INF Occlusion: Disabled
2021-04-27T08:25:34 119.069 INF Started thread ChunkRegeneration
2021-04-27T08:25:34 119.069 INF Started thread ChunkCalc
2021-04-27T08:25:34 119.203 INF World.Load: pahimakasv2
2021-04-27T08:25:34 119.212 INF BloodMoon SetDay: day 7, last day 0, freq 7, range 0
2021-04-27T08:26:10 155.314 INF Started thread GenerateChunks
2021-04-27T08:26:11 156.114 INF Calculating world hashes took 699 ms (world size 69 MiB)
2021-04-27T08:26:11 156.199 INF Loading dtm raw file took 834ms
2021-04-27T08:26:11 156.272 INF Biomes image size w= 4096, h = 4096
2021-04-27T08:26:12 156.529 INF Loading and creating biomes took 329ms
2021-04-27T08:26:12 157.000 INF Loading and creating shader control textures took 471ms
2021-04-27T08:26:13 157.881 INF Loading and parsing of generator took 880ms
2021-04-27T08:26:13 157.939 INF Started thread SaveChunks C:\Users\koji\AppData\Roaming/7DaysToDie/Saves/pahimakasv2/MyGame\Region
2021-04-27T08:26:14 158.792 INF [DECO] read 16252/
2021-04-27T08:26:14 158.937 INF AstarManager Init
2021-04-27T08:26:15 159.660 INF Weather Packages Created FROM BIOMES
2021-04-27T08:26:15 159.660 INF createWorld() done
2021-04-27T08:26:15 159.662 INF Loading players.xml
2021-04-27T08:26:15 159.769 INF Loaded player
2021-04-27T08:26:15 159.819 INF VehicleManager C:\Users\koji\AppData\Roaming/7DaysToDie/Saves/pahimakasv2/MyGame/vehicles.dat, loaded 0
2021-04-27T08:26:15 159.924 INF Setting for 'DropOnDeath' does not match the default (server will go to the modded category): current = 3, default = 1
2021-04-27T08:26:15 159.924 INF Setting for 'BloodMoonEnemyCount' does not match the default (server will go to the modded category): current = 9, default = 8
2021-04-27T08:26:15 159.924 INF Setting for 'BlockDamagePlayer' does not match the default (server will go to the modded category): current = 125, default = 100
2021-04-27T08:26:15 159.924 INF Setting for 'LootRespawnDays' does not match the default (server will go to the modded category): current = 7, default = 30
2021-04-27T08:26:15 159.924 INF Setting for 'LootAbundance' does not match the default (server will go to the modded category): current = 130, default = 100
2021-04-27T08:26:15 159.924 INF Setting for 'AirDropFrequency' does not match the default (server will go to the modded category): current = 24, default = 72
2021-04-27T08:26:15 159.924 INF Setting for 'XPMultiplier' does not match the default (server will go to the modded category): current = 120, default = 100
2021-04-27T08:26:16 160.938 INF [DECO] written 16252, in 3ms
2021-04-27T08:26:16 160.939 INF [DECO] write thread 0ms
2021-04-27T08:26:16 161.020 INF StartGame done
2021-04-27T08:26:16 161.022 INF [Steamworks.NET] GameServer.Init successful
2021-04-27T08:26:16 161.025 INF [Steamworks.NET] Making server public
2021-04-27T08:26:17 162.372 INF [Steamworks.NET] GameServer.LogOn successful, SteamID=90145923037882375, public IP=15*.3*.9*.17*



Here's what the logs says when I open the game (not yet joined on the server)
 

Quote

2021-04-27T08:29:17 342.330 INF Reloading serveradmin.xml
2021-04-27T08:29:17 342.331 INF Loading permissions file at 'C:\Users\koji\AppData\Roaming/7DaysToDie/Saves/serveradmin.xml'
2021-04-27T08:29:17 342.331 INF Loading permissions file done.
 

Here's what I see when I join my server
 

Quote

2021-04-27T08:30:31 416.013 INF [Steamworks.NET] NET: P2PSessionRequest from: XXXXXXXXXXXXXXXXXXX
2021-04-27T08:30:35 419.563 INF [Steamworks.NET] NET: Received authentication package from 76561198047253387: valid password


And here's when I quit the game
 

Quote

2021-04-27T08:37:01 806.160 INF Player XXXXXXXXXX disconnected after 3.2 minutes
2021-04-27T08:37:01 806.244 INF Player disconnected: EntityID=171, PlayerID='XXXXXXXXXXXXXXXXXXX', OwnerID='XXXXXXXXXXXXXXXXXXX', PlayerName='XXXXXXXXXX '
2021-04-27T08:37:01 806.245 INF GMSG: Player 'XXXXXXXXXX ' left the game
2021-04-27T08:37:01 806.251 INF Exited thread NCSteam_Reader_XXXXXXXXXXXXXXXXXXX_1
2021-04-27T08:37:01 806.251 INF Exited thread NCSteam_Reader_XXXXXXXXXXXXXXXXXXX_0
2021-04-27T08:37:01 806.251 INF Exited thread NCSteam_Writer_XXXXXXXXXXXXXXXXXXX_1
2021-04-27T08:37:01 806.251 INF Exited thread NCSteam_Writer_XXXXXXXXXXXXXXXXXXX_0
2021-04-27T08:37:01 806.353 INF [Steamworks.NET] NET: Connection closed: XXXXXXXXXXXXXXXXXXX
2021-04-27T08:37:02 806.394 INF [Steamworks.NET] NET: Dropping client: XXXXXXXXXXXXXXXXXXX
2021-04-27T08:37:09 814.148 INF Clearing all pools



Edit:
Adding my ps4 network test and it does show NAT 2, is this the double NAT you mentioned?
https://ibb.co/HB9qKNp

Edited by kojiwafu
edited quoted texted (see edit history)
Link to comment
Share on other sites

  • 7 months later...

Hallo, i have exact the same problem.

 

I run a dedicated server installed through steamcmd on the same machine. The server only shows up in the server browser when i connect to it myself. Even other people can only connecto to it when im online myself. Directconnect without doesn't work either, as soon as im on the server that connect works as well.

 

NAT and firewall is setup properly, changing the port does not change the behaviour.

 

Any Ideas?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...