-
-
Save mtijanic/50b6c70a5c1088fbd74e351abcd13e01 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
ulimit -c unlimited | |
export NWNX_METRICS_INFLUXDB_SKIP=y | |
export NWNX_METRICS_INFLUXDB_HOST=localhost | |
export NWNX_METRICS_INFLUXDB_PORT=8089 | |
export NWNX_RUBY_SKIP=y | |
export NWNX_RUBY_EVALUATE_METRICS=true | |
export NWNX_REDIS_SKIP=y | |
export NWNX_SQL_TYPE=mysql | |
export NWNX_SQL_HOST=localhost | |
export NWNX_SQL_USERNAME=<user> | |
export NWNX_SQL_PASSWORD=<pass> | |
export NWNX_SQL_DATABASE=nwn | |
export NWNX_SQL_QUERY_METRICS=true | |
export NWNX_CORE_LOG_LEVEL=5 | |
export NWNX_CORE_LOAD_PATH=/home/mtijanic/dev/beamdog/nwnx/unified/Binaries | |
#export LD_PRELOAD=/usr/gcc_6_2/lib32/libasan.so:$LD_PRELOAD | |
#export ASAN_OPTIONS=alloc_dealloc_mismatch=0 | |
gdb --args env LD_PRELOAD=/home/mtijanic/dev/beamdog/nwnx/unified/Binaries/NWNX_Core.so \ | |
./nwserver-linux \ | |
-module 'nwnx_test' \ | |
-maxclients 96 \ | |
-minlevel 1 \ | |
-maxlevel 30 \ | |
-pauseandplay 0 \ | |
-pvp 2 \ | |
-servervault 1 \ | |
-elc 0 \ | |
-ilr 0 \ | |
-gametype 3 \ | |
-oneparty 0 \ | |
-difficulty 3 \ | |
-autosaveinterval 0 \ | |
-dmpassword 'test' \ | |
-servername 'shtestnwnx' \ | |
-publicserver 1 \ | |
-reloadwhenempty 0 \ | |
-port 5121 \ | |
"$@" | |
echo $! > pid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment