![]() |
Where is the bot.txt in HPB_Bot_MM Pierre need your help
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. :P Pierre or anyone know the MM version, could you teach me how to output the debug.txt, thank you very much. :) |
Re: Where is the bot.txt in HPB_Bot_MM Pierre need your help
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. |
Re: Where is the bot.txt in HPB_Bot_MM Pierre need your help
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.
|
Re: Where is the bot.txt in HPB_Bot_MM Pierre need your help
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...
|
Re: Where is the bot.txt in HPB_Bot_MM Pierre need your help
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 |
Re: Where is the bot.txt in HPB_Bot_MM Pierre need your help
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 ? |
Re: Where is the bot.txt in HPB_Bot_MM Pierre need your help
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. :(
|
Re: Where is the bot.txt in HPB_Bot_MM Pierre need your help
hook the WeaponList and VGUI network messages then.
|
Re: Where is the bot.txt in HPB_Bot_MM Pierre need your help
also, the original debug mode in HPB bot screwed up the FPS/cpu and lagged it to SH*t house
|
Re: Where is the bot.txt in HPB_Bot_MM Pierre need your help
Yes, because it's logging a TON of data to the hard disk during every video frame.
botman |
All times are GMT +2. The time now is 18:28. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.