• 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

Well my map now has 1 offline player and the icon for that player is showing up, so I think it is mostly solved. Might still be some issues with the permissions though. I tried to set viewallclaims and it errored on me, not sure what that one does. Also, there is a null permission?

Going to check this out more after work and see if I can get your JS changes merged into my own.

2015-10-08T11:55:02 108.864 INF Executing command 'webpermission list' by ControlPanel

Defined web function permissions:

Level: Web function

2000: web.map

2000: webapi.getanimalslocation

2000: webapi.getrawentitieslist

2000: webapi.gethostilelocation

0: webapi.null

2000: webapi.getplayersonline

2000: webapi.getplayerslocation

2000: webapi.getplayerinventory

2000: webapi.getlandclaims

2000: webapi.getstats

0: webapi.executeconsolecommand

0: webapi.getlog

2000: webapi.getwebuiupdates

0: webapi.viewallclaims

2000: webapi.viewallplayers

2015-10-08T11:55:48 155.091 INF Executing command 'webpermission webapi.viewallclaims 2000' by ControlPanel

Invalid sub command "webapi.viewallclaims".
 
I tried to set viewallclaims and it errored on me
You're using the webpermission command wrong.

Usage:

Code:
webpermission add <webfunction> <level>
webpermission remove <webfunction>
webpermission list
You can also set it via .xml if you prefer.

I tried to set viewallclaims [...] not sure what that one does.
It's described in my original notes:

Permission level for 'webapi.viewallclaims' is now required for a viewer to see all claims, otherwise the permission level for 'webapi.getlandclaims' will only show viewer-owned claims. A viewer requires both 'webapi.getlandclaims' and 'webapi.viewallclaims' to be set for all claims to show (you can't just set 'webapi.viewallclaims').



Also, there is a null permission?
Yes, the permissions I added are mapped to the webapi Null (which sends a blank plain/text response). This is used to work around the limitation that every permission must map to a webapi handler method so that we can set multiple permissions per api module.
 
Last edited by a moderator:
Same way... we wrote our own server manager, so we just applied the change to all teleport actions
I am having the issue where /home returns players to a void so I would love to know how to do this myself to avoid the hassle of logging in/out after every use of /home. I am using FrontRunnerTek, just need to know how to set this up so when someone types /home it executes the teleport several times but then has a time limit still. If anyone could tell me how to do this I would be most appreciative. Thank you and happy hunting.

 
I am having the issue where /home returns players to a void so I would love to know how to do this myself to avoid the hassle of logging in/out after every use of /home. I am using FrontRunnerTek, just need to know how to set this up so when someone types /home it executes the teleport several times but then has a time limit still. If anyone could tell me how to do this I would be most appreciative. Thank you and happy hunting.
You could try the safe fall method I have explained here. Not exactly what you're looking for, but works great until A13 gets here.

https://7daystodie.com/forums/showthread.php?32862-Server-Tools&p=324602&viewfull=1#post324602

 
Hey Alloc!

After Madmole dropped that awesome video last night and all the hype for A13 it got me thinking.

Do you have a news/updates/improvements you can share that are waiting for A13 to drop?

 
Great -- I found what was causing those permissions to be dropped. Basically, the framework for this mod is dynamically reading each API and loading it as a module with a permission, so each permission must be mapped to an API. I've worked around that for this next build, which should read and allow you to set these new permissions.
New build binaries:

server_fixes_psouza_28115_697.zip

New build source code:

server_fixes_source_psouza_28115_697.zip
I'm running this version of the fixes. When I look at the logs from the web/map, They load from the beginning every time and "Mark As Read" does nothing to help in that regard. I've got a log over 7000 lines long as this point that loads every time I use that section. Is there a fix or workaround?

 
I'm running this version of the fixes. When I look at the logs from the web/map, They load from the beginning every time and "Mark As Read" does nothing to help in that regard. I've got a log over 7000 lines long as this point that loads every time I use that section. Is there a fix or workaround?
None of my updates touch or interfere with how the web represents server logs, so that's probably an issue in the svn copy Alloc has, too. I can take a look at it and see if I can reproduce the problem. If I can reproduce it, I can fix it. If not, well -- I'll have to have you help with getting me more information.

Log issue aside, how are you enjoying my enhancements to the server mod?

 
Theyre great. My only gripe is the player icons are way too big and seem to take away from the precision of their placement on the map. I liked the pins used in the base version better, but that doesnt mean a smaller icon like the zombie or animal icons wouldnt be good.

 
With the new map features of A13, have you considered adding a way to add in-game player made map markers to the web map? This would probably only be useful to PVE servers, but would be a nice option.

 
sry for 2nd Post, but could not edit the first post.

I set my control panel port to 25080:

but Output_log says its out of range.

Look here:

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.

2015-12-13T03:18:04 11.272 INF WorldStaticData.Init() needed 7.459s

Platform assembly: /home/sdtd/engine/7DaysToDieServer_Data/Managed/System.Configuration.dll (this message is harmless)

2015-12-13T03:18:04 11.342 INF Started Telnet on 25023

2015-12-13T03:18:04 11.352 INF Error in StateManager.Awake: System.MissingMethodException: Method not found: 'NGuiInvGridCreativeMenu.GetAllItems'.

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

2015-12-13T03:18:04 11.353 ERR GetInt: InvalidCastException FavoriteServersList

2015-12-13T03:18:04 11.353 INF Webserver not started (ControlPanelPort not within 1-65534)

2015-12-13T03:18:04 11.353 INF Awake done

2015-12-13T03:18:04 11.682 INF Atlas reset took 93 ms

2015-12-13T03:18:04 11.682 INF Atlas load took 325 ms

2015-12-13T03:18:04 11.767 INF NET: Starting server protocols

2015-12-13T03:18:04 11.798 INF NET: Unity NW server started

2015-12-13T03:18:04 11.798 INF [steamworks.NET] NET: Server started

2015-12-13T03:18:04 11.798 INF StartGame

2015-12-13T03:18:04 11.917 INF Atlas reset took 117 ms

2015-12-13T03:18:04 11.920 INF Persistent GamePrefs saved

 
@Follo What happens if you use a much lower port, like the default for the control panel?

- - - Updated - - -

@Follo What happens if you use a much lower port, like the default for the control panel?

Also, did you update the mod files to the A13 version?

- - - Updated - - -

@Follo What happens if you use a much lower port, like the default for the control panel?

Also, did you update the mod files to the A13 version?

- - - Updated - - -

@Follo What happens if you use a much lower port, like the default for the control panel?

Also, did you update the mod files to the A13 version?

- - - Updated - - -

@Follo What happens if you use a much lower port, like the default for the control panel?

Also, did you update the mod files to the A13 version?

- - - Updated - - -

@Follo What happens if you use a much lower port, like the default for the control panel?

Also, did you update the mod files to the A13 version?

- - - Updated - - -

@Follo What happens if you use a much lower port, like the default for the control panel?

Also, did you update the mod files to the A13 version?

- - - Updated - - -

@Follo What happens if you use a much lower port, like the default for the control panel?

Also, did you update the mod files to the A13 version?

- - - Updated - - -

@Follo What happens if you use a much lower port, like the default for the control panel?

Also, did you update the mod files to the A13 version?

- - - Updated - - -

@Follo What happens if you use a much lower port, like the default for the control panel?

Also, did you update the mod files to the A13 version?

- - - Updated - - -

@Follo What happens if you use a much lower port, like the default for the control panel?

Also, did you update the mod files to the A13 version?

 
stupid database error made me post 20 times >.<

Do you have any mods?

Also, could you upload your config and the full output log?

 
getting this error:

"An error occured or you have not logged in. Try logging in with the Steam login in the lower left!"

logged in with steam id and still same error

 
sry for 2nd Post, but could not edit the first post.
I set my control panel port to 25080:

but Output_log says its out of range.

Look here:

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.

2015-12-13T03:18:04 11.272 INF WorldStaticData.Init() needed 7.459s

Platform assembly: /home/sdtd/engine/7DaysToDieServer_Data/Managed/System.Configuration.dll (this message is harmless)

2015-12-13T03:18:04 11.342 INF Started Telnet on 25023

2015-12-13T03:18:04 11.352 INF Error in StateManager.Awake: System.MissingMethodException: Method not found: 'NGuiInvGridCreativeMenu.GetAllItems'.

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

2015-12-13T03:18:04 11.353 ERR GetInt: InvalidCastException FavoriteServersList

2015-12-13T03:18:04 11.353 INF Webserver not started (ControlPanelPort not within 1-65534)

2015-12-13T03:18:04 11.353 INF Awake done

2015-12-13T03:18:04 11.682 INF Atlas reset took 93 ms

2015-12-13T03:18:04 11.682 INF Atlas load took 325 ms

2015-12-13T03:18:04 11.767 INF NET: Starting server protocols

2015-12-13T03:18:04 11.798 INF NET: Unity NW server started

2015-12-13T03:18:04 11.798 INF [steamworks.NET] NET: Server started

2015-12-13T03:18:04 11.798 INF StartGame

2015-12-13T03:18:04 11.917 INF Atlas reset took 117 ms

2015-12-13T03:18:04 11.920 INF Persistent GamePrefs saved
I get the same error in the log. So what did you do to fix this?

I checked all my settings and they are the same as before the new alpha.

 
Back
Top