![]() |
Podbots and stats
After a brief down time I am trying to set my server up again. So far everything seems to working good except for some stats reporting of the bots. The problem I am having is it does not look like weapon stats are being displayed at the end of a round or when a player leaves. but only for the bots.
In the logs I can see the bots attacking and getting hit, displays all the numbers there, damage, damage and armor left, that sort of thing. But just not the weaponstats that is run when a player leaves or at the end of the round. it does display for a player though. I have AMXX and in my cfg I have csstats_rank 1 amd csstats_rankbots 1. and mp_logging set to 3. any other suggestions to try? I am trying to configure psychostats to show the bots. Thanks |
Re: Podbots and stats
You should have these settings:
csstats_rank 0 csstats_rankbots 1 in amxx.cfg (and nowhere else). csstats_rank must be 0, because the bots don't have their authid nor IP, so the only way they can be correctly handled in stats is ranking by names. |
Re: Podbots and stats
I changed my csstats_rank from 1 to 0. csstats_rankbots is set to 1. I am still not seeing trigger weaponstats in the logs. I triggers for players when they leave but all the bots are then kicked by console. I am using the bot quota. it is set to 7. Possible they are getting kicked before the weapon stats can trigger?
|
Re: Podbots and stats
The settings I told You are necessary to trigger stats by AMX X CSTRIKE module (to see the most disuptive, attackers, victims etc). This what You are talking about has nothing to logs. I don't know what You are talking about when You are saying You are using bot quota. Podbot mm doesn't have such setting. It has the setting similary sounding, but not exactly like You wrote.
|
Re: Podbots and stats
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. |
Re: Podbots and stats
AMX X has the plugin called stats_logging. In its source code You can find this function:
Code:
public client_disconnect(id) Try to do it so - comment out that part concerning to bots in this plugin this way: Code:
/* |
Re: Podbots and stats
Thanks just what I was looking for!
|
All times are GMT +2. The time now is 07:30. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.