PDA

View Full Version : PvPstats



Wise
31-10-14, 11:24 PM
What is PvPstats


PvPstats is an utility for TrinityCore
and CMaNGOS
that allows to store and display data about Battleground scores
. It consists in a core modification and a web application written in PHP
. It's released under the GNU GPL v3 License (https://github.com/ShinDarth/PvPstats/blob/master/LICENSE)
.

Each time a Battleground ends, PvPstats stores in the database all Battlegrounds:



Date & time
Winner faction
Type (which BattleGround is)
Bracket level range




For each Battleground it also stores player:



Killing blows
Deaths
Honorable Kills
Bonus Honor
Damage done
Healing done
and the other various data (like Warsong Gulch capped/returned flags, Arathi Basin assaulted/defended bases, EoS capped flags, etc...)




In a nutshell, it saves all datas you can see when the BattleGround ends in the score window
.

It currently supports:



TrinityCore with Cataclysm (4.x.x game version) (https://github.com/TrinityCore/TrinityCore/tree/4.3.4)
TrinityCore with WOTLK (3.x.x game version) (https://github.com/TrinityCore/TrinityCore)
CMaNGOS with WOTLK (3.x.x game version) (https://github.com/CMaNGOS/mangos-wotlk)
CMaNGOS with TBC (2.x.x game version) (https://github.com/CMaNGOS/mangos-tbc)
CMaNGOS with Classic (1.x.x game version) (https://github.com/CMaNGOS/mangos-classic)




But since this is a free and open source project, you are more than welcome to fork it and adapt to different emulator or game version.

The web application currently displays the amount of victories
of factions
, top 20 players
and top 5 guilds
of:



Current day
Last 7 days
Current month
Overall




both for all levels
and for every level range (10-19, ... , 70-79, 80)
.

It also displays:



Detailed BattleGround scores informations (battleground.php script)
Top100 players and guilds (top100.php script)




The web application uses the framework Bootstrap (https://github.com/twbs/bootstrap)
which makes it fully responsive
, supporting different window and screen sizes
(e.g. desktop, tablet, mobile, etc..). It also uses the jQuery (https://github.com/jquery/jquery)
and Sortable (https://github.com/HubSpot/sortable)
JavaScript Libraries.

The web application is secure against SQL-Injection attacks, tested with sqlmap (https://github.com/sqlmapproject/sqlmap)
.
Install



How to install PvPstats system in TrinityCore (https://github.com/ShinDarth/PvPstats/blob/master/docs/INSTALL-TrinityCore.md)
How to install PvPstats system in CMaNGOS (https://github.com/ShinDarth/PvPstats/blob/master/docs/INSTALL-CMaNGOS.md)




Live preview


Do you want to see PvPstats in action? See who is using PvPstats (http://shinworld.altervista.org/PvPstats/)
.


Screenshots

https://camo.githubusercontent.com/c7556d00e7c3ea1ac98633c63232832e2bcd0dab/687474703a2f2f7368696e776f726c642e616c746572766973 74612e6f72672f50765073746174732f696d672f696e646578 2e706e67 (https://camo.githubusercontent.com/c7556d00e7c3ea1ac98633c63232832e2bcd0dab/687474703a2f2f7368696e776f726c642e616c746572766973 74612e6f72672f50765073746174732f696d672f696e646578 2e706e67)

https://camo.githubusercontent.com/e4ed2e8b1b2e6dbb3aee97c9bfa772b193862915/687474703a2f2f7368696e776f726c642e616c746572766973 74612e6f72672f50765073746174732f696d672f626174746c 6567726f756e64312e706e67 (https://camo.githubusercontent.com/e4ed2e8b1b2e6dbb3aee97c9bfa772b193862915/687474703a2f2f7368696e776f726c642e616c746572766973 74612e6f72672f50765073746174732f696d672f626174746c 6567726f756e64312e706e67)

https://camo.githubusercontent.com/724373da46dd57bcb609f10829a0d4f464f90324/687474703a2f2f7368696e776f726c642e616c746572766973 74612e6f72672f50765073746174732f696d672f626174746c 6567726f756e64322e706e67 (https://camo.githubusercontent.com/724373da46dd57bcb609f10829a0d4f464f90324/687474703a2f2f7368696e776f726c642e616c746572766973 74612e6f72672f50765073746174732f696d672f626174746c 6567726f756e64322e706e67)

https://camo.githubusercontent.com/b25ce95c753450d9a489b25956fd6e20f657d1cb/687474703a2f2f7368696e776f726c642e616c746572766973 74612e6f72672f50765073746174732f696d672f746f703130 302e706e67


Credits : ShinDarth