Jump to content
  • 0

pomoc Nechce Se Spustit Cs1.6 Server


Ondrej Igar

Dotaz

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

  • Líbí se mi to! (+1) 1
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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...