• 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

My question is this. Is there an easy way to start the server map with the left menu collapsed?
I had actually prepared for this but forgot to actually add the required code afterwards ... This will be in the next update, so you will be able to specify the option "hideOnStart: true" in for the tab-setup in index.js.

 
My question is this. Is there an easy way to start the server map with the left menu collapsed? I have tried scouring the files myself to find it and unfortunately theres a lot of code to dig through and no obvious way that Im seeing. Thanks for any help you can offer!
Until Alloc releases this functionality, you can do this manually with three small changes in the index.html file:

Code:
<div class="adminnavbarhidebutton">  --becomes-- <div class="adminnavbarhidebutton hidenav">
<div class="adminnavbar">  --becomes--  <div class="adminnavbar hidenav">
<div id="admincontent">  --becomes--  <div id="admincontent" class="hidenav">
 
Thanks and WebApi Questions to alloc

hello alloc, before all thanks for all ur effort and sorry for my english.

Im testing with api and im stuck because dont want to use obstrusive metods to fetch the data.

I saw theres a webapi.getLog, u know when the getChat will be released? i can make hook after some tests, but i like Webapi.

Another idea its make getStorages with all storages of a map/player with position and storage health will it be posible?

Thanks for all again and hope u have good days!

 
Chat: Will definitely come at some point.

Storages: Might be, probably only for storages within currently loaded chunks though.

 
Browser Map not working

So what am I doing wrong? I can't get the browser map to work. I used SteamCMD to load the dedicated server files on my file server PC running Win7 so it's in a custom folder (D:\SteamGames\7dtdserver\). My client and server are up to date. I had already generated a map and played on it for about 10 in-game days before I wanted to try to get the browser map working. I found that I already had the 'Mods' folder in the root '7dtdserver' folder where the 7daystodie.exe and startdedicated.bat files are, but just to make sure I downloaded the latest version from the site, deleted the existing Mods folder and dropped in the new one.

I confirmed that my serverconfig.xml file has the ControlPanel set to 'true' with the port as 8080 and a password set. I even confirmed that I can go to 127.0.0.1:8080 and login to the Control Panel UI and send commands like saveworld and shutdown. I also tested from my gaming rig and it works fine. But when I try going to 127.0.0.1:8082 in FireFox, IE or Chrome it just says the page can't be displayed.

My Saves folder is in my %appdata% folder for 7DaystoDie, but I didn't think I had to fool with that, just drop the Mods folder into the root dedicated folder install path. I saw mentioning of permissions on the site for Alloc's Fixes. Do I have to add commands and permissions to my config files to get it to work? I assume it's very simple and that's why the site doesn't go into much detail about how to get it to work. I just feel like I'm missing something. I've gotten it to work in the past even. Then I watch YouTube videos of how to get it to work like BigC90210 and that's all he does; drops the Mods folder in the dedi server install directory and it starts working.

I even installed the 1.0.67 version of FrontRunnerTek's Server Manager (which I know is outdated and abandoned, but it still works) and confirmed that Alloc's Fixes are installed properly (I don't know of any other way to verify it). The web browser also doesn't load in FRT's Server Manager.

What am I doing wrong? Anything I need to verify? Thanks in advance for reading this and trying to help.

 
Last edited by a moderator:
Check the output logs on server startup, you should see this (in first hundred lines):

Code:
INF [MODS] Trying to load from Allocs_WebAndMapRendering
Non platform assembly: /home/sdtd/engine/Mods/Allocs_WebAndMapRendering/MapRendering.dll (this message is harmless)
2016-08-20T04:00:02 0.261 INF [MODS] Found ModAPI, creating instance
2016-08-20T04:00:02 0.261 INF [MODS] Loaded Mod: Allocs MapRendering and Webinterface (16)
And a little further on:

Code:
INF Started Webserver on 8082
Platform assembly: /home/sdtd/engine/7DaysToDieServer_Data/Managed/Mono.Security.dll (this message is harmless)
Your file paths will be different because you are using SteamCMD for install, but the rest should match.

 
Thanks for the response, zigstum.

So this is what I get:

Unloading 6 Unused Serialized files (Serialized files now loaded: 0)UnloadTime: 4.729134 ms

2016-08-18T13:46:30 0.015 INF Awake

2016-08-18T13:46:30 0.066 INF Version: Alpha 14.7 (b6) Compatibility Version: Alpha 14.7, Build: Windows 64 Bit

2016-08-18T13:46:30 0.066 INF System information:

2016-08-18T13:46:30 0.067 INF OS: Windows 7 Service Pack 1 (6.1.7601) 64bit

2016-08-18T13:46:30 0.068 INF CPU: AMD Athlon II X3 450 Processor (cores: 3)

2016-08-18T13:46:30 0.068 INF RAM: 7936 MB

2016-08-18T13:46:30 0.068 INF GPU: Null Device (128 MB)

2016-08-18T13:46:30 0.071 INF Graphics API: NULL 1.0 [1.0] (shader level 2.0)

2016-08-18T13:46:30 0.084 INF Last played version: Alpha 14.7

2016-08-18T13:46:30 0.085 INF Local UTC offset: -6 hours

2016-08-18T13:46:30 0.086 INF Command line arguments: 7daystodie -logfile 7DaysToDie_Data\output_log__2016-08-18__13-46-28.txt -quit -batchmode -nographics -configfile=serverconfig.xml -dedicated

2016-08-18T13:46:30 0.094 INF Parsing server configfile: D:/steamgames/7dtdserver/7DaysToDie_Data/../serverconfig.xml

2016-08-18T13:46:30 0.152 INF Parsing server configfile successfully completed

2016-08-18T13:46:30 0.153 INF Starting dedicated server level=Random Gen game name=BillMurray

2016-08-18T13:46:30 0.153 INF Maximum allowed players: 8

2016-08-18T13:46:30 0.154 INF Game mode: GameModeSurvivalMP

2016-08-18T13:46:30 0.632 INF Texture quality is set to 3

2016-08-18T13:46:30 0.692 INF NET: InitCallbacks

2016-08-18T13:46:30 0.697 INF [MODS] Start loading

2016-08-18T13:46:30 0.698 INF [MODS] Trying to load from Allocs_CommandExtensions

2016-08-18T13:46:30 0.729 WRN [MODS] Not loading DLL, only supported on the dedicated server build

2016-08-18T13:46:30 0.730 INF [MODS] Loaded Mod: Allocs command extensions (9)

2016-08-18T13:46:30 0.730 INF [MODS] Trying to load from Allocs_CommonFunc

2016-08-18T13:46:30 0.731 WRN [MODS] Not loading DLL, only supported on the dedicated server build

2016-08-18T13:46:30 0.731 INF [MODS] Loaded Mod: Allocs server fixes (13)

2016-08-18T13:46:30 0.732 INF [MODS] Trying to load from Allocs_WebAndMapRendering

2016-08-18T13:46:30 0.733 WRN [MODS] Not loading DLL, only supported on the dedicated server build

2016-08-18T13:46:30 0.733 INF [MODS] Loaded Mod: Allocs MapRendering and Webinterface (16)

2016-08-18T13:46:30 0.733 INF [MODS] Loading done

2016-08-18T13:46:30 0.780 INF Loading permissions file at 'C:\Users\aaron.Server\AppData\Roaming/7DaysToDie/Saves/serveradmin.xml'

2016-08-18T13:46:30 0.810 INF Loading permissions file done.

UMA Overlay loading took 839 ms

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

UMA Slot loading took 4 ms

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)

WARNING: Shader Unsupported: 'Hidden/Dof/DX11Dof' - Pass '' has no vertex shader

WARNING: Shader Unsupported: 'Hidden/Dof/DX11Dof' - Setting to default shader.

WARNING: Shader Unsupported: 'Suimono/effect_refractDroplets' - Setting to default shader.

WARNING: Shader Unsupported: 'Suimono/effect_refractionViewDepth' - Setting to default shader.

WARNING: Shader Unsupported: 'Code/GoggleEyed' - Setting to default shader.

2016-08-18T13:46:37 7.120 INF WorldStaticData.Init() needed 3.879s

Platform assembly: D:\steamgames\7dtdserver\7DaysToDie_Data\Managed\System.Configuration.dll (this message is harmless)

2016-08-18T13:46:37 7.167 INF Started Telnet on 8081

2016-08-18T13:46:37 7.175 INF Awake done

Platform assembly: D:\steamgames\7dtdserver\7DaysToDie_Data\Managed\Mono.Security.dll (this message is harmless)

Platform assembly: D:\steamgames\7dtdserver\7DaysToDie_Data\Managed\Mono.Security.dll (this message is harmless)

2016-08-18T13:46:37 7.472 INF Atlas reset took 194 ms

2016-08-18T13:46:37 7.472 INF Atlas load took 292 ms

Platform assembly: D:\steamgames\7dtdserver\7DaysToDie_Data\Managed\Mono.Posix.dll (this message is harmless)

Fallback handler could not load library D:/steamgames/7dtdserver/7DaysToDie_Data/Mono/libc

Fallback handler could not load library D:/steamgames/7dtdserver/7DaysToDie_Data/Mono/.\libc

Fallback handler could not load library D:/steamgames/7dtdserver/7DaysToDie_Data/Mono/libc

Unloading 3057 unused Assets to reduce memory usage. Loaded Objects now: 165654.

Total: 196.827576 ms (FindLiveObjects: 25.855259 ms CreateObjectMapping: 6.435700 ms MarkObjects: 160.091324 ms DeleteObjects: 4.444335 ms)
Should I be concerned about that "Not loading DLL, only supported on the dedicated server build" part? Note that I'm using Magoli's COMBOPACK_22 modded prefab pack but no actual mods of any kind. I did modify the items.xml to increase the stack number on all drinks, but that's it.

 
Last edited by a moderator:
Thanks for the response, zigstum.Should I be concerned about that "Not loading DLL, only supported on the dedicated server build" part?.
Not sure if you should be concerned ^^

You are running the server that is shipped with the client.

To use the webmap you must run the dedicated server.

You can find all the info you need here:

https://7dtd.illy.bz/wiki

Good luck :)

 
Hi Alloc! I just wanted to let you know I'm still getting zombies way out in the radiation zone. As you can see from the picture below, that I've switched my server over to play on Navezgane while waiting for A15. There is a snow zombie way out at 3464 N 2744 E, but the farthest snow zombie spawn in the log is 1856 N 1813 E. Even if he spawned there, he should have died in the radiation zone walking north. Also, during the picture below, there were 0 players online. Your thoughts?

4vksNns.png


 
Hey Alloc, I don't know if this is your area or not, but I have this error showing up in the map log.

Error Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "Entities/Enemies/zombieYo_87181/GameObject/Graphics/Model/zombieStandardYoRagdoll/Origin/Hips/Spine/Spine1/Spine2/Spine3/LeftShoulder/LeftArm"

2016-08-28 14:42:23 Error Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "Entities/Enemies/zombieYo_87181/GameObject/Graphics/Model/zombieStandardYoRagdoll/Origin/Hips/Spine/Spine1/Spine2/Spine3/LeftShoulder/LeftArm/LeftArmRoll/LeftForeArm"

2016-08-28 14:42:23 Error Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "Entities/Enemies/zombieYo_87181/GameObject/Graphics/Model/zombieStandardYoRagdoll/Origin/Hips/Spine/Spine1/Spine2/Spine3/Neck/Head"

2016-08-28 14:42:23 Error Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "Entities/Enemies/zombieYo_87181/GameObject/Graphics/Model/zombieStandardYoRagdoll/Origin/Hips/Spine/Spine1/Spine2/Spine3/RightShoulder/RightArm"

2016-08-28 14:42:23 Error Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "Entities/Enemies/zombieYo_87181/GameObject/Graphics/Model/zombieStandardYoRagdoll/Origin/Hips/Spine/Spine1/Spine2/Spine3/RightShoulder/RightArm/RightArmRoll/RightForeArm"

2016-08-28 14:42:23 Error Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "Entities/Items/Item_116943"

2016-08-28 14:42:23 Error Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "Entities/Items/Item_116943"

2016-08-28 14:42:23 Error Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "Entities/Items/Item_116943"

2016-08-28 14:42:23 Error Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "Entities/Items/Item_116943"

2016-08-28 14:42:23 Error Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "Entities/Items/Item_116943"

2016-08-28 14:42:23 Error Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "Entities/Items/Item_116943"

Any ideas?

 
Hey Alloc, I don't know if this is your area or not, but I have this error showing up in the map log.Error Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "Entities/Enemies/zombieYo_87181/GameObject/Graphics/Model/zombieStandardYoRagdoll/Origin/Hips/Spine/Spine1/Spine2/Spine3/LeftShoulder/LeftArm"

Any ideas?
We have had this a few times on our server, it was never fatal; until yesterday.

One of my users had posted on our forum that when he or two others in his group joined the server it would crash. We tracked down their position to a bank on the edges of the map. We had to stop the server and delete the region (and the three next to it to be sure), and start the server again. When the offending players rejoined it was okay and they managed to get away from that area - all but one. Hours later it started again, as one of the team had logged on in the bank again. Server crash every time he logged in.

I stopped the server, and deleted the offending regions again and the server stayed up even when the problem player logged on.

I've searched this error and found that the 'hornet' seems to be a common theme :D

When it spams the log file, it's quite aggressive. You can see it happen as soon as the player 'Salsanips' logs on:

Code:
2016-08-28T00:24:30 149.035 INF PPS logged in player: 76561198013862145 -> 288257
2016-08-28T00:24:30 149.043 INF Adding observed entity: 10, (7647.8, 117.1, 528.9), 9
2016-08-28T00:24:30 149.043 INF GMSG: Player 'Salsanips' joined the game
2016-08-28T00:24:30 149.043 INF Player connected, entityid=288257, name=Salsanips, steamid=76561198013862145, steamOwner=76561198013862145, ip=75.171.12.207
2016-08-28T00:24:30 149.043 INF Player set to online: 76561198013862145
Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "Entities/Enemies/hornet_546744/GameObject/Graphics/Model/HornetPrefab/root/thorax/abdomen"

(Filename:  Line: 170)

Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "Entities/Enemies/hornet_546744/GameObject/Graphics/Model/HornetPrefab/root/thorax/head"

(Filename:  Line: 170)

Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "Entities/Enemies/hornet_546744/GameObject/Graphics/Model/HornetPrefab/root/thorax/abdomen"

(Filename:  Line: 170)

Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "Entities/Enemies/hornet_546744/GameObject/Graphics/Model/HornetPrefab/root/thorax/head"
It's worth mentioning that we would never have been able to locate the players or the region they were in without Allocs scripts and webmap.

 
Last edited by a moderator:
We have had this a few times on our server, it was never fatal; until yesterday.One of my users had posted on our forum that when he or two others in his group joined the server it would crash. We tracked down their position to a bank on the edges of the map. We had to stop the server and delete the region (and the three next to it to be sure), and start the server again. When the offending players rejoined it was okay and they managed to get away from that area - all but one. Hours later it started again, as one of the team had logged on in the bank again. Server crash every time he logged in.

I stopped the server, and deleted the offending regions again and the server stayed up even when the problem player logged on.

I've searched this error and found that the 'hornet' seems to be a common theme :D

When it spams the log file, it's quite aggressive. You can see it happen as soon as the player 'Salsanips' logs on:

Code:
2016-08-28T00:24:30 149.035 INF PPS logged in player: 76561198013862145 -> 288257
2016-08-28T00:24:30 149.043 INF Adding observed entity: 10, (7647.8, 117.1, 528.9), 9
2016-08-28T00:24:30 149.043 INF GMSG: Player 'Salsanips' joined the game
2016-08-28T00:24:30 149.043 INF Player connected, entityid=288257, name=Salsanips, steamid=76561198013862145, steamOwner=76561198013862145, ip=75.171.12.207
2016-08-28T00:24:30 149.043 INF Player set to online: 76561198013862145
Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "Entities/Enemies/hornet_546744/GameObject/Graphics/Model/HornetPrefab/root/thorax/abdomen"

(Filename:  Line: 170)

Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "Entities/Enemies/hornet_546744/GameObject/Graphics/Model/HornetPrefab/root/thorax/head"

(Filename:  Line: 170)

Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "Entities/Enemies/hornet_546744/GameObject/Graphics/Model/HornetPrefab/root/thorax/abdomen"

(Filename:  Line: 170)

Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "Entities/Enemies/hornet_546744/GameObject/Graphics/Model/HornetPrefab/root/thorax/head"
It's worth mentioning that we would never have been able to locate the players or the region they were in without Allocs scripts and webmap.
OK, thanks for that.

 
A15 Pregen map and "rendermap" command?

Hi Alloc,

Madmole, will there be an option to generate the whole world when dedicated server starts? Would be very nice to have that option.

No, its hard coded to pregen the map.
For A15, does this mean we can now run the "rendermap" command and it'll build the entire map since it's been pregenerated?

If possible, would be interesting to see how long it'll cause the server to be unavailable, as per:

"NOTE that this will take a long time to execute (in the minutes) depending on how big the visited map is so far. During this time the server can not be used for playing or any commands."

EDIT: Is there any way to throttle it so it leaves the server available for playing while it's building the map in the background?

 
I just wanted to let you know I'm still getting zombies way out in the radiation zone.
No idea currently. Haven't investigated any further on this either though.

Hey Alloc, I don't know if this is your area or not, but I have this error showing up in the map log.
Error Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "Entities/Enemies/zombieYo_87181/GameObject/Graphics/Model/zombieStandardYoRagdoll/Origin/Hips/Spine/Spine1/Spine2/Spine3/LeftShoulder/LeftArm"

...

Any ideas?
Not really mine but normally I'd have a look ... as we're approaching A15 though I'd just wait until this happens again with that release instead of spending time right now on an issue that might already be fixed ;)

For A15, does this mean we can now run the "rendermap" command and it'll build the entire map since it's been pregenerated?
No idea, haven't looked into those changes yet. But I'd actually doubt it ;)

EDIT: Is there any way to throttle it so it leaves the server available for playing while it's building the map in the background?
Would require a bit of a redesign as currently it simply does one long run on the main thread so nothing else can do its work in between. Possible: Yes. Likely: maybe later on ;)

 
the Give or giveself like "Giveself Shotgun 600" or "Give Quicken Shotgun 600" does not work :(
The quality of a gun is based on the quality of the parts. Fully assembled guns roll a random quality.

give <player name> <component> <quantity> <quality>

give Lonestarcanuck partsPumpShotgun_stock 1 600

give Lonestarcanuck partsPumpShotgun_receiver 1 600

give Lonestarcanuck partsPumpShotgun_parts 1 600

give Lonestarcanuck partsPumpShotgun_barrel 1 600

Use listitems (li for short) command to find the component names such as li partsPump will list all Shotgun parts.

- - - Updated - - -

is there a version of your server fixes for a 14.7?
http://illy.bz/fi/7dtd/server_fixes.tar.gz

 
How do Server managers do a shutdown and restart? Most seem to use Alloc's mod and all I see is the 7DTD standard shutdown command. example CBSM uses RCON and Alloc' stuff so how does it restart 7DTD?

 
Back
Top