BotClient_CS_HLTV in HPB_template 4 does not work !
Code:
void BotClient_CS_HLTV(void *p, int bot_index) |
Re: BotClient_CS_HLTV in HPB_template 4 does not work !
I't might help a bit if you would tell as what error&warning messages do you get ;)
|
Re: BotClient_CS_HLTV in HPB_template 4 does not work !
Code:
void BotClient_CS_HLTV(void *p, int bot_index) Okay okay , when I put a PrintMessage function (the function print some kind of text to a file) , I found that the botspawninit are not called for the bot , I dont know why , but I think the problem comes from the code since I sure that there are no problem with the function code |
Re: BotClient_CS_HLTV in HPB_template 4 does not work !
If you log the HLTV messages to a file with the packet details, especially the values for the 2 first packets (state = 0 and state = 1), you will figure out your problem more easily. Maybe the HLTV message changed recently in Counter-Strike.
Sending HLTV messages to players at each start of a new round is very CS specific, also. |
Re: BotClient_CS_HLTV in HPB_template 4 does not work !
Bug FIXED !!! w00t w00t !!!8D
First , I checked the engine function , the hltv is not sent with a edict.But why in hpb_template 4 , the Code:
else if (msg_type == message_HLTV) Code:
if (ed) Code:
if (msg_type == message_WeaponList) Code:
void BotClient_CS_HLTV(void *p, int bot_index) |
Re: BotClient_CS_HLTV in HPB_template 4 does not work !
Thanks for the hint then, I will change the HPB_bot template ASAP. It's for Counter-Strike, right ? Not for Hostile Intent or anything ?
|
Re: BotClient_CS_HLTV in HPB_template 4 does not work !
yes , its for cs , I want to try my luck in cs :D
I hope sourceforge will not reject my project :( |
All times are GMT +2. The time now is 02:57. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.