Russians in Battlegrounds?!
Hi,
im currently working on my nameplates and so I want to give some additional informations on my nameplates when im in a battleground. Im showing the class spec of enemies. So at first im gathering class informations: Lua Code:
Second im building an array of current players in the battleground: Lua Code:
And on my nameplate update function im doing: Lua Code:
This works perfectly! For everybody except russian players. There are some rogue and demon hunter specs for which I get no results for. Is there anything special about some russian names, server names or spec names (except from the character set ofcourse)? |
Actually I was mistaken. That only rogues or demon hunters are having this problem
and it was also wrong that it is only related to russians. It was just coincidence that this happened 3 times in a row for me :) The thing is, the event: Lua Code:
Does not fire often enough. I see people joining the battleground without this event getting fired. Do you guys know of a better event for my case? |
Can't someone join the battleground without the score changing?
You could use /eventtrace |
I would think that it is not possible. Scoreboard changes when someone joins, in my opinion this should trigger the mentioned event.
Maybe I should do something with that: https://wow.gamepedia.com/API_Reques...fieldScoreData Lua Code:
Should request new score data from the server and trigger the event. But I really dont like to call this function from a timer. Maybe someone knows how to deal with that a better way? All the other addons I have found so far which are doing something similar to what im doing are using the UPDATE_BATTLEFIELD_SCORE event too. But I think this is already the solution. To periodically call RequestBattlefieldScoreData() |
All times are GMT -6. The time now is 06:44 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI