Fundynamic / RealBot

Counter-Strike 1.6 - AI Opponent
http://realbot.bots-united.com
53 stars 19 forks source link

Headshot rate for RB bots are too high #9

Closed stefanhendriks closed 5 years ago

stefanhendriks commented 6 years ago

Looks like bots have a very high rate of headshots.

See also: http://forums.bots-united.com/showthread.php?p=67217

stefanhendriks commented 6 years ago

I tuned it down a bit

stefanhendriks commented 5 years ago

still too much. Need to check skills system and aiming.

stefanhendriks commented 5 years ago

Comment from forums:

One of favourite bots, would be the best if to fix all bugs. I didn't test this latest version, but in old there is a bug which has noticed still long ago.
If change bot config
[SKILL]
XOffset=1.90221
YOffset=1.9022
ZOffset=1.9022
to Offset = 100 for example 
in the first round bots behave as it is necessary on a config, at once it is visible on imitation of jolting of hands, and in a next round headshots already again. 
Please fix this bug, bot config works only for the first round.

something about loading config not properly? (related to #11 ?)

stefanhendriks commented 5 years ago

interestingly, I found after adding debug statements that in the first round reaction time is:

'ReactionTime()']-[Team TERROR] : minReactTime 0.050000, maxReactTime 0.105113, skill 2, results into 100.057075

(the 100 is added manually by myself so bots don't shoot me)

But the next round:

'ReactionTime()']-[Team TERROR] : minReactTime 0.000000, maxReactTime 0.000000, skill 2, results into 100.000000

notice the min / max react time got to zero...