Thank you for the link. In fact, it confirms what I finally understood. Good :)
2008/12/7 Ryan Sheffer <[EMAIL PROTECTED]> > Here is an interesting article by ts2do on sending strings of data from the > client to the server using the usercmd. Its great for sending secure data > from VGUI elements or anything else. > > http://developer.valvesoftware.com/wiki/UserCmd_strings > > On Sat, Dec 6, 2008 at 12:20 AM, Janek <[EMAIL PROTECTED]> wrote: > > > CUserCmd sounds to be what I was looking for. > > > > Thank you very much for your help :-) > > > > 2008/12/6 Andrew Ritchie <[EMAIL PROTECTED]> > > > > > You could mod the CUserCMD class I believe so that it is capable of > > holding > > > extra data, like at the very end have a bit to indicate whether there > is > > > more data to be read or not. The issue you could have with that is the > > > chance of the information never arrive or being discarded for being too > > > late > > > to be of use. But that command packet is the most flexible way you > could > > > attach data, otherwise pulling it out of the ClientCmd string. If you > > > spend > > > time rooting around in the SDK code yourself and understanding how > > sources > > > networking functions you'll know immediately what the best approach is > > for > > > your needs. > > > > > > On Fri, Dec 5, 2008 at 10:54 PM, Jorge Rodriguez <[EMAIL PROTECTED]> > > > wrote: > > > > > > > engine->ClientCmd() is equivalent to typing something into your > > console. > > > A > > > > faster way to type something into your console is to bind a key to > it. > > > > There's really nothing that ClientCmd() can send that can't be sent > by > > > > binding it to a key somehow. > > > > > > > > -- > > > > Jorge "Vino" Rodriguez > > > > _______________________________________________ > > > > 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 > > > > > > > > > > > > -- > > ------------------- > > [EMAIL PROTECTED] > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > -- > ~Ryan > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > -- ------------------- [EMAIL PROTECTED] _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

