![]() |
hpb template 4 metamod & cleaned
download hpb template 4 converted to metamod & cleaned from http://dubb-coding.8bit.co.uk/botman_template_4_mm.7z :D .
"you might need to download 7-zip from http://www.7-zip.org to decompress the archive". |
Re: hpb template 4 metamod & cleaned
What do you mean by "cleaned" ? Were there bugs ?
|
Re: hpb template 4 metamod & cleaned
wow , great job dude !
By the way , there are severe bug , you should reset the msec stuff every round ( I advised you to do so ) And this is an old bug of HPB_template in bot_navigate.cpp the function BotChangePitch pEdict->v.v_angle.x = current; We have to add this line below the above line else the pitch angle we set wont have any use pEdict->v.angles.x = pEdict->v.v_angle.x / 3; |
Re: hpb template 4 metamod & cleaned
just take a look no extern vars every where now all defined in bot.h it`s so much more readable enjoy ;).
|
Re: hpb template 4 metamod & cleaned
added a couple of fixes thanks to rifleman & cleaned a little bit more.
|
Re: hpb template 4 metamod & cleaned
Quote:
|
Re: hpb template 4 metamod & cleaned
hmm, you'd better call this your own template, and not the "HPB template" anymore. This because botman did not want his bot to support Counter-Strike, and the msec problem you're talking about affects Counter-Strike (and thus round-based games) only.
Quote:
It's nice that you care about CS players, though, but I think you should fork from the official HPB template and call this another name instead. |
Re: hpb template 4 metamod & cleaned
actually there's no need to reset the msec value every round at all, but if you defined the msec as global variable instead of the way the original HPB bot did you need to reset them to zero every map start.
|
Re: hpb template 4 metamod & cleaned
Quote:
Code:
// make the body face the same way the bot is looking |
Re: hpb template 4 metamod & cleaned
well yes, you are right, it's my fault. I said this because it was really planned to put it there when botman allowed me to update his template but looks like I forgot to do it. And Whistler is right about the msecval too. The global msecval needs to be reset each time a new map starts. But since this is done in StartFrame already, there's no need to do it again in DispatchSpawn.
|
Re: hpb template 4 metamod & cleaned
forget about it ... PMB , but maybe you mean the HPB_bot not the template :)
|
Re: hpb template 4 metamod & cleaned
Yes man , I found another bug , you didn't intercept the hltv message at all in engine.cpp...
|
Re: hpb template 4 metamod & cleaned
uploaded the botman template 4 metamod final (fixed not hooking hltv bug)
http://dubb-coding.8bit.co.uk, added hlai_mm template v1.0 (much more easier to add mod support) & bot10 updated for HL SDK v2.3 Dubb :D. |
Re: hpb template 4 metamod & cleaned
the link does not work
|
Re: hpb template 4 metamod & cleaned
botman doesn't need to intercept the HLTV network message because the HPB_bot is not meant for Counter-Strike, and this network message is Counter-Strike specific only.
|
Re: hpb template 4 metamod & cleaned
log onto http://dubb-coding.8bit.co.uk for downloads.
intalling hl2 right now went out and bought it today hopefully by the end of the week i will be able to get a bot template working, need to download the huge sdk first:'(. Quote:
|
Re: hpb template 4 metamod & cleaned
log onto http://dubb-coding.8bit.co.uk for downloads.
intalling hl2 right now went out and bought it today hopefully by the end of the week i will be able to get a bot template working, need to download the huge sdk first:'(. PMB hooked for other bot coder`s that might want to do a CS bot. |
Re: hpb template 4 metamod & cleaned
Quote:
Simple :) |
Re: hpb template 4 metamod & cleaned
the template only hooks hltv message if mod id is cs, just been playing cs:source the new hl engine is amazing love the havoc physics engine.
|
Re: hpb template 4 metamod & cleaned
I think you didn't intercept it correctly , I try logging sth when the hltv msg is sent , but nothing response , maybe its not your fault
|
Re: hpb template 4 metamod & cleaned
my bad typo error "HTLV" to "HLTV" all is fixed now.
|
Re: hpb template 4 metamod & cleaned
Why always double-post ??!! Ignore this
|
Re: hpb template 4 metamod & cleaned
no it isn't , your pfnStart.. should look like this , for CS
Code:
if (ed) And yes , another big bug in your template , all command like "waypoint" , "pathwaypoint", "observer" etc etc are unusable , only those you register with metamod is usable |
Re: hpb template 4 metamod & cleaned
uploaded a fixed version, hltv message bug fixed & added a simple cmd parser
the only major problem is steam keeps exiting cs when i start up a lan server similar to what happens with an invalid game dll in liblist.gam maybe it`s a buffer overrun in metamod because the dir is very deep for steam. |
All times are GMT +2. The time now is 09:22. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.