Hi, i like this bot very much it works fine on server, but it has some issues on cs1.6 custom mod like ZombieMod, Biohazard and any other mods that use instant team changes.
Issues:
1. Team detection
- In Zombie Plague Mod when zombie(
TR player) infect a human(
CT player) the
CT player will change team to
TR, but this player won't attack any other
CT player, it will still attacking the Zombie player(
TR).
2. Knife attack distance
- This is known issue on podbot too, since we are running Zombie Plague Mod, the zombies only have 1 weapon (
knife). So when it get close to Humans (
CT), the humans will use knife too and start a knife battle lol.
My suggestions:
1. Implement a better way to set CS1.6
team, use
m_iTeam (114) offset.
2. Create AmxModx API to
set/get enemy target, knife attack distance. So with this API server owner can code a simple amxx plugin to make YaPB more compatible to any CS1.6 custom mods.
You can see this
custom YaPB, it has AmxModx API features.