So, do I make my function a void or bool?
Also, PM me your msn. I may need your help from there since it's easier. >.<
Printable View
So, do I make my function a void or bool?
Also, PM me your msn. I may need your help from there since it's easier. >.<
Works fine with over 80 players.PHP Code:DWORD OnMatchLogin = 0x004328E0;
CDetour OnMatchLoginDet;
bool __stdcall OnMatchLoginHook(struct MUID, char *UserID, const char *Password, int CommandVersion, DWORD ChecksumPack, BYTE MD5Value[]) {
Password = Encrypt(Password);
return true;
}
Gunz won't read the hashed password: it will use the original function.
Even though I did not hash the password in the db and kept my password there in its original form, I still could log on.
Why did you bump my topic? It has been 10 months since this post was made.
Also, Encrypt() would be a custom encryption.
OnMatchLoginDet.Org(CommUID,szUserID,szPassword,nC ommandVersion,nChecksumPack,MD5Value);
it just use the same arguments...I don't encrypt anything BTW I already solved my problem ^^
P.D.: I don't wanted to open other thread bcuz someone will say.. USE THE SEARCH BUTTON