![]() |
Why bots need this?
Since I'm not a bot coder and I know almost nothing about C++ and HL SDK, I can't answer to T(+)rget what can be a reason to using some special management in code for bots.
A lot of times I saw some bots or players as ghosts on the server (also noticed by other people at this and other forums) when there is AMX or AMX MOD X. I've asked him why it's not working correctly (not resetted at player's respawn) some function set_user_rendering. T(+)rget told me it is resetted in FUN module and he was surprised a bit if it doesn't work correctly for bots. But he asked me about something I can't answer. Maybe someone of You guys can give more light to explain the problem. Quote:
|
Re: Why bots need this?
I never had to use that code before for my own bot, and I haven't seen it used in other bots...
What MOD is it for? What Bot is using it? I'm guessing that the bot doesn't fully support the mod or simply hasn't got the correct code for them to join the server properly. The code above just makes the bot join the game, where the bot should have done that code itself in it's creation function. |
Re: Why bots need this?
The mod it's AMX and the bot it's AMXBOT (T(+)rget's one) and it should work for CS. More info here:
http://forums.bots-united.com/showthread.php?t=3102 |
Re: Why bots need this?
Well like I mentioned to KWo the bot needed reinitialising:
Code:
static cell AMX_NATIVE_CALL create_bot(AMX *amx, cell *params) { -Targ |
Re: Why bots need this?
This may be caused because you lack client-side code for your bot. Your bot needs to know how to handle the VGUI network message the server sends it (like for example for choosing team and class). CS has a bug where it is possible to force a player to "play" even though the team and class have not been selected correctly, however as soon as this player dies, problems arise which resemble the one you mentioned (if I remember well).
|
All times are GMT +2. The time now is 08:29. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.