SA-MP Forums Archive
[Tool/Web/Other] [PHP] Server Query and RCON API - Be an admin at ease! (16/02/2010) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Tools and Files (https://sampforum.blast.hk/forumdisplay.php?fid=82)
+---- Thread: [Tool/Web/Other] [PHP] Server Query and RCON API - Be an admin at ease! (16/02/2010) (/showthread.php?tid=104299)

Pages: 1 2 3 4 5 6


Re: [PHP] Server Query and RCON API - Be an admin at ease! - Westie - 13.01.2010

Sorry, I was changing from FastCGI to PHP-FPM. Downloads should be fixed.


Re: [PHP] Server Query and RCON API - Be an admin at ease! - Amit_B - 14.01.2010

Amazing release. Good work


Re: [PHP] Server Query and RCON API - Be an admin at ease! - Perker12345 - 14.01.2010

Very nice
We need more of these php stuff on the forum


Re: [PHP] Server Query and RCON API - Be an admin at ease! - Westie - 16.01.2010

I've updated both the SampQueryAPI and SampRconAPI files, with added functionality.


Re: [PHP] Server Query and RCON API - Be an admin at ease! - Mechscape - 16.01.2010

Nice!


Re: [PHP] Server Query and RCON API - Be an admin at ease! - Jay. - 16.01.2010

Ok i got my DDZH81$ on my post this is LUX


Re: [PHP] Server Query and RCON API - Be an admin at ease! - Crazzhell - 17.01.2010

Nice class. Will be using RCON API for a server control panel script.



Re: [PHP] Server Query and RCON API - Be an admin at ease! - Nekom - 16.02.2010

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?


Re: [PHP] Server Query and RCON API - Be an admin at ease! - Westie - 16.02.2010

Oh, the online version was borked. It must of not uploaded properly. It's fixed now though.


Re: [PHP] Server Query and RCON API - Be an admin at ease! (16/02/2010) - Peppe95 - 07.09.2010

Why there is a limit of 100 players when I use getBasicPlayers or getDetailedPlayers?


Re: [PHP] Server Query and RCON API - Be an admin at ease! (16/02/2010) - Westie - 08.09.2010

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).


Re: [PHP] Server Query and RCON API - Be an admin at ease! (16/02/2010) - Winston - 09.09.2010

http://forum.sa-mp.com/showpost.php?...3&postcount=60
up up up


Re: [PHP] Server Query and RCON API - Be an admin at ease! (16/02/2010) - xyly - 09.09.2010

PHP Code:

$rcon 
= new SampRconAPI('192.168.4.1'7777'lolarcon');
$rcon->Call('your_custom_func_here'); 
is not working, nothing happens ,am I missing something ? ... help please


Re: [PHP] Server Query and RCON API - Be an admin at ease! (16/02/2010) - Westie - 09.09.2010

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?


Re: [PHP] Server Query and RCON API - Be an admin at ease! (16/02/2010) - xyly - 09.09.2010

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.


Re: [PHP] Server Query and RCON API - Be an admin at ease! (16/02/2010) - Cameltoe - 23.09.2010

Thanks a lot for this!!


Re: [PHP] Server Query and RCON API - Be an admin at ease! (16/02/2010) - Brian_Furious - 14.10.2010

I dont unsterdand how to use this fine...


Re: [PHP] Server Query and RCON API - Westie - 23.10.2010

Quote:
Originally Posted by epic.matrix
Посмотреть сообщение
Useless, no downloads, i say delete the thread if he dosent fix the downloads
Personally I think the topic creator should be hung, drawn and quartered because the download links weren't working for at least three days.

Quote:
Originally Posted by sabretur
Посмотреть сообщение
Download link not working.
Fixed. I had a problem with my server, so they should work now.


Re: [PHP] Server Query and RCON API - epic.matrix - 23.10.2010

Lol, you finaly fixed it ima try it ty :3


Re: [PHP] Server Query and RCON API - Be an admin at ease! (16/02/2010) - Typhome - 31.10.2010

It doenst work...