• 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

Nope, currently unprotected. I need to find a good way to add configuration later on but right now it's just unprotected ;)

 
I might be adding just a single flag-file to enable the authentication ... Though one should always remember that HTTP authentication does not provide confidentiality nor is it really secure. If you don't want anyone having access you should use a standalone HTTP server with SSL and let it proxy to the integrated webserver (that's what I'm doing with the public port on my server, just not using SSL so far).

 
Latest update: If you add a file "protect" to the "webserver" folder it will enable authorization (username = admin, pass = control panel pass).

 
Latest update: If you add a file "protect" to the "webserver" folder it will enable authorization (username = admin, pass = control panel pass).
How do i add the protection on a windows machine with the integrated webserver?

 
Same way as described in what you quoted: Add an empty file named "protect" to the "webserver" folder ^^

 
Okay, that worked for me and now the webserver for the map ask me for user and password. But i can tell the webserver any password and it would be accepted from the webserver. :black_eyed:

 
Ugh, yeah ... that was because of the disabling before :D

Fixing, upload in a few minutes ;)

 
Tnx for update we are using your dlls from first versions and now your webserver map are amasing. Before we used lpe and si in our tools to see inventory, maping and players stats but now it is seems like have no sense because you tool doing it well. I copied there custom items icons(100+) and now it show those as well.

1.What is good to add there it is lpe stats easy accesible, similar like ingame table when presing tab.

We are still using your comands in anti cheat tool, to control item spawning and speedhack or "g" usage. So please keep support them it is very good and very important commands.

2. What i can also ask to add if you have time on it - this kind of tool http://crafting.7dtd.pl/ in the web server. More and more custom items and recipes added so people should be able to see non standart recipes especialy recipes in forge or firepit because you can't see them until you have ingredients.

3. To more event rpg type events need not only "give" command that is very nice but "take". F.e. if you can make shop plugin available to the game etc. I have many ideas about that.

Thank you very much for you work and development this amasing open source tool.

 
1.What is good to add there it is lpe stats easy accesible, similar like ingame table when presing tab.
Planned for the future, the map was just a start to have something working at all ;)

2. What i can also ask to add if you have time on it - this kind of tool http://crafting.7dtd.pl/ in the web server. More and more custom items and recipes added so people should be able to see non standart recipes especialy recipes in forge or firepit because you can't see them until you have ingredients.
Even though that would be possible you shouldn't see this whole web thing as a user interface. Its primary purpose is for admins to have some tool independent and easy control over the server. If you want to present a custom recipes file that can be done with a simple frontent like that you linked to running on an arbitrary webserver ;)

3. To more event rpg type events need not only "give" command that is very nice but "take". F.e. if you can make shop plugin available to the game etc. I have many ideas about that.
Sounds like an interesting idea though that's probably more fit for a mod which does handle the whole job of the shop or such thing as you will probably have more interaction anyway. Also I just can not affect the inventory atm. as it is client sided ;)

Thanks for your kind words, this thing will definitely be further improved a lot in the future :)

 
Thanks for this fantastic mod to the dedicated server, and for updating it so quickly!

A request : command(s) to sweep-delete all item entities and/or all ai entities. This would be huge.

The game's item-entity garbage collection and management of spawned ai entities isn't very good. Servers often enter states where they are unresponsive due to having more entities than the game was meant to handle, especially on griefing events. Restarting the server doesn't always seems to clear it, either. In any case, many providers don't offer console-accessible ways to shutdown and restart the server, and for owners that have multiple admins and don't want to give their password to the providers web-based controls, this would provide a way for the admins to intervene on a server that has diverged without needing the intervention of the owner.

There are, of course, all sorts of minutia that I'd like to add, but I'll need to earn that by modding it in myself.

 
you can use "mem" comand try it.
Thanks, but 'mem' doesn't help this case. In game objects need to be deleted, rather than memory reclaimed.

Here are cases where it can get into this state:

1) There are tens of thousands of dropped block entities from someone setting off dozens of tnt

2) someone has collapsed a huge building, or a very large section of earth.

3) the game has over-spawned hordes, and they have piled up.

4) lot of players online in very different parts of the map have all done something big at about the same time.

5) more.

Every update loop takes seconds because there are so many entities to iterate through, and another update stacks onto the previous. Some symptoms are:

1) No new entity spawns.

a) You'll see no new wildlife or zombie spawns.

b) When people break blocks, no resource drops.

2) zombie zombies. Zombies stand frozen.

3) Structural integrity doesn't play out. Blocks turn into ghost entities but hang in space and prevent any action there.

4) the game otherwise seems to work... you can craft and loot and break blocks. Just, no entities will drop from them into the world.

A way to sweep/clear out all entities would be an effective intervention.

Thanks

 
Last edited by a moderator:
Hi,

This is my first install and i'm having some trouble, i read all the pages of this thread and haven't found the problem i'm having.

The Problem i am having is the commands do not work in the ingame console, they work with Frt's sm, but i get command not allowed ingame

i have set all the commands in my admin.xml file and i check my output log for any errors that would be causing this but i can't find anything.

any help would be appreciated.View attachment 4398

output_log.txt

 

Attachments

The log won't help in this case as you said the commands do work in one place. So the commands themselves are fine. It must be something about the permissions. Does your user actually have the permission to use commands at all?

If you want you can send me your admins.xml so I can take a look (in that case also send me the SteamID you want to be able to use the commands with).

 
A request : command(s) to sweep-delete all item entities and/or all ai entities.
Hm, this sounds like a really good suggestion. I won't do it though ;P

This 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.

 
The user is me and i can use the original commands from the server just not any of the new ones, I had the same problem with the original commands but it fixed it self when 9.2 came out.View attachment 4399
So you can for example use "dm" ingame just fine and you can use eg "version" through Control Panel / Telnet but you can't use it ingame?

Did you restart your server after editing the admins.xml?

 
Back
Top