Resolved, was not updated
I'm using this tweaked example script because I don't need anything special right now:
When I connect to the server, I see that the MOTD and server description are cut off at the first space.
I have tried:
Remove color codes
Switch to single quotes in variable
Switch to single quotes in command argument at bottom
Add escaped double quotes around the variable
Add escaped single quotes around the variable
Escape the spaces
Same issue on all
Any idea?
I'm using this tweaked example script because I don't need anything special right now:
[SELECT ALL] Code:
#!/bin/sh
#
# example AssaultCube-Server launch script
# by MeatROme - see http://assault.cubers.net/wiki/Server_setup
# naturally also check your local documentation (docs) folder in the game-installation directory
# how many clients can connect?
CLIENTS=16
# password for admin access:
ADMINPASS=*****
# disconnect when frag-count is ..
KILLLIMIT=-2
# server description
DESC="\f7.Fs*|\f524HR TOSOK \f3KNIFE ONLY"
# MOTD definition - WYSIWYG :)
MOTD="\f7FARSHOT \f324HR TOSOK\nKNIFE ONLY\nKNIFE ONLY"
TS=$(date +%Y%m%d_%H%M%S)
TSH=$(date +%H:%M:%S\ %d.%m.%y)
#
# run the server:
#
assaultcube-server -x$ADMINPASS -k$KILLLIMIT -c$CLIENTS -n"$DESC" -o"$MOTD" > ServerLog_$TS 2>&1
When I connect to the server, I see that the MOTD and server description are cut off at the first space.
I have tried:
Remove color codes
Switch to single quotes in variable
Switch to single quotes in command argument at bottom
Add escaped double quotes around the variable
Add escaped single quotes around the variable
Escape the spaces
Same issue on all
Any idea?