|
Title: War3Statistics API Post by: Frenzzy on June 10, 2011, 10:35:33 PM Can you add to War3Interface like this native from War3Source_Engine_Statistics?
native War3_GetClientPlace(client); ..and maybe you can add some other useful natives from stats engine. Title: Re: War3Statistics API Post by: Ownz on June 17, 2011, 03:34:05 PM what do you mean by place? statistics doesnt deal with rankings
Title: Re: War3Statistics API Post by: Frenzzy on June 17, 2011, 10:16:02 PM I mean the player place(rank) in war3stats.
if (War3_GetClientPlace(client) <= 10) { War3_ChatMessage(client, "You are in Top10!"); } Title: Re: War3Statistics API Post by: Ownz on June 21, 2011, 12:23:24 PM are you sure?
1 getting the rank is asynchronous, you have to use a callback 2 getting the rank reads the entire database which takes a while Title: Re: War3Statistics API Post by: Frenzzy on June 21, 2011, 01:07:23 PM When a player say war3rank, to him shows this in chat:
"[War3Source] Ranked {place} of {amount of players}" I just want to get this {place} for our race(s)/addon(s). ..can return -1 if failed to get a place. Title: Re: War3Statistics API Post by: Ownz on June 21, 2011, 01:10:11 PM yes, but your application needs to retrieve it asyncronously
|