.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Developer's Farm > General Bot Coding
General Bot Coding See what a pain it is to get those little mechs shooting around

Reply
 
Thread Tools
Where is the bot.txt in HPB_Bot_MM Pierre need your help
Old
  (#1)
Tea
Guest
 
Status:
Posts: n/a
Default Where is the bot.txt in HPB_Bot_MM Pierre need your help - 26-06-2004

Hi I have asked this question few weeks ago, I can't find the bot.txt anymore after upgraded to steam.

Today I have time to touch my bot again finally, but I found out it is not relate to active the debug mode or not since I always turn on debug mode in MSVC++, and it is also not relate to steam I think, I think it is because I have changed my bot to HPB_Bot_Metamod base but before my bot is base on normal HPB_Bot.

When I compare the engine.cpp between the HPB_Bot_MM and normal HPB_Bot, I saw all the debug code gone in the MM version, then I do a search in all file of bot.txt with MSVC++, the result is none. so of course I can't find the bot.txt in any folder.

Pierre or anyone know the MM version, could you teach me how to output the debug.txt, thank you very much.

Last edited by Tea; 26-06-2004 at 14:10..
  
Reply With Quote
Re: Where is the bot.txt in HPB_Bot_MM Pierre need your help
Old
  (#2)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: Where is the bot.txt in HPB_Bot_MM Pierre need your help - 26-06-2004

In the HPB_bot (not the HPB-bot Template) it's "HPB_bot.txt", not "bot.txt".
and it should in c:\program files\steam\steamapps\your@email.com\half-life (or counter-strike) folder.
  
Reply With Quote
Re: Where is the bot.txt in HPB_Bot_MM Pierre need your help
Old
  (#3)
Tea
Guest
 
Status:
Posts: n/a
Default Re: Where is the bot.txt in HPB_Bot_MM Pierre need your help - 26-06-2004

No luck, still cannot find the bot.txt or xxx_bot.txt under any folder, please notice before I use normal HPB_bot and the bot.txt or xxx_bot.txt(I can't remember) output without problem, the problem only happen after I upgraded to HPB_Bot_MM, maybe the MM version use different way to turn on the debug mode ? I don't know.
  
Reply With Quote
Re: Where is the bot.txt in HPB_Bot_MM Pierre need your help
Old
  (#4)
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: Where is the bot.txt in HPB_Bot_MM Pierre need your help - 26-06-2004

The metamod port of the HPB_bot doesn't have the debug_engine facility anymore. Rather use the metamod facilities for debugging, such as Will Day's logging plugin, they are MUCH better...



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: Where is the bot.txt in HPB_Bot_MM Pierre need your help
Old
  (#5)
Tea
Guest
 
Status:
Posts: n/a
Default Re: Where is the bot.txt in HPB_Bot_MM Pierre need your help - 26-06-2004

Thank for the reply Pierre, I did some search on the net and found out a page about TraceAPI plugin at Metamod.org and a log_plugin.cpp inside your singlep src, thats all I can found but not other document about this, the TraceAPI plugin page is too hard for me, I think only Metamod plugin coder can understand, and I can't find where to download this plugin also(or is it already build-in in metamod ?)

Pierre could you tell me a little bit more detail how to use it please, sorry for your time. :o

Last edited by Tea; 26-06-2004 at 21:50..
  
Reply With Quote
Re: Where is the bot.txt in HPB_Bot_MM Pierre need your help
Old
  (#6)
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: Where is the bot.txt in HPB_Bot_MM Pierre need your help - 27-06-2004

The trace_mm plugin is a default plugin that comes with the metamod source code. If you find it too complicated for your own use (and I admit it is), you can create a quick plugin yourself that would log what you want.

Could you tell us what you wanted to use the bot.txt for ?



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: Where is the bot.txt in HPB_Bot_MM Pierre need your help
Old
  (#7)
Tea
Guest
 
Status:
Posts: n/a
Default Re: Where is the bot.txt in HPB_Bot_MM Pierre need your help - 04-07-2004

All I want at the moment is catching the weapon ID/detail and the joining ID only since DoD team like to change this kind of thing almost every release.
  
Reply With Quote
Re: Where is the bot.txt in HPB_Bot_MM Pierre need your help
Old
  (#8)
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: Where is the bot.txt in HPB_Bot_MM Pierre need your help - 04-07-2004

hook the WeaponList and VGUI network messages then.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: Where is the bot.txt in HPB_Bot_MM Pierre need your help
Old
  (#9)
[MoD]Cha0s C0ntr0L
Guest
 
Status:
Posts: n/a
Default Re: Where is the bot.txt in HPB_Bot_MM Pierre need your help - 04-07-2004

also, the original debug mode in HPB bot screwed up the FPS/cpu and lagged it to SH*t house
  
Reply With Quote
Re: Where is the bot.txt in HPB_Bot_MM Pierre need your help
Old
  (#10)
botman
Super Moderator
 
Status: Offline
Posts: 280
Join Date: Jan 2004
Location: Plano, TX
Default Re: Where is the bot.txt in HPB_Bot_MM Pierre need your help - 04-07-2004

Yes, because it's logging a TON of data to the hard disk during every video frame.

botman
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com