• 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

exactly, i can use the original commands dm, say, etc in game,and in telnet but i cannot use any of the new ones in game, I did restart the server after the changes.

I couldn't use the original ones either in game until 9.2 patch came out and then they started working.

 
Last edited by a moderator:
Are you sure you edited the right file?

You could try the following: In game use "cp add version 1". This will set the permission level for "version" to 1. After that shut down your server. If you now look at the admins.xml it should say that version has a perm level of 1. If it does not you are looking at the wrong XML. If it does says so you got the right XML and you did something wrong (e.g. actually did not restart the server, or edited the XML before stopping the server (it will overwrite your changes)).

/EDIT:

Also if you want your admins to be able to execute everythnig anyway you could just set them to level 0. With the fixes this means they can execute any command even if it was not explicitly given in the XML (see second bullet point).

 
Last edited by a moderator:
I tried that already to make sure i edited the correct one and it worked, the one the game is using is in my saves folder.

 
Hehe, ok :)

Did you see my edit to my last post?

Well then I don't know what could go wrong unless you didn't restart your server but as you said you did that shouldn't be the problem either :(

The XML looks fine, the mod is loaded, permissions are set ...

 
like i said i had a similar problem with the admin xml but after the patch it started working in game. so i'll see what happens next patch.

 
Hello Alloc, how can i use the command creativemenu / cm ? My console says creativemode true, but how i get the menu? :) If i open my inventory their is no creativemenu.

 
Any chance of stopping time when no players are connected with this?

Also I grabbed the source and attempted to get myself setup with it.. everything works except when I go to deobfuscate it complains that there is no patchers.xml.. I've searched high and low and can't seem to find any reference to what to put in there..

Thanks!

 
Last edited by a moderator:
Any chance of stopping time when no players are connected with this?
Also I grabbed the source and attempted to get myself setup with it.. everything works except when I go to deobfuscate it complains that there is no patchers.xml.. I've searched high and low and can't seem to find any reference to what to put in there..

Thanks!
If you are talking about stopping time in game when no users are online then I do not think you can do that due to the servers time being on a ticket while loaded. The only way would be too have the server shutdown when no one is online.

 
Hi, Alloc

Have a 1 question about WEBSERVER. It is not working :(

1) i enabled CPanel in serverconfig.xml, port: 8080

2) downloaded latest release

3) Rename folder "webserver{num} in webserver"

4) put folder "webserver" into game folder

5) launch server and go in http://ip:8082 (+2 from default) and nothing happens.

What i did wrong? How to launch webserver?

 
Hm, this sounds like a really good suggestion. I won't do it though ;PThis is going to deep into the workings of the engine, too much can go wrong and it will also probably affect a lot of places that are changing often. And probably one of the biggest problems: I couldn't even reproduce the problem in order to test whatever I do. I really think that is one of the major engine isues TFP will have to fix themselves.
Lol! Fair enough. I can't figure out how to do it, either. If I do, I'll post the code. You do your thing.

This would really be an intervention for a pathological case that is usually triggered when there are more than 8 players (which the pimps have defined as the max.) But the game can do more... except in rare cases, and most servers have many more people than that and things function well enough... except every now and then. The intervention I'm thinking of would be for those cases.

Thanks.

 
Hi, Alloc
Have a 1 question about WEBSERVER. It is not working :(

1) i enabled CPanel in serverconfig.xml, port: 8080

2) downloaded latest release

3) Rename folder "webserver{num} in webserver"

4) put folder "webserver" into game folder

5) launch server and go in http://ip:8082 (+2 from default) and nothing happens.

What i did wrong? How to launch webserver?
Try using another port other then 8080 which is normally a web server port, Use port 3654 in serverconfig.xml and make sure you open the port on your router and firewall, Then open http://ip:3656

 
Hello Alloc, how can i use the command creativemenu / cm ? My console says creativemode true, but how i get the menu? :) If i open my inventory their is no creativemenu.
Oh man, but I do now embarrassing. :D I guess I just have too long not used the creativemenu. :D

Is it planned on LiveMap also be able to remove the Keystones?

 
Any chance of stopping time when no players are connected with this?
Might be possible, depending on how the server works in that aspect. Nothing I wanted to look right now though ;)

there is no patchers.xml
Hm, yeah, I think it's not really documented. For a starting point get the current release of the Deobfuscator and there you'll find an patchers.xml for the current modules.

Have a 1 question about WEBSERVER. It is not working :(
I assume you restarted the server after putting the folder in? What's the content of the log?

Try using another port other then 8080 which is normally a web server port, ...
Won't matter as long as cpport+2 is not used ;)

Is it planned on LiveMap also be able to remove the Keystones?
Yup, as that's an administrative task ;)

 
Yeah, it doesn't even say it wants to start the webserver ... Could you show us a screenshot of the game folder?

/EDIT: Eh, why doesn't it say anything about the mod being loaded?

 
Last edited by a moderator:
Yeah, it doesn't even say it wants to start the webserver ... Could you show us a screenshot of the game folder?
/EDIT: Eh, why doesn't it say anything about the mod being loaded?
Saw this in his output not sure if it is related, note his path "Администратор"

Code:
27.168 Exception in MapRenderBlockBuffer.saveTextureToFile(): System.IO.IOException: Sharing violation on path C:\Users\Администратор\Documents\7 Days To Die\Saves\Random Gen\[RUS]ManqueEnD\map\0\0\-3.png

 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, Int32 bufferSize) [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,int)

 at System.IO.File.Create (System.String path, Int32 bufferSize) [0x00000] in <filename unknown>:0

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

 at System.IO.File.WriteAllBytes (System.String path, System.Byte[] bytes) [0x00000] in <filename unknown>:0

 at AllocsFixes.MapRendering.MapRenderBlockBuffer.saveTextureToFile (System.String _fileName) [0x00000] in <filename unknown>:0
Also I do not see any of the commands spam that you normally see of lpe, and gt. But I guess that could be only if you run FRT?

 
Saw this in his output...

Also I do not see any of the commands spam that you normally see of lpe, and gt. But I guess that could be only if you run FRT?
This exception doesn't matter in this regard. And yeah, gt and lpe are issued by FRT's SM for management purposes.

 
Back
Top