OwNeR
12th June 2014, 20:23
Hello everyone,
So i was trying to setup libcod for multiple servers.
Problem starts at server.sh
Current server.sh:
cod2="root/cod2/gamecreate/callofduty2/cod2_lnxded"
fs_homepath='root/cod2/gamecreate/callofduty2'
fs_game='sra_dr/4'
net_port="28970"
com_hunkMegs="256"
sv_maxclients="16"
sv_punkbuster="0"
developer="0"
config='drsrvrcfg.cfg'
cracked='1'
args=\
"+set fs_homepath \"$fs_homepath\" "\
"+set sv_cracked $cracked "\
"+set fs_game $fs_game "\
"+set net_port $net_port "\
"+set com_hunkmegs $com_hunkMegs "\
"+set sv_maxclients $sv_maxclients "\
"+set sv_punkbuster $sv_punkbuster "\
"+set developer $developer "\
"+exec $config"
export LD_LIBRARY_PATH=".:/root/cod2/gamecreate/callofduty2/library:/root/cod2/gamecreate/callofduty2/library/mysql"
LD_PRELOAD="/root/cod2/gamecreate/callofduty2/libcod_1_3.so" $cod2 $args
What should i do?
So i was trying to setup libcod for multiple servers.
Problem starts at server.sh
Current server.sh:
cod2="root/cod2/gamecreate/callofduty2/cod2_lnxded"
fs_homepath='root/cod2/gamecreate/callofduty2'
fs_game='sra_dr/4'
net_port="28970"
com_hunkMegs="256"
sv_maxclients="16"
sv_punkbuster="0"
developer="0"
config='drsrvrcfg.cfg'
cracked='1'
args=\
"+set fs_homepath \"$fs_homepath\" "\
"+set sv_cracked $cracked "\
"+set fs_game $fs_game "\
"+set net_port $net_port "\
"+set com_hunkmegs $com_hunkMegs "\
"+set sv_maxclients $sv_maxclients "\
"+set sv_punkbuster $sv_punkbuster "\
"+set developer $developer "\
"+exec $config"
export LD_LIBRARY_PATH=".:/root/cod2/gamecreate/callofduty2/library:/root/cod2/gamecreate/callofduty2/library/mysql"
LD_PRELOAD="/root/cod2/gamecreate/callofduty2/libcod_1_3.so" $cod2 $args
What should i do?