Native Linux server (with management scripts)

Why does no one understand the difference between Linux scripts and a server mod? :(

Well, anyway ... some permissions are planned for the future but this thing is mostly meant for administration/moderation of a server, not for giving people more ingame power (e.g. by seeing all the map). If you want such features I actually do recommend using one of the tools built on top of the mapping in this mod (though I don't know what level of permissions they provide either).

Also work on the web part is highly delayed currently due to other important things on the engine to work on first ;)

 
Why does no one understand the difference between Linux scripts and a server mod? :(
Sorry, I haven't looked at programming code in well over 20 years. As you may imagine, ALOT has changed between then and now.

Well, anyway ... some permissions are planned for the future but this thing is mostly meant for administration/moderation of a server, not for giving people more ingame power (e.g. by seeing all the map). If you want such features I actually do recommend using one of the tools built on top of the mapping in this mod (though I don't know what level of permissions they provide either).
Also work on the web part is highly delayed currently due to other important things on the engine to work on first ;)
Thank you for the information. I figured it never hurt to ask a question. (can't learn if you don't ask)

 
Is it possible to make a cron task that:

a) saves the world automatically every 10 minutes

b) restarts the server if it goes offline.

Would be kinda usefull.

 
Is it possible to make a cron task that:
a) saves the world automatically every 10 minutes

b) restarts the server if it goes offline.

Would be kinda usefull.
I have a crontab that telnets into the server every 15 minutes and runs saveworld. As for starting if it goes offline, I suppose a very uncomplicated way would be to have a crontab that simply runs the 7dtd.sh start (instance name) every 10-15 minutes. If it's already started then nothing will happen. If it's offline, it will start it. What do you think is going to make your server go offline though? an unexpected reboot? Just use an @reboot crontab in that case.

 
@up.

Yeah i made a saveworld script that cron runs every 10 mins. It works so far.

As far as restarts are concerned, its kind off buggy. So far its stable, nothing major, but i had some wierd server shutdowns on weekends (first one when player left, second one when all the players left at 4AM, server was empty and it just died). Logs are clean and there's no sign of any kind of error (apart from the ussual ones). So yeah i prefer to have something in case smth like this happens when im sleepin or smth.

 
Running 7dtd.sh updatescripts spits out this:

Code:
Scripts are already at the newest version (v.75).
Running 7dtd.sh updateengine spits out this:

Code:
Engine is already at the newest build (local: 480993, remote: 1).
I see the update is here: https://7dtd.illy.bz/browser/binary-improvements?rev=224

But can't seem to grab it using this. Any ideas?

 
Last edited by a moderator:
Digging a bit more, and 75 is the most recent scripts update, but it should be looking for build 576370.

- - - Updated - - -

Type
7dtd.sh uprageengine --force

Should update it.
Ah nice, ty!

 
well now when I try start a newly created instance I get this in the stdout.log

"/usr/local/lib/7dtd/start-stop-daemon/start-stop-daemon: unable to stat /home/sdtd/engine/7DaysToDie.x86 (No such file or directory)"

 
I noticed webserver is in different folder now, does this mean we need to remove the old one from sdtd folder?

Also, any fixes for 64 bit?

 
I tried to run the wiki, I get the following when starting up.

error:

/home/sdtd/engine/7DaysToDie.x86: /lib/i686/cmov/libm.so.6: version `GLIBC_2.15' not found (required by /home/sdtd/engine/7DaysToDie.x86)

when I tried to do the fix I have an issue with the first item 'pinning', it doesn't give the file name. just the directory called pinning

Example for Debian Wheezy with libraries from testing:

•/etc/apt/preferences.d/pinning:

Package: *

Pin: release a=stable

Pin-Priority: 700

Package: *

Pin: release a=testing

Pin-Priority: 650

Package: *

Pin: release a=unstable

Pin-Priority: 600

 
well now when I try start a newly created instance I get this in the stdout.log
"/usr/local/lib/7dtd/start-stop-daemon/start-stop-daemon: unable to stat /home/sdtd/engine/7DaysToDie.x86 (No such file or directory)"
turns out steam update failed to complete the first 2 times.. 3rd time it properly updated everything and now works

 
when I tried to do the fix I have an issue with the first item 'pinning', it doesn't give the file name. just the directory called pinning
You have to create that file with the given contents.

@SevenDL: yes

 
Did something change with teleportation? Before the command needed int and now it seems like it needs float and I will get teleported partially into the ground sometimes and break my legs whereas before I would bobble and land on top of ground.

 
Back
Top