SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 13/09/2012, 02:20 PM   #1
R@f
Huge Clucker
 
Join Date: Aug 2007
Posts: 364
Reputation: 225
Default [PHP/MySQL]RGraphs - SA-MP Server Graphs

RGraph - SA-MP Server Graphs

ABOUT
RGraph is a free SA-MP Graph generator for your servers. Show other people how many players were on your server those last 24 hours !

Author
This project was developped by Rafael 'R@f' Keramidas <rafael [AT] keramid [DOT] as>.

Donations
If you like this project or make a commercial use for it, please donate via paypal at rafael.keramidas [AT] gmail [DOT] com. Of course you don't have to but it would be nice if you do

Credits/Thanks
pChart : An awesome chart generator for PHP http://pchart.sourceforge.net/

LICENCE
This project is released under GPLv3. Read the GPLv3.txt for more information.

REQUIRED
MySQL, LibGD & Sockets for PHP.

DOWNLOAD
You can get the project on Github : https://github.com/RafaelKeramidas/RGraphs

How to download the zip archive ?
Take a look at this screenshot : http://rafael.keramid.as/rpanel/howtodl.png

INSTALL
1. Put all files in your web directory (except the "cron" folder).
2. Copy/Paste the content of rpgrah.sql in your MySQL Database.
3. Change the config file with your MySQL credentials (located at "includes/config.inc.php").
4. Setup a half-hourly (30 minutes) or hourly Cronjob or Scheduled Task on "cron/fetchstats.cron.php".
5. Add one or multiple servers and wait 24 hours to get the full stats.
6. Share you graphs !

PREVIEW
Small chart


Big chart

SUPPORT
I don't give ANY support for the installation or usage of this script, so please don't contact me for that !!
If you found a bug, write me at rafael [AT] keramid [DOT] as and don't forget to put "RGraph" in the subject.

If you need help with Cronjobs : http://www.cyberciti.biz/faq/how-do-...-or-unix-oses/
If you need help with Scheduled Tasks : http://www.hosting.com/support/windo...ws-server-2008

CHANGELOG
V1.0 - 13th September 2012
  • Initial release.


Enjoy

Last edited by R@f; 10/10/2013 at 03:58 PM.
R@f is offline   Reply With Quote
Old 13/09/2012, 02:23 PM   #2
Black Wolf
Gangsta
 
Join Date: Mar 2009
Location: On the bed with your sister.
Posts: 515
Reputation: 166
Default Re: [PHP]RGraphs - SA-MP Server Graphs

Love your awesome releases.
__________________
<not allowed>
Black Wolf is offline   Reply With Quote
Old 13/09/2012, 06:46 PM   #3
Hip-hop
Huge Clucker
 
Join Date: Jun 2009
Posts: 276
Reputation: 29
Default Re : [PHP]RGraphs - SA-MP Server Graphs

Nice work !
__________________

Hip-hop is offline   Reply With Quote
Old 13/09/2012, 06:48 PM   #4
Ronaldo_raul™
High-roller
 
Ronaldo_raul™'s Avatar
 
Join Date: Jun 2010
Location: .
Posts: 1,013
Reputation: 67
Default Re: [PHP]RGraphs - SA-MP Server Graphs

OMG, Something I've been searching since ages. Thank you so much.
Ronaldo_raul™ is offline   Reply With Quote
Old 16/09/2012, 10:43 AM   #5
royal_king
Gangsta
 
royal_king's Avatar
 
Join Date: Jul 2010
Location: Hyderabad, India (i think)
Posts: 612
Reputation: 38
Default Re: [PHP]RGraphs - SA-MP Server Graphs

Handy! Thanks for sharing.
__________________
Freelancing Web Developer & Designer
Contact Info:
Skype - viswanath608
royal_king is offline   Reply With Quote
Old 16/09/2012, 10:46 AM   #6
Potassium
High-roller
 
Potassium's Avatar
 
Join Date: Oct 2009
Location: Sydney, Australia
Posts: 3,037
Reputation: 1219
Default Re: [PHP]RGraphs - SA-MP Server Graphs

I prefer SACNR monitor tbh.
Potassium is offline   Reply With Quote
Old 16/09/2012, 11:57 AM   #7
AndreT
Gangsta
 
AndreT's Avatar
 
Join Date: Jul 2011
Posts: 975
Reputation: 413
Default Re: [PHP]RGraphs - SA-MP Server Graphs

First of all, very nice work there! pChart graphs look neat and your programming is nice as well!
AndreT is offline   Reply With Quote
Old 16/09/2012, 12:30 PM   #8
nGen.SoNNy
High-roller
 
nGen.SoNNy's Avatar
 
Join Date: Sep 2009
Location: Romania
Posts: 1,000
Reputation: 65
Question Re: [PHP]RGraphs - SA-MP Server Graphs

Nice work but i can't use it) I don't know why Cron Job don't work!
I don't know how to add make that Command...

EDIT: Now it's working but it looks like this: http://graph.stunt-evo.com/graph.php?srvid=1&size=small

I want to look like your example
__________________
If i've helped you, please click

Last edited by nGen.SoNNy; 16/09/2012 at 01:21 PM.
nGen.SoNNy is offline   Reply With Quote
Old 16/09/2012, 08:19 PM   #9
R@f
Huge Clucker
 
Join Date: Aug 2007
Posts: 364
Reputation: 225
Default Re: [PHP]RGraphs - SA-MP Server Graphs

Quote:
Originally Posted by Potassium View Post
I prefer SACNR monitor tbh.
SACNR is using the same lib as me (pChart). Just adapt my work to your own needs

Quote:
Originally Posted by Anonym2009 View Post
Nice work but i can't use it) I don't know why Cron Job don't work!
I don't know how to add make that Command...

EDIT: Now it's working but it looks like this: http://graph.stunt-evo.com/graph.php?srvid=1&size=small

I want to look like your example
You have probably the wrong rights or the wrong path for the fonts. And you cron is too short, you should put it to every 30 minutes.

----

Thanks to all for your comments.
R@f is offline   Reply With Quote
Old 25/09/2012, 08:00 AM   #10
ca2k
Huge Clucker
 
ca2k's Avatar
 
Join Date: Sep 2010
Posts: 346
Reputation: 106
Default Re: [PHP]RGraphs - SA-MP Server Graphs

Excellent.
ca2k 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



All times are GMT. The time now is 10:00 AM.


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