• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Improvements for the dedicated server

Do you still have the log? Can you show me more of the part after 2015-07-01T21:04:31 (i.e. after ban til he was finally gone).
That is the result for ("after" timestamp mentioned):

Code:
grep 'funfun\|145717\|7656119xxxxxxx168' *output*
Code:
2015-06-29_16-24-03_output_log.txt:2015-06-29T21:55:20 19873.649 INF GMSG: funfun left the game
2015-07-01_15-01-25_output_log.txt:2015-07-01T16:46:19 6290.193 INF PlayerLogin: funfun/Alpha 11.6
2015-07-01_15-01-25_output_log.txt:2015-07-01T16:46:19 6290.194 INF [steamworks.NET] Authenticating player: funfun SteamId: 7656119xxxxxxx168 TicketLen: 1024 Result: k_EBeginAuthSessionResultOK
2015-07-01_15-01-25_output_log.txt:2015-07-01T16:46:19 6290.194 INF [EAC] Registering user: id=7656119xxxxxxx168, owner=7656119xxxxxxx168
2015-07-01_15-01-25_output_log.txt:2015-07-01T16:46:19 6290.194 INF Allowing player with id 7656119xxxxxxx168
2015-07-01_15-01-25_output_log.txt:2015-07-01T16:46:19 6290.457 INF RequestToEnterGame: 7656119xxxxxxx168/funfun
2015-07-01_15-01-25_output_log.txt:2015-07-01T16:46:19 6290.651 INF [steamworks.NET] Authentication callback. ID: 7656119xxxxxxx168, owner: 7656119xxxxxxx168, result: k_EAuthSessionResponseOK
2015-07-01_15-01-25_output_log.txt:2015-07-01T16:46:20 6291.482 INF RequestToSpawnPlayer: 145717, funfun, 11
2015-07-01_15-01-25_output_log.txt:2015-07-01T16:46:21 6291.681 INF Created player with id=145717
2015-07-01_15-01-25_output_log.txt:2015-07-01T16:46:21 6291.694 INF GMSG: funfun joined the game
2015-07-01_15-01-25_output_log.txt:2015-07-01T16:46:21 6291.694 INF Player connected, entityid=145717, name=funfun, steamid=7656119xxxxxxx168, ip=2.104.65.87
2015-07-01_15-01-25_output_log.txt:2015-07-01T16:46:21 6291.694 INF Player set to online: 7656119xxxxxxx168
2015-07-01_15-01-25_output_log.txt:2015-07-01T16:46:22 6293.056 INF [EAC] UserStatusHandler callback. Status: UserAuthenticated GUID: 7656119xxxxxxx168 ReqKick: False Message:
2015-07-01_15-01-25_output_log.txt:2015-07-01T16:46:36 6306.957 INF Executing command 'pm 145717 "Co-Op only, [b20000]no PVP = NO KILLING. NO STEALING[FFFFFF]. Dynamic ping limit. /help"' by Telnet from 127.0.0.1:34961
2015-07-01_20-24-02_output_log.txt:2015-07-01T21:01:42 2255.412 INF Executing command 'ban 7656119xxxxxxx168 4 weeks' from client 7656119xxxxxxx060
2015-07-01_20-24-02_output_log.txt:2015-07-01T21:01:55 2269.353 INF Executing command 'ban funfun 4 weeks' from client 7656119xxxxxxx060
2015-07-01_20-24-02_output_log.txt:2015-07-01T21:04:31 2424.609 INF Executing command 'ban funfun 7656119xxxxxxx168 4 weeks' from client 7656119xxxxxxx060
2015-07-01_20-24-02_output_log.txt:2015-07-01T21:04:58 2451.511 INF Executing command 'ban 7656119xxxxxxx168 2 months' from client 7656119xxxxxxx060
2015-07-02_12-56-03_output_log.txt:2015-07-02T12:58:39 153.111 INF Executing command 'ban add 7656119xxxxxxx168 2 months' from client 7656119xxxxxxx060
2015-07-02_15-01-24_output_log.txt:2015-07-02T17:20:06 8318.306 INF Executing command 'ban remove 7656119xxxxxxx168' from client 7656119xxxxxxx060
Apparently there is no disconnect message, possibly due to a alpha (linux) crash/freeze but especially since the moderator has fumbled with the parameter alignment. Nonetheless seen should be stamped on join and part (not to mention during) for just this reason or it is not coherent.

And while we're talking about logs, another thing I noticed is that there is no stampfixing (same timestamp) in one logfile rotation:

Code:
-rw-r--r-- 1 sdtd sdtd    622225 Jul  3 09:41 2015-07-03_03-01-24_output_log.txt
-rw-r--r-- 1 sdtd sdtd     21147 Jul  3 09:39 2015-07-03_03-01-42_chat.log
-rw-r--r-- 1 sdtd sdtd     54698 Jul  3 09:40 2015-07-03_03-01-42_commandExecution.log
-rw-r--r-- 1 sdtd sdtd      1979 Jul  3 09:24 2015-07-03_03-01-42_players.log
As you can see the "output" file is named ("stamped") X seconds earlier (03-01-24 vs 03-01-42) making it a "member" of a "different" "incomplete" rotation (that happened "18" seconds before the remaining "incomplete" rotation.).

 
Last edited by a moderator:
after i configure and start a new instance

servercrash -> The requested value 'DayLightLength' was not found.

my configfile ->

<property name="DayLightLength" value="18"/>

<property name="DayNightLength" value="40"/>

 
after i configure and start a new instanceservercrash -> The requested value 'DayLightLength' was not found.

my configfile ->

<property name="DayLightLength" value="18"/>

<property name="DayNightLength" value="40"/>

Check the spelling, maybe you deleted something by accident.

Can anyone confirm rlp/llp/tele commands & live map working in A12? Doesnt work for me.

 
Was the whisper / pm command removed intentionally? :(

edit: I see now these require the "Mods" folder.

Thanks so much for your efforts!

 
Last edited by a moderator:
So do we not need to download your A12 update?
If you want to use the mod you have to of course.

after i configure and start a new instanceservercrash -> The requested value 'DayLightLength' was not found.

my configfile ->

<property name="DayLightLength" value="18"/>

<property name="DayNightLength" value="40"/>
Log & config?

my map worked for a few hours then stopped working
Log?

And stops working == you can't access it (i.e. the webserver does not respond) or does it stop generating map tiles?

 
That is the result for ("after" timestamp mentioned):
The full log of that part would be interesting (like the next 1 minute) to see if there's anything related at all. Doesn't necessarily have to contain the SteamID.

Nonetheless seen should be stamped on join and part (not to mention during) for just this reason or it is not coherent.
Yeah, added that :)

And while we're talking about logs, another thing I noticed is that there is no stampfixing (same timestamp) in one logfile rotation:
Yup, the timestamp for the game log is generated on starting the game, the other timestamp on starting the monitor script. Will have to make it pass the appropriate timestamp (will be v91). Thanks for bringing this to attention.

 
And stops working == you can't access it (i.e. the webserver does not respond) or does it stop generating map tiles?
webserver stops responding , had to take out the protect file to get it to work

 
Hello Alloc and thanks again for all this great work!

I wanted to ask you, currently, we log the inventory and belt of all players in case of bag destruction or cheating in a csv file, but we'd like to log the equipped armor/clothing as well, I was wondering if you could help regarding how to do that?

Thanks a lot,

Neo

 
Hi Alloc, your tools are very nice so far.

I have one proposal: Could you make the "map rendering" command with an added option like "map rendering -5000"(or other values) so it would render all terrain around 0 in 5000 blocks distance? Would be nice to test out the options in rwgmixer.xml and would be like the wanted prerendering of the map.

Sure rendering takes time, but you would need it only once.

Greetings!

 
webserver stops responding , had to take out the protect file to get it to work
Meh, yeah, some people had that before. It's really time to get rid of that authentication method ... :(

I wanted to ask you, currently, we log the inventory and belt of all players in case of bag destruction or cheating in a csv file, but we'd like to log the equipped armor/clothing as well, I was wondering if you could help regarding how to do that?
Well, shouldn't be that hard to also query the equipment when doing the inv / belt. Just didn't see a need for that so far but I might get on to that at some point.

I have one proposal: Could you make the "map rendering" command with an added option like "map rendering -5000"(or other values) so it would render all terrain around 0 in 5000 blocks distance? Would be nice to test out the options in rwgmixer.xml and would be like the wanted prerendering of the map.
If I got you right you want a map without exploring the areas? If so that's not possible with the current code at all as RWG only generates the world when you move around. In future there might be ways to generate a given area of the world manually but before that's in the game there won't be a mapping feature for undiscovered areas.

 
If I got you right you want a map without exploring the areas? If so that's not possible with the current code at all as RWG only generates the world when you move around. In future there might be ways to generate a given area of the world manually but before that's in the game there won't be a mapping feature for undiscovered areas.
Yeah you got me. I would like that but shortly after posting i realized you only render the visited map. And only if visited its generated. So thats a topic for the RWG 3.0 first.

 
Hi there,

Thanks a lot for your reply, I will look further into the files to see how I can access the equipped items :) .

I wanted to ask you and anyone else whether they experienced the below error on their dedicated server? It keeps repeating as well but I can't pinpoint the exact reason, I only know that it's due to the GM_SavePlayerData.

Code:
Error in GM_SavePlayerData: System.ArgumentNullException: Argument cannot be null.
Parameter name: key
 at System.Collections.Generic.Dictionary`2[system.String,AllocsFixes.PersistentData.Player].ContainsKey (System.String key) [0x00000] in <filename unknown>:0 
 at AllocsFixes.PersistentData.Players.get_Item (System.String steamId, Boolean create) [0x00000] in <filename unknown>:0 
 at AllocsFixes.PersistentData.Inventory.Update (.PlayerDataFile pdf) [0x00000] in <filename unknown>:0 
 at AllocsFixes.PersistentData.Player.Update (.PlayerDataFile _pdf) [0x00000] in <filename unknown>:0 
 at AllocsFixes.PlayerDataStuff.GM_SavePlayerData (.ClientInfo _cInfo, .PlayerDataFile _playerDataFile) [0x00000] in <filename unknown>:0
I am wondering if it could be due to these lines in Inventory.cs Update function:

Code:
string playername = PersistentContainer.Instance.Players[PersistentContainer.Instance.Players.GetSteamID(pdf.id.ToString(), true), false].Name;
string steamid = PersistentContainer.Instance.Players[PersistentContainer.Instance.Players.GetSteamID(pdf.id.ToString(), true), false].SteamID;
Player p = PersistentContainer.Instance.Players[PersistentContainer.Instance.Players.GetSteamID(pdf.id.ToString(), true), false];
Should I change the false to true ?

Any help is extremely appreciated. Thanks a lot again,

Neo

 
Would this be the correct place to ask why I can't seem to get the map on the server manager working?

I have the rev. 238 fixes installed, with the FrontRunnerTek SM 1.0.6.7 with a fresh copy of 7 days installed. The server is running and working fine, people can connect, and the manager displays a green like next to connected and allocs fixes. The map used to work, but stopped working towards the end of A11 (I think at 11.5 or 11.6). I can't figure it out, and I'm not sure where to post else to post this since it's related to the fixes, but also the server manager, so please forgive me if it's in the wrong place.

I have a feeling I'm missing something that's right in front of me. Any help would be appreciated.

EDIT: Forgot to Rendermap on my new world. LOL

 
Last edited by a moderator:
Alloc is it still possible to get old versions?

i started a 10.4 server to try help some of my members that can't play anymore, mind you even on patch 10.4 they were barely able to play but they could play lol.

i have a couple VPS systems i could host them on easy, and i have a bad habit of deleting everything from old patches lol thats why i no longer have them.

i just wanna secure those servers as much as i can and have the commands working etc...

right now i have to turn off eac to get in the server but it works.

Noobzocalypse 10.4 PvE Now Online

Ip: 192.99.152.128

Port: 26104

thats the server i have up and running i am not managing it yet and i do have frt running for it, just no server messages are working etc...

Eric

Noobs Inc Group Leader And Founder

http://noobzocalypse.com/

http://www.gametracker.com/clan/noobzocalypse/

http://steamcommunity.com/groups/noobzocalypse

my links lol still need updating but i will get to that 1 day :p

 
webserver/js/index.js lines 122 and 123, will affect both the grid lines and the strings. Though you probably won't easily find a a color that will be easy to read on every background ;)
Yellow on the text was quite readable.

 
i Run into 2 Issues:

First i run a server for weeks now in 32Bit mode instead of 64bit (should pay more attention).

I changed my start.sh.

i replaced this:

LC_ALL=C LD_LIBRARY_PATH=$SDTD_BASE/engine $SSD --start $SSD_PID $SSD_DAEMON $SSD_USER --chdir $SDTD_BASE/engine --exec $SDTD_BASE/engine/7DaysToDieServer.x86 -- $OPTS > $(getInstancePath $1)/logs/stdout.log 2>&1
with this:

if [ $(uname -m) == 'x86_64' ]; then

LC_ALL=C LD_LIBRARY_PATH=$SDTD_BASE/engine $SSD --start $SSD_PID $SSD_DAEMON $SSD_USER --chdir $SDTD_BASE/engine --exec $SDTD_BASE/engine/7DaysToDieServer.x86_64 -- $OPTS > $(getInstancePath $1)/logs/stdout.log 2>&1

else

LC_ALL=C LD_LIBRARY_PATH=$SDTD_BASE/engine $SSD --start $SSD_PID $SSD_DAEMON $SSD_USER --chdir $SDTD_BASE/engine --exec $SDTD_BASE/engine/7DaysToDieServer.x86 -- $OPTS > $(getInstancePath $1)/logs/stdout.log 2>&1

fi
It Basicly detects the Kernel you are using if 32Bit or 64Bit and then starts either the 32bit executable or the 64bit executable.

The other one was the status.sh

i was getting Following Output:

Status: Running

Open ports:

23002 (tcp)

24000 (tcp)

25000 (udp)

25001 (udp)

25002 (udp)

Players: (standard

Game info:

Server name: North Carolina PVE

Password:

Max players: 32

World: Random Gen
See how the Current Players show (standard instead a number. Aparently this is an issue with grep if you took the regex out you got following output

Binary file (standard input) matches
so i change thi:

cur=$(telnetCommand $1 lp | grep -E "^\s?Total of " | cut -d\ -f 3)
and change this into:

cur=$(telnetCommand $1 lp | grep --text -E "^\s?Total of " | cut -d\ -f 3)
and got now following output:

Instance: NCSurvival

Status: Running

Open ports:

23002 (tcp)

24000 (tcp)

25000 (udp)

25001 (udp)

25002 (udp)

Players: 13

Game info:

Server name: North Carolina PVE

Password:

Max players: 32

World: Random Gen
i noticed the same thing in the instances.sh

Instance name | Running | Players | Port

---------------------+----------+---------+------

NCSurvival | yes | (standard/32 | 25000

test | no | -/ 4 | 25100
changed there:

cur=$(telnetCommand $I lp | grep -E "^\s?Total of " | cut -d\ -f 3)
into:

Instance name | Running | Players | Port

---------------------+----------+---------+------

NCSurvival | yes | 14/32 | 25000

test | no | -/ 4 | 25100

server:~# 7dtd.sh instances list

Instance name | Running | Players | Port

---------------------+----------+---------+------

NCSurvival | yes | 14/32 | 25000

test | no | -/ 4 | 25100

server:~# 7dtd.sh instances list

Instance name | Running | Players | Port

---------------------+----------+---------+------

NCSurvival | yes | 14/32 | 25000

test | no | -/ 4 | 25100

server:~# 7dtd.sh instances list

Instance name | Running | Players | Port

---------------------+----------+---------+------

NCSurvival | yes | 14/32 | 25000

test | no | -/ 4 | 25100
Maybe this helps somebody!

 
Back
Top