• 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

Running dedicated server

Hey Alloc,

When you say to run a dedicated server I've been assuming your talking about using startdedicated.bat is this correct? I'm having an issue when I run the modded files with:

NullReferenceException: Object reference not set to an instance of an object

at cl00b1.md0007 (System.String _bundleName, System.String _objName) [0x00000] in <filename unknown>:0

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

Which was linked to not running a dedicated server, however the output log also has:

1.728 Dedicated server only build

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

I've tried looking up the information, but I have not found the information I need. I would greatly appreciate any advice you are able to give.

Thank you

 
Last edited by a moderator:
Nope, the startdedicated starts whatever *build* you have there. Most likely the client build, which currently still has a dedicated *mode*. The output "Dedicated server only build" is probably because you already added my mod. As that replaces the AC#.dll it will output this, but this is not necessarily right for the whole thing you have installed. You can check it in two way: Replace the AC#.dll with the orig one you had before and check if the output is still in there (probably not ;) ) or check if Data/Bundles/ has just one file BlockTextureAtlasesD.

 
Uh wow, this one again ... please verify for all the .DLL files in 7DaysToDie_Data/Managed that none of them contains the part marked in red on their properties. If one does click unblock.


Yeah, please do so for a test :)
Woah. Just out of interest I checked my Assembly-CSharp.dll and it was blocked. However the server has run - relatively - fine. Should your tools be running if this is blocked?

 
Actually don't ask me what exactly Windows does with this assembly blocking ;)

Could be that it only affects when run with MS.NET, could be it's random ... It seemed to help for one guy to unblock it but as long as it runs fine for you you probably don't have to care.

 
Actually don't ask me what exactly Windows does with this assembly blocking ;) Could be that it only affects when run with MS.NET, could be it's random ... It seemed to help for one guy to unblock it but as long as it runs fine for you you probably don't have to care.
I've unblocked the files but there seems to be no tangible difference.

 
Sorry, missed that. I tried to run updateengine but I was already at the newest version.

"Engine is already at the newest build (local: 385244, remote: 385244)."

I'm now testing protected mode once again.

 
Nope, should still work just fine :)
My mistake. For some reason I couldn't use it through FRT's SM console or in game with a permission level of 0. I just figured out I can use the command in PuTTY. I think the server could use a restart.

Is there a command that displays players' entityIDs without also displaying sensitive information, such as coords? I want to give everyone the ability to use "pm" and "re", but some player have spaces or weird characters in their name. It would help if they could use the player's entityID instead of their name. If I give them the ability to use "lp" or "le", it would also be giving them the ability to see everyone's coords.

 
My mistake. For some reason I couldn't use it through FRT's SM console or in game with a permission level of 0. I just figured out I can use the command in PuTTY. I think the server could use a restart.
Hm, if you have a permission level of 0 you *should* be able to run every command.

Is there a command that displays players' entityIDs without also displaying sensitive information, such as coords?
Currently not but this sounds like a good idea. Added another ticket for that task :)

 
Hi Alloc, excellent job with the server fixes. I myself am a noob to all this server stuff, but managed to get my server up and running using Frontrunnertek's manager with your fixes installed in no time. The part that has me stumped is setting the authorization up for the web server, could please explain exactly how to do this? many thanks in advance for any help you can give me and keep up the good work! :)

 
You just have to create an empty file in the folder "webserver" with the name being "protect". No extension or anything, just plain "protect" ;)

That's all, it will then ask for username ("admin") and password (the same as you set for control panel) after the next reboot of the server.

 
Back
Top