Sign in to follow this  
chencong

HCount For MTASA Open Source Project

Recommended Posts

HCount For MTASA

Show Server Player Count On Website With PHP and GameQ API

INTRODUCTION

This is a software who show server player count on website with PHP and GameQ 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

gplv3-127x51.png

DOWNLOAD

http://sourceforge.net/projects/hcos/files/hcount_mtasa.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
    on Internet Exporer then you can see the server player count image.
  3. CHANGE COLOR
    Search
    imagecolorallocate($sign, 255, 255, 255); 
    

    in mtasa.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

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.