still doesnt workPHP Code:
export LD_PRELOAD="$/path/to/lib/libcod2_1_3.so"
i did this
i can run this without screen but i cant run with screen :/PHP Code:
LD_LIBRARY_PATH=. LD_PRELOAD="/path/to/lib/libcod2_1_3.so":$LD_LIBRARY_PATH
still doesnt workPHP Code:
export LD_PRELOAD="$/path/to/lib/libcod2_1_3.so"
i did this
i can run this without screen but i cant run with screen :/PHP Code:
LD_LIBRARY_PATH=. LD_PRELOAD="/path/to/lib/libcod2_1_3.so":$LD_LIBRARY_PATH
Try using script i posted earlier but just replace your path/fs_game.
sudo apt-get rekt
cant load libcod in screen :S
Show us the exact script you are using, not some general shit
I wanna point you towards my signature.
"Does not work" is an error report for a bug between keyboard and chair.
All hail Artie Effem
feanor (1st June 2016)
i am using like this , but i cant preload libcod with sh script so i cant run with screen.. always giving cant preload libcod error
but when i try like this i can preload libcod with sh script (its give preload error again but yet preloading ) but cant preload in screen maybe iznogod is right its about mePHP Code:
#!/bin/bash
export LD_PRELOAD="$/path/to/lib/libcod2_1_3.so"
PARAMS="+set net_ip +set.. +set... +set sv_cracked 1"
"./cod2_lnxded" "$PARAMS"
PHP Code:
LD_LIBRARY_PATH=. LD_PRELOAD="/path/to/lib/libcod2_1_3.so":$LD_LIBRARY_PATH
Compiled the .so yourself or using some downloaded one?
And show your start script
timescale 0.01
I use the downloaded file
PHP Code:
#!/bin/bash
export LD_PRELOAD="$HOME/cod2_1_3/libcod2_1_3.so"
PARAMS="+set fs_homepath /home/name/.callofduty2_1_3 +set fs_game main +set dedicated 2 +set net_port 28962 +exec server.cfg +set sv_cracked 1"
while true ; do
"$HOME/cod2_1_3/cod2_lnxded" "$PARAMS"
echo "Restarting the server..."
sleep 1
done
exit 1
Last edited by WoOtLax; 30th October 2017 at 14:44.