Jump to content

Improvements for the dedicated server


Alloc

Recommended Posts

Update: Appears there is a reasonable work-around, and since this isn't an issue for general usage, perhaps not as notable of an issue as originally thought. However, the issue appears to be nonsensical, which may indicate something else could be worth fixing.

Edited by alanine (see edit history)
Link to comment
Share on other sites

If it helps, I can send the PHP script which will demonstrate the error issue.

Got another script by now, but I'll get back to that offer if I can't repro it myself.

 

Update: Appears there is a reasonable work-around, ....

Which is? (especially as this might help me nail this down) ;)

Link to comment
Share on other sites

Sorry, I figured I would save my breath, in case it wasn't needed;

 

Simplistically, a sleep between the commands in that simple while command will allow them all to succeed.

see below..

 

So, this initially indicates to me that perhaps some sort of chat buffer was added, maybe to reduce spam.

This was corrected, when you said nothing notable had been adjusted.

 

What makes me believe that this is a problem, is that the commands/messages are not simply held for a determined amount of time, and then sent in chunks, following this "buffer" restriction. They will simply come rolling in all at once.

 

So.. To re-iterate, on a simplistic while command, only the first two commands will make it through. (Mentioned chat buffer?)However, once something interacts with the chat, those delayed messages all come rolling through, irregardless of that prior insinuated 2-message maximum.

 

The number of messages that get pushed through, before waiting, can infrequently vary, although typically it is all of them -- again, making this issue seen very non-logical.

 

Since the update, I have been able to reproduce this response across many game servers and scripting methods/environments. While this cannot be reproduced under general usage, sending more than two commands in rapid succession seem to suffer from this oddity.

Edited by alanine (see edit history)
Link to comment
Share on other sites

@Alloc - Sadly, it is also for "say".

This perhaps may mean it is out of your domain.

 

If it helps, I can send the PHP script which will demonstrate the error issue. It will clearly show the script has finished processing, and sent the expected commands - while allowing you to see them continue to trickle into the console, long after the script has finished and stopped processing.

 

yeh i can confirm this crap has started happening since 11.5 aswel

 

all messages get sent pretty much instantly from php or frontend, but only the first message is shown ingame at the same time.

seems to happen more with say, first message goes through pretty much instantly.. subsequent ones are delayed whether they are say or pm..

 

i have a welcome message to players that gets sent via say or similar command when i can bothered to recompile the updated modified version of it on alloc mod for cosmetic reasons, however any following say message line doesn't show up for at least 1-2 seconds.. and sometimes it does show up instantly

 

if the cmd outputs a bunch of message lines that are all sent via pm, it seems to be fine and instant, but public messages causes a bottleneck..but i think it does effect pm message lines aswel as i ahve seen pauses in long lists of pm messages

 

probably doesn't help that the ingame timer does some weird ♥♥♥♥ like counting upwards, pausing, and even go back a number before counting forward.. this is with adjustments to <property name="NightPercentage" value="25" />

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

Link to comment
Share on other sites

What exactly does not work? Does the game not open the additional web port (controlpanelport + 2), does it only show a blank map, something else?

Server log?

 

Sorry, I forgot to quote this. It is showing all the recent places uncovered by people, but it isnt showing who is online or offline, and it isnt showing land claims. I have to re-render the map each time to get the latest uncovered areas. I also cannot look it up in my web browser, I have to open the index.html in the maprender folder to view it

Link to comment
Share on other sites

Sorry, I forgot to quote this. It is showing all the recent places uncovered by people, but it isnt showing who is online or offline, and it isnt showing land claims. I have to re-render the map each time to get the latest uncovered areas. I also cannot look it up in my web browser, I have to open the index.html in the maprender folder to view it

Most important part would still be the log as that would contain information on what is the problem if there is any ;)

Link to comment
Share on other sites

Most important part would still be the log as that would contain information on what is the problem if there is any ;)

 

Right-o, checked the log as well on the line where the maprendering loads and it loaded in no problem. Line after however, did mention disabling HDR textures as they were unsupported, but seem unrelated to the map mod. Would that cause any issues? I would inbox my outputlog but I feel like you get a million msgs a day :p

Link to comment
Share on other sites

Nothing on the game / mod changed from 11.4 to 11.5 regarding console / commands.

Is it one of those online managers? Maybe it just has more load to handle now that probably a few more people are playing again for a few days?

 

Hmm possibly. It's still very delayed even now. I wonder. Thank you for the reply.

Link to comment
Share on other sites

My dedicated Server starts works fine without the fixes, but if i use the fixes, it seems to hang itself up ;)

 

If i try to login i'm asked for password (if needed) but i cant get into the game, and the server stays at < 1% CPU Usage.

 

Tried a complete reinstall...its the same, without AFixes it works as intended, with Afixes, it "crashes"

 

*würde es auch auf Deutsch erklنren, aber denke es ist auf Englisch alles gesagt ;)*

 

Error while reading AssetBundle header!

(Filename:  Line: 597)

NullReferenceException: Object reference not set to an instance of an object
 at cl00bc.md0006 (System.String _bundleName, System.String _objName) [0x00000] in <filename unknown>:0 

 at GameManager+scl0003.MoveNext () [0x00000] in <filename unknown>:0 

 at GameManager.Awake () [0x00000] in <filename unknown>:0 

(Filename:  Line: -1)

 

2015-06-08T12:06:22 9.834 INF StartAsServer

2015-06-08T12:06:22 9.837 INF createWorld: Navezgane, EZA-Tester, GameModeSurvivalMP

Exception: Block with name 'snow' not found!
 at WorldBiomes.md0007 (System.String par0001) [0x00000] in <filename unknown>:0 

 at WorldBiomes.md0006 (Byte par0001, System.String par0002, System.Xml.XmlElement par0003, Boolean par0004) [0x00000] in <filename unknown>:0 

 at WorldBiomes.md0006 (Byte par0001, System.String par0002, System.Xml.XmlElement par0003, Boolean par0004) [0x00000] in <filename unknown>:0 

 at WorldBiomes.md0005 (System.Xml.XmlDocument par0001, Boolean par0002) [0x00000] in <filename unknown>:0 

 at WorldBiomes..ctor (System.Xml.XmlDocument _genxml, Boolean _instantiateReferences) [0x00000] in <filename unknown>:0 

 at GameManager.md002d (System.String par0001, System.String par0002) [0x00000] in <filename unknown>:0 

 at GameManager.md000d () [0x00000] in <filename unknown>:0 

 at GameManager.StartGame () [0x00000] in <filename unknown>:0 

 at ConnectionManager.Net_ServerInitialized () [0x00000] in <filename unknown>:0 

 at NetworkCommon.StartServers (System.String _password) [0x00000] in <filename unknown>:0 

 at MainMenuMono.Start () [0x00000] in <filename unknown>:0 

(Filename:  Line: -1)

Edited by Rosendorn (see edit history)
Link to comment
Share on other sites

Problem Solved!

 

Its IMPORTANT to use the Dedicated Server Files, the REAL Server Files, and not the ServerFiles within the Client!

 

So if anyone starts a Server on a Root or Something without the Gamehosters, USE THE DEDICATED SERVER FILES FROM STEAM in the Library ;)

 

....as written in the Docs at Allocs Homepage :)

 

(Wer lesen kann ist klar im Vorteil *seufz*)

Link to comment
Share on other sites

Right-o, checked the log as well on the line where the maprendering loads and it loaded in no problem. Line after however, did mention disabling HDR textures as they were unsupported, but seem unrelated to the map mod. Would that cause any issues? I would inbox my outputlog but I feel like you get a million msgs a day :p

 

In reply to log:

First of all, next time please don't wait til the server ran for like forever before grabbing the log, would have made this one a lot smaller ;)

Secondly, everything is fine on that side. You should be able to connect to the server by http://127.0.0.1:8082/ (or whatever your server's IP/domain is if not running on your local PC).

 

 

Problem Solved!

Hehe, great :)

And yes ... the reading thing ... :p

Link to comment
Share on other sites

I suppose it's not related to the game but more likely a system issue. Where do you run the server? If locally, have you checked your firewall(s)? If remote but under your control: same thing. If you rent a game server, have you made sure the provider has the port opened?

Link to comment
Share on other sites

  • 2 weeks later...

LKP last seen

 

So I have a theory about LKP not recording last seen dates properly... (when banned?)

 

2015-06-29_16-24-03_output_log.txt:2015-06-29T21:10:26 17178.862 INF PlayerLogin: funfun/Alpha 11.6
2015-06-29_16-24-03_output_log.txt:2015-06-29T21:10:26 17178.864 INF [steamworks.NET] Authenticating player: funfun SteamId: 7656119xxxxxxx168 TicketLen: 1024 Result: k_EBeginAuthSessionResultOK
2015-06-29_16-24-03_output_log.txt:2015-06-29T21:10:26 17179.178 INF RequestToEnterGame: 7656119xxxxxxx168/funfun
2015-06-29_16-24-03_output_log.txt:2015-06-29T21:10:29 17181.723 INF RequestToSpawnPlayer: 145717, funfun, 8
2015-06-29_16-24-03_output_log.txt:2015-06-29T21:10:29 17181.974 INF GMSG: funfun joined the game
2015-06-29_16-24-03_output_log.txt:2015-06-29T21:10:29 17181.974 INF Player connected, entityid=145717, name=funfun, steamid=7656119xxxxxxx168, ip=x

2015-06-29_16-24-03_output_log.txt:2015-06-29T21:41:01 19014.682 INF [steamworks.NET] Kick player for invalid login: 7656119xxxxxxx168 funfun
2015-06-29_16-24-03_output_log.txt:2015-06-29T21:41:02 19015.400 INF Player disconnected: EntityID=145717, PlayerID='7656119xxxxxxx168', OwnerID='7656119xxxxxxx168', PlayerName='funfun'
2015-06-29_16-24-03_output_log.txt:2015-06-29T21:41:02 19015.401 INF [EAC] FreeUser (funfun)
2015-06-29_16-24-03_output_log.txt:2015-06-29T21:41:02 19015.402 INF GMSG: funfun left the game
2015-06-29_16-24-03_output_log.txt:2015-06-29T21:46:05 19318.126 INF PlayerLogin: funfun/Alpha 11.6
2015-06-29_16-24-03_output_log.txt:2015-06-29T21:46:05 19318.128 INF [steamworks.NET] Authenticating player: funfun SteamId: 7656119xxxxxxx168 TicketLen: 1024 Result: k_EBeginAuthSessionResultOK
2015-06-29_16-24-03_output_log.txt:2015-06-29T21:46:05 19318.440 INF RequestToEnterGame: 7656119xxxxxxx168/funfun
2015-06-29_16-24-03_output_log.txt:2015-06-29T21:46:07 19319.859 INF RequestToSpawnPlayer: 145717, funfun, 8
2015-06-29_16-24-03_output_log.txt:2015-06-29T21:46:07 19320.099 INF GMSG: funfun joined the game
2015-06-29_16-24-03_output_log.txt:2015-06-29T21:46:07 19320.100 INF Player connected, entityid=145717, name=funfun, steamid=7656119xxxxxxx168, ip=x
2015-06-29_16-24-03_output_log.txt:2015-06-29T21:52:15 19688.556 INF GMSG: funfun: hov to speak
2015-06-29_16-24-03_output_log.txt:2015-06-29T21:55:20 19873.198 INF Player funfun disconnected after 9.1 minutes
2015-06-29_16-24-03_output_log.txt:2015-06-29T21:55:20 19873.648 INF Player disconnected: EntityID=145717, PlayerID='7656119xxxxxxx168', OwnerID='7656119xxxxxxx168', PlayerName='funfun'
2015-06-29_16-24-03_output_log.txt:2015-06-29T21:55:20 19873.649 INF [EAC] FreeUser (funfun)
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.457 INF RequestToEnterGame: 7656119xxxxxxx168/funfun
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.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=x
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

 

LKP output, 12 hours later:

249. funfun, id=145717, steamid=7656119xxxxxxx168, online=False, ip=2.xxx.xx.87, playtime=39 m, seen=2015-06-29 21:55

Link to comment
Share on other sites

So I have a theory about LKP not recording last seen dates properly... (when banned?)

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).

Link to comment
Share on other sites

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):

grep 'funfun\|145717\|7656119xxxxxxx168' *output*

 

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:

 

-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.).

Edited by qriff (see edit history)
Link to comment
Share on other sites

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"/>

Link to comment
Share on other sites

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"/>

 

 

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.

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