[PHP/MySQL]RGraphs - SA-MP Server Graphs -
R@f - 13.09.2012
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
Enjoy
Re: [PHP]RGraphs - SA-MP Server Graphs -
Black Wolf - 13.09.2012
Love your awesome releases.
Re : [PHP]RGraphs - SA-MP Server Graphs -
Hip-hop - 13.09.2012
Nice work !
Re: [PHP]RGraphs - SA-MP Server Graphs -
Ronaldo_raulâ„¢ - 13.09.2012
OMG, Something I've been searching since ages. Thank you so much.
Re: [PHP]RGraphs - SA-MP Server Graphs -
royal_king - 16.09.2012
Handy! Thanks for sharing.
Re: [PHP]RGraphs - SA-MP Server Graphs -
Potassium - 16.09.2012
I prefer
SACNR monitor tbh.
Re: [PHP]RGraphs - SA-MP Server Graphs -
AndreT - 16.09.2012
First of all, very nice work there! pChart graphs look neat and your programming is nice as well!
Re: [PHP]RGraphs - SA-MP Server Graphs -
nGen.SoNNy - 16.09.2012
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
Re: [PHP]RGraphs - SA-MP Server Graphs -
R@f - 16.09.2012
Quote:
Originally Posted by Potassium
|
SACNR is using the same lib as me (pChart). Just adapt my work to your own needs
Quote:
Originally Posted by Anonym2009
|
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.
Re : Re: [PHP]RGraphs - SA-MP Server Graphs -
Jennifer_Willis - 08.10.2012
Quote:
Originally Posted by Anonym2009
|
Open graph.php and replace Fonts/ by fonts/
Thank R@F