View Single Post
Re: Podbots and stats
Old
  (#5)
Spiffyguy01
Member
 
Status: Offline
Posts: 30
Join Date: Feb 2006
Default Re: Podbots and stats - 08-02-2008

my amx config has
// Default value: 1
csstats_rank 0
// Default value: 0
csstats_rankbots 1
so this should rank bots
my mp_loglevel is 3 for the most detailed logs.

when a player exits or the round changes this triggers a weaponstats output in the log. Looks like this:
L 02/08/2008 - 13:25:11: "Admin_death<1><STEAM_xxxxxx><TERRORIST>" triggered "weaponstats" (weapon "scout") (shots "1") (hits "0") (kills "0") (headshots "0") (tks "0") (damage "0") (deaths "1")
L 02/08/2008 - 13:25:11: "Admin_death<1><STEAM_xxxxx><TERRORIST>" triggered "weaponstats2" (weapon "scout") (head "0") (chest "0") (stomach "0") (leftarm "0") (rightarm "0") (leftleg "0") (rightleg "0")
L 02/08/2008 - 13:25:11: "Admin_death<1><STEAM_xxxxxx><TERRORIST>" triggered "weaponstats" (weapon "grenade") (shots "3") (hits "3") (kills "0") (headshots "0") (tks "0") (damage "169") (deaths "0")

This is hit information used in psychostats to calculate the accuracy, head shots and such. This data is not being outputed for the bots. it just says:
L 02/08/2008 - 13:25:11: Kick: "U're Dead<2><UNKNOWN><>" was kicked by "Console"
L 02/08/2008 - 13:25:11: "U're Dead<2><BOT><TERRORIST>" disconnected

so I am not sure why the csstats module is not recording this data since the stats are done by the nick and not ID. The only thing I could think of is the kick by console is booting the bot before the stats can be outputted? My reference to the bot quota is the pb command pb_bot_quota_match 7. that is what I meant by bot quota.

This missing data skews the acc and headshot % stats for the bots, making them all 100% it seems. I figured I would check here to see if you guys knew anything before moving to the devs for the other modules involved.

edit: i seem to recall in the past there was a stats_logging_bots plugin for amx. I can not seem to find any information on that though. Might be the answer.
  
Reply With Quote