Native Linux server (with management scripts)

Suppose you're not talking about my scripts but rather the 7dtd server in general? There's no general verbosity setting, just a few specific ones like networking.
Correct, referring to the Unity3D binary. Would you please provide the command for additional network debugging (or a page or help menu to see the options)? I don't remember trying --help or -h or -? or whatnot but I thought those didn't work.

Thanks :)

 
Correct, referring to the Unity3D binary. Would you please provide the command for additional network debugging (or a page or help menu to see the options)? I don't remember trying --help or -h or -? or whatnot but I thought those didn't work.
Thanks :)
If you look for usages of GameUtils.GetLaunchArgument you'll find almost all of our custom ones. Currently

-language=<value>

-nosteamnetworking

-nolitenetlib

-debugnet

-debugeac[=verbose]

-debuginput[=verbose]

-debugxui[=verbose]

-exportcustomatlases

 
If you look for usages of GameUtils.GetLaunchArgument you'll find almost all of our custom ones. Currently-language=<value>

-nosteamnetworking

-nolitenetlib

-debugnet

-debugeac[=verbose]

-debuginput[=verbose]

-debugxui[=verbose]

-exportcustomatlases
Thank you!! Will give these a try and hopefully if we see the issue again we'll be able to troubleshoot the issue more deeply to help with finding the bug.

 
Alloc is there any changes needed to the management scripts for A18? Since I saw that you updated the improvements already but there's no update for scripts, is it safe to assume they're good to go?

I'm explicitly wondering about RWG and instance creation in this regard; I don't want to go try and generate a server world and have it blow up on me. :)

 
Scripts wouldn't affect server map generation. That's entirely in the game engine code. So far I haven't been able to get the Linux dedi client to generate a map though. Reminds me that I need to submit my data.

 
Scripts wouldn't affect server map generation. That's entirely in the game engine code. So far I haven't been able to get the Linux dedi client to generate a map though. Reminds me that I need to submit my data.
No they wouldn't, but I also prefer to use `7dtd.sh instances create` for my config file, which is almost certainly going to generate a not-quite-right config. (Just the "drop on death/drop on quit" change to line them both up with each other would cause a potential issue.) I mostly just want to make sure that none of the config file changes are drastic enough to break something.

 
There are a LOT of config file changes in a18. You can create the instance with the script, but then you should pull the default config from the Engine directory and use it. (Especially since drop on death/quit changed because they took the hidden option 4, and moved it to 0.)

 
There are a LOT of config file changes in a18. You can create the instance with the script, but then you should pull the default config from the Engine directory and use it. (Especially since drop on death/quit changed because they took the hidden option 4, and moved it to 0.)
Right, will take a look at that then. The script's teasing, saying there's an update for latest_experimental, downloading it, and not apparently installing it too, but I'm going to guess that's got more to do with it not being actually released than the script itself.

Thanks!

 
Alloc is there any changes needed to the management scripts for A18?
Yeah, for the instance editor the scripts need changes, I'll try to get them in today, but no promises. IIRC there's been no breaking changes so the server should still start fine even without an updated instance editor, but you would obviously miss out on the new options as well (as sylen stated already) get a wrong view on the drop on death values in the editor.

The script's teasing, saying there's an update for latest_experimental, downloading it, and not apparently installing it too, but I'm going to guess that's got more to do with it not being actually released than the script itself.
That's probably because you had set the scripts to latest_experimental before and there actually is a newer build on it now, you just missed to supply the password that's requried for now ;)

 
Yeah, for the instance editor the scripts need changes, I'll try to get them in today, but no promises. IIRC there's been no breaking changes so the server should still start fine even without an updated instance editor, but you would obviously miss out on the new options as well (as sylen stated already) get a wrong view on the drop on death values in the editor.

That's probably because you had set the scripts to latest_experimental before and there actually is a newer build on it now, you just missed to supply the password that's requried for now ;)
Yeah, that's about what I expected (with the password). No worries on the scripts, part of my problem was I didn't know where the devil the default serverconfig.xml was - I hadn't used it in ages. Grabbing that will be solid enough, but appreciate the response!

 
Should hopefully be fine in v113.
Grabbed it and poking. The only thing I'm concerned with - since I can't see the A18 serverconfig.xml yet - is the default difficulty. I know Madmole said it was turned down to Adventurer, but the script is still defaulting to Nomad (2). Not sure if it's that Adventurer is now (2), or if it should be adjusted before A18 rips a lot of peoples' faces off. :)

 
I just installed everything using the guide you have on your website. when I try to launch the server i get the error below. I have run all 3 of the different update commands and it did not help. what am i doing wrong?

eac_server.so [x64] :: OnLoad()

Missing method .ctor in assembly /home/sdtd/engine/Mods/Allocs_CommonFunc/7dtd-server-fixes.dll, type System.Action

The class System.Action could not be loaded, used in 7dtd-server-fixes

Missing method .ctor in assembly /home/sdtd/engine/Mods/Allocs_CommonFunc/7dtd-server-fixes.dll, type System.Action

eac_server.so [x64] :: OnUnload()

 
Thank you, fixed :)
Alloc,

Would it be possible for you to post, on your website, the default admins/serverconfig.xml files for reference? Over time mine have grown/changed quite a bit and being able to reference new vs old would be helpful.

 
Alloc,

Side note, I cannot seem to get the world to generate. After sitting for almost an hour, this is what I get:

2019-10-07T15:53:26 1.360 INF WorldStaticData.Init() needed 0.351s2019-10-07T15:53:26 1.370 INF Started Telnet on 9001

2019-10-07T15:53:26 1.379 INF Awake done in 1291 ms

2019-10-07T15:53:29 4.702 INF Telnet connection from: 192.168.2.10:49847

2019-10-07T15:53:29 4.703 INF Started thread TelnetClient_192.168.2.10:49847

2019-10-07T15:53:30 4.980 INF Started thread RWG

2019-10-07T15:53:30 4.983 INF WorldGenerator:Generating New Asosu Valley

2019-10-07T15:53:30 4.983 INF WorldGenerator:Generating Socket Data

2019-10-07T15:53:30 5.143 INF WorldGenerator:Generating Detail Data
 
Alloc,
Side note, I cannot seem to get the world to generate. After sitting for almost an hour, this is what I get:
Same but after 15 mins i get this :

Code:
2019-10-07T21:46:59 6.575 INF WorldGenerator:Generating Detail Data
2019-10-07T22:08:26 1293.544 ERR Exception in task
2019-10-07T22:08:26 1293.566 EXC Object reference not set to an instance of an object
NullReferenceException: Object reference not set to an instance of an object
 at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x0001b] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
 at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
 at WorldGenerationEngine.Input.WorldGenerationRules.get_CurrentRuleset () [0x0001d] in <58bbf922f73645b78d24efc6d568943d>:0 
 at WorldGenerationEngine.Input.WorldGenerationRules.get_CurrentTerrainGenerator () [0x00000] in <58bbf922f73645b78d24efc6d568943d>:0 
 at WorldGenerationEngine.GenerationManager+<>c__DisplayClass30_0.<InitializeSocketData>b__0 (ThreadManager+TaskInfo _taskInfo) [0x0007e] in <58bbf922f73645b78d24efc6d568943d>:0 
 at ThreadManager.myQueuedTaskInvoke (System.Object _taskInfo) [0x00041] in <58bbf922f73645b78d24efc6d568943d>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
Logger:masterLogException(Exception)
Logger:Exception(Exception)
Log:Exception(Exception)
ThreadManager:myQueuedTaskInvoke(Object)
System.Threading.QueueUserWorkItemCallback:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
System.Threading.ThreadPoolWorkQueue:Dispatch()
System.Threading._ThreadPoolWaitCallback:PerformWaitCallback()

(Filename: <1f0c1ef1ad524c38bbc5536809c46b48> Line: 0)
Edit:

fixed it by creating another instance. Took 46 mins just to gen the socket data with a 8-core 4gig machine. lol

 
Last edited by a moderator:
Would it be possible for you to post, on your website, the default admins/serverconfig.xml files for reference? Over time mine have grown/changed quite a bit and being able to reference new vs old would be helpful.
As the vanilla files aren't touched by my scripts you can just look at the one in the engine folder, that will always be the one matching what you've got installed.

Side note, I cannot seem to get the world to generate. After sitting for almost an hour, this is what I get:
RWG issues aren't related to these scripts, please report such on the general bug reports thread.

 
On Linux, A18 using Vulkan ROCKS! I'm getting an over 70% FPS improvement!!! :rockon:

OpenGL:

vsync on: 40 FPS

vsync off: 50 FPS

Vulkan:

vsync on: 60 FPS (monitor max Hz)

vsync off: 85 FPS

Anyone else have FPS benches to share? That's a crazy big difference!

 
Last edited by a moderator:
So were certain options removed?

<property name="BloodMoonFrequency" value="7" />

<property name="BloodMoonRange" value="2" />
I cannot seem to get the server to start and I don't see them in the default config file anymore.

 
Back
Top