View Single Post
Re: Question about bot chatting
Old
  (#4)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: Question about bot chatting - 15-06-2008

Quote:
Originally Posted by person135 View Post
what is the void *p? I see that ucEntIndex = *(unsigned char *) p;
It's a pointer to the data without any fixed format (can be int, can be float, can be char, can be whatever - depanding on the assignement).

Quote:
Originally Posted by person135 View Post
I don't understand what you did very well.
It wasn't me - it was Count Floyd in 99% of code... Then take a C++ book and learn it. I'm not going to be Your teacher... I just don't have time for that.

Text/say message? Find in engine.cpp the call for BotClient_CS_SayText - then You will see what kind of message it is...

BTW - why exactly do You need to know that bot chating function? Is there something You want to fix (not working correctly)? Or You are trying to make Your own bot?
  
Reply With Quote