Zupa Posted February 11, 2015 Report Share Posted February 11, 2015 Release 1.0 Zupastats. What is it? A webapp that you can host on your php capable environment to display stats about kills, deatch and server rankings. Technology? Front-End: AngularJS Back-End: PHP + PRedis PHP 5.5 Required Demo: http://37.187.135.190/uk431/ZupaStats/#/ Download: on 24 feb 2015 http://www.mediafire.com/download/xm59fk069cxzru7/ZupaStats1.0.rar Instructions: PHP 5.5 Required Unzip the folder in your apache enviremont ( xampp htdocs) for example. ( More info about this later). Go to the server/config.php and fill in your server data. $myRedisPass = "redispass"; $myRedisPort = 6379; $myRedisHost = '127.0.0.1'; // If php and redis are on the same server, this suffices ALSO ADD YOUR SERVERS IN THIS FILE If next line doesnt apply for you, go to the Continue line IF PHP and REDIS are on different servers ( you need to open the redis Port on that server AND bind your public ip in redis config !) Example redis.conf: ( Restart redis to activate this). bind 127.0.0.1 38.17.135.190 Continue here: Now browse to your website in a browser. ( localhost or externally). The server list takes the picture with same name as your server map. So put a picture called altis.png in image folder if u want to show that picture for an altis server. Your servre needs PHP 5.5 Screenshots: unrealPANDA, raymix, Uro and 9 others 12 Link to comment Share on other sites More sharing options...
BenR Posted February 11, 2015 Report Share Posted February 11, 2015 Looks awesome, cheers Zupa Link to comment Share on other sites More sharing options...
vbawol Posted February 11, 2015 Report Share Posted February 11, 2015 Good stuff Zupa, It is certainly fine to post in the general discussion as main reason for moderation is to keep that section releases only. I have moved it to the Tools section. unrealPANDA 1 Link to comment Share on other sites More sharing options...
ZENITHOVMAN Posted February 11, 2015 Report Share Posted February 11, 2015 Very Nice Indeed Zupa! Do you accept Donations? If yes where? EDIT: nvm found it (too early null coffee) ;) happydayz 1 Link to comment Share on other sites More sharing options...
Zupa Posted February 11, 2015 Author Report Share Posted February 11, 2015 There is a donate button in my sign. And appreciated Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted February 11, 2015 Report Share Posted February 11, 2015 Very cool. I'll be checking this out for my server! Link to comment Share on other sites More sharing options...
bFe Posted February 11, 2015 Report Share Posted February 11, 2015 Very nice! Works like a charm. Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted February 11, 2015 Report Share Posted February 11, 2015 I tried using the Fastpoint Redis manager and there was an issue with that. I was told it was because my database was 0. It wouldn't connect properly. I just uploaded this stats package to my webserver and it's not reading from my database. I wonder if the issue is because of my database being number 0? I can connect to my database with Redis desktop manager from my home computer. Link to comment Share on other sites More sharing options...
Zupa Posted February 11, 2015 Author Report Share Posted February 11, 2015 I tried using the Fastpoint Redis manager and there was an issue with that. I was told it was because my database was 0. It wouldn't connect properly. I just uploaded this stats package to my webserver and it's not reading from my database. I wonder if the issue is because of my database being number 0? I can connect to my database with Redis desktop manager from my home computer. Your redis and my php files are on the same box? I don't see a problem with the DB 0 tbh. What do u get like in detail when u load it? If u trust me, we can have a look on teamviewer together Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted February 11, 2015 Report Share Posted February 11, 2015 Your redis and my php files are on the same box? I don't see a problem with the DB 0 tbh. What do u get like in detail when u load it? No, they are not on the same box. I have web hosting through Host Gator and my server/redis database are hosted at Vert Hosting. I've got other tools running on my webserver that connect to my A2 servers just fine, so I know the webserver allows the connection to the remote databases. Here's the URL to the stats. They are empty and I've confirmed the IP, port, etc matches that used in the Redis desktop tool: http://killinzedz.net/ZupaStats/#/stats Link to comment Share on other sites More sharing options...
Zupa Posted February 11, 2015 Author Report Share Posted February 11, 2015 Your redis and my php files are on the same box? I don't see a problem with the DB 0 tbh. What do u get like in detail when u load it? If u trust me, we can have a look on teamviewer together Do u run PHP 5.5 ? http://killinzedz.net/ZupaStats/server/getNoLogDeathLogs.php?date=1423693348112 that isn't giving anything back, it just gives an internal error Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted February 11, 2015 Report Share Posted February 11, 2015 Do u run PHP 5.5 ? http://killinzedz.net/ZupaStats/server/getNoLogDeathLogs.php?date=1423693348112 that isn't giving anything back, it just gives an internal error Looks like it's PHP 5.4.37. Link to comment Share on other sites More sharing options...
Zupa Posted February 11, 2015 Author Report Share Posted February 11, 2015 Looks like it's PHP 5.4.37. Time to update ^^ Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted February 11, 2015 Report Share Posted February 11, 2015 Time to update ^^ I see the latest version is 5.6.5. If Host Gator will update my PHP install, will your tool run under that version? Will an old version really stop all data from being displayed? Link to comment Share on other sites More sharing options...
Zupa Posted February 11, 2015 Author Report Share Posted February 11, 2015 I see the latest version is 5.6.5. If Host Gator will update my PHP install, will your tool run under that version? Will an old version really stop all data from being displayed? Just 5.5 or higher, or the php will not answer to thefront end site. Link to comment Share on other sites More sharing options...
Zupa Posted February 11, 2015 Author Report Share Posted February 11, 2015 A 2nd issue is maybe that they limited php memory. since it's a host provider, they mostly do that shit. Digging something up, a sec Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted February 11, 2015 Report Share Posted February 11, 2015 Just 5.5 or higher, or the php will not answer to thefront end site. I followed the directions on the Host Gator site to update to PHP 5.5 but it's still not working. Still showing no data. Link to comment Share on other sites More sharing options...
Zupa Posted February 11, 2015 Author Report Share Posted February 11, 2015 Looks like it's PHP 5.4.37. Try this: Change the top of the deathNoLog.php file in server folder to <?php header('Access-Control-Allow-Origin: *'); ini_set('memory_limit', '-1'); /** * Created by PhpStorm. * User: jwindmolders * Date: 9/12/2014 * Time: 11:06 */ error_reporting(0); ini_set('display_errors',0); Link to comment Share on other sites More sharing options...
Zupa Posted February 11, 2015 Author Report Share Posted February 11, 2015 Or change it to this, to get more error logs <?php header('Access-Control-Allow-Origin: *'); ini_set('memory_limit', '-1'); error_reporting(-1); ini_set('display_errors', 'On'); Link to comment Share on other sites More sharing options...
FastPoint Gaming Posted February 11, 2015 Report Share Posted February 11, 2015 I tried using the Fastpoint Redis manager and there was an issue with that. I was told it was because my database was 0. It wouldn't connect properly. I just uploaded this stats package to my webserver and it's not reading from my database. I wonder if the issue is because of my database being number 0? I can connect to my database with Redis desktop manager from my home computer. He means his database instance was 0, we were doing an empty() check on a variable, the variable had a value of 0 so was throwing a false positive on that, Not looked at this however it may be a similar issue? Link to comment Share on other sites More sharing options...
Zupa Posted February 11, 2015 Author Report Share Posted February 11, 2015 He means his database instance was 0, we were doing an empty() check on a variable, the variable had a value of 0 so was throwing a false positive on that, Not looked at this however it may be a similar issue? nop, shouldn't do a thing on this, Link to comment Share on other sites More sharing options...
Gr8 Posted February 11, 2015 Report Share Posted February 11, 2015 Very Nice Tool, Amazing clean interface. Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted February 12, 2015 Report Share Posted February 12, 2015 Try this: Change the top of the deathNoLog.php file in server folder to <?php header('Access-Control-Allow-Origin: *'); ini_set('memory_limit', '-1'); /** * Created by PhpStorm. * User: jwindmolders * Date: 9/12/2014 * Time: 11:06 */ error_reporting(0); ini_set('display_errors',0); Or change it to this, to get more error logs <?php header('Access-Control-Allow-Origin: *'); ini_set('memory_limit', '-1'); error_reporting(-1); ini_set('display_errors', 'On'); Ok, made those changes and still nothing. Where would these error logs be? Link to comment Share on other sites More sharing options...
cen Posted February 12, 2015 Report Share Posted February 12, 2015 Works awesome. Great addition Zupa! Link to comment Share on other sites More sharing options...
RHE24 Posted February 12, 2015 Report Share Posted February 12, 2015 Wooow Zuba, awesome Work Thanks :) Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now