MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
RCON Help!
RCON Help!
Posts: 14
Threads: 5
Joined: Apr 2012
Reputation:
0
03-23-2013, 11:51 PM
Hi,
I am having some difficulty with an RCON Command that is being sent from my website
through an auto donate PHP code. Once you have donated, it sends the RCOn command
like this:
PHP Code:
<?php
define ( 'SQ_SERVER_ADDR' , 'xx.xxx.xxx.xx' );
define ( 'SQ_SERVER_PORT' , 27015 );
define ( 'SQ_TIMEOUT' , 1 );
define ( 'SQ_ENGINE' , SourceQuery :: SOURCE );
// Edit this <-
$Query = new SourceQuery ( );
try
{
$Query -> Connect ( SQ_SERVER_ADDR , SQ_SERVER_PORT , SQ_TIMEOUT , SQ_ENGINE );
$Query -> SetRconPassword ( 'xxxxxxxx' );
$Query -> Rcon ( 'say A donation has been received from SteamID: ' . $steamid . '. Donation amount: ' . $amount . '$.' );
$Query -> Rcon ( 'ulx adduserid ' . $steamid . ' donator' );
But, for some reason whenever I test it, I get this error when the RCON runs:
Code:
Can't connect to RCON server: Connection timed out
The webserver connects fine with PayPal, and I can ping it and what not, and all of the required ports are open on my gameserver.
Please help!
Posts: 14
Threads: 5
Joined: Apr 2012
Reputation:
0
(03-23-2013, 11:51 PM) Samg381 Wrote: Hi,
I am having some difficulty with an RCON Command that is being sent from my website
through an auto donate PHP code. Once you have donated, it sends the RCOn command
like this:
PHP Code:
<?php
define ( 'SQ_SERVER_ADDR' , 'xx.xxx.xxx.xx' );
define ( 'SQ_SERVER_PORT' , 27015 );
define ( 'SQ_TIMEOUT' , 1 );
define ( 'SQ_ENGINE' , SourceQuery :: SOURCE );
// Edit this <-
$Query = new SourceQuery ( );
try
{
$Query -> Connect ( SQ_SERVER_ADDR , SQ_SERVER_PORT , SQ_TIMEOUT , SQ_ENGINE );
$Query -> SetRconPassword ( 'xxxxxxxx' );
$Query -> Rcon ( 'say A donation has been received from SteamID: ' . $steamid . '. Donation amount: ' . $amount . '$.' );
$Query -> Rcon ( 'ulx adduserid ' . $steamid . ' donator' );
But, for some reason whenever I test it, I get this error when the RCON runs:
Code:
Can't connect to RCON server: Connection timed out
The webserver connects fine with PayPal, and I can ping it and what not, and all of the required ports are open on my gameserver.
Please help!
Edit: I can do a ping to and from the webserver to the gameserver
Posts: 62
Threads: 2
Joined: Jan 2013
Reputation:
0
open port TCP of your gameserver . to use rcon !
Users browsing this thread: