Closed kaotix closed 11 years ago
I can understand why you need to use 192.168.1.2 do you tried to use 127.0.0.1 instead of 192.168.1.2??
I use 192.168.1.2 because the server is bound to this IP and I am trying to access is from another PC on 192.168.1.3
For now Status of server will be displayed only when reportingIP variable in config of dayz server will be equal with 127.0.0.1
check please file config file of dayz server (for example my config file is config_323ee45ae.cfg )
find this line
reportingIP = "arma2oapc.master.gamespy.com"; // For Arma2: Operation Arrowhead
change arma2oapc.master.gamespy.com to 127.0.0.1
restart your server and check admin panel
Ah, this makes sense now. I have changed reportingIP and it works. I have never needed to change this IP before with other admin panels so I was confused. Maybe you should put this into the readme as a step during installation. Thanks
**Just as a note, I have used the DayZAdmin script (I still use it) and it has pretty much the same code as you do for the status. This does not require me to alter the reportingIP since when I change the reportingIP DayZCommander lists the server as offline which renders this script useless. Please see: https://github.com/monkeyshot/DayZAdmin/blob/master/modules/dashboard.php Which is almost identical to yours. Hope this helps.
I am getting the message:
Status can't be displayed while reporting_ip is not 127.0.0.1 in server config
My reporting_ip is a LAN IP (192.168.1.2) which is the same IP that Apache, MySQL and DayZ are running on so there should be no issue.