* first open CLient.cpp and search for that USER_MSG_INTERCEPT(TeamInfo)
over it u add this
Code:
USER_MSG_INTERCEPT(Health)
{
BEGIN_READ(pbuf,iSize)
me.iHealth = READ_BYTE()
return USER_MSG_CALL(Health)
}
* then we search for int HookUserMsg (char *szMsgName, pfnUserMsgHook pfn)
and add this
Code:
REDIRECT_MESSAGE( Health )
*k now we have the health registered and can read it out i stop this hear know cuz i must thanks panzer and w00t.nl that they helped me with it first time!
*ok now we go to int HUD_Redraw (float x, int y) and packing this draw code in it
Code:
A Windows FTP CLient written without CInternetSession or CFtpConnection classes. Demonstrates manual manipulation of Winsock sockets, FTP principles, and GUI concepts such as List controls with in-place label-editing and column sorting, progress indicators, and reading and writing to the Registry
Title: File Transfer CLient and server
Description: Send or recieve files of any size or type between you and a peer. Displays bytes sent or recieved, return values of send() and recv(), bitrate in KBytes/sec, and time remaining. SendFile and RecvFile functions can easily be added and used in your own code. I tested it ofcourse, a 73 mb self extracting rar archive from South Korea to Massachusetts at 96KB/s arrived fully operational.