Closed darkwarriors closed 12 years ago
did you have correctly configured config.php and battleye rcon enabled? is webserver is on the same server with game? is server windows based? is database settings correct? show me your config.php
yes server is windows based, iis 7 and database is correctly setup beacuse i can login. this is my config.php:
defined('DS') ? null : define('DS',DIRECTORY_SEPARATOR);
$hostname = "127.0.0.1"; //Database host
$serverip = "127.0.0.1"; //game-server host
$rconpassword = "mypassword"; //rcon password
$serverport = 2302; //server port
$username = "myuser"; //database user
$password = "mypassword"; //database password
$dbName = "dayz"; //database name
$sitename = "DayZ Administration"; //Admin panel name
$gamepath = "C:".DS."Users".DS."Administrator".DS."Desktop"; //path to the game, ex. "D:\arma2"
$gameexe = "dayz_server OK.bat"; //server executable name
$exepath = $gamepath.DS."Arma II - Dayz".DS."Expansion".DS."beta".DS.$gameexe; //executable path, ex. "D:\arma2\Expansion\beta\arma2oaserver.exe"
$serverstring = " -beta=Expansion".DS."beta;Expansion".DS."beta".DS."Expansion -arma2netdev -mod=Expansion".DS."beta\;Expansion".DS."beta".DS."Expansion;@Arma2NET;@CBA;@dayz;@Sanctuary; -name=cfgdayz -config=cfgdayz".DS."server.cfg -cfg=cfgdayz".DS."arma2.cfg -profiles=cfgdayz -cpuCount=2 -maxMem=1578"; //server startup parametres
$config = "cfgdayz".DS."server.cfg"; //server config file
same of this post:
and forgive me but iam not a begginer ;)
ok found the solution with: short_open_tag = On even if still some problems on connections but let me test.
$gameexe = "dayz_server OK.bat"; //server executable name
That must be exe file. otherwise start-stop feature will not work
$gamepath = "C:".DS."Users".DS."Administrator".DS."Desktop";
?! desktop? your game is installed right on desktop? that is big mistake
in .bat we do some others check when server start and stop like resource check, user rights, and log write, what will be the differences? we execute .exe inside that .bat .
yes our installation is on desktop beacuse isent an installation but a backuped version, server is good and also with rcon program we can connect, but it fail with php rcon connection. There is a debug mode? for better understanding the problem?
difference in this - bat is script, and dont stay in tasks when done. that mean, my code cant handle it, and cant control it
no. there is no debug mode. you need correctly configured and working battleye rcon
Hello. Great job! Wanted to ask if this works on Apache or only on IIS?
Thanks
I have this installed in XAMMP (Apache, Mysql and PHP) on windows 2008
I hope this is done
After login success on clean installation of panel i get in the page the echo ( php code) of rcon.php and nothing else.