YaPB (Yet another POD-Bot) Developer Preview 1.1
...here it is:
Changes to the original POD-Bot 2.6 (in a fairly mess):
Code:
+ FIXED: Bot can't plant the bomb in CS 1.4 or later
+ FIXED: Invalid memory access in bots' hearing code
+ FIXED: Crash when shooting through obstacles
+ FIXED: Crash when the server has 32 players
+ FIXED: Crash in waypoint editor
+ FIXED: Some other random crashes
+ FIXED: Compatiable issue with CS Training Room
+ FIXED: Ignorance of shooting offset value in botskill.cfg
+ FIXED: Angle overflow issue
+ FIXED: Hitboxes issues
+ FIXED: Problems when bot's going through a door
+ FIXED: Selection "7" is not selectable in Weapon mode menu
+ FIXED: Bots having same score when they are re-added after kicked
+ FIXED: Incorrect usage of abs()
+ FIXED: Bots using dead hostages
+ FIXED: Incorrect kill experience collecting
+ FIXED: Recoil (punchangle) bug
+ Compatiable with current Steam/CS 1.6 (Thanks a lot for Pierre-Marie Baty for his source code and help on this !)
+ Bots will use the new weapons and the shield
+ Bots will buy weapons/shield/defuser correctly in CS 1.6
+ Added MetaMod support, you can use the DLL as both standalone bot and MetaMod plugin
+ Bots will pick up pistols on the ground
+ Changed player avoidance code, bots won't get stuck so easily
+ Changed A* pathfinder
+ Bots won't use A* pathfinder when collectexperience is off
+ Added a waypoint operating menu, command "waypoint menu", binded to "-" key by default
+ When error occures, the DLL will remove all bots and print an error message instead of crashing the server
+ Bots personality are now selectable in podbotmenu
+ Terrorists won't use the hostages any more
+ Bots will pick up defusers on the ground
+ Bots are now reasonable with the silencer
+ Much more careful connection/radius detecting in waypoint editor
+ Added "fillserver" command
+ Added "pathwaypoint connect/disconnect [Waypoint Nr.]" command to create/remove 2-way connections
+ Console commands can be used directly in the dedicated server console now, no more "pb addbot" (use "cmd addbot" for other bots when using this bot with other bots)
+ Added "botuseradio" command in podbot.cfg
+ Removed unnecessary "newmap" command, use "map" or "changelevel" instead, they won't crash (at least on my computer :) )
+ Improved bots' using sniper rifles and zoomable rifles
+ Source code is now restructured and cleaned up
+ Changed FakeClientCommand() stuff (Thanks to PMB again !)
+ Changed 'Need backup', bots won't always take the nearest waypoint to the caller
+ Added botman's chat humanizer code, bots will make some mistakes while chating
+ Rewrote the messy CS buy routines in a clean way
+ Ladder waypoints can be marked automatically now, just add a 'normal' waypoint
+ Path finding errors are no longer logged to poderror.txt, you have to use 'waypoint check' manually
+ Implemented VecToYaw, VecToAngles and MakeVectors directly in the bot code, no more engine calls
+ Simplified UTIL_GetTeam() code, no more strcpy/strcmp's
+ Some experience data is displayed in waypoint editor
+ Some other things I missed
+ Some bugs added (oops, I hope it's none) :)
Known bugs:
Code:
+ Incorrect camping direction bug
+ Very machine-like (not human-like) ladder climbing
+ Bots don't use grenades very well
+ Most of the known issues listed in the original PB 2.5 readme :)
Of course, it's currently only a PREVIEW release which is just a POD-Bot unoffical patch (that's why I left the POD-Bot welcome message as it used to be). But I'll continue working on it to make a much better bot as long as I have enough time.
My homepage:
http://yapb.yeah.net (There are also some other things out there, such as bot for Ricochet, bot for old HL/CS, fix for RealBot 1.0 which allows continue using RB v1.0 in Steam)
Direct download:
http://planet.time.net.my/Technology...yapbalpha1.exe
Full source code is included.
Of cource I owes a lot to Count Floyd and PMB !
I have also tested it with RealBot v1.0 and the latest RealBot WIP.
Hope you like it.
Enjoy,
Wei 'Whistler' Mingzhi