SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Tools and Files

Reply
 
Thread Tools Display Modes
Old 08/10/2013, 11:30 AM   #1
chencong
Little Clucker
 
chencong's Avatar
 
Join Date: Aug 2012
Location: China
Posts: 22
Reputation: 16
Lightbulb HCount For SAMP Open Source Project|Show Server Players Count On Website With Image

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
    Code:
    if (strchr($ip,'string'))
    Or assign IP can query
    Code:
    if ($ip == 'IP')
    Edit it and copy it above of
    Code:
    //$sign = imagecreatefrompng('images/image.png');
  2. GET THE IMAGE
    Link to
    on Internet Exporer then you can see the server player count image.
  3. CHANGE COLOR
    Search
    Code:
    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
__________________

Last edited by chencong; 10/10/2013 at 01:29 PM.
chencong is offline   Reply With Quote
Old 08/10/2013, 11:39 AM   #2
n0minal
High-roller
 
n0minal's Avatar
 
Join Date: Mar 2013
Location: Rio de Janeiro
Posts: 4,154
Reputation: 723
Default Re: HCount For SAMP Open Source Project|Show Server Players Count On Website With Image

Wow nice job!
__________________
n0minal is offline   Reply With Quote
Old 08/10/2013, 12:44 PM   #3
DanDRT
High-roller
 
DanDRT's Avatar
 
Join Date: Apr 2012
Posts: 1,346
Reputation: 227
Default Respuesta: HCount For SAMP Open Source Project|Show Server Players Count On Website With Image

Nice, Good Job!
DanDRT is offline   Reply With Quote
Old 08/10/2013, 09:42 PM   #4
DanishHaq
High-roller
 
Join Date: Sep 2011
Location: Manchester, England, United Kingdom
Posts: 1,379
Reputation: 134
Default Re: HCount For SAMP Open Source Project|Show Server Players Count On Website With Image

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.
DanishHaq is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SAMP - open source? Tosfera Scripting Help 4 27/09/2013 05:21 PM
[PHP] Query to show online players on website toofast General 5 05/07/2013 10:16 AM
Open Source Server jameskmonger Everything and Nothing 94 20/06/2012 02:43 PM
Open Source : OXP+ project RSX Help Archive 0 20/07/2011 06:11 PM
Open Source SA-MP Server Project StunTEvo Help Archive 7 24/11/2010 04:18 AM


All times are GMT. The time now is 05:58 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.