dont works lol
What's the point in saying that ._. ?Quote:
dont works lol
unsigned int getHash(const char *str) {
if(str == 0) { return 0; }
unsigned int hash = 0;
unsigned int mask = 0xF0000000;
for(unsigned int i = 0; i < strlen(str); i++) {
hash = tolower(str[i]) + (0x10 * hash);
if(hash & mask) {
hash ^= hash & mask ^ ((hash & mask) >> 24);
}
}
return hash;
}
DWORD getCharacterHash(char *szName, UINT nSkin) {
char szSkin[32];
sprintf(szSkin, "%02d", nSkin);
unsigned int hash = 0;
const char *gobj = "[Character]";
for(unsigned int i = 0; i < strlen(gobj); i++) {
hash = tolower(gobj[i]) + (0x1003F * hash);
}
for(unsigned int i = 0; i < strlen(szName); i++) {
hash = tolower(szName[i]) + (0x1003F * hash);
}
for(unsigned int i = 0; i < strlen(szSkin); i++) {
hash = tolower(szSkin[i]) + (0x1003F * hash);
}
return hash;
}
Well, it always worked for me after disabling Precompiled Headers and everything was ok. I couldn't compile it with MiniGW, because is showed some errors.Quote:
You CAN'T use VS 2013 because it doesn't support some features,download and use cmake([Only registered and activated users can see links. Click Here To Register...]) and mingw ([Only registered and activated users can see links. Click Here To Register...]).
I did everything in README and i'm getting an error :Quote:
Just read the Readme text file and you're good to go :)
same hereQuote:
I did everything in README and i'm getting an error :
[Only registered and activated users can see links. Click Here To Register...]