Code Monkey home page Code Monkey logo

arenastats's People

Contributors

denishamann avatar jarveson avatar robbiebendick avatar simon3 avatar spongie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

arenastats's Issues

Addon some times adds broken matches right after normal matches

Not sure how to reproduce. However, addon some times adds matches with Duration close or equal to 0s right after an actual match.
Before saving a new row of data, it could be smart to check the Duration. Because of the wait time, no arena match can be below 1 minute.
If the match duration is below 1 minute, the addon could make some comparisons to the game before it, and delete if it's a duplicate entry.
image
image
Pasted above are two entries that easily could have been filtered out and thrown away. (Note that the Duration is not always 0s)

Expected behaviour:
Each item on the match list is a unique match.

Suggested fix:
Set a unique "entry ID" at the start of each match, and only add entries to the list if the ID is unique.

LUA issue

Hi,

I receive the following error when the arena game is finish:

Message: Interface\AddOns\ArenaStats\ArenaStats.lua:131: attempt to index a nil value
Time: Thu Jan 5 20:52:45 2023
Count: 1
Stack: Interface\AddOns\ArenaStats\ArenaStats.lua:131: attempt to index a nil value
[string "@interface\AddOns\ArenaStats\ArenaStats.lua"]:131: in function SetLastArenaRankingData' [string "@Interface\AddOns\ArenaStats\ArenaStats.lua"]:177: in function ?'
[string "@interface\AddOns\ArenaStats\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:119: in function <...ats\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@interface\AddOns\ArenaStats\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:29: in function <...ats\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
[string "@interface\AddOns\ArenaStats\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:64: in function Fire' [string "@Interface\AddOns\ArenaStats\Libs\AceEvent-3.0\AceEvent-3.0.lua"]:120: in function <...AddOns\ArenaStats\Libs\AceEvent-3.0\AceEvent-3.0.lua:119> [string "=[C]"]: in function SetBattlefieldScoreFaction'
[string "@Interface_Wrath\FrameXML\WorldStateFrame.lua"]:559: in function WorldStateScoreFrameTab_OnClick' [string "@Interface_Wrath\FrameXML\WorldStateFrame.lua"]:61: in function <Interface_Wrath\FrameXML\WorldStateFrame.lua:58> [string "=[C]"]: in function Show'
[string "@Interface_Wrath\FrameXML\UIParent.lua"]:2214: in function SetUIPanel' [string "@Interface_Wrath\FrameXML\UIParent.lua"]:2020: in function ShowUIPanel'
[string "@Interface_Wrath\FrameXML\UIParent.lua"]:1927: in function <Interface_Wrath\FrameXML\UIParent.lua:1923>
[string "=[C]"]: in function SetAttribute' [string "@Interface_Wrath\FrameXML\UIParent.lua"]:2733: in function ShowUIPanel'
[string "@Interface_Wrath\FrameXML\WorldStateFrame.lua"]:130: in function `WorldStateScoreFrame_Update'
[string "@Interface_Wrath\FrameXML\WorldStateFrame.lua"]:48: in function <Interface_Wrath\FrameXML\WorldStateFrame.lua:44>

Suggestion: Presort Opponent Classes Instead of Arena1/2/3

Instead of storing opponent classes per Arena1/2/3, use some type of sorting so that classes appear in a consistent order. This would make the addon much more readable and make the data easier to work with.

e.g.

Rogue mage priest could appear

RMP
PMR
MPR
MRP
RPM

can not open the main window

the lastest version (0.1.0) can not open the window (the verion 0.0.1 works fine)
whatever use the button or console (/arenastats) or disable all the other adds.

Addon currently lists wargames together with ranked games

In addition to the way ArenaStatsTBC currently records skirmishes, the addon should equally filter out wargames. Splitting the data into "rated" and "unrated" should correctly filter out both skirmishes and wargames.

To reproduce:

  1. Make two groups with two level 70 players in each group, where the leader of the other group is on your Battle.net friends list.
  2. Type "/wg Battle#1234 nagrand" into the chat, where "Battle#1234" is replaced with your friend's Battle.net ID.
  3. Win or lose, but stay in the match until a winner is announced.
  4. Check "/arenastats toggle" to see how (or if) the game was recorded.

Expected behaviour:
After step 4, the wargame should not be listed together with the ranked matches.

Arenastats not working since wotlk

Hello, good evening.

Sadly since wotlk, my arenastats doesnt work anymore :( it worked well without any problems during the whole tbc classic addon.

I Currently tried every single way to fix it, from installing it multiple times and deleting it multiple times, downloading from different sources, nearby everything that did come in my mind i tried and nothing worked, sadly. I noticed that it recorded random 3 games but since then it did never recorded any 2s/3s/5s ranked or unranked. If i can give any information about my speccs let me pls know.

thanks and regards

Repository is incompatible with WoWUp

Installing ArenaStatsTBC for TBC using WoWUp by inputting the URL of this repository yields the following error:

image

Given the popularity of WoWUp and the lack of Curseforge as an option, it is highly recommended you make this repository compatible with WoWUp in order to allow ease-of-use when installing. Otherwise the only option given to users is manually updating, which is not ideal.

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.