Ondrej Igar 24 Odesláno: 2. Listopad, 2012 Share Odesláno: 2. Listopad, 2012 Ahoj, vytvořil jsem menší script,který má za úkol spustit server na hru CS 1.6 . if(isset($_POST["zap_cs16"])) { exec("pkill ".$zjisti['port']."");//Zastavime server pokud běží //A znovu spustime $run_script = "hlds_run -game cstrike -pingboost 2 +sv_lan 0 +ip **.**.** +port ".$zjisti['port']." +maxplayers 12 +map de_dust2 +log on -master -noipx -secure -binary ./hlds_i686 &"; system("screen -A -m -d -S server-".$zjisti['port']." ". $run_script ,$zzz); Ok("Server se zapina .."); AddLog("Zapnuty serveru"); Reload("/hlavny/ovladani","2"); } Jenže server se nespustí, ale nevím proč. Děkuji za nápovědu, radu, tip. Mubby 1 Link to comment Share on other sites More sharing options...
0 WhiteSK 0 Odesláno: 13. Listopad, 2012 Share Odesláno: 13. Listopad, 2012 mas nastavene prava? ked to spustas cez web a max linux tak napis chown -R 80:0 /cesta/k/serveru/ Napr: chown -R 80:0 /root/016/ Link to comment Share on other sites More sharing options...
0 niCe 131 Odesláno: 13. Listopad, 2012 Share Odesláno: 13. Listopad, 2012 Doplneno oznaceni tematu Tag [HELP] uz se nepouziva! Priste vyber u nazvu tematu oznaceni tematu. Link to comment Share on other sites More sharing options...
Dotaz
Ondrej Igar 24
Ahoj,
vytvořil jsem menší script,který má za úkol spustit server na hru CS 1.6 .
Jenže server se nespustí, ale nevím proč.
Děkuji za nápovědu, radu, tip.
Mubby
Link to comment
Share on other sites
2 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now