• 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

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.

 
Last edited by a moderator:
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) ;)

 
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.

 
Last edited by a moderator:
@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" />

 
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

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

 
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

 
Would at least be easier than trying to figure anything out without having anything to look at ;)

 
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.

 
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 ;) *

Code:
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)
Code:
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)
 
Last edited by a moderator:
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*)

 
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

 
Ahh sorry about that. Well if everything is fine, I don't understand how it would still not be working. Would switching in between telnet and webconsole make a difference?

 
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?

 
I connect to it remotely, but I have total access to the system. I will get in contact with my host and ask him about it. Thanks for your awesome patience Alloc!

 
The delayed "Telnet" execution problem should be solved in A12. Thanks especially to Harven for quite comprehensive input as well as Alanine getting some of the first detailed user insights :)

 
LKP last seen

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

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

Code:
249. funfun, id=145717, steamid=7656119xxxxxxx168, online=False, ip=2.xxx.xx.87, playtime=39 m, seen=2015-06-29 21:55
 
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).

 
Back
Top