Native Linux server (with management scripts)

Hi!

Thank you for this useful script! I was using it on my previous server, and now I want to start from scratch with Alpha 10 and I can't understand what changed in Alpha 10. Specifically this line: "Added Linux 32 bit client and the Linux dedicated server 32 bit only".

Linux dedicated server was available before, right? Should I still use your script for server management or there is a new better way to start a server on a clean VPS server?

Thanks!

 
The difference is that before it was just an unofficially added engine file I provided and now it's provided by TFP officially. Using the script will still make things easier but you can also run without (as before ;) ) if you prefer that.

 
Hi, Got same problem. My ldd is:

root@chcipak:/home/sdtd/engine/7DaysToDie_Data/Plugins/x86# ldd libCSteamworks.so./libCSteamworks.so: /usr/lib32/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /home/sdtd/engine/7DaysToDie_Data/Plugins/x86/./libsteam_api.so)

linux-gate.so.1 => (0xf77c8000)

libsteam_api.so => /home/sdtd/engine/7DaysToDie_Data/Plugins/x86/./libsteam_api.so (0xf7790000)

libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf7687000)

libm.so.6 => /lib32/libm.so.6 (0xf7661000)

libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7643000)

libc.so.6 => /lib32/libc.so.6 (0xf74fc000)

libdl.so.2 => /lib32/libdl.so.2 (0xf74f8000)

libpthread.so.0 => /lib32/libpthread.so.0 (0xf74df000)

/lib/ld-linux.so.2 (0xf77c9000)

root@chcipak:/home/sdtd/engine/7DaysToDie_Data/Plugins/x86#
 
With the upcoming patch this shouldn't occur anymore. Just a bit more patience please :)

 
1.dump Assembly-CSharp.dll with ildsam.exe to an .il file.2.search for RSA1 string in the .il

and delete :

.publickey ...RSA1....

.hash algorithm

3.reassemble with ilasm.exe /dll "path/to/the/file.il"

enjoy the modding! :encouragement:
hmm I don't have ildsam.exe.. its part of which .net sdk? any specific version?

do i even need to bother with this for a101

 
Yeah, rereading your message I see that now ;) I probably added an "I" after the "and" when reading it.Just wondering, do you actually use the second key of a 2pack for the server?

The error is all over the forum already ;)

Going to be fixed with an upcoming hotfix.

I hadn't thought about the key. I know I got my copy gifted to me by a friend, so I think it's a 2 pack second copy. Are you supposed to have a separate key for your server?

 
No, you don't need a secpnd key. But in the first like 16 hrs after a10 release the second key of the 2pack was not allowed to access the new Linux depots, so that's just it ;)

 
hmm I don't have ildsam.exe.. its part of which .net sdk? any specific version?
do i even need to bother with this for a101
got it working with cff explorer in a10.1 no idea why i couldn't get it to work before

still doing custom hooks don't work like the chathook and I havent changed anything since a9 in assembly patcher..was il errors or something, will try get the output log again

 
Anyone else experiencing the following error?

2014-11-26T19:27:26 4292.974 Error in thread_CommWriter: Object reference not set to an instance of an object
(Filename: /BuildAgent/work/d63dfc6385190b60/artifacts/LinuxStandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

2014-11-26T19:27:26 4292.974 Stack Trace: at Chunk.CAAA0 () [0x00000] in <filename unknown>:0

at Chunk.5AAA0 (System.IO.BinaryWriter 0AAAA, Boolean 1AAAA) [0x00000] in <filename unknown>:0

at Chunk.write (System.IO.BinaryWriter stream) [0x00000] in <filename unknown>:0

at NetPackage_Chunk.Write (System.IO.BinaryWriter _writer) [0x00000] in <filename unknown>:0

at 9E4AA.thread_CommWriter (System.Object _stream) [0x00000] in <filename unknown>:0
Im guessing the chunk data couldnt be saved to disk, and will hopefully be retried?

 
Here is my own management script :

https://github.com/mikezerosix/7d2d-control/releases/

There are some variations on different Linux distributions but I tried KISS approach on the script and only use commands I am sure exists in all linux distros.

running the scrip without any parameters will print out instruction. and running it with "help" parameter prints out full help text.

You need to edit the script and write your Steam login username into it. It will install Steam and the game. If you already have the game and steam installed they you need to edit the directory lofations too. Though it would be much easier t tel it just install those again to itنs default locations.

 
Nope, you'll have to change the scripts for that purpose. Open /usr/local/lib/7dtd/commands/updateengine.sh, go to line 77 and add "-beta alpha10.3" right behind the "294420":

Code:
./steamcmd.sh +login $STEAM_USER $STEAM_PASS +force_install_dir $SDTD_BASE/engine "+app_update 294420 -beta alpha10.3" validate +quit
Should work that way. You'll have to do a update with --force then though as the buildid will obviously be lower than the current one.

 
Is there anything special that needs to be done to migrate instances from one machine to another? I did a backup from 7dtd.sh and copied that to the new server but I can't connect. Status shows it running but no open ports. I can connect if I make a new instance on the new server.

 
Hello, as a kinda new guy on Linux, I tried to install the server automatically with bootstrap.sh. After it, I did setup my server like said on 7dtd.illy.bz/wiki, but when I try to start it, it always "fail".

This is what I get in the log :

Code:
/usr/local/lib/7dtd/start-stop-daemon/start-stop-daemon: unable to start /home/sdtd/engine/7DaysToDie.x86 (Permission denied)
Actually, I'm on a 64 bits Ubuntu dedicated server, with every prerequisites checked, and I don't really know what to do... We tried, with a friend, to uninstall and manually install, but we had the same problem. Any help, please?

 
a question about the script , I can start multible instances , can I in each other a xml for example recipes Start ?

 
Hello, as a kinda new guy on Linux, I tried to install the server automatically with bootstrap.sh. After it, I did setup my server like said on 7dtd.illy.bz/wiki, but when I try to start it, it always "fail".
This is what I get in the log :

Code:
/usr/local/lib/7dtd/start-stop-daemon/start-stop-daemon: unable to start /home/sdtd/engine/7DaysToDie.x86 (Permission denied)
Actually, I'm on a 64 bits Ubuntu dedicated server, with every prerequisites checked, and I don't really know what to do... We tried, with a friend, to uninstall and manually install, but we had the same problem. Any help, please?
Hm, almost looks like there's something wrong with the game download. Did you check if the contents of the engine-folder look right? E.g. is there a 7DaysToDie.x86, 7DaysToDie_Data/, Data/ ...?

a question about the script , I can start multible instances , can I in each other a xml for example recipes Start ?
If I got you right you want different recipes.xml and stuff for different instances? If so, that's currently not possible with that server layout as the game always loads those files from the same folder.

 
@ Alloc

First, truly, thanks for the mapping feature tie-in to FRT Server Manager.

Now for my question...

Is there a way to limit what is seen on the mapping feature? Ideally, Admins and Mods see everything. Normal everyday users only see the opened map areas (unless I allow them to see other things like claim areas and such).

I am not sure if your considering (or if it is even possible) something like this?

Thanks again.

 
The mapping feature is available on any web browser on the right IP:PORT of your server, if the server fixes are installed, and IIRC the webconsole. FRT uses an integrated browser window to get this in the SM.

There is another more comprehensive mapping feature built off of this I think. It's called CORPSES. I haven't been able to get it to run, because of a telnet password issue but it looks awesome. Perhaps it has the features you are looking for.

 
Back
Top