Native Linux server (with management scripts)

are there any plans adding different icons for different animals/zombies on the map ?
So far no. I'm far from being a designer or anything like that so I have to search for fitting icons (both in terms of content as well as licensing) or it will end up ugly as hell ;)

Also: Wrong thread.

+1 for BSD, though Apache is good too. Please no GPL nonsense.
Heh, just because you wanna use it for your own commercial product, right? ;P

j/k, for this stuff GPL just doesn't make any sense to me either.

 
So far no. I'm far from being a designer or anything like that so I have to search for fitting icons (both in terms of content as well as licensing) or it will end up ugly as hell ;) Also: Wrong thread.
Whops, sorry had multiple tabs open :o

Ok well, then i'll try myself editing this when i get some free time.

 
Heh, just because you wanna use it for your own commercial product, right? ;Pj/k, for this stuff GPL just doesn't make any sense to me either.
For what it's worth, I was the one originally asking about the license, and I have better things to do then rip off code and make a commercial product. I had this idea because I play 7dtd, I run a 7dtd server for a few friends and myself to play on, and I am learning Docker for work.

I love GPL software, but I agree for something like this, a more permissive license is better. I was planning on releasing under a permissive license such as BSD, Apache, or MIT as I stated earlier.

At this point, I am not sure how much code of yours I will actually use. I was interested in your map renderer, but this would have to run in a separate container than the game server, and I haven't reviewed your code to see how to make this is possible.

I see a few potential challenges with 7dtd in docker. SteamCMD should be easy enough to install at runtime, but the 7dtd server requires you to authenticate to download. Docker is meant to be immutable, and non-interactive, with configuration done through runtime options. I can get around the login by using expect, but it feels like a bit of a hack. Maybe I can convince TFP to allow anonymous installs like many other games. https://developer.valvesoftware.com/wiki/Dedicated_Servers_List Perhaps I am just wasting everyones time ;)

Cheers,

Mudfly

 
The server used to allow anonymous installs, but they stopped that. Could you just have it call stored data and use that for the authentication like Allocs updateengine script does?

 
For what it's worth, I was the one originally asking about the license, and I have better things to do then rip off code and make a commercial product. I had this idea because I play 7dtd, I run a 7dtd server for a few friends and myself to play on, and I am learning Docker for work.
Really no offense meant by my previous comment, as I said I never intended to make it not usable for commercial means. No reason to do so for a few little scripts ;)

I love GPL software, but I agree for something like this, a more permissive license is better. I was planning on releasing under a permissive license such as BSD, Apache, or MIT as I stated earlier.
Any preference between those?

At this point, I am not sure how much code of yours I will actually use. I was interested in your map renderer, but this would have to run in a separate container than the game server, and I haven't reviewed your code to see how to make this is possible.
The renderer has nothing to do with the scripts at all, it's just a mod for the server. No idea to what extend that makes any difference for you / docker though ;)

Maybe I can convince TFP to allow anonymous installs like many other games.
We definitely plan to allow anon access at some point, but that might not happen until we finally have the time to make the dedi build really dedi only (unlike now where it basically is almost exactly like the client build). Could be sooner, could be later ... really no definitive timeframe currently.

The server used to allow anonymous installs, but they stopped that. Could you just have it call stored data and use that for the authentication like Allocs updateengine script does?
We never had it for anon access ... at least not within at least the past 1.5 years (think even longer ... not sure when I first looked into the Linux dedi stuff) ;)

 
Really no offense meant by my previous comment, as I said I never intended to make it not usable for commercial means. No reason to do so for a few little scripts
No offence was taken, I just wanted to avoid any confusion since Blotavious chimed in on license preferences.

Any preference between those?
The MIT license is the most straight forward as can be seen here. The Simplified BSD license is also just about as straight forward as MIT as can be seen here. The Apache license covers things like patents, which does not seam applicable in this situation. The GPLv3 is useful if you want people who improve your script to contribute back to your project. You may want to scan through this page that is run by github to help users on their platform pick a license. http://choosealicense.com/licenses/.

The renderer has nothing to do with the scripts at all, it's just a mod for the server. No idea to what extend that makes any difference for you / docker though
I was hoping that I would be able to run the website that hosts the map in a separate container than the server. This is not my main priority however, so at this time I am only trying to get the 7dtd dedicated server running in docker.

I appreciate you taking time to consider my request.

 
We definitely plan to allow anon access at some point, but that might not happen until we finally have the time to make the dedi build really dedi only (unlike now where it basically is almost exactly like the client build). Could be sooner, could be later ... really no definitive timeframe currently.
Seems like I got that through sooner than I expected ;)

You may want to scan through this page that is run by github to help users on their platform pick a license. http://choosealicense.com/licenses/.
Seems like a useful page, thank you :)

 
Seems like I got that through sooner than I expected ;)
Do I understand correctly that you removed/disabled the client code, so A14 will have a "real" dedicated server? If so that is awesome! I hope the server will run with greatly reduced memory requirements as a result.

 
Do I understand correctly that you removed/disabled the client code, so A14 will have a "real" dedicated server? If so that is awesome! I hope the server will run with greatly reduced memory requirements as a result.
Ah, no, sorry for the confusion, was just talking about the anon download ;)

Also, the server was running as real dedicated. Code wise there is almost nothing that shouldn't be running on the server, you won't see a big performance improvement on that end. Only generic improvements will affect that. Memory ... maybe a bit but I wouldn't expect more than like maybe a few hundred MB if at all. It's not like the server was loading the full set of textures or anything.

 
Also, the server was running as real dedicated. Code wise there is almost nothing that shouldn't be running on the server, you won't see a big performance improvement on that end. Only generic improvements will affect that. Memory ... maybe a bit but I wouldn't expect more than like maybe a few hundred MB if at all. It's not like the server was loading the full set of textures or anything.
Darn. 4GB addressable RAM for the 32bit Linux client is proving to be constraining. If Unity/Steam would fix whatever the 64bit issue is then I'd be very happy. The 64bit server seems to work fine except such a server won't show up in the browser list...it seems like such a small thing :-|

 
Seems like I got that through sooner than I expected ;)
So you got in a feature request, or this is in the works? Being able to install the server using an anonymous account will simplify my docker project, as well as your scripts.

Scripts are Apache 2.0 now, mod will follow later on.
Nice work!

 
Darn. 4GB addressable RAM for the 32bit Linux client is proving to be constraining. If Unity/Steam would fix whatever the 64bit issue is then I'd be very happy. The 64bit server seems to work fine except such a server won't show up in the browser list...it seems like such a small thing :-|
Odd. Mine does.

Although sometimes it doesn't, but I think that was my ISP.

 
So you got in a feature request, or this is in the works?
Neither nor. It's anon downloadable since two days ago ;)

Odd. Mine does.Although sometimes it doesn't, but I think that was my ISP.
The 64 bit server shows in the browser? Can you post the log of your server? (First ~1k lines should be enough).

 
Sure thing. It didn't show in the list previously, but sometime after probably 13.5 it has. I restarted the server so you'll have a fresher log.

http://pastebin.com/a3EL3qZ9

Here's a shot of the server list.

9F9C6C40211CDB82880D75A87728BF115001272A


It's the very first one

 
Sorry guys, if I'm Saying something redundant. I searched on many of these 52 pages to find my answer, and didn't find the right solution.

My Server is crashing and shutting down the game application. On ubuntu community, someone said it would be an lack of telnet response and it match with some forum users problems. Someone created a cron script to check if the server is running, to schedule a restart and start the server again in cases of crashes?

I repeat, I'm only ask it, cause I really didn't find it on this community. If someone has the answer, please: can you draw it to me?

I assume my ignorance. Even if you have the answer, can you tell me how to make the cron task?

Ahn... I forgot!

I'm running the server on a VPS, with 7,2 Ghz and 3 Gb of Ram, and I'm planning to migrate to a VPS SSD 2, with 1 vCore, 2.4 GHz and

4 GB RAM...

 
Last edited by a moderator:
Your server is most likely crashing due to a lack of RAM. I really cannot stress enough that for a dedicated server, you must have 8GB to expect to run it, and 12-16GB if you want it to run well. (32-bit Linux is limited to 4GB of RAM usage, but you must have all 4GB of RAM available and not shared with the system. Even then, I would not recommend that for more than 4 people on a Navezgane map)

Are you renting a server, or do you have your own hardware?

 
Last edited by a moderator:
Your server is most likely crashing due to a lack of RAM. I really cannot stress enough that for a dedicated server, you must have 8GB to expect to run it, and 12-16GB if you want it to run well. (32-bit Linux is limited to 4GB of RAM usage, but you must have all 4GB of RAM available and not shared with the system. Even then, I would not recommend that for more than 4 people on a Navezgane map)
Are you renting a server, or do you have your own hardware?

I'm Renting a server... today I searched on HTOP, and realized I has 2 instances Running. Then I deleted the other instance and I'm waiting to see what happens. It lowered the RAM usage in 1 gb.

I'm intending to look for a new and cheaper VPS now... this is the result of my htop. Thank you SylenThunder

print.jpg

print.jpg

 
Last edited by a moderator:
Just to update. Despite the crashes (lol) the server is running with four to five players so far so good.

I found an VPS with 8 gb, on OVH. How many players you recommend to me? I'll keep you informed by the performance, and lets see what happens.

 
Just to update. Despite the crashes (lol) the server is running with four to five players so far so good.
I found an VPS with 8 gb, on OVH. How many players you recommend to me? I'll keep you informed by the performance, and lets see what happens.
I would keep it under 10. Technically MP only supports 8, but I can do 20 with 16GB RAM on a dedicated Linux blade. Once we get past 15, and a lot are exploring, there is a bit of latency though. (Which truly, could be a result of the very high active zed settings I have, and not the number of players.)

 
Back
Top