Jump to content

blocklist problem after update.


Recommended Posts

1. TheNet:Ban("TEST"), then see blocklist.txt

2. make the host ban (automatically ban) such as blow log.

[Ban] (AAAAA) [Host] banned (TEST2) AAA
CloseConnectionWithReason: ID_DST_USER_BANNED

"TEST" has been removed.

 

Link to comment
Share on other sites

The same goes for adminlist.txt and whitelist.txt, not sure what's causing it but it turns it into a .old file extension which is temporary and can be used for backup purposes to restore data. 

Wait patiently for the next update please. In the meantime, throw a temporary password on your server if it's a public server and only give the password to people you trust so they can play on it. 

Now, something to try is this. What I said above might be inaccurate for your case seeing you might not be using a preconfigured server. In the console debug, did it say anything along the lines on startup that it failed to create the directory/file for blocklist.txt because the folder already exists or another issue? 

If so, make the directory and put in a new .txt file called blocklist.txt in the appropriate directory. For most, the directory should look like this: ServerFiles\DoNotStarveTogether\Server\blocklist.txt

Since the update some file locations have been moved around to work and I haven't personally been able to find a fix for this yet but I hope this will help in some way shape or form because I do indeed feel your pain not being able to control your server to the fullest extent. I wish you the best of luck, stay strong! There should be an update soon!

Regards,

NoJoke

Link to comment
Share on other sites

I have a pre-configured blocklist. Everything is OK until my host (automatically) do ban someone. The file will be reset with single line which is a banned ID by host (pre-configured ID list clear.)
 

I attache the log below.

 

PersistRootStorage is now /home/steam/.klei//dst/cluster/master/ 
Starting Up
Version: 166077
Current time: Sat Feb 13 16:12:02 2016

System Name: Linux
Host Name: steamcmd
Release(Kernel) Version: 4.2.0-27-generic
Kernel Build Timestamp: #32-Ubuntu SMP Fri Jan 22 04:49:08 UTC 2016
Machine Arch: x86_64
Don't Starve Together: 166077 LINUX
NNN Build Date: 126
Parsing command line
Command Line Arguments: -console -conf_dir dst -cluster cluster -shard master 
Legacy saves detected. Migrating to new structure...
ProfileIndex:4.94
[Connect] PendingConnection::Reset(true)
Network tick rate: U=15(2), D=0
Network tick rate: U=10(3), D=0
OnLoadPermissionList: /home/steam/.klei//dst/cluster/blocklist.txt (Failure)
OnLoadPermissionList: /home/steam/.klei//dst/cluster/adminlist.txt (Failure)
OnLoadUserIdList: /home/steam/.klei//
dst/cluster/whitelist.txt (Failure)
Token retrieved from: /home/steam/.klei//dst/cluster/cluster_token.txt
Token retrieved from: /home/steam/.klei//dst/cluster/cluster_token.txt
cGame::InitializeOnMainThread
THREAD - started 'GAClient' (4132637504)
CurlRequestManager::ClientThread::Main()
THREAD - started 'ConsoleInput' (4127144768)
Renderer initialize: Okay
AnimManager initialize: Okay
Buffers initialize: Okay
cDontStarveGame::DoGameSpecificInitialize()
FMOD Error: An invalid object handle was used. 
GameSpecific initialize: Okay
cGame::StartPlaying
LOADING LUA
DoLuaFile scripts/main.lua
DoLuaFile loading buffer scripts/main.lua
scripts/main.lua(166,1) running main.lua

loadedmodindex 
ModIndex: Beginning normal load sequence for dedicated server.

DownloadMods(0)
FMOD Error: An invalid object handle was used. 
LOADING LUA SUCCESS
PlayerDeaths could not load morgue
PlayerHistory could not load player_history
bloom_enabled   false   
loadedsaveindex
OnFilesLoaded() 
OnUpdatePurchaseStateComplete   
        Load FE 
        Load FE: done   
ModIndex: Load sequence finished successfully.  
Reset() returning
[200] Account Communication Success (6)
Received ( ---- here is myid:-) ) from TokenPurpose
Starting Dedicated Server Game  
Network tick rate: U=10(3), D=0
About to start a server with the following settings:
  Dedicated: true
  Online: true
  Passworded: false
  ServerPort: ----
  SteamAuthPort: 8768
  SteamMasterServerPort: 27018
  ClanID: false
  ClanOnly: false
  ClanAdmin: false
  LanOnly: false
  FriendsOnly: false
  EnablePunchthrough: false
  EnableAutosaver: true
  PVP: false
  MaxPlayers: 8
  GameMode: endless
  OverridenDNS: 
  PauseWhenEmpty: true
  InternetBroadcasting: true
  Intent: social
Online Server Started on port: ----
Collecting garbage...
lua_gc took 0.02 seconds
~ShardLuaProxy()
~ItemServerLuaProxy()
~InventoryLuaProxy()
~NetworkLuaProxy()
~SimLuaProxy()
lua_close took 0.03 seconds
ReleaseAll
ReleaseAll Finished
cGame::StartPlaying
LOADING LUA
DoLuaFile scripts/main.lua
DoLuaFile loading buffer scripts/main.lua
scripts/main.lua(166,1) running main.lua

loadedmodindex 
ModIndex: Beginning normal load sequence for dedicated server.

LOADING LUA SUCCESS
PlayerDeaths could not load morgue
PlayerHistory could not load player_history
bloom_enabled   false   
loadedsaveindex
OnFilesLoaded() 
OnUpdatePurchaseStateComplete   
        Unload FE
        Unload FE done  
        LOAD BE 
        LOAD BE: done   
Loading world: session/----/000000----
Save file is at version 1
Begin Session: ----
saving to server_temp/server_save
MiniMapComponent::AddAtlas( minimap/minimap_data.xml )
Could not preload undefined prefab 0x1872ccf0 (FROMNUM)
Loading Nav Grid
setting         summerlength    15
setting         isnightmaredawn false   
setting         elapseddaysinseason     8
setting         isfullmoon      false   
setting         moisture        561.24176025391 
setting         cavephase       night   
setting         isnightmarewild false   
setting         moonphase       half
setting         precipitationrate       0
setting         iswet   true
setting         winterlength    15
setting         temperature     17.603870191195 
setting         isnightmarewarn false   
setting         iswinter        false   
setting         moistureceil    5147.5991210938 
setting         isday   false   
setting         israining       false   
setting         remainingdaysinseason   12
setting         precipitation   none
setting         wetness 81.482482910156 
setting         isnightmarecalm false   
setting         timeinphase     0.33538657294379
setting         isdusk  false   
setting         iscavedusk      false   
setting         isautumn        false   
setting         issnowing       false   
setting         iscaveday       false   
setting         phase   night   
setting         snowlevel       0
setting         issnowcovered   false   
setting         autumnlength    20
setting         pop     0.020555177039241
setting         nightmaretime   0
setting         springlength    20
setting         isspring        true
setting         nightmarephase  none
setting         season  spring  
setting         time    0.87538498242696
setting         iscavenight     true
setting         cycles  ----
setting         isnight true
setting         nightmaretimeinphase    0
setting         issummer        false   
Selected 115949 - berrybush
Selected 115924 - berrybush
Reconstructing topology 
        ...Sorting points
        ...Sorting edges
        ...Connecting nodes
        ...Validating connections
        ...Housekeeping 
        ...Done!
1 uploads added to server. From server_temp
About to start a shard with these settings:
  ShardName: [SHDMASTER]
  ShardID: 1
  ShardRole: MASTER
  MasterHost: (null)
  MasterBind: 127.0.0.1
  MasterPort: 10100
[Shard] Starting master server
[Shard] Shard server started on port: ----
Telling Client our new session identifier: ----
ModIndex: Load sequence finished successfully.  
Reset() returning
[Steam] SteamGameServer_Init(8768, ----, 27018)
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
[Steam] SteamGameServer_Init(8768, ----, 27019)
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
[Steam] SteamGameServer_Init(8768, ----, 27020)
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
[Steam] SteamGameServer_Init(8768, ----, 27021)
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
[Steam] SteamGameServer_Init(8768, ----, 27022)
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
[Steam] SteamGameServer_Init(8768, ----, 27023)
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
[Steam] SteamGameServer_Init(8768, ----, 27024)
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
[Steam] SteamGameServer_Init(8768, ----, 27025)
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
[Steam] SteamGameServer_Init(8768, ----, 27026)
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
[Steam] SteamGameServer_Init(8768, ----, 27027)
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
[Warning] SteamGameServer_Init failed
Your server will still start, but some Steam functionality may be missing.
Steam ports can be configured through command line by adding:
-steam_authentication_port 12345 -steam_master_server_port 12346
or through settings.ini, under the [network] heading
steam_authentication_port = 12345
steam_master_server_port  = 12346
Auth port: 8768 Master server port: 27018
Validating portal[6] <-> 3434825348[6] (inactive)
Validating portal[8] <-> 3434825348[8] (inactive)
Validating portal[4] <-> 3434825348[4] (inactive)
Validating portal[2] <-> 3434825348[2] (inactive)
Validating portal[10] <-> 3434825348[10] (inactive)
Validating portal[5] <-> 3434825348[5] (inactive)
Validating portal[3] <-> 3434825348[3] (inactive)
Validating portal[1] <-> 3434825348[1] (inactive)
Sim paused
[Shard] Slave Caves(3434825348) connected: [LAN] 127.0.0.1
[Shard] Slave Caves(3434825348) ready!
World 3434825348 is now connected
Validating portal[6] <-> 3434825348[6] (active) 
Validating portal[8] <-> 3434825348[8] (active) 
Validating portal[4] <-> 3434825348[4] (active) 
Validating portal[2] <-> 3434825348[2] (active) 
Validating portal[10] <-> 3434825348[10] (active)
Validating portal[5] <-> 3434825348[5] (active) 
Validating portal[3] <-> 3434825348[3] (active) 
Validating portal[1] <-> 3434825348[1] (active) 
 

Link to comment
Share on other sites

steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
[Steam] SteamGameServer_Init(8768, ----, 27021)
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
steamclient.so

You need to update Steam server-side, first thing I noticed as I was checking the debug. Looks like you just need to update your Steam API which could resolve some issues. 

OnLoadPermissionList: /home/steam/.klei//dst/cluster/blocklist.txt (Failure)
OnLoadPermissionList: /home/steam/.klei//dst/cluster/adminlist.txt (Failure)
OnLoadUserIdList: /home/steam/.klei//dst/cluster/whitelist.txt (Failure)

What this is trying to say is in the folder /home/steam/.klei//dst/cluster/ the files blocklist.txt, adminlist.txt, and whitelist.txt are not found in the directory which is where your server is attempting to read those specific files from. You need to make sure there's all three files created in the directory which you may need to do manually for it to be functional again.

Now I'm not one hundred percent sure this would resolve the issue seeing there needs to be an update pushed which should be here within a few days at most. However, the most concerning thing I do see is steamclient.so doesn't seem to be found on your server which could be causing a lot of these issues or potential issues you may not be aware of which is why I suggested to update the Steam API. 

Most of this you may already know, however it doesn't hurt to have a second pair of eyes look at it with you. It also seems it's attempting to automatically detect ports that can be used to clean up issues which is good, however based on the first quotation it's basically stating Steam isn't even active on your server nor can it connect to the game server which is strange because you stated the server is running just fine minus the automatic bans.

From my personal experience with this it seems the server is banning people and attempting to save it to the file, however it's not saving the file because it's still being modified so it might be your ban mod that's causing this issue. I'd suggest sticking with manual bans seeing most people have a lot of issues keeping griefers off their server due to the blocklist.txt file not fully saving.

A suggestion is to make the file read only. Try to manually ban somebody (preferably a friend that's willing to help you test this out) and see if it saves as read only after you've manually added in his K_ID. For some strange reason the files usually don't save if they're altered while the server is still running-- this is not the case for all the servers out there but for most it's a problem. This function is similar to when the world automatically saves on a new day.

Anywho, keep me updated it seems there is a solution to this and we will get to the bottom of this one way or another, it will just take time. I'd highly suggest doing things manually until the new update is pushed. I've seen a few posts from the developers stating there will be some sort of update along with a few users that have been saying the same exact thing. So none the less, a temporary fix is what I'm aiming for here nothing permanente seeing this should be resolved with a simple update on the games side. Who knows, hopefully we'll find out soon enough but in the meantime let's continue to get this temporarily fixed until perhaps an update comes along that would fully resolve all these issues.

Link to comment
Share on other sites

Currently,

OnLoadPermissionList: /home/steam/.klei//dst/cluster/blocklist.txt (Success)
OnLoadPermissionList: /home/steam/.klei//dst/cluster/adminlist.txt (Failure)
OnLoadUserIdList: /home/steam/.klei//dst/cluster/whitelist.txt (Failure)
Token retrieved from: /home/steam/.klei//dst/cluster/cluster_token.txt
Token retrieved from: /home/steam/.klei//dst/cluster/cluster_token.txt
 

BUT it is not works well!, Already banned user can connect my server!

 

Link to comment
Share on other sites

At previous update, I was able to make manually banned list at server startup using the console command. It was really painful. I really had hope you correct it. Now, It totally screws up. The file not updated even I enter the console command.
My server has been running almost 2 months, It was a non-stop server.
Thousands players connected. Hundred players build a town. And there are almost 400 banned list.
Yesterday, my town fire. again, again, again... Terrorist maybe knows what happened.

Your game is really great!

bye.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...