• 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

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^^.
Does the find stack sizes work? If so I would love to see Alloc add this to his fixes it would make it so much easier then search each player one at a time.

 
Does the find stack sizes work? If so I would love to see Alloc add this to his fixes it would make it so much easier then search each player one at a time.
Yes it does, as I said it already helped me identify a few ppl :D Though I kept it very simple and just check if the stack size is above a specified count (since weird stack sizes are possible due to bugs in the game).

But I had to switch the dll back out due to the exception above and since I am unsure if the exception is caused by the sources not being 100% actual or by the fact that the map-files are being read by another process.

 
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)?
Yeah, especially if you access the files from another process that is bound to happen. I will be adding a way to prevent this from happening for the integrated webserver but there's almost no way to prevent that if you access from another application. (Right now it also happens with original files)

Also this does not really hurt anything, the worst thing that could happen is that the tiles aren't updated correctly at that moment ;)

On the map I am seeing two land claims showing up in red instead of the normal green, What exactly does that mean?View attachment 4550
Green = active, red = inactive (i.e. not protecting the area any more)

/EDIT: Too slow ... ;)

 
Would it be possible to have a password for the webserver other than the control panel password, or have the ability for the admin account to create additional accounts that can login to the webserver with their own passwords?

 
Would it be possible to have a password for the webserver other than the control panel password, or have the ability for the admin account to create additional accounts that can login to the webserver with their own passwords?
That's planned ;)

(Probably even with some kind of permission control for different parts of the interface)

 
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 synced the files again, after I got a new Error today. I also deleted the mapfiles and have regenerated the files. Now the Server seems to run smooth with the new build.

 
I cannot get the map to show on a webpage. Alloc's Server Fixes and webserver last versions are in place - I use them with FRTs Server Manager 3.4.5.0. "Started webserver on 29452" is listed in the Web panel and the output_log.txt too. But when I try to connect via Waterfox to "MyServersIP:29452 I can't...I get a connection timeout. What I'm doing wrong? Map files are also in place, made a rendermap yesterday and the map folder is in the saves folder.

 
I cannot get the map to show on a webpage. Alloc's Server Fixes and webserver last versions are in place - I use them with FRTs Server Manager 3.4.5.0. "Started webserver on 29452" is listed in the Web panel and the output_log.txt too. But when I try to connect via Waterfox to "MyServersIP:29452 I can't...I get a connection timeout. What I'm doing wrong? Map files are also in place, made a rendermap yesterday and the map folder is in the saves folder.
My understanding is that what ever port you use as the web control panel port + 2 is the web map port but make sure nothing else is on that port like the telnet else it wont be available

so lets say 29452 is your web panel port then web map port would be 29454 eg 29452+2

When I first had issues it was because my telnet was on the +2 port so i changed it to +1 instead so the web map had the port instead

Front runner doesn't conflict with the map so don't worry about that

 
Alloc you know your rlp command for removing claim blocks/keystones

Could the same trick work for other blocks, I realize they would not have an owner in the same way but If a range was give could it remove the blocks, Directly in this case water,

A griefing trick people do if they put water down up high and let it run down and get all over the place very very hard to clean up,

I dont know how often other admins have this issue but I've had it a few times, sometimes its easier to regen that region

 
"Started webserver on 29452" is listed in the Web panel and the output_log.txt too. But when I try to connect via Waterfox to "MyServersIP:29452 I can't...I get a connection timeout. What I'm doing wrong?
Sounds like something is blocking access. Are you running with a hosting provider? If so they probably block access to that port with a firewall. You can ask them if they open it for you (but I know that at least one already said no to another user but I think a lot of them are quite helpful ;) ).

Alloc you know your rlp command for removing claim blocks/keystones
Could the same trick work for other blocks, I realize they would not have an owner in the same way but If a range was give could it remove the blocks, Directly in this case water,

A griefing trick people do if they put water down up high and let it run down and get all over the place very very hard to clean up,

I dont know how often other admins have this issue but I've had it a few times, sometimes its easier to regen that region
Sure, basically the way I remove the keystones right now would work with every kind of block. Not a top prio atm though ;)

(Gotta get everything that's in there right now really stable so I can extend on that)

 
Sounds like something is blocking access. Are you running with a hosting provider? If so they probably block access to that port with a firewall. You can ask them if they open it for you (but I know that at least one already said no to another user but I think a lot of them are quite helpful ;) ).
Yes, my server is hosted by a provider (Nitrado), so yeah, they have probably blocked the access to this port. I could try and ask them via the hotline or ticket, but the support there seems a bit clueless sometimes...

 
Hey Alloc. Great server mod! It's things like this that make running a dedicated server much easier. Thank you!

Is it possible to control what items are on the allowed item list for the 'give' command? There are lots of block types that are simply unavailable.

 
Is it possible to control what items are on the allowed item list for the 'give' command? There are lots of block types that are simply unavailable.
Would be nice if it was setup in a different file where a server owner could add a list of items they want on the give command then have the command call of this file read it and send the information back to the server if it is there and give a message stating its an item that can not be handed out if it is not there.

 
Is it possible to control what items are on the allowed item list for the 'give' command? There are lots of block types that are simply unavailable.
Blocks shouldn't be available at all. Right now it's an item thing only (i.e. no blocks, only items). Hope to change that in the future but no proper solution so far.

Would be nice if it was setup in a different file where a server owner could add a list of items they want on the give command then have the command call of this file read it and send the information back to the server if it is there and give a message stating its an item that can not be handed out if it is not there.
Erm, to simplify: You mean a file stating what is allowed and what not with "give"?

 
Yeah I totally posted this in the wrong place to begin with. I installed the FRT server manager on my windows box which is running 7daystodie installed through steam. Then I have a bat file running a dedicated server on the same box for my entire network. It is a private server that only friends and family play on. I Cannot get the allocs server fixes dlls to work properly despite having them placed into C:\Program Files (x86)\Steam\SteamApps\common\7 Days To Die\7DaysToDie_Data\Managed and the Assembly-CSharp.dll fixes renamed to Assembly-CSharp.dll and the old one with ORIG tagged on the front of it. The sm doesn't even recognize they are there except the server won't start with the SM nor my bat file rundedicated.bat vanilla way. Any help would be greatly appreciated. The main feature I need from the allocs server fixes dlls is to be able to turn creative mode on and off whilst playing without a server reset.

Thanks in advance.

 
Erm, to simplify: You mean a file stating what is allowed and what not with "give"?
Yes so in other words when the give command is issued it checks a xml file for the allowed blocks which can also determine different permissions based on what you want each person with access to use. So if you have a full admin you can edit the xml and add as many items as you want for being admin and limit lets say moderators from giving out things like sniperRifles or augers.

Example: PHP Based but gives the idea a bit easier imo. Not sure if I wrote that correct but its pretty close to give the idea of course you would have to use the coding method within the files that you use if its C+ or whatever.

Code:
$xml = simplexml_load_file("give.xml");
  foreach($xml->children() as $access){	
     foreach($access->children() as $permission){
        $rankone = $permission->attributes()->admin;
        $ranktwo = $permission->attributes()->mod;
        if(!empty($rankone)){
           ###Send command based on blocks in admin list###
        }
         if(!empty($ranktwo)){
           ###Send command based on blocks in mod list###
        }else{
           ###Send Console Message "Please Add items to give.xml"###
        }
     }
  }
Based on this the Admin could give out the sniperRifle, 7mmBullet and auger, The Moderator would not be able to give these items he can only give what is in his list which is the chainsaw, pistol, and 9mmBullet

Code:
<data>
  <access>
     <permission admin="sniperRifle"/>
     <permission admin="7mmBullet"/>
     <permission admin="auger"/>
     <permission mod="chainsaw"/>
     <permission mod="pistol"/>
     <permission mod="9mmBullet"/>
  </access>
</data>
Doing it this way would make it so server owners can limit what staff on the server has access to give to players.

 
Last edited by a moderator:
Got the server fixes loaded on the latest dedi server. map rendering works fine and also render to file. The webserver starts up, but i get a blank red background only. Located an error message saying ../webserver/map doesnt exist. Shouldnt the webserver fetch the mapfiles for static?

 
Back
Top