[Tool/Web/Other] [PHP]RGraphs - SA-MP Server Graphs
#1

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
Reply
#2

Love your awesome releases.
Reply
#3

Nice work !
Reply
#4

OMG, Something I've been searching since ages. Thank you so much.
Reply
#5

Handy! Thanks for sharing.
Reply
#6

I prefer SACNR monitor tbh.
Reply
#7

First of all, very nice work there! pChart graphs look neat and your programming is nice as well!
Reply
#8

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
Reply
#9

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.
Reply
#10

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
Open graph.php and replace Fonts/ by fonts/


Thank R@F
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)