Code Monkey home page Code Monkey logo

pvpstats's Introduction

PvPstats

logo

Introduction

PvPstats is an utility for AzerothCore, 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 AGPL v3 License.

Note that the core modification has been included in the AzerothCore, TrinityCore and CMaNGOS official repositories, so you will need to enable it only (as explained in install instructions linked below).

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:

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 which makes it fully responsive, supporting different window and screen sizes (e.g. desktop, tablet, mobile, etc..). It also uses the jQuery and Sortable JavaScript Libraries.

The web application is secure against SQL-Injection attacks, tested with sqlmap.

Install

Contribute

You can help us opening a new issue to report a bug or a suggestion

or you can donate to support us.

Live preview

Do you want to see PvPstats in action? See who is using PvPstats.

Screenshots

PvPstats Index PvPstats BattleGround search PvPstats BattleGround score PvPstats Top100

pvpstats's People

Contributors

francescoborzi avatar helias avatar sartoshi-foot-dao avatar solidmaxtor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pvpstats's Issues

[TOPS Pvp & Pve] Azerothcore and TrinityCore

Hi @FrancescoBorzi & @Helias
Please creat new project and help to update(tops pvp/pve) web.
I think it's very good and very popular!

INFORMATIONS:
The project web tops pvp and pve is for azerothcore and trinitycore last,rev 3.3.5

Ready items: (worked)
top player Achievements
top killers
top arena points
top honor points
top arena teams
top player play time


Need items: (upgrade)
top guilds = is ready but don't work listed to ranked!
top player by item level gear scoure /gs = not found, need to added
top player duel / winers = not found, need to added
top player golds = not found, need to added


Arena statistics support.

On AzerothCore, relevant statistics are logged in log_arena_fights, and log_arena_memberstats, not sure about other cores. Would it be possible to extend the functionality of this repo to arenas as well?

Guild top not show in PvPstats

Where guild tops should be shown, only a querry error is displayed

Error querying: SELECT guild.name, COUNT(guild.name), guild.guildid FROM pvpstats_players INNER JOIN pvpstats_battlegrounds ON pvpstats_players.battleground_id = pvpstats_battlegrounds.id INNER JOIN guild_member ON guild_member.guid = pvpstats_players.character_guid INNER JOIN guild ON guild_member.guildid = guild.guildid INNER JOIN characters ON pvpstats_players.character_guid = characters.guid WHERE characters.deleteDate IS NULL AND pvpstats_players.winner = 1 GROUP BY guild.name ORDER BY COUNT(guild.name) DESC LIMIT 0, 100

CMangos Error

After config change this is what it displays in Firefox. Maybe tables names changed or because my pvpstats tables are empty. Not sure why I get this message... :(

 Error querying: SELECT COUNT(*) FROM pvpstats_battlegrounds WHERE winner_faction = 1 AND DATE(date) = DATE(NOW()) UNION SELECT COUNT(*) FROM pvpstats_battlegrounds WHERE winner_faction = 0 AND DATE(date) = DATE(NOW()) ;

Thanks for your work... :)

Trying to get in touch regarding a security issue

Hey there!

I'd like to report a security issue but cannot find contact instructions on your repository.

If not a hassle, might you kindly add a SECURITY.md file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future.

Thank you for your consideration, and I look forward to hearing from you!

(cc @huntr-helper)

[Update] For Stats

project can updated to this items?

top player Achievements
top killers
top arena points
top honor points
top arena teams
top player golds
top player duel / winers
top player play time
top player by item level gear scoure /gs

[Realm] Multiple

Hi

Pvpstats is just for A realm or Multiple realm ?!
And how to change port mysql!? not found in the cfg!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.