SA-MP Forums Archive
[Tool/Web/Other] HCount For SAMP Open Source Project|Show Server Players Count On Website With Image - 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] HCount For SAMP Open Source Project|Show Server Players Count On Website With Image (/showthread.php?tid=468426)



HCount For SAMP Open Source Project|Show Server Players Count On Website With Image - chencong - 08.10.2013

HCount For SAMP
Show Server Player Count On Website With PHP and RSign API
INTRODUCTION
This is a software who show server player count on website with PHP and RSign API,affiliated to HCOS(HuiCheng Gaming Open Source Project)
INSTALL
Download the file, unzip it to a VPS/Server or other support UDP packets sending.
LICENSE

DOWNLOAD
http://sourceforge.net/projects/hcos...count_samp.rar
USE
  1. SET THE AUTHORITY ON QUERY
    If you want to make some strings in IP can query
    Код:
    if (strchr($ip,'string'))
    Or assign IP can query
    Код:
    if ($ip == 'IP')
    Edit it and copy it above of
    Код:
    //$sign = imagecreatefrompng('images/image.png');
  2. GET THE IMAGE
    Link to
    Quote:
    http://yoursite/samp.php?srv=SERVER IP:SERVER PORT
    on Internet Exporer then you can see the server player count image.
  3. CHANGE COLOR
    Search
    Код:
    imagecolorallocate($sign, 255, 255, 255);
    in samp.php, 255 In turn mean RGB color code, you can edit it by your perfect
    For Example the black is 0, 0, 0
  4. NOTICE
    Server string length for this program enabled by default is <=9, for example 999/999. when the string length >9 will cannot run, then you need make a suit image and copy it to images folder and rename it to imagex(x mean that image sult lengh).png
DONATE
If you like this, please donate we and let we have enough power to open source more and more software.
DONATE SUPPORT


Re: HCount For SAMP Open Source Project|Show Server Players Count On Website With Image - n0minal - 08.10.2013

Wow nice job!


Respuesta: HCount For SAMP Open Source Project|Show Server Players Count On Website With Image - DanDRT - 08.10.2013

Nice, Good Job!


Re: HCount For SAMP Open Source Project|Show Server Players Count On Website With Image - DanishHaq - 08.10.2013

I did this in the past once for someone and I gotta say this is a good tutorial to sum it all up. Good job.