The only thing I've come up against with bots is that the FAKECLIENT flag (or whatever it is) isn't set immediately, it's set after the bot has joined the game. I forget why this was an issue in GMod, but I remember that it was..
Could this be related? On 4/28/07, Spencer 'voogru' MacDonald <[EMAIL PROTECTED]> wrote:
Is this question really that hard? Is ClientActive ever intended to be called on bots or not? Thanks :) - voogru. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, March 31, 2007 11:14 AM To: hlcoders@list.valvesoftware.com Subject: RE: [hlcoders] ClientActive & Bots I can confirm that there's a bug where ClientDisconnect doesn't always get called. There are various bugs with that, seemingly all involving map changes or the client disconnecting during startup negotiation. At 2007/03/30 01:19 PM, Spencer 'voogru' MacDonald wrote: >Maybe my question is too hard? Or nobody loves me? > >Anyways, it seems like a bug to me. > >ClientActive is normally never called on a bot. However, if a player >connects and then immediately disconnects, the next bot to join the game >will have ClientActive called on them, seemingly before even >CreateFakeClient is called. > >And unfortunately for us, there seems to be no way to tell if a client >disconnected in this case because ClientDisconnect isn't called this early. > >- voogru. > >-----Original Message----- >From: Kevin 'Poof' Gerry [mailto:[EMAIL PROTECTED] >Sent: Thursday, March 29, 2007 11:07 PM >To: hlcoders@list.valvesoftware.com >Subject: RE: [hlcoders] ClientActive & Bots > >Is there any response to this? Or was it given to Spencer off-list? > >Thanks! I'd like to know as well. > >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of Spencer 'voogru' >MacDonald >Sent: Wednesday, March 28, 2007 8:23 PM >To: hlcoders@list.valvesoftware.com >Subject: RE: [hlcoders] ClientActive & Bots > >*Crickets* > >-----Original Message----- >From: Spencer 'voogru' MacDonald [mailto:[EMAIL PROTECTED] >Sent: Tuesday, March 27, 2007 2:50 AM >To: hlcoders@list.valvesoftware.com >Subject: [hlcoders] ClientActive & Bots > >Hi all, > >I have noticed that the ClientActive function does not seem to be called by >bots. > >Is this supposed to be the case all of the time? I just ran into a case >where it's being called on a bot if special conditions are met and I want to >know if this is a bug. > >- voogru. > > >_______________________________________________ >To unsubscribe, edit your list preferences, or view the list archives, >please visit: >http://list.valvesoftware.com/mailman/listinfo/hlcoders > > >_______________________________________________ >To unsubscribe, edit your list preferences, or view the list archives, >please visit: >http://list.valvesoftware.com/mailman/listinfo/hlcoders > > >_______________________________________________ >To unsubscribe, edit your list preferences, or view the list archives, >please visit: >http://list.valvesoftware.com/mailman/listinfo/hlcoders > > >_______________________________________________ >To unsubscribe, edit your list preferences, or view the list archives, please visit: >http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders