View Single Post
Re: POD-bot back into shape.
Old
  (#251)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: POD-bot back into shape. - 25-03-2004

Well, whoever said that first was right, the buying code of the bots was stuffed up in CS 1.5 : the bots DO buy extra weapons, indeed.

It happens only on CS 1.5, I just noticed it after SoUlFaThEr told me about it, and without him I would probably never have caught it because I happen to run this bot usually on CS 1.6.

The reason was that the buy shortcuts we use in CS 1.5 somehow don't work with bots. For example, a player can type "buyitem" on the console to get into the equipment menu, but a bot can't. The bot must do a "buy;menuselect 8" instead. If the bot does a "buyitem" command, strangely enough it's the previous menu that is brought back, i.e, the last menu where the bot bought a weapon. So the bots were in fact buying extra weapons when they thought they could buy nades or kevlars or stuff... 9_9

I've just fixed that. Now I'm about to tweak the cost function of the pathfinder, so as to hopefully have the bots learn the dangerous waypoints faster.

This means there'll soon be another release

*EDIT* oh BTW, SoUlFaThEr be happy man, all the crash bugs of the waypoint editor are fixed too. It doesn't crash anymore at round restart either. And I make the map reload automatically once you exit waypoint editing mode. To tell the truth there was also big security flaws with this waypoint editor (e.g, have the bots to run and thus use extensively the pathfinder while you add/insert/delete nodes in the waypoints list and paths in the path matrix at the same time, I mean how serious is that ??? Now as soon as you touch ONE waypoint, all the bots are frozen. To unfreeze them save your work and reload the map.)

@Cooley: Does the bot fail to reload ALSO when it's the only plugin running ? Try disabling all the other plugins and try again. I have no clue why the plugin would fail to reload, and I wish I could see it with my own eyes.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."

Last edited by Pierre-Marie Baty; 25-03-2004 at 08:05..