BAD RCON ATTEMPT BY: 127.0.0.1 (using RCON API)
#1

I'm tying use
PHP код:
$query->setWeather(2); 
but samp console say
Код:
BAD RCON ATTEMPT BY: 127.0.0.1
Any ideas?

I'm using [PHP] Query and RCON API: https://sampforum.blast.hk/showthread.php?tid=355574
Reply
#2

Can you show us the PHP, it'll help us help you. (The Entire thing, feel free to remove the RCON password)
Reply
#3

PHP код:
$query = new SampRcon($_GET['ip'], strval($_GET['port']), md5($_GET['hash']));
if(
$query->connect())
{
     
$query->setWeather(2);
}
else die(
'Can\'t connect...'); 
It's connected successfuly, I can get server info etc. I just can't set any info like:
Код:
setWeather
setGravity
say
setGameModeText
etc.
Reply
#4

To start off, why are you hashing the password? The password in the settings file is plaintext unless you've created the has beforehand and used that as a password.
Reply
#5

Quote:
Originally Posted by zT KiNgKoNg
Посмотреть сообщение
To start off, why are you hashing the password? The password in the settings file is plaintext unless you've created the has beforehand and used that as a password.
Because, to this PHP file can get any website user and it have all typing logs. If someone type correct password another person see it in log. Its only for security.
Reply
#6

Any more?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)