Posts: 857
Threads: 9
Joined: Jul 2009
Reputation:
0
Sorry, I was changing from FastCGI to PHP-FPM. Downloads should be fixed.
Posts: 857
Threads: 9
Joined: Jul 2009
Reputation:
0
I've updated both the SampQueryAPI and SampRconAPI files, with added functionality.
Posts: 1,121
Threads: 139
Joined: Nov 2009
Reputation:
0
Ok i got my DDZH81$ on my post this is LUX
Posts: 8
Threads: 1
Joined: Jan 2010
Reputation:
0
Nice class. Will be using RCON API for a server control panel script.
Posts: 53
Threads: 10
Joined: Mar 2009
Reputation:
0
this is my php file:
<?
require "SampRconAPI.php";
class CustomRcon extends SampRconAPI
{
public function someFunctionName()
{
parent::Call('fc '.'[Forum Chat] '.$_POST['nome'].' dice:'.$_POST['testo']);
}
}
$rcon = new CustomRcon('ip', 7777, 'rcon');
$rcon->someFunctionName();
header("location: form.html");
?>
Using this with a form nothing happen (the script doesn't send rcon command to the server), but when i write in the server "/rcon fc text" the script work... can you help me?
Posts: 857
Threads: 9
Joined: Jul 2009
Reputation:
0
Oh, the online version was borked. It must of not uploaded properly. It's fixed now though.
Posts: 28
Threads: 3
Joined: Sep 2009
Reputation:
0
Why there is a limit of 100 players when I use getBasicPlayers or getDetailedPlayers?
Posts: 857
Threads: 9
Joined: Jul 2009
Reputation:
0
Because Kye said so.
He added it as a measure to protect against attacks against users - who might have their connections killed by the mass spam of packets 500 players (that's at least 15000 characters).
Posts: 857
Threads: 9
Joined: Jul 2009
Reputation:
0
Yeah, you're missing something.
Common sense mainly. You need to insert the server's IP and port, as well as password, if you haven't already.
What are you trying to use the script for?
Posts: 4
Threads: 0
Joined: Jul 2010
Reputation:
0
No need for gibes offcours I replace ip port pass with my own , the rest of the functions work`s ok only call() dosen`t seem to work.
I want to call 2 function from my control panel.
Posts: 710
Threads: 32
Joined: May 2009
Reputation:
0
I dont unsterdand how to use this fine...