PDA

View Full Version : How to get player stats


salmo
12-09-2011, 07:59 AM
I can see that player stats are held in the maddox.game.IPlayerStat section. I want to get the stats (deaths/kills etc) periodically for display on a web page. Probably on each OnPlaceEnter and OnPlaceLeave event. These events provide the following parameters: (Player player, AiActor actor, int placeIndex). I can get the player name and even the player's ping OK, but I'm having trouble getting the individual stats for the player. can anyone point me in the right direction please?

wildwillie
12-09-2011, 11:03 AM
I have not found the link to get the Bullets fired, bombs dropped stuff.


I have stats working which tracks kills of other A/C and Ground Objects though.

Willie

salmo
12-09-2011, 11:40 AM
I have not found the link to get the Bullets fired, bombs dropped stuff.


I have stats working which tracks kills of other A/C and Ground Objects though.

Willie
Info on how to link other stats would be a start Willie. As I said the kills/deaths etc are in the maddox.game.IPlayerStat section. Hope Bliss chimes in on this one, as the ATAG server contains some of this kind of stat info http://216.52.148.29:777/Channeldawn_playerstats_low.htm

salmo
01-10-2012, 05:28 AM
Bumping here, I'm still having trouble accessing the player stats info. I thought it might be something like below, but this is way off the mark.

code removed by author