As some of you might already known that there is a function in engine with signature int _cdecl SendPacket(char type, char* format, ...)
This function takes not crypted data as arguments, put the data together crypt and send.
I noticed some time ago that using this funtion isnt really safe for use because of some shared data inside cause crash or uncontrolled packet send if you use this function with many threads.
Does anybody know how to handle that problem or any good alternative for send packets?
This function takes not crypted data as arguments, put the data together crypt and send.
I noticed some time ago that using this funtion isnt really safe for use because of some shared data inside cause crash or uncontrolled packet send if you use this function with many threads.
Does anybody know how to handle that problem or any good alternative for send packets?