Search the Community
Showing results for tags 'kills'.
Found 2 results
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://220.127.116.11/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 18.104.22.168 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:
Hey guys, This is not a released script but just a web based killboard solution. Since and had to invest some time to set up something (primitive sadly) using cygwin commands to parse the RPT file. This beats what we had this morning (no killboard whatsoever) so I'm happy for now until itsatrap releases his nice one. Some might use this as quick temp solution until we have something proper in place. To use this you will need to have a VPS/dedicated server and Cygwin... You can see it in action here from our live site. And here is a screenshot in spoiler. refresh_killboard.bat I call this Windows Batch file every minute, using Windows Task Scheduler, which in turn, launches Cygwin bash shell and runs a few commands, then places output in a text file. (the output text file gets included in the killboard HTML page). @echo off C: chdir "C:\my_data\program_files\cygwin64\bin" bash.exe -c "/cygdrive/c/my_data/program_files/cygwin64/bin/echo.exe Last updated:" > c:\Apache\Apache2\htdocs\kills.txt bash.exe -c "/cygdrive/c/my_data/program_files/cygwin64/bin/date.exe" >> c:\Apache\Apache2\htdocs\kills.txt bash.exe -c "/cygdrive/c/my_data/program_files/cygwin64/bin/echo.exe " >> c:\Apache\Apache2\htdocs\kills.txt bash.exe -c "/cygdrive/c/my_data/program_files/cygwin64/bin/grep.exe \"PKILL\" /cygdrive/c/dayz_mod_server/instance_1_Overpoch_Chernarus/arma2oaserver.RPT | /cygdrive/c/my_data/program_files/cygwin64/bin/sed.exe -e 's/\,//g' | /cygdrive/c/my_data/program_files/cygwin64/bin/sed.exe -e 's/\PKILL://g' | /cygdrive/c/my_data/program_files/cygwin64/bin/sed.exe -e 's/\"//g' >> c:\Apache\Apache2\htdocs\kills.txt" . . . Web Server To make it accessible by web I used freely available Apache web server but any web server including default Windows one IIS should do. Change this path to your shared web docs directory "c:\Apache\Apache2\htdocs\kills.txt". index.html I used this one below, customize it to meet your requirements. Top left corner server time clock TimeAndDate.com they have nice customization options to set your server location and fonts etc.. Hope it helps someone save some time... Edit1 - added "(kill list) last updated" section. Edit2 - added server auto restart times to the top. Edit3 - old version was filtering RPT lines for the keywords "was killed by". New version is filtering RPT lines for the keyword "PKILL". As a result, now we get to see "<PlayerName> killed himself" lines in the Killboard web page which is more informative and preferred. The relevant section above has been updated now. Edit4 - as per player request added a link to gametracker online players list and all time players stats.