• 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

- Map view border will not update with new size when resizing browser window. I.E. from maximized to fullscreen (F11). The map will be displayed with black borders.- When you hide the left navigation panel, one row of tiles coming from the right side won't be loaded properly on moving. Already loaded tiles will be shown properly when rearranging map.
Hm, yeah, seems like the component doesn't register any resizing of the area it uses so fails to use it when it gets bigger. Will have a look if this can be fixed.

- Last options (like show players, enemies, animals or the reload tiles timer) will be lost when you hit the update button (F5). Maybe set a (session) cookie where the options will be saved?
Sounds like a good idea, added to my list.

- Some animals will be displayed as enemy: Boars, Snakes, Bears, ZomBears, Wolves, etc. - this is very irritating especially when hunting.
That's just what the game says about them (and kinda ok imho as those are actually attacking you).

- Center map on selected player, keep map centered on selected player. (maybe optional via checkbox) Actually the selected player will just barely be kept inside the map view while traveling above the view border.
Yeah, that's been in there for a while now and even already had a ticket :)

Just never got around to it. There's still a lot of work to be done on the web page.

- Possibility to assign special icons to each NPC type via stylesheet. Actually there are only the 2 icons for enemies and wildlife.
Not exactly sure if this can be achieved as it would have to have a fallback if you don't have any custom icons. No idea how this would work for the current setup :(

Also, I don't know the impact of "mem", but it looks "heavy" on the load. As in it mostly takes about a second or two to respond.
Hm, if it takes this long I suppose it found a bunch of stuff to clean up (and that won't hurt :) ).It shouldn't do this every time though, only if running it only every few hours or so if a lot of stuff has happened.

But yeah, a simple uptime command won't hurt either. As Prisma put out one for this already I'll only add that to A17 vanilla though.

 
If and until alloc does include, you can use this little standalone uptime mod.
It only contains the "uptime" command.

https://1drv.ms/u/s!AvzZsIAN_6-w9TDUtqtXtQyFlyMU

Cheers
Awesome, cheers!

Hm, if it takes this long I suppose it found a bunch of stuff to clean up (and that won't hurt :) ).It shouldn't do this every time though, only if running it only every few hours or so if a lot of stuff has happened.
Have to say that it takes up 1-2 seconds every time. But it might have to do something with owning a popular vanilla server.

Anyway, should I use the "mem" command regularly? Cause my server is crashing about 4-6 times a day... Not sure if it would help.

 
Other than it taking a moment it shouldn't have any negative impact at least. Could have some positive effect, but can't say how much it would help with that :)

 
Other than it taking a moment it shouldn't have any negative impact at least. Could have some positive effect, but can't say how much it would help with that :)
Ah oki, cheers Alloc!

Little offtopic FYI, my server crashes of today:

Code:
# ls -l logs/20170907_*log.gz
-rw-r--r-- 1 steam steam  69712 Sep  7 02:38 logs/20170907_003501.log.gz
-rw-r--r-- 1 steam steam  58903 Sep  7 05:06 logs/20170907_023847.log.gz
-rw-r--r-- 1 steam steam  76283 Sep  7 12:10 logs/20170907_094701.log.gz
-rw-r--r-- 1 steam steam  62899 Sep  7 13:45 logs/20170907_121101.log.gz
-rw-r--r-- 1 steam steam  94648 Sep  7 15:33 logs/20170907_134601.log.gz
-rw-r--r-- 1 steam steam  76518 Sep  7 17:27 logs/20170907_153401.log.gz
-rw-r--r-- 1 steam steam  79948 Sep  7 21:37 logs/20170907_195901.log.gz
Don't know if this is normal ? :D

 
Last edited by a moderator:
Has never been part of this mod but the core game. Was a mistake it was enabled in the public build in the first place though ;)

 
Ahoy Alloc,

I've used your server fixes for a long time and it has been very helpful to me and my admins.

So cheers :first: (pretend it's a beer, couldn't find any :D )

-- Dug

 
a tiny bit off-topic, but has anyone had any success in displaying the map-tiles in a current leaflet installation (1.2)? I've been trying for days and have zero luck :/

 
Less off-topic than a lot of other posts in here ;)

Actually tried updating to 1.0 some time ago but as a lot of stuff changed in how the coordinate system works and I didn't want to spend too much time at that point I didn't follow it through to the end. Still gotta get that done at some point, 1.0 has some major improvements, especially the pin handling.

 
Less off-topic than a lot of other posts in here ;) Actually tried updating to 1.0 some time ago but as a lot of stuff changed in how the coordinate system works and I didn't want to spend too much time at that point I didn't follow it through to the end. Still gotta get that done at some point, 1.0 has some major improvements, especially the pin handling.
I did manage it by now, got the map tiles and metrics working on 1.2. Contact me if you are interested.

And sorry this took so long, forum notifications got send to my spam-folder :)

 
Please help! Is there any way to disable or change the frequency of the "WARNING You are close to the world border... turn back!" PMs?

 
Sounds like an envul thing, change to Zero on the border in settings

- - - Updated - - -

Please help! Is there any way to disable or change the frequency of the "WARNING You are close to the world border... turn back!" PMs?
Madman, Ive not seen that on the common mods, yet it is in envul? if you use that too you'll need to change border in settings to 0 "Disabled"

If your not using Envul, then another SM your using or mod config will need it set to disabled but Last time I checked, theres only one tiny little town with a few superstores in the radzone, and if your trying to create an area there for a jail or something theres no point - Last test I did was for a jail, render so many blocks to air and at that time 16.3 even if you change the block type in a rad area, players still died when I tested it, hope this helps

 
Last edited by a moderator:
I NEED HELP.

The "savegame" command no longer works on my server, so as soon as it restarts it always returns to day 222, which is a problem for the forges, crops and vendors.

Someone else happens?

zl8cnxwyS__mGZMnLAk8Ug.png


WdyLJzxsRr_I7vqg5r10FA.png


WdyLJzxsRr_I7vqg5r10FA.png

 
i found some error codes

I found them in web panel:

Error in Web.HandleRequest(): System.MissingMemberException: OpenID parameter "openid.mode" missing at AllocsFixes.NetConnections.Servers.Web.OpenID.getValue (System.Net.HttpListenerRequest _req, System.String _name) [0x00000] in :0 at AllocsFixes.NetConnections.Servers.Web.OpenID.Validate (System.Net.HttpListenerRequest _req) [0x00000] in :0 at AllocsFixes.NetConnections.Servers.Web.Web.DoAuthentication (System.Net.HttpListenerRequest _req, AllocsFixes.NetConnections.Servers.Web.WebConnection& _con) [0x00000] in :0 at AllocsFixes.NetConnections.Servers.Web.Web.HandleRequest (IAsyncResult result) [0x00000] in :0

 
I found them in web panel:
Looks like your servers not configured do you still have webmap.api in"/ --->"right/left or removed from the CP list? or the webpermissions are set incorrect with a host or 3rdparty not using the steam Api correct. If at browser end. A refresh may help. with login button Playing UP you'd expect to see some error as suck at least once in the log on these occasions.

They be where Id start looking = }

 
Last edited by a moderator:
Steam login for web interface seems to be broken.

Tried it with the default webpermissions file and a fully setup one. Just removed all the comments and set 'web.map' to permissions 2000. So players don't need to login to view.

Steps to reproduce:

  • Click the log in to steam.
  • Sent to '/session/login' and immediately redirected to steamcommunity site.
  • I login to steamcommunnity and get sent back to my server url at '/session/verify?all the open id stuffs here'
  • Only a 100% empty html page is loaded.


The console then has this error

2018-01-10T14:45:46 4072.662 INF Error in Web.HandleRequest(): System.Net.WebException: The remote server returned an error: (404) Not Found.at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] in <filename unknown>:0

at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] in <filename unknown>:0

[edit]

Upon browsing the source code I located

static OpenID () {ServicePointManager.ServerCertificateValidationCallback = (srvPoint, certificate, chain, errors) => {

if (errors == SslPolicyErrors.None)

return true;

Log.Out ("Steam certificate error: {0}", errors);

return true;

};

}
Searching through the log reveals: "Steam certificate error: RemoteCertificateNameMismatch, RemoteCertificateChainErrors" several lines remove from the other.

Seems that for some reason the ssl connection is failing. Anyone have clues as to why that would be? wget/curl have no issues connecting over ssl from the server.

 
Last edited by a moderator:
Problem..

Hey, I think I have a problem with alloc fixes ..

The server is running for a while but then the server crashes.

Code:
2018-01-15T00:00:59 8661.396 INF Time: 144.13m FPS: 22.35 Heap: 1665.5MB Max: 2346.7MB Chunks: 1278 CGO: 33 Ply: 4 Zom: 0 Ent: 8 (37) Items: 1 CO: 4 RSS: 3373.6MB
2018-01-15T00:01:00 8662.180 INF AIDirector: Scout spawning failed, FindHordeTargets() returned false!
Could not allocate memory: System out of memory!
Trying to allocate: 1398147B with 16 alignment. MemoryLabel: TempOverflow
Allocation happend at: Line:170 in 
Memory overview

[ ALLOC_DEFAULT ] used: 496043698B | peak: 506308940B | reserved: 531152183B 
[ ALLOC_TEMP_JOB ] used: 0B | peak: 0B | reserved: 2097152B 
[ ALLOC_GAMEOBJECT ] used: 72125098B | peak: 78462101B | reserved: 80549166B 
[ ALLOC_GFX ] used: 148035898B | peak: 326781712B | reserved: 148277692B 
[ ALLOC_PROFILER ] used: 0B | peak: 0B | reserved: 0B 
[ ALLOC_TEMP_THREAD ] used: 32968B | peak: 0B | reserved: 3145728B 
Could not allocate memory: System out of memory!
Trying to allocate: 1398147B with 16 alignment. MemoryLabel: TempOverflow
Allocation happend at: Line:170 in 
Memory overview

[ ALLOC_DEFAULT ] used: 496043698B | peak: 506308940B | reserved: 531152183B 
[ ALLOC_TEMP_JOB ] used: 0B | peak: 0B | reserved: 2097152B 
[ ALLOC_GAMEOBJECT ] used: 72125098B | peak: 78462101B | reserved: 80549166B 
[ ALLOC_GFX ] used: 148035898B | peak: 326781712B | reserved: 148277692B 
[ ALLOC_PROFILER ] used: 0B | peak: 0B | reserved: 0B 
[ ALLOC_TEMP_THREAD ] used: 32968B | peak: 0B | reserved: 3145728B 


(Filename:  Line: 1046)

Could not allocate memory: System out of memory!
Trying to allocate: 1398120B with 16 alignment. MemoryLabel: TempJobAlloc
Allocation happend at: Line:45 in 
Memory overview

[ ALLOC_DEFAULT ] used: 496043698B | peak: 506308940B | reserved: 531152183B 
[ ALLOC_TEMP_JOB ] used: 0B | peak: 0B | reserved: 2097152B 
[ ALLOC_GAMEOBJECT ] used: 72125098B | peak: 78462101B | reserved: 80549166B 
[ ALLOC_GFX ] used: 148035898B | peak: 326781712B | reserved: 148277692B 
[ ALLOC_PROFILER ] used: 0B | peak: 0B | reserved: 0B 
[ ALLOC_TEMP_THREAD ] used: 32968B | peak: 0B | reserved: 3145728B 
Could not allocate memory: System out of memory!
Trying to allocate: 1398120B with 16 alignment. MemoryLabel: TempJobAlloc
Allocation happend at: Line:45 in 
Memory overview

[ ALLOC_DEFAULT ] used: 496043698B | peak: 506308940B | reserved: 531152183B 
[ ALLOC_TEMP_JOB ] used: 0B | peak: 0B | reserved: 2097152B 
[ ALLOC_GAMEOBJECT ] used: 72125098B | peak: 78462101B | reserved: 80549166B 
[ ALLOC_GFX ] used: 148035898B | peak: 326781712B | reserved: 148277692B 
[ ALLOC_PROFILER ] used: 0B | peak: 0B | reserved: 0B 
[ ALLOC_TEMP_THREAD ] used: 32968B | peak: 0B | reserved: 3145728B 


(Filename:  Line: 1046)
and that came 1 hour before the crash.

Code:
Could not allocate memory: System out of memory!
Trying to allocate: 8388608B with 16 alignment. MemoryLabel: STL
Allocation happend at: Line:75 in 
Memory overview

[ ALLOC_DEFAULT ] used: 501947857B | peak: 506603764B | reserved: 536721828B 
[ ALLOC_TEMP_JOB ] used: 0B | peak: 0B | reserved: 2097152B 
[ ALLOC_GAMEOBJECT ] used: 78665257B | peak: 83879514B | reserved: 88459377B 
[ ALLOC_GFX ] used: 160801682B | peak: 326781712B | reserved: 161118906B 
[ ALLOC_PROFILER ] used: 0B | peak: 0B | reserved: 0B 
[ ALLOC_TEMP_THREAD ] used: 32752B | peak: 0B | reserved: 3145728B 
Could not allocate memory: System out of memory!
Trying to allocate: 8388608B with 16 alignment. MemoryLabel: STL
Allocation happend at: Line:75 in 
Memory overview

[ ALLOC_DEFAULT ] used: 501947857B | peak: 506603764B | reserved: 536721828B 
[ ALLOC_TEMP_JOB ] used: 0B | peak: 0B | reserved: 2097152B 
[ ALLOC_GAMEOBJECT ] used: 78665257B | peak: 83879514B | reserved: 88459377B 
[ ALLOC_GFX ] used: 160801682B | peak: 326781712B | reserved: 161118906B 
[ ALLOC_PROFILER ] used: 0B | peak: 0B | reserved: 0B 
[ ALLOC_TEMP_THREAD ] used: 32752B | peak: 0B | reserved: 3145728B 


(Filename:  Line: 1046)
Code:
Could not allocate memory: System out of memory!
Trying to allocate: 4194304B with 16 alignment. MemoryLabel: GfxDevice
Allocation happend at: Line:62 in 
Memory overview

[ ALLOC_DEFAULT ] used: 483589593B | peak: 496842152B | reserved: 513178331B 
[ ALLOC_TEMP_JOB ] used: 0B | peak: 0B | reserved: 2097152B 
[ ALLOC_GAMEOBJECT ] used: 78843994B | peak: 83572891B | reserved: 88661503B 
[ ALLOC_GFX ] used: 162610084B | peak: 326781712B | reserved: 162931849B 
[ ALLOC_PROFILER ] used: 0B | peak: 0B | reserved: 0B 
[ ALLOC_TEMP_THREAD ] used: 32968B | peak: 0B | reserved: 3145728B 
Could not allocate memory: System out of memory!
Trying to allocate: 4194304B with 16 alignment. MemoryLabel: GfxDevice
Allocation happend at: Line:62 in 
Memory overview

[ ALLOC_DEFAULT ] used: 483589593B | peak: 496842152B | reserved: 513178331B 
[ ALLOC_TEMP_JOB ] used: 0B | peak: 0B | reserved: 2097152B 
[ ALLOC_GAMEOBJECT ] used: 78843994B | peak: 83572891B | reserved: 88661503B 
[ ALLOC_GFX ] used: 162610084B | peak: 326781712B | reserved: 162931849B 
[ ALLOC_PROFILER ] used: 0B | peak: 0B | reserved: 0B 
[ ALLOC_TEMP_THREAD ] used: 32968B | peak: 0B | reserved: 3145728B 


(Filename:  Line: 1046)
in addition, I have just found that..

Code:
[s_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Setting breakpad minidump AppID = 251570

Native stacktrace:

/home/sdtd2/serverfiles/7DaysToDieServer_Data/Mono/x86/libmono.so(+0x8960f) [0xf6d1f60f]
/home/sdtd2/serverfiles/7DaysToDieServer_Data/Mono/x86/libmono.so(+0x21a20) [0xf6cb7a20]
linux-gate.so.1(__kernel_rt_sigreturn+0) [0xf7731cb0]
/lib/i386-linux-gnu/libc.so.6(+0x7782c) [0xf73bf82c]
/lib/i386-linux-gnu/libc.so.6(+0x69a1d) [0xf73b1a1d]
/lib/i386-linux-gnu/libc.so.6(fread+0x77) [0xf73a6487]
./7DaysToDieServer.x86() [0x850e247]
./7DaysToDieServer.x86() [0x84eb89e]
./7DaysToDieServer.x86() [0x850ceea]
./7DaysToDieServer.x86() [0x852f899]
./7DaysToDieServer.x86() [0x853008f]
./7DaysToDieServer.x86() [0x84e47c8]
/lib/i386-linux-gnu/libpthread.so.0(+0x627a) [0xf76fc27a]
/lib/i386-linux-gnu/libc.so.6(clone+0x66) [0xf742fb56]

Debug info from gdb:


=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================
this always happens when the server is restarted..

yesterday I also had an error message from allocs mod where the command "lp - list players" was executed.

I have a second server that is almost identical .. but everything works. I hope someone can help me

 
Back
Top