SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 25/07/2015, 07:26 PM   #1
CristianHG
Little Clucker
 
CristianHG's Avatar
 
Join Date: Nov 2012
Location: Coral Springs, FL
Posts: 30
Reputation: 24
Default SA-MP Popularity Chart

Well, this idea really came out of nowhere, but basically I made a pie chart in Chart.JS that uses information of servers that run hosted tab as its data.

I used Chart.JS and EM-Creations' SA-MP PHP API.

It'll eventually use the Internet tab, but, I did a little bit too many tests and got blocked out.

Preview:



Click here to see live

Source code

Last edited by CristianHG; 26/07/2015 at 02:07 AM.
CristianHG is offline   Reply With Quote
Old 25/07/2015, 07:40 PM   #2
SickAttack
High-roller
 
Join Date: Dec 2013
Posts: 4,761
Reputation: 754
Default Re: SA-MP Popularity Chart

Where do you get the server IP Addresses from?
SickAttack is offline   Reply With Quote
Old 25/07/2015, 07:55 PM   #3
CristianHG
Little Clucker
 
CristianHG's Avatar
 
Join Date: Nov 2012
Location: Coral Springs, FL
Posts: 30
Reputation: 24
Default Re: SA-MP Popularity Chart

Quote:
Originally Posted by SickAttack View Post
Where do you get the server IP Addresses from?
[removed]

Last edited by CristianHG; 26/07/2015 at 02:25 AM.
CristianHG is offline   Reply With Quote
Old 25/07/2015, 10:49 PM   #4
Niko_boy
High-roller
 
Niko_boy's Avatar
 
Join Date: Aug 2010
Location: Somewhere i belong
Posts: 1,336
Reputation: 138
Default Re: SA-MP Popularity Chart

look at those Russian RP servers xD having about 3k players on average

Good work with chart, really good
__________________
nope[IMG]http://*******/1r0SOkH_[/IMG]
•••[CLOSED]LCS•Freeroam•DM•Stunts•••AutoArena [0.3z][No SkinShot][sixtytiger.com]Want a decent Attack Defend Gamemode?
N/A176.31.229.148:7830Get This! Attack-Defend(v2.3.1)
Niko_boy is offline   Reply With Quote
Old 25/07/2015, 10:55 PM   #5
riajedA
Little Clucker
 
Join Date: Feb 2015
Posts: 49
Reputation: 17
Default Re: SA-MP Popularity Chart

You are working with statistics, you need to inform the populace searched average deviation, standard deviation..

I liked the initiative.
__________________
Excuse-me, do you have a moment to talk about linux?
Я полагаю, дым.
Fond circuits
זה חדר שעושה קעקוע.
riajedA is offline   Reply With Quote
Old 25/07/2015, 11:01 PM   #6
SickAttack
High-roller
 
Join Date: Dec 2013
Posts: 4,761
Reputation: 754
Default Re: SA-MP Popularity Chart

Quote:
Originally Posted by CristianHG View Post
Do you have permission to access it? Because to my knowledge, you need permission. That's why some projects like Evolution's player search engine just throws random IP Addresses and hopes that the IP Address is a server.

Last edited by SickAttack; 26/07/2015 at 02:28 AM.
SickAttack is offline   Reply With Quote
Old 26/07/2015, 12:32 AM   #7
CoaPsyFactor
Gangsta
 
Join Date: Jul 2010
Location: Belgrade, Serbia
Posts: 866
Reputation: 52
Default Re: SA-MP Popularity Chart

Quote:
Originally Posted by SickAttack View Post
Do you have permission to access it? Because to my knowledge, you need permission. That's why some projects like Evolution's player search engine just throws random IP Addresses and hopes that the IP Address is a server.
Information is public, so you are wrong - no need for permission he didn't steal anything from anyone
and he gave source from where he took these ip's
__________________
Quote:
Originally Posted by ThaiLuan View Post
Code:
C:\Users\Administrator\Downloads\Viet-RP\gamemodes\3mien.pwn(112016) : fatal error 101: cannot write to file: "disk full"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Help me! How to fix error
CoaPsyFactor is offline   Reply With Quote
Old 26/07/2015, 12:43 AM   #8
SickAttack
High-roller
 
Join Date: Dec 2013
Posts: 4,761
Reputation: 754
Default Re: SA-MP Popularity Chart

Quote:
Originally Posted by CoaPsyFactor View Post
Information is public, so you are wrong - no need for permission he didn't steal anything from anyone
and he gave source from where he took these ip's
Quote:
Information is public
Please give me your credit card number, your address, the full names of your family members, your password, etc. Is information still public? I don't think so.

Quote:
Originally Posted by ******
Clearly you have not read the SA:MP services agreement (http://www.sa-mp.com/service_agreement.txt);


(b) You may not connect to the SA-MP master list using custom software unless
permission is granted by the service provider.


So unless you get explicit permission from Kalcor, you cannot connect to the master list with anything but the SA:MP client. If you want to make a list of servers you will have to make your own independent list.
SickAttack is offline   Reply With Quote
Old 26/07/2015, 12:53 AM   #9
CristianHG
Little Clucker
 
CristianHG's Avatar
 
Join Date: Nov 2012
Location: Coral Springs, FL
Posts: 30
Reputation: 24
Default Re: SA-MP Popularity Chart

The server list itself is cached every day and the server information is cached every 30 minutes.

As far as I'm concerned my usage of the master server list is so low that even denying me access wouldn't be really affect it because I would still have tremendous amounts of addresses from archived caches.

PS: Nope, I don't mean to sound douchey, just trying to emphasize how little my usage of the list is.
CristianHG is offline   Reply With Quote
Old 26/07/2015, 01:08 AM   #10
CristianHG
Little Clucker
 
CristianHG's Avatar
 
Join Date: Nov 2012
Location: Coral Springs, FL
Posts: 30
Reputation: 24
Default Re: SA-MP Popularity Chart

Quote:
Originally Posted by riajedA View Post
You are working with statistics, you need to inform the populace searched average deviation, standard deviation..

I liked the initiative.
The version hosted on my computer contains features similar to the ones you're talking about, I'm just trying to figure out how to calculate them using memory efficiently
CristianHG 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
ABOUT SAMP POPULARITY... PLAYHARD112 Everything and Nothing 10 05/01/2015 09:28 PM
SA-MP popularity. wsna General 49 11/11/2013 06:09 PM
Server Hosting Popularity. Peet General 5 31/12/2012 03:37 PM
A chart where you can discuss,write and plan with your team Kapil Everything and Nothing 16 07/05/2011 03:49 AM
The popularity of SA:MP and the future Mazza101 General 46 24/12/2008 01:18 PM


All times are GMT. The time now is 07:58 AM.


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