Jump to content

Improvements for the dedicated server


Alloc

Recommended Posts

I recently noticed this:

 

2017-06-26T10:11:41 0.724 INF [MODS] Start loading
2017-06-26T10:11:41 0.725 INF [MODS] Trying to load from Allocs_CommandExtensions
Non platform assembly: /home/sdtd/engine/Mods/Allocs_CommandExtensions/AllocsCommands.dll (this message is harmless)
2017-06-26T10:11:41 0.739 INF [MODS] Loaded Mod: Allocs command extensions (12)
2017-06-26T10:11:41 0.740 INF [MODS] Trying to load from Allocs_CommonFunc
Non platform assembly: /home/sdtd/engine/Mods/Allocs_CommonFunc/7dtd-server-fixes.dll (this message is harmless)
2017-06-26T10:11:41 0.741 INF [MODS] Found ModAPI, creating instance
2017-06-26T10:11:41 0.741 INF [MODS] Loaded Mod: Allocs server fixes (14)
2017-06-26T10:11:41 0.741 INF [MODS] Trying to load from Allocs_WebAndMapRendering
Non platform assembly: /home/sdtd/engine/Mods/Allocs_WebAndMapRendering/MapRendering.dll (this message is harmless)
2017-06-26T10:11:41 0.742 INF [MODS] Found ModAPI, creating instance
2017-06-26T10:11:41 0.742 INF [MODS] Loaded Mod: Allocs MapRendering and Webinterface (19)
2017-06-26T10:11:41 0.743 INF [MODS] Trying to load from CoppisAdditions
Non platform assembly: /home/sdtd/engine/Mods/CoppisAdditions/CoppisAdditions.dll (this message is harmless)
2017-06-26T10:11:41 0.744 INF [MODS] Found ModAPI, creating instance
2017-06-26T10:11:41 0.744 INF [MODS] Loaded Mod: Coppis command additions (2)
2017-06-26T10:11:41 0.744 INF [MODS] Trying to load from ServerTools
Non platform assembly: /home/sdtd/engine/Mods/ServerTools/ServerTools.dll (this message is harmless)
2017-06-26T10:11:41 0.745 INF [MODS] Found ModAPI, creating instance
2017-06-26T10:11:41 0.745 INF [MODS] Loaded Mod: Server Tools (3.7)
2017-06-26T10:11:41 0.745 INF [MODS] Loading done
2017-06-26T10:11:41 0.755 INF Loading permissions file at '/home/sdtd/instances/OZCOOPI/admins.xml'
2017-06-26T10:11:41 0.788 INF Loading permissions file done.
2017-06-26T10:11:41 0.837 INF SdtdLog: No config found
[b]2017-06-26T10:11:41 0.839 INF[/b] Failed to register the log file writer: Sharing violation on path /home/sdtd/engine/sdtd.log
2017-06-26T10:11:41 0.841 INF   at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
 at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
 at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
 at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
 at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
 at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool,System.Text.Encoding)
 at SdtdLog.Init () [0x00000] in <filename unknown>:0
UMA Overlay loading took 2956 ms


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


UMA Slot loading took 3 ms



 

don't know where this belongs to, so i post it here.

 

This only happens to the second instance starting. in the first the log looks like this:

 

2017-06-26T03:16:05 0.784 INF [MODS] Loading done
2017-06-26T03:16:05 0.795 INF Loading permissions file at '/home/sdtd/instances/OZCOOPII/admins.xml'
2017-06-26T03:16:05 0.831 INF Loading permissions file done.
[b]2017-06-26T03:16:05 0.880 INF[/b] SdtdLog: No config found
UMA Overlay loading took 5006 ms


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


UMA Slot loading took 3 ms


 

The instance itself seems to run fine.

Link to comment
Share on other sites

really? because, there is something going into it...

 

^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@$
2017-06-26T10:18:02 25318.201 INF Started thread TelnetClientReceive_127.0.0.1:36722
2017-06-26T10:18:02 25318.202 INF Telnet connection from: 127.0.0.1:36724
2017-06-26T10:18:02 25318.202 INF Started thread TelnetClientSend_127.0.0.1:36722
2017-06-26T10:18:02 25318.202 INF Started thread TelnetClientSend_127.0.0.1:36724
2017-06-26T10:18:02 25318.202 INF Started thread TelnetClientReceive_127.0.0.1:36724
2017-06-26T10:18:02 25318.203 INF Telnet connection from: 127.0.0.1:36726
2017-06-26T10:18:02 25318.203 INF Started thread TelnetClientReceive_127.0.0.1:36726
2017-06-26T10:18:02 25318.203 INF Telnet connection from: 127.0.0.1:36728
2017-06-26T10:18:02 25318.203 INF Started thread TelnetClientSend_127.0.0.1:36726
2017-06-26T10:18:02 25318.204 INF Started thread TelnetClientReceive_127.0.0.1:36728
2017-06-26T10:18:02 25318.204 INF Started thread TelnetClientSend_127.0.0.1:36728
2017-06-26T10:18:02 25318.211 INF Executing command 'lp' by Telnet from 127.0.0.1:36722
2017-06-26T10:18:02 25318.259 INF Executing command 'lp' by Telnet from 127.0.0.1:36724
2017-06-26T10:18:02 25318.309 INF Executing command 'lp' by Telnet from 127.0.0.1:36726
2017-06-26T10:18:02 25318.360 INF Executing command 'lp' by Telnet from 127.0.0.1:36728
2017-06-26T10:18:03 25319.201 INF Exited thread TelnetClientSend_127.0.0.1:36726
2017-06-26T10:18:03 25319.201 INF Telnet connection closed: 127.0.0.1:36722
2017-06-26T10:18:03 25319.202 INF Exited thread TelnetClientSend_127.0.0.1:36724
2017-06-26T10:18:03 25319.202 INF Telnet connection closed: 127.0.0.1:36728
2017-06-26T10:18:03 25319.202 INF Exited thread TelnetClientSend_127.0.0.1:36728
2017-06-26T10:18:03 25319.202 INF Telnet connection closed: 127.0.0.1:36726
2017-06-26T10:18:03 25319.202 INF Exited thread TelnetClientReceive_127.0.0.1:36726
2017-06-26T10:18:03 25319.202 INF Exited thread TelnetClientReceive_127.0.0.1:36728
2017-06-26T10:18:03 25319.202 INF Exited thread TelnetClientSend_127.0.0.1:36722
2017-06-26T10:18:03 25319.202 INF Exited thread TelnetClientReceive_127.0.0.1:36722
2017-06-26T10:18:03 25319.203 INF Telnet connection closed: 127.0.0.1:36724
2017-06-26T10:18:03 25319.203 INF Exited thread TelnetClientReceive_127.0.0.1:36724
2017-06-26T10:19:03 25378.695 INF Telnet connection from: 127.0.0.1:39236
2017-06-26T10:19:03 25378.695 INF Started thread TelnetClientReceive_127.0.0.1:39236
2017-06-26T10:19:03 25378.695 INF Started thread TelnetClientSend_127.0.0.1:39236
2017-06-26T10:19:03 25378.696 INF Telnet connection from: 127.0.0.1:39238
2017-06-26T10:19:03 25378.696 INF Started thread TelnetClientSend_127.0.0.1:39238
2017-06-26T10:19:03 25378.696 INF Started thread TelnetClientReceive_127.0.0.1:39238
2017-06-26T10:19:03 25378.702 INF Executing command 'lp' by Telnet from 127.0.0.1:39236
2017-06-26T10:19:03 25378.752 INF Executing command 'lp' by Telnet from 127.0.0.1:39238

 

Some binary code first and then logs... (from the first instance) i truncated the file and it regrow.

 

By the way: it would be great to hide all Telnet connections in the logs because sometimes its full of telnet spam.

Link to comment
Share on other sites

I noticed my map and admins files weren't loading. After reviewing the log, I notice the config files are being loaded from /home/sdtd/.local/share/7DaysToDie/Saves/

 

Did this change in Alpha 16? is there a way to configure where these files are loaded from? I tried to specify the full path in the config.xml, but it still tried to find the file in .local.

 

Debian 8.

Link to comment
Share on other sites

I noticed my map and admins files weren't loading. After reviewing the log, I notice the config files are being loaded from /home/sdtd/.local/share/7DaysToDie/Saves/

 

Did this change in Alpha 16? is there a way to configure where these files are loaded from? I tried to specify the full path in the config.xml, but it still tried to find the file in .local.

 

Debian 8.

Wonder how this is related to the mod :(

 

Anyway, nothing changed and in my tests it still works just fine.

Link to comment
Share on other sites

I noticed my map and admins files weren't loading. After reviewing the log, I notice the config files are being loaded from /home/sdtd/.local/share/7DaysToDie/Saves/

 

Did this change in Alpha 16? is there a way to configure where these files are loaded from? I tried to specify the full path in the config.xml, but it still tried to find the file in .local.

 

Debian 8.

 

Only real codebreaking change (modapi wise) was PlayerSpawnedInWorld API. ModManager feeds it spawncoords since b129. But Allocs does not use that.

 

Everything else is absolutely fine.

 

Cheers mate

Link to comment
Share on other sites

Hey,

 

i just installed my fresh A16 stable server (Linux) and copied the Mods Folder into the root directory of the server. If i open it in my browser i only get the standard control panel instead of the alloc frontend. I used to have an experimental server which worked without any problems. Anyone facing similar problems?

 

TIA,

jcr

Link to comment
Share on other sites

Webmap (rev.301) Not Working With b138

 

Hey,

 

i just installed my fresh A16 stable server (Linux) and copied the Mods Folder into the root directory of the server. If i open it in my browser i only get the standard control panel instead of the alloc frontend. I used to have an experimental server which worked without any problems. Anyone facing similar problems?jcr

 

Updated to b138 today and can't seem to get the webmap either. Using latest server fixes (rev.301)

Link to comment
Share on other sites

Still Can't Get webmap to Work in A16(b138)

 

Working fine here.

Just figure you wold want a sounding board so you know it is working for others.

 

Thanks, I'll have to investigate further...

 

Well, can't get it to work here. Had two servers running fine with webmap yesterday, only changes were updating to A16_stable. Checked the serveradmin.xml & webpermissions.xml, started with fresh default files. Reinstalled server fixes. When I open the map in a browser, the console reports the connection and says INF Started thread TelnetClientReceive_my.ip.addr.ess, but no map ever comes up, not even the background. Tried with both IE and Firefox. I thought at first it was something that had changed in the serveradmin.xml & webpermissions.xml, hence starting fresh with defaults. Here is what I have in both anyway, only changed the SteamIDs here for privacy. No idea what the problem is. :(

 

<?xml version="1.0" encoding="UTF-8"?>

<!--

This file holds the settings for who is banned, whitelisted,

admins and server command permissions.

Steam ID can be found using http://steamid.co/

 

STEAM ID INSTRUCTIONS:

===============================================================

http://steamid.co/ instructions:

Input the player's name in the search field. example: Kinyajuu

If the name doesn't work, you can also use the url of their steam page.

Also you may add/remove admins, mods, whitelist, blacklist using in game commands.

You will want the STEAM64ID. example: 76561198021925107

 

PERMISSION LEVEL INSTRUCTIONS:

===============================================================

permission level : 0-1000, a user may run any command equal to or above their permission level.

Users not given a permission level in this file will have a default permission level of 1000!

 

COMMAND PERMISSIONS INSTRUCTIONS:

===============================================================

cmd : This is the command name, any command not in this list will not be usable by anyone but the server.

permission level : 0-1000, a user may run any command equal to or above their permission level.

Commands not specified in this file will have a default permission level of 0!

 

EVERYTHING BETWEEN <!- - and - -> IS COMMENTED OUT! THE ENTRIES BELOW ARE EXAMPLES THAT ARE NOT ACTIVE!!!

-->

 

<adminTools>

<admins>

<!-- <admin steamID="76561198021925107" permission_level="0" /> -->

<admin steamID="7656119799915xxxx" permission_level="0" />

</admins>

 

<permissions>

<!-- <permission cmd="dm" permission_level="0" /> -->

<!-- <permission cmd="kick" permission_level="1" /> -->

<!-- <permission cmd="say" permission_level="1000" /> -->

<permission cmd="chunkcache" permission_level="1000" />

<permission cmd="debugweather" permission_level="1000" />

<permission cmd="getgamepref" permission_level="1000" />

<permission cmd="getgamestat" permission_level="1000" />

<permission cmd="gettime" permission_level="1000" />

<permission cmd="help" permission_level="1000" />

<permission cmd="listplayerids" permission_level="1000" />

<permission cmd="listthreads" permission_level="1000" />

<permission cmd="memcl" permission_level="1000" />

<permission cmd="settempunit" permission_level="2000" />

</permissions>

 

<!-- ONLY PUT ITEMS IN WHITELIST IF YOU WANT WHITELIST ONLY ENABLED!!! -->

<!-- If there are any items in the whitelist, the whitelist only mode is enabled -->

<!-- Nobody can join that ISN'T in the whitelist or admins once whitelist only mode is enabled -->

 

<whitelist>

<!-- <whitelisted steamID="" /> -->

<whitelisted steamID="7656119799915xxxx" />

<whitelisted steamID="7656119804448xxxx" />

<whitelisted steamID="7656119800797xxxx" />

<whitelisted steamID="7656119802684xxxx" />

<whitelisted steamID="7656119800245xxxx" />

<whitelisted steamID="7656119802865xxxx" />

<whitelisted steamID="7656119808525xxxx" />

<whitelisted steamID="7656119797228xxxx" />

<whitelisted steamID="7656119798140xxxx" />

<whitelisted steamID="7656119812501xxxx" />

<whitelisted steamID="7656119834942xxxx" />

<whitelisted steamID="7656119797023xxxx" />

<whitelisted steamID="7656119799983xxxx" />

<whitelisted steamID="7656119803506xxxx" />

<whitelisted steamID="7656119803355xxxx" />

<whitelisted steamID="7656119804205xxxx" />

</whitelist>

 

<blacklist>

<!-- <blacklisted steamID="" unbandate="" /> -->

<blacklisted steamID="7656119827563xxxx" unbandate="2027-01-12 10:43:56" reason="Cheater/Exploiter" />

<blacklisted steamID="7656119832394xxxx" unbandate="2027-01-11 10:36:09" reason="Hacking, admin only items...you and king can go ♥♥♥♥ yourselves! Reported and banned for life here." />

<blacklisted steamID="7656119822447xxxx" unbandate="2027-01-09 19:25:03" reason="Hacking, admin only items...you and king can go ♥♥♥♥ yourselves! Reported and banned for life here." />

<blacklisted steamID="7656119823515xxxx" unbandate="2027-01-19 10:05:12" reason="China Blacklisted, GBL Entries" />

<blacklisted steamID="7656119801909xxxx" unbandate="2027-03-28 08:59:19" reason="Abusing Dupe Exploit" />

<blacklisted steamID="7656119834014xxxx" unbandate="2027-04-18 11:10:45" reason="GBL Entry for Hacking" />

<blacklisted steamID="7656119826933xxxx" unbandate="2027-04-18 11:12:21" reason="Multiple GBL Hacking Entries" />

<blacklisted steamID="7656119833699xxxx" unbandate="2027-04-18 11:15:27" reason="GBL Entry for Hacking" />

<blacklisted steamID="7656119828461xxxx" unbandate="2027-04-18 10:55:20" reason="GBL Entry, Suspicious" />

<blacklisted steamID="7656119833814xxxx" unbandate="2027-04-18 11:05:07" reason="Chinese Hacker" />

<blacklisted steamID="7656119807151xxxx" unbandate="2027-04-18 11:06:44" reason="GBL Ban Entries, Suspicious" />

<blacklisted steamID="7656119806328xxxx" unbandate="2027-04-18 11:08:24" reason="Unsportsmanlike Behavior on Other Server, GBL Entry" />

<blacklisted steamID="7656119833305xxxx" unbandate="2027-04-18 11:13:49" reason="GBL Entries for Exploits" />

<blacklisted steamID="7656119827769xxxx" unbandate="2027-04-19 09:18:48" reason="Multiple GBL Entries, Hacking" />

<blacklisted steamID="7656119800448xxxx" unbandate="2027-04-28 17:47:21" reason="VAC, GBL Bans" />

<blacklisted steamID="7656119832303xxxx" unbandate="2027-05-11 09:38:57" reason="Previous GBL Entry" />

</blacklist>

</adminTools>

 

<?xml version="1.0" encoding="UTF-8"?>

<webpermissions>

 

<admintokens>

<!-- <token name="adminuser1" token="supersecrettoken" permission_level="0" /> -->

</admintokens>

 

<permissions>

<permission module="webapi.getstats" permission_level="2000" />

<permission module="webapi.executeconsolecommand" permission_level="0" />

<permission module="webapi.getwebuiupdates" permission_level="2000" />

<permission module="webapi.getallowedcommands" permission_level="2000" />

<permission module="web.map" permission_level="2000" />

 

<!-- <permission module="webapi.getlog" permission_level="0" /> -->

<!-- <permission module="webapi.executeconsolecommand" permission_level="0" /> -->

 

<!-- <permission module="webapi.getstats" permission_level="1000" /> -->

<!-- <permission module="webapi.getplayersonline" permission_level="1000" /> -->

 

<!-- <permission module="webapi.getplayerslocation" permission_level="1000" /> -->

<!-- <permission module="webapi.viewallplayers" permission_level="1" /> -->

 

<!-- <permission module="webapi.getlandclaims" permission_level="1000" /> -->

<!-- <permission module="webapi.viewallclaims" permission_level="1" /> -->

 

<!-- <permission module="webapi.getplayerinventory" permission_level="1" /> -->

 

<!-- <permission module="webapi.gethostilelocation" permission_level="1" /> -->

<!-- <permission module="webapi.getanimalslocation" permission_level="1" /> -->

</permissions>

 

</webpermissions>

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

Hi Guy, I apologise if this has been answered already before, but is there a way to get the full map without players first exploring?

 

Thanks in advance!

 

Ps i cant live without Alloc fixes! they super cool thank you

Link to comment
Share on other sites

Hi Guy, I apologise if this has been answered already before, but is there a way to get the full map without players first exploring?

 

Thanks in advance!

 

Ps i cant live without Alloc fixes! they super cool thank you

 

From console use the command rendermap, it could take a while to complete.

Link to comment
Share on other sites

Actually rendermap won't do anything different than what you get anyway: Only the visited areas of the map will get shown (it's meant for if you add the mod after the save has already been played on for a while.

 

Use A16 vanilla's visitmap command.

Link to comment
Share on other sites

Hey Alloc, any idea what might be the problem with respect to me getting no webmap with b138, something I can check I've not done? I've run several servers, vanilla and modded with no problems. I had a dedi running on b119, updated it to b129 without wiping, all was well. Updated it to b138 without wiping, no webmap. I can get the control panel still via browser, but no webmap for the new, fresh b138 dedi I started or the old b119. I posted the serveradmin.xml and webpermissions.xml I'm using for the fresh dedi a couple posts above. This is the fresh b138 server http://xxxx:8082/ Thanks for your consideration!

Edited by Boa_2K7
No longer need URL (see edit history)
Link to comment
Share on other sites

Looks fine. Maybe try using the correct port in your URL? :p

 

8089 for the Telnet port? OK, I set that to 8080 and Control Panel to 8081, game port 26900. All default far as I know. No change. Were you able to get the webmap at the URL I sent earlier today in my first post to you? Sorry, but I'm at a total loss as to what the problem is. Only changes since before all was working is updating to b138, then no webmap for any of my dedis.

Link to comment
Share on other sites

8089 for the Telnet port? OK, I set that to 8080 and Control Panel to 8081, game port 26900. All default far as I know. No change. Were you able to get the webmap at the URL I sent earlier today in my first post to you? Sorry, but I'm at a total loss as to what the problem is. Only changes since before all was working is updating to b138, then no webmap for any of my dedis.

 

Oh ffs! Man I'm a knob....I've got it, doh! Port +1. *facepalm* Thanks for your time Alloc.

Link to comment
Share on other sites

Does it really say you're not logged in after logging in or do you simply not see any map after logging in?

 

Sorry Alloc.. I'd not seen your reply, and gave up on it for that time (would rather play than mess about for the map).

I tried with the new server release to get it all working again, but same issue.

 

I am logging in with Steam, it then returns to the map screen, but shows "Not Logged In" down the botton, with the login button for steam credentials again.

Exact same scenario as described by Backbite.

 

I'm not exactly proficient with linux, but I've followed the guides to get stuff up and running lol.

All is working fine (game servers, accessibilty etc) and all is great, except this map won't load.

Session ID is provided, and valid. Not blocked. etc.

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