imbalimba420
Refugee
Hello everyone,
is there a way to use a port from the startup script?
As an example, this is my startscript right now:
./startserver.sh -configfile=serverconfig.xml
startserver.sh looks like this:
./7DaysToDieServer.x86_64 -logfile $SERVERDIR/7DaysToDieServer_Data/output_log__`date +%Y-%m-%d__%H-%M-%S`.txt -quit -batchmode -nographics -dedicated $PARAMS
Is there a way to add a port, so it does not use the one in the config file? Like this?
./7DaysToDieServer.x86_64 -serverport 55480 -logfile $SERVERDIR/7DaysToDieServer_Data/output_log__`date +%Y-%m-%d__%H-%M-%S`.txt -quit -batchmode -nographics -dedicated $PARAMS
I've tried that one allready, but its still using the default port.
Can someone tell me, if there is a way, how to use a different port from the startscript directly?
Regards
is there a way to use a port from the startup script?
As an example, this is my startscript right now:
./startserver.sh -configfile=serverconfig.xml
startserver.sh looks like this:
./7DaysToDieServer.x86_64 -logfile $SERVERDIR/7DaysToDieServer_Data/output_log__`date +%Y-%m-%d__%H-%M-%S`.txt -quit -batchmode -nographics -dedicated $PARAMS
Is there a way to add a port, so it does not use the one in the config file? Like this?
./7DaysToDieServer.x86_64 -serverport 55480 -logfile $SERVERDIR/7DaysToDieServer_Data/output_log__`date +%Y-%m-%d__%H-%M-%S`.txt -quit -batchmode -nographics -dedicated $PARAMS
I've tried that one allready, but its still using the default port.
Can someone tell me, if there is a way, how to use a different port from the startscript directly?
Regards