Jump to content

Improvements for the dedicated server


Alloc

Recommended Posts

rendermap does not work in client console, only on dedicated control panel, intended?

 

2017-06-11T15:55:02 74.784 INF Error in RenderMap.Run: System.UnauthorizedAccessException: Access to the path "d:\Worls/Navezgane/NavezganeDedi/map" is denied. at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00000] in <filename unknown>:0

at System.IO.Directory.CreateDirectory (System.String path) [0x00000] in <filename unknown>:0

at AllocsFixes.MapRendering.MapRendering.WriteMapInfo () [0x00000] in <filename unknown>:0

at AllocsFixes.MapRendering.MapRendering.RenderFullMap () [0x00000] in <filename unknown>:0

at AllocsFixes.CustomCommands.RenderMap.Execute (System.Collections.Generic.List`1 _params, CommandSenderInfo _senderInfo) [0x00000] in <filename unknown>:0

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

If I'm running the most recent fixes, what would cause my map to not show up on the website? The site loads, and we can login to it, but it never displays a map.

 

I have run the rendermap command via the control panel twice, and both successfully completed.

Link to comment
Share on other sites

yep, The case: there was a noise, and 0 hostiles and 0 animals on the map. When i found where the noise was coming from: a snake that bite my ass :D

 

Same to a wolf, there were animals and hostiles on the map this time but none around my position on the map while i was in front of a wolf.

Link to comment
Share on other sites

Steam OpenID not passing

 

Hello everyone,

I've installed a server, A16, and the server fixes on Debian 8.

 

Permissions and everything work. The console shows the OpenID getting passed

"2017-06-18T10:40:07 99.985 INF Steam OpenID login from 71.xx.xx.xx:55594 with ID 76561197986258927, permission level 0"

 

But the web page on 8082 returns "Not logged in." after the OpenID transaction.

 

Anyone else experienced this?

 

Edit: I've noticed the error INF Steam certificate error: RemoteCertificateChainErrors, which appears to be coming from the steamcommunity.com response.

Is there a certificate I need to update on Debian to make it work? the ca-certificates package is already up to date.

Edited by Backbite
Discovered more info on error. (see edit history)
Link to comment
Share on other sites

@all: Regarding the animals: I'll have a look when we get closer to A16 stable, currently just too busy with fixing stuff etc ;)

 

 

Permissions and everything work. The console shows the OpenID getting passed

"2017-06-18T10:40:07 99.985 INF Steam OpenID login from 71.xx.xx.xx:55594 with ID 76561197986258927, permission level 0"

 

But the web page on 8082 returns "Not logged in." after the OpenID transaction.

 

Anyone else experienced this?

I don't see why it would fail if it says that you got the permission level assigned correctly. *Unless* you have cookies turned off that is ;)

 

 

Edit: I've noticed the error INF Steam certificate error: RemoteCertificateChainErrors, which appears to be coming from the steamcommunity.com response.

Is there a certificate I need to update on Debian to make it work? the ca-certificates package is already up to date.

No, the error is "normal" as it simply can't validate the certificate chain.

Link to comment
Share on other sites

@all: Regarding the animals: I'll have a look when we get closer to A16 stable, currently just too busy with fixing stuff etc ;)

 

 

 

I don't see why it would fail if it says that you got the permission level assigned correctly. *Unless* you have cookies turned off that is ;)

 

 

 

No, the error is "normal" as it simply can't validate the certificate chain.

 

It seems to be only broken in my particular setup using google compute VMs.

I created a test box using a hyper-v VM, A15.2 works fine, and when I upgrade it to A16 it still works.

 

I'll have to compare all the installed packages.

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

I replicated the issue with a fresh Google compute VM.

Their Debian 8 image is so stripped down and lightweight that it seems to be missing something.

Everything else about the server runs great. Once a new release comes out or people get bored with the server, I'll try again on Debian 9.

Link to comment
Share on other sites

Have you checked if your browser accepts the session id cookie for the page? That's the only thing I can imagine where it could fail. If the game runs it shouldn't have any other external dependencies that would break something like that.

Link to comment
Share on other sites

Have you checked if your browser accepts the session id cookie for the page? That's the only thing I can imagine where it could fail. If the game runs it shouldn't have any other external dependencies that would break something like that.

 

I have, it works perfectly fine on a full fat Debian 8 installation.

I used firefox's developer tools to check and verify that the session and cookies were being set the exact same way on both servers. (The working and non-working server.)

And line 239 of Web.cs in the source is where it should be passed off.

I agree, it's supposed to work without external dependencies.

 

The only possibility I can think of right now is a very scenario-specific Mono bug - possibly related to the core OS/kernel (???)

 

Edit: I've also checked with browsers outside my internal network, and from completely different computers.

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

Well, if you log in again you will get a new session, that's ok. That should also happen if you were to relogin on the working server, it's just that you normally wouldn't do that ;)

The interesting part here is that the browser does indeed seem to send the session cookie with the requests, so that's fine too. No idea currently what would cause your issue :(

Link to comment
Share on other sites

There is an exe called LP2DB - List Players 2 DB - it runs under mono on linux or natively in windows.

It connects to the server via telnet and periodically (we use 5sec interval) sends the 'lp' command to the server. It then sends an SQL to a local MySQL instance to save the positions and a timestamp according to their Steam ID.

Every minute it also sends a showinventory command for each connected player. This is also saved in the DB and stored with the SteamID and timestamp.

 

I wrote a player info page using JS Datatables - one of the functions is to click on a player and then view the inventory and navigate via datepicker or increments.

 

The only thing remaining is the ability to search based on location/date/inventory contents, and a representation on the map of the player tracks, but that will have to wait till I get time.

 

PM me your email address (or add me on steam with the same name I use here) and we can sort it out, if you want to try it.

 

Credit goes to Prisma501 for writing the program.

 

PS: When I said PrismaMod is needed I was mistaken, it is not needed for this functionality.

 

Is there an update to the LP2DB as it doesnt work with A16.

 

The current one spams the console with

2017-06-23T11:26:28 44599.792 ERR Error in ApiHandler.HandleRequest(): Handler getplayersonline threw an exception:

MissingMethodException: Method not found: 'EntityAlive.get_Stamina'.

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

It has to be something in the Google cloud platform.

When it comes time to wipe the server, I'll try it on the new distro.

 

Did you ever sort this out?

I am having the exact same issue on my hosted server.

 

I have just setup a new Linux Ubuntu server, and I am hosting 7 days to die on it.

Alpha 16 latest.

 

Alloc's server fixes applied.

 

Map just won't progress when I try to log in to it.

Same experience as you.

 

This is my first time setting up a Linux box, so hopefully all is working as it should...

Edited by Dracknar (see edit history)
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...