What's up, I'm trying to add an extra data when try login, I want to add an extra data but I want to do it inside sendtoservernew, not when forming the package as such, but the reality is that my knowledge of c++ is really limited, I wanted to know if someone could educate me on the subject, what I have tried so far has not given results, basically inside sendtoservernew I am doing this:
Code:
int nMessage = 512;
CNetworkMessage tmpMessage;
tmpMessage = nmMessage;
tmpMessage.nm_pubPointer[sizeof(tmpMessage.nm_pubPointer)+1] = (UBYTE)&nMessage;
tmpMessage.nm_slSize += sizeof(nMessage);
before loop for seedencrypt. buts its not work... the login package has 6 iterations, but after adding my code it doesn't increase the iterations to 7, also try:
Code:
tmpMessage.Write(&nMessage, sizeof(nMessage));
but i didn't get any result, can someone give me a hand