• 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

Ok just double tested it and I deleted all the server manager files as well as Alloc's fixs files, Downloaded and installed the newest versions and now I am getting this message in the server manager console.

"Alloc's Server Fixes is not the minimum version required for support of the extended features. Please ensure you are running the latest mod. Until updated, some extended features may not work."

Edit: Forgot to mention all commands still work in game, Just getting above error message in server manager console.

 
That's a problem of the manager then. Looks like FRT requires a specific version of the mod (or parses the version in a wrong way to allow for newer versions).

 
Could you describe in a bit more detail what you mean?
The game already supports add/remove for the banlist so I'm not quite sure what you want ;)

(Listing seems reasonable though, have been annoyed by not being able to look at the current list of admins during my tests ...)



as i know unban a player need to get server offline, and to delete player steamid in xml file, and same to white list too. I dont know how to unban a player when server online.

 
Last edited by a moderator:
Hi guys,

just wanted to keep you up to date on the latest bigger additions:

The mod now renders the map to tiles as players visit places (live). This allows to view a full map of everything that any player has ever seen by using e.g. Leaflet. I also added a command "rendermap" which does initial rendering if you don't want to start a new map ;)

PLEASE READ THE INFORMATION ON THE WIKI BEFORE USING THIS COMMAND!!!

I also added a first version of the web administration interface. For now it merely shows the map but it's also setting the foundation for adding further capabilities. If you want to enable it make sure ControlPanelEnabled is set to true and put the folder webserver/ in the root of your 7dtd server installation. The new web interface will listen on controlpanelport+2.

Note that for now there's no authorization (but you also can't do any harm other than viewing the server's map ;) ).

Example page

Regards,

Chris

 
Hi guys,
just wanted to keep you up to date on the latest bigger additions:

The mod now renders the map to tiles as players visit places (live). This allows to view a full map of everything that any player has ever seen by using e.g. Leaflet. I also added a command "rendermap" which does initial rendering if you don't want to start a new map ;)

PLEASE READ THE INFORMATION ON THE WIKI BEFORE USING THIS COMMAND!!!

I also added a first version of the web administration interface. For now it merely shows the map but it's also setting the foundation for adding further capabilities. If you want to enable it make sure ControlPanelEnabled is set to true and put the folder webserver/ in the root of your 7dtd server installation. The new web interface will listen on controlpanelport+2.

Note that for now there's no authorization (but you also can't do any harm other than viewing the server's map ;) ).

Example page

Regards,

Chris

very interesting feature. Can I disable this integrated web server? OR change server port? IT is no safe to open a 80 port on public server.

 
First i got to say this is an awesome update mate, both thumbs up for sure.

After reading everything and then following all the directions and copying your files and file structure i still cant get the webserver map to load.

when i go to my controlpanelport+2 i get a deep red page with nothing on it but the words coords: on the bottom in a small gray box, no map loads though i have rendered it with the new command and the image is in the file folder in my game save folder.

 
very interesting feature. Can I disable this integrated web server? OR change server port? IT is no safe to open a 80 port on public server.
Disable: Just do not put the "webserver" folder in your 7dtd folder and it won't be started at all.

Port: It's always ControlPanelPort+2 so if you do not set ControlPanelPort to 78 it won't be 80 ;) (by default it would be 8082 as ControlPanelPort's default value is 8080)

After reading everything and then following all the directions and copying your files and file structure i still cant get the webserver map to load.when i go to my controlpanelport+2 i get a deep red page with nothing on it but the words coords: on the bottom in a small gray box, no map loads though i have rendered it with the new command and the image is in the file folder in my game save folder.
Hm, that's weird ... looks like everything is working but the actual delivery of the map tiles. Anything in the log when you try to load the page? Do you have the webserver port public so that I might look at (if so send me the data in a PM)?

 
Alloc love it can't wait too mess with it. And all that work I spend trying to get the map generator on my website going down the drains :p

Wait did you already add this? So I can set it up now and add to my site?

 
very interesting feature. Can I disable this integrated web server? OR change server port? IT is no safe to open a 80 port on public server.

Code:
127.638 Error in RenderMap.Run: UnityEngine.UnityException: Failed to create texture because of invalid parameters. at (wrapper managed-to-native) UnityEngine.Texture2D:Internal_Create (UnityEngine.Texture2D,int,int,UnityEngine.TextureFormat,bool,bool,intptr) at UnityEngine.Texture2D..ctor (Int32 width, Int32 height) [0x00000] in :0 at AllocsFixes.MapRendering.MapRendering.RenderFullMap () [0x00000] in :0 at AllocsFixes.CustomCommands.RenderMap.Run (System.String[] _params) [0x00000] in :0
 
For the above error, I tried using the RM command in the game web cp, It logged me out of the web cp I came in tried to use the command again and got that error in console.

 
Hi guys,
just wanted to keep you up to date on the latest bigger additions:

The mod now renders the map to tiles as players visit places (live). This allows to view a full map of everything that any player has ever seen by using e.g. Leaflet. I also added a command "rendermap" which does initial rendering if you don't want to start a new map ;)

PLEASE READ THE INFORMATION ON THE WIKI BEFORE USING THIS COMMAND!!!

I also added a first version of the web administration interface. For now it merely shows the map but it's also setting the foundation for adding further capabilities. If you want to enable it make sure ControlPanelEnabled is set to true and put the folder webserver/ in the root of your 7dtd server installation. The new web interface will listen on controlpanelport+2.

Note that for now there's no authorization (but you also can't do any harm other than viewing the server's map ;) ).

Example page

Regards,

Chris
I cant get it to work. The render from the world works fine. But i cant open the map on ip:cp-port +2. this also wont work on my root with localhost. the cp works fine and i can open it on server and on my pc. i dont use the standard-ports from the game.

Any solution for me Alloc? :D

 
I am thinking my issue is do to my game folder being in my SSD D:/ and my saved games are in the C:/??????

Not 100% on this but could it be the issue? and if so how to I moved current saved games to the D:/ and still get it too connect correctly? Already tried using the config file and changing the save file path but that will not allow the server to load.

 
I cant get it to work. The render from the world works fine. But i cant open the map on ip:cp-port +2. this also wont work on my root with localhost. the cp works fine and i can open it on server and on my pc. i dont use the standard-ports from the game.
Did you check if the port is listening? Did you check the output_log.txt if it says "Started Webserver on XXXX"?

Also, as a first guess, did you add the webserver-folder from SVN to your engine folder?

I am thinking my issue is do to my game folder being in my SSD D:/ and my saved games are in the C:/??????Not 100% on this but could it be the issue? and if so how to I moved current saved games to the D:/ and still get it too connect correctly? Already tried using the config file and changing the save file path but that will not allow the server to load.
Hm, never thought about this ... will check if that's the problem :)

 
Did you check if the port is listening? Did you check the output_log.txt if it says "Started Webserver on XXXX"?Also, as a first guess, did you add the webserver-folder from SVN to your engine folder?

Hm, never thought about this ... will check if that's the problem :)
Just let me know so I can get it working.

 
@Lordicon: Different partitions for engine vs save folder work fine for me. Think the error must be deeper inside ;)

Could you get the newly uploaded DLL and try running RM again? It will print a line in the log starting with "RenderMap: " and a lot of numbers after that. Please paste that line here.

 
Code:
14.993 Telnet executed "rm" from: 127.0.0.1:52017

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

15.307 RenderMap: min: -717, -647, max: 6257, 6260, minPos: -11472, -10352, maxPos: 100112, 100160, w/h: 6975/6908, wP/hP: 111600/110528

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

Texture has out of range width / height

(Filename:  Line: 461)

15.315 Error in RenderMap.Run: UnityEngine.UnityException: Failed to create texture because of invalid parameters.

 at (wrapper managed-to-native) UnityEngine.Texture2D:Internal_Create (UnityEngine.Texture2D,int,int,UnityEngine.TextureFormat,bool,bool,intptr)

 at UnityEngine.Texture2D..ctor (Int32 width, Int32 height) [0x00000] in <filename unknown>:0 

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

 at AllocsFixes.CustomCommands.RenderMap.Run (System.String[] _params) [0x00000] in <filename unknown>:0 

(Filename: C:/BuildAgent/work/aeedb04a1292f85a/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)
 
Last edited by a moderator:
Back
Top