Hi all,
I want to make a simple startup file to execute. In this file it have to kill the old screen, start a new screen, attach to screen, start server and then detach screen. However, I get managed to start the screen and resume it. But the server only starts if u quit the screen :/
PHP Code:
screen -X -S test quit
screen -AmdS test
screen -r test
LD_LIBRARY_PATH=. LD_PRELOAD=libcod2_1_0.so ./cod2_lnxded +set dedicated 2 +set net_ip 46.4.55.66 +set net_port 28961 +set sv_maxclients 52 +exec serversd.cfg + exec pws.cfg +set fs_game test + set sv_cracked 1
This is what I got so far