STFinancial / Minecraft

0 stars 0 forks source link

Statistics Engine for Arenas #15

Open Boxxy opened 10 years ago

Boxxy commented 10 years ago

For much later use, Record data such as: Arrows fired, Potions Used, Damage taken, damage done, kills, deaths with options such as by Team Size, Arena, Team Color, Player, Team

Boxxy commented 10 years ago

This is actually quite important as we will need it for Match History in case of bugs / complaints / abusing / wintrading

Boxxy commented 10 years ago

Would ideally like a base for this to be included in open beta so we can look at balance. Essentially we need a data structure, and then add values to it from the entityDamagebyEntity

qsik commented 10 years ago

Suggest converting arena player list to static

Boxxy commented 10 years ago

If we change one thing to static we need to change everything to static (or should)

On Tue, Aug 5, 2014 at 10:59 AM, qsik notifications@github.com wrote:

Suggest converting arena player list to static

— Reply to this email directly or view it on GitHub https://github.com/STFinancial/Minecraft/issues/15#issuecomment-51218350 .

qsik commented 10 years ago

you're right, we should keep everything non-static. However, we should enforce hierarchy in the code structure instead of referencing everything through main

Boxxy commented 10 years ago

After functionality is done (very soon) we should have a nice discussion about class layout and argument passing so we can have a common set up for future plugins https://github.com/STFinancial/Minecraft/issues/18

On Tue, Aug 5, 2014 at 11:17 AM, qsik notifications@github.com wrote:

you're right, we should keep everything non-static. However, we should enforce hierarchy in the code structure instead of referencing everything through main

— Reply to this email directly or view it on GitHub https://github.com/STFinancial/Minecraft/issues/15#issuecomment-51221006 .

Boxxy commented 10 years ago

Staying on topic the hardest part of the statistics will be calculating damage done. I do not believe that damage events include armor + potion + enchants reductions

qsik commented 10 years ago

http://jd.bukkit.org/dev/apidocs/

Look at final damage

STFinancial commented 10 years ago

Can you just make an event for damage dealt and pass it somewhere? It can contain all the information of who was hit, by what, by whom, and for how much damage.

On Tue, Aug 5, 2014 at 10:59 AM, qsik notifications@github.com wrote:

Suggest converting arena player list to static

— Reply to this email directly or view it on GitHub https://github.com/STFinancial/Minecraft/issues/15#issuecomment-51218350 .

Timothy Pallarino University of Minnesota '15 Undergraduate of Chemical Engineering

qsik commented 10 years ago

you can always pass the entire damage event somewhere

Boxxy commented 10 years ago

if you write the data structure and such I can code the event detection and use your method of adding data. Information you would have each event: Damage Dealer, Damage Reciever, Damager, Sword or Bow type (Maby more but those two for sure)