• 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

The first one should be ok. Also you could update to the just released 185, as it drops the dependency on ControlPanelEnabled and TelnetEnabled altogether.

@Test if the port is in use: If it is in use the log will contain an exception saying so.
can you show me where to download and detailed instructions for installing?

 
can you show me where to download and detailed instructions for installing?
Always use the same link to get the newest revisions, Alloc never makes us go on a easter egg hunt every new release is obtained from the same links.

 
Alloc,

Requesting a change in the "tele" command.

I am hoping this can be done and I don't see what it can not be done, however can you make another parameter for the command so you can do these things.

Not only have the normal one like this but,

Tele <playerid> <cords>

Also have this one, as well an being able to reverse it.

tele <playerid> <playerid>

So in other words have the command check the playerid for the cords and tele to other player based on that players cords. Saves from having to type the cords in and look them up. But keep the other one in as well in case you need to teleport to somewhere no other player is at, just allow two different ways of doing it.

 
Hey Alloc, i installed the new build 191 and now my server needs 20% more cpu. :/ I also cant open the map now. Any ideas or sugestions? :D
EDIT: Crashlogs for you - https://dl.dropboxusercontent.com/u/66757750/mym/7DtD/crashlogs/2014-09-13_163136_output_log.txt and https://dl.dropboxusercontent.com/u/66757750/mym/7DtD/crashlogs/2014-09-13_163406_output_log.txt
Hey, stop that, those updates are meant to improve stability and performance, not make it worse ... ;)

What do you mean by "can't open the map"? Webmap? The logs don't say anything about my stuff so I wonder if it's really related to the mod.

 
Hey, stop that, those updates are meant to improve stability and performance, not make it worse ... ;)
What do you mean by "can't open the map"? Webmap? The logs don't say anything about my stuff so I wonder if it's really related to the mod.
Yes, i mean the Webmap. :) I rerolled to build 189 and all works fine again. So i dont know if its the server or the update of the build. :/

 
Yes, i mean the Webmap. :) I rerolled to build 189 and all works fine again. So i dont know if its the server or the update of the build. :/
Hm, just checked again: there's really no change between those revs that should have any (and even less a negative) impact on the performance. Also nothing changed at all regarding the web part. Maybe just some coincidence with the rest of the engine?

I am running Rev. 190 and having no problems at all.
Yaaaay :)

 
Hm, gotta figure out a way to stop the mod from accessing the same file multiple times at once first, after that I might add a public map.

 
Hey there, So with all the improvements this mod adds I've been feeling that its pretty self contained, eg everything a server needs to run

Our server pretty much only uses a server manager currently for a couple of features but we use them 24/7 namely a ping kick feature as alot of the hackers we had were connecting from Asian countries (I'm not saying all Asians are hackers) but 90% of the hackers we used to have were Asian in origin, 9.2/9.3 seems to have filters most of the hackers (not all) out of the eco system so not 100% sure if ping kick is even needed anymore just paranoid at the moment :p

Anyways the other is server messages having in game messages rolling messages etc informing people of information, If there was say a text file / xml file the server could read and display at give intervals

One reason I bring all of this up is with the web interface do we really need the server manager programs running and throwing in alot of extra requests to the game eg spamming "LPE" and other commands to display the information, if the server had these few features inbuilt msgs and maybe ping block(if its still needed) then all you would really need is to access the webmap and maybe telnet,

I know there are other features like the custom commands like /gimme people like and the attempt of reserve slots (barely works), But honestly the work Alloc has put in is amazing and makes the game feel able to really cope without an external program to manage it or at least not needed to be running 24/7

How do you guys feel about it?

Also any thoughts on how to thank Alloc for his amazing work :p

P.s my comments are purely about server mangers accessing remote servers not ones running on the same machine

 
Last edited by a moderator:
Hey there, So with all the improvements this mod adds I've been feeling that its pretty self contained, eg everything a server needs to run
Our server pretty much only uses a server manager currently for a couple of features but we use them 24/7 namely a ping kick feature as alot of the hackers we had were connecting from Asian countries (I'm not saying all Asians are hackers) but 90% of the hackers we used to have were Asian in origin, 9.2/9.3 seems to have filters most of the hackers (not all) out of the eco system so not 100% sure if ping kick is even needed anymore just paranoid at the moment :p

Anyways the other is server messages having in game messages rolling messages etc informing people of information, If there was say a text file / xml file the server could read and display at give intervals

One reason I bring all of this up is with the web interface do we really need the server manager programs running and throwing in alot of extra requests to the game eg spamming "LPE" and other commands to display the information, if the server had these few features inbuilt msgs and maybe ping block(if its still needed) then all you would really need is to access the webmap and maybe telnet,

I know there are other features like the custom commands like /gimme people like and the attempt of reserve slots (barely works), But honestly the work Alloc has put in is amazing and makes the game feel able to really cope without an external program to manage it or at least not needed to be running 24/7

How do you guys feel about it?

Also any thoughts on how to thank Alloc for his amazing work :p

P.s my comments are purely about server mangers accessing remote servers not ones running on the same machine
When FRT Server manager was running smooth and updated everything worked great, However as we all know the stable version is 3.4.4.0 and still a lot of features do not work great, The ability to send "say" to the server with FRT is still working and I use that along with the voting for server and /gimme.

Anyway as I was reading your post I was sitting here thinking about it, besides these other features we really do not need the FRT and as long as Alloc is always updating his fixes everything will work great.

Now a interesting thing to look at is you mention about spamming the lpe etc in the console or to the manager, No matter how you look at it the command right now has to be sent to the console to retrieve the information back for display.

But in my opinion I think it would be a great idea to send this information to a xml file so it can be displayed web based if people would like to setup their own web site interface would be good if there was some sort of API to it so it can be displayed as json, xml or html kind of like the voting sites API for placing votes for a server at 7daystodie-servers.com.

I for one would use this information in many ways on my site...

 
I am assuming that this is the correct thread for my following question, since its entirely fixes related^^.

I have compiled the latest fixes dll (and added 2 commands). After replacing the servers dll and starting my server instance, I got the following exceptions:

2014.09.14 16:05:34: Exception in MapRenderBlockBuffer.saveTextureToFile(): System.IO.IOException: Sharing violation on path /home/sdtd/instances/INSTANCE_NAME/Random Gen/GAME_NAME/map/1/-1/0.png

2014.09.14 16:05:34: 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

2014.09.14 16:05:34: at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) [0x00000] in <filename unknown>:0

2014.09.14 16:05:34: at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int)

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

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

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

2014.09.14 16:05:34: at AllocsFixes.MapRendering.MapRenderBlockBuffer.saveTextureToFile (System.String _fileName) [0x00000] in <filename unknown>:0
Needless to say I did not change anything regarding map rendering, I simply added 2 commands :D . Is this a random error which can simply occur? Or is it maybe occurring because I am actively reading files out of the maps directory (I have deployed the "leaflet" solution to display the current map on a site)?

 
I am assuming that this is the correct thread for my following question, since its entirely fixes related^^.
I have compiled the latest fixes dll (and added 2 commands). After replacing the servers dll and starting my server instance, I got the following exceptions:

Needless to say I did not change anything regarding map rendering, I simply added 2 commands :D . Is this a random error which can simply occur? Or is it maybe occurring because I am actively reading files out of the maps directory (I have deployed the "leaflet" solution to display the current map on a site)?
You added 2 commands to the already give fixes files? What commands did you add and what are their purpose if you do not mind me asking?

 
I dont belive that this is relevant, since the exceptions were caused without calling the commands, so the problem is probably not even related to them.

But in any case: one command lists all possible items for the "give" command (this was more a little test than anything else), the other one checks the item stack-sizes of all (all|online|nonbanned)-players and returns a list of players which have suspocious stack-sizes of items. Which I have already found handy in finding cheaters^^.

 
Back
Top