What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Battlegrounds.GetHonorCurrency()

dstrek

New Member
Joined
Jan 29, 2010
Messages
4
I have just written a basic stats plugin that sends data to a site of mine so i can see what my bots are doing when i am at work and this method Battlegrounds.GetHonorCurrency just returns 0 all the time. I can get all the other level/xp/deaths etc data just fine.

The other method I was using, Battegrounds.GetBattlefieldTimeWaited also only returns 0.

I was just wondering if these are implemented or am I missing something? I am just calling it like

int x = Battlegrounds.GetHonorCurrency();
 
That should work, and for time waited it should be:

int y = Battlegrounds.GetHonorCurrency(AV); etc

Its possible that its bugged, though.
 
Possible that it's bugged then, I wonder if anyone else is using these functions or has used them in the past?
 
Possible that it's bugged then, I wonder if anyone else is using these functions or has used them in the past?

Check with Erenion, his eStat plugin might use them. In fact, let me take a gander at the source and see...

edit: nvm, he doesn't. He had planned to add them but either he ran into the same issue or hasn't gotten around to it yet.
 
Use lua I been doing this since hb broke many API functions
 
I had no idea there was a LUA interface for HB, where do I find the docs?
 
The function you're looking for is Lua.DoString(string);.

Lua.DoString("luaSoulShardCount = GetItemCount(\"Soul Shard\")");
 
Back
Top