TBC- Battlefield Runtime returns to invalidation

elapse = GetBattlefieldInstanceRunTime() / 1000
print(elapse)
Returns == 0

Within the TBC battlefield, GetBattlefield InvestmentRunTime() seems to often return 0, failing to properly return to the battlefield’s run time

Occasionally it can be returned correctly, but after a while it will return to 0

For joining a battlefield where a battle is going on, his return is always 0

C_PvP.GetActiveMatchDuration and GetBattlefieldInstanceRunTime

Starting from 8.2 both API calls randomly fail and return 0 entire duration of battleground or arena.

GitHub - tg123/BattleInfo: Enrich your battleground information

This forum is for the web APIs and has nothing to do with in-game XML/Lua API.

For support with that you must search the UI and Macro category over the World of Warcraft forums.

i really have no idea what to do.