PHP NS2 Server monitor

CarNagE1CarNagE1 Poland Join Date: 2003-05-14 Member: 16298Members, NS2 Playtester, Reinforced - Shadow, WC 2013 - Supporter, Subnautica Playtester
Im trying hard to make a server monitor for my site. Something line nanogrid but only for one server. I was trying to figure out how does Xpaw works but i cant :/
Any tips or a working example script would be really helpful.

I was trying to use Xpaw script from <a href="https://github.com/xPaw/PHP-Source-Query-Class" target="_blank">https://github.com/xPaw/PHP-Source-Query-Class</a>
and got stuck in configuring base settings for ns2 engine
<a href="https://developer.valvesoftware.com/wiki/Server_queries#A2S_PLAYER" target="_blank">https://developer.valvesoftware.com/wiki/Se...ries#A2S_PLAYER</a>

define( 'SQ_SERVER_ADDR', 79.173.37.58' );
define( 'SQ_SERVER_PORT', 27015 );
define( 'SQ_TIMEOUT', 1 );
define( 'SQ_ENGINE', SourceQuery :: SOURCE );

What am i doing wrong? When i get my info to variables it shouldnt be a problem from that point.
Sign In or Register to comment.