Hallo,
komischerweise können sich die User dann nicht mehr mit ihrem Passwörtern einloggen.
Woran kann das liegen?
Werden die Überschrieben oder irgendwie geändert?
Hallo,
komischerweise können sich die User dann nicht mehr mit ihrem Passwörtern einloggen.
Woran kann das liegen?
Werden die Überschrieben oder irgendwie geändert?
Was machst du denn alles mit den Passwörtern? Hast du eine sichere Überprüfung bzw. vllt hashest du falsch oder änderst etwas beim Überprüfen.
Ich an deiner Stelle würde jetzt anfangen und der Hilfsbereiten Community mal den Code zeigen mit dem du deine Passwörter "behandelst" (sprich MD5 / SHAxyz / Whirlpool) und speicherst (DINI / Datenbank)
Sie werden so Registriert:
public OnPlayerRegister(playerid, password[])
{
if(IsPlayerConnected(playerid))
{
new string3[64];
Encrypt(password);
new playername3[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername3, sizeof(playername3));
format(string3, sizeof(string3), "/Accounts/%s.ini", playername3);
new File: hFile = fopen(string3, io_write);
if (hFile)
{
strmid(PlayerInfo[playerid][pKey], password, 0, strlen(password), 255);
new var[32];
format(var, 32, "Key=%s\r\n", PlayerInfo[playerid][pKey]);fwrite(hFile, var);
PlayerInfo[playerid][pCash] = GetPlayerMoney(playerid);
format(var, 32, "Level=%d\r\n",PlayerInfo[playerid][pLevel]);fwrite(hFile, var);
format(var, 32, "Banned=%d\r\n",PlayerInfo[playerid][pBanned]);fwrite(hFile, var);
format(var, 32, "AdminLevel=%d\r\n",PlayerInfo[playerid][pAdmin]);fwrite(hFile, var);
format(var, 32, "Supporter=%d\r\n",PlayerInfo[playerid][pSupporter]);fwrite(hFile, var);
format(var, 32, "DonateRank=%d\r\n",PlayerInfo[playerid][pDonateRank]);fwrite(hFile, var);
format(var, 32, "UpgradePoints=%d\r\n",PlayerInfo[playerid][gPupgrade]);fwrite(hFile, var);
format(var, 32, "ConnectedTime=%d\r\n",PlayerInfo[playerid][pConnectTime]);fwrite(hFile, var);
format(var, 32, "Registered=%d\r\n",PlayerInfo[playerid][pReg]);fwrite(hFile, var);
format(var, 32, "Harndrang=%d\r\n",PlayerInfo[playerid][pHarndrang]);fwrite(hFile, var);
format(var, 32, "Hunger=%d\r\n",PlayerInfo[playerid][pHunger]);fwrite(hFile, var);
format(var, 32, "StatsBox=%d\r\n",PlayerInfo[playerid][pStatsBox]);fwrite(hFile, var);
format(var, 32, "Sex=%d\r\n",PlayerInfo[playerid][pSex]);fwrite(hFile, var);
format(var, 32, "Age=%d\r\n",PlayerInfo[playerid][pAge]);fwrite(hFile, var);
format(var, 32, "Origin=%d\r\n",PlayerInfo[playerid][pOrigin]);fwrite(hFile, var);
format(var, 32, "CK=%d\r\n",PlayerInfo[playerid][pCK]);fwrite(hFile, var);
format(var, 32, "Muted=%d\r\n",PlayerInfo[playerid][pMuted]);fwrite(hFile, var);
format(var, 32, "Respect=%d\r\n",PlayerInfo[playerid][pExp]);fwrite(hFile, var);
format(var, 32, "Money=%d\r\n",PlayerInfo[playerid][pCash]);fwrite(hFile, var);
format(var, 32, "Bank=%d\r\n",PlayerInfo[playerid][pAccount]);fwrite(hFile, var);
format(var, 32, "Kredit=%d\r\n",PlayerInfo[playerid][pPlayerKredit]);fwrite(hFile, var);
format(var, 32, "KreditDauer=%d\r\n",PlayerInfo[playerid][pPlayerKreditDauer]);fwrite(hFile, var);
format(var, 32, "Crimes=%d\r\n",PlayerInfo[playerid][pCrimes]);fwrite(hFile, var);
format(var, 32, "Kills=%d\r\n",PlayerInfo[playerid][pKills]);fwrite(hFile, var);
format(var, 32, "Deaths=%d\r\n",PlayerInfo[playerid][pDeaths]);fwrite(hFile, var);
format(var, 32, "Arrested=%d\r\n",PlayerInfo[playerid][pArrested]);fwrite(hFile, var);
format(var, 32, "WantedDeaths=%d\r\n",PlayerInfo[playerid][pWantedDeaths]);fwrite(hFile, var);
format(var, 32, "Phonebook=%d\r\n",PlayerInfo[playerid][pPhoneBook]);fwrite(hFile, var);
format(var, 32, "LottoNr=%d\r\n",PlayerInfo[playerid][pLottoNr]);fwrite(hFile, var);
format(var, 32, "Fishes=%d\r\n",PlayerInfo[playerid][pFishes]);fwrite(hFile, var);
format(var, 32, "BiggestFish=%d\r\n",PlayerInfo[playerid][pBiggestFish]);fwrite(hFile, var);
format(var, 32, "Job=%d\r\n",PlayerInfo[playerid][pJob]);fwrite(hFile, var);
format(var, 32, "Paycheck=%d\r\n",PlayerInfo[playerid][pPayCheck]);fwrite(hFile, var);
format(var, 32, "HeadValue=%d\r\n",PlayerInfo[playerid][pHeadValue]);fwrite(hFile, var);
format(var, 32, "Jailed=%d\r\n",PlayerInfo[playerid][pJailed]);fwrite(hFile, var);
format(var, 32, "GangJailed=%d\r\n",PlayerInfo[playerid][pGangJailed]);fwrite(hFile, var);
format(var, 32, "wJailed=%d\r\n",PlayerInfo[playerid][pwJailed]);fwrite(hFile, var);
format(var, 32, "Mauled=%d\r\n",PlayerInfo[playerid][pMauled]);fwrite(hFile, var);
format(var, 32, "Arbeitslosengeld=%d\r\n",arbeitslosengeld[playerid]);fwrite(hFile, var);
format(var, 32, "JailTime=%d\r\n",PlayerInfo[playerid][pJailTime]);fwrite(hFile, var);
format(var, 32, "Friedhoftime=%d\r\n",PlayerInfo[playerid][pTot]);fwrite(hFile, var);
format(var, 32, "Materials=%d\r\n",PlayerInfo[playerid][pMats]);fwrite(hFile, var);
format(var, 32, "Drugs=%d\r\n",PlayerInfo[playerid][pDrugs]);fwrite(hFile, var);
format(var, 32, "BoxMaterials=%d\r\n",PlayerInfo[playerid][pBoxMats]);fwrite(hFile, var);
format(var, 32, "BoxDrugs=%d\r\n",PlayerInfo[playerid][pBoxDrugs]);fwrite(hFile, var);
format(var, 32, "FightingStyle=%d\r\n",GetPlayerFightingStyle(playerid));fwrite(hFile, var);
format(var, 32, "Leader=%d\r\n",PlayerInfo[playerid][pLeader]);fwrite(hFile, var);
format(var, 32, "Member=%d\r\n",PlayerInfo[playerid][pMember]);fwrite(hFile, var);
format(var, 32, "FMember=%d\r\n",PlayerInfo[playerid][pFMember]);fwrite(hFile, var);
format(var, 32, "Rank=%d\r\n",PlayerInfo[playerid][pRank]);fwrite(hFile, var);
format(var, 32, "Char=%d\r\n",PlayerInfo[playerid][pChar]);fwrite(hFile, var);
format(var, 32, "ContractTime=%d\r\n",PlayerInfo[playerid][pContractTime]);fwrite(hFile, var);
format(var, 32, "DetSkill=%d\r\n",PlayerInfo[playerid][pDetSkill]);fwrite(hFile, var);
format(var, 32, "SexSkill=%d\r\n",PlayerInfo[playerid][pSexSkill]);fwrite(hFile, var);
format(var, 32, "BoxSkill=%d\r\n",PlayerInfo[playerid][pBoxSkill]);fwrite(hFile, var);
format(var, 32, "LawSkill=%d\r\n",PlayerInfo[playerid][pLawSkill]);fwrite(hFile, var);
format(var, 32, "MechSkill=%d\r\n",PlayerInfo[playerid][pMechSkill]);fwrite(hFile, var);
format(var, 32, "JackSkill=%d\r\n",PlayerInfo[playerid][pJackSkill]);fwrite(hFile, var);
format(var, 32, "CarSkill=%d\r\n",PlayerInfo[playerid][pCarSkill]);fwrite(hFile, var);
format(var, 32, "NewsSkill=%d\r\n",PlayerInfo[playerid][pNewsSkill]);fwrite(hFile, var);
format(var, 32, "DrugsSkill=%d\r\n",PlayerInfo[playerid][pDrugsSkill]);fwrite(hFile, var);
format(var, 32, "CookSkill=%d\r\n",PlayerInfo[playerid][pCookSkill]);fwrite(hFile, var);
format(var, 32, "FishSkill=%d\r\n",PlayerInfo[playerid][pFishSkill]);fwrite(hFile, var);
format(var, 32, "pSHealth=%.1f\r\n",PlayerInfo[playerid][pSHealth]);fwrite(hFile, var);
GetPlayerHealth(playerid,PlayerInfo[playerid][pHealth]);
format(var, 32, "pHealth=%.1f\r\n",PlayerInfo[playerid][pHealth]);fwrite(hFile, var);
format(var, 32, "Int=%d\r\n",PlayerInfo[playerid][pInt]);fwrite(hFile, var);
format(var, 32, "Local=%d\r\n",PlayerInfo[playerid][pLocal]);fwrite(hFile, var);
format(var, 32, "Team=%d\r\n",PlayerInfo[playerid][pTeam]);fwrite(hFile, var);
format(var, 32, "Model=%d\r\n",PlayerInfo[playerid][pModel]);fwrite(hFile, var);
format(var, 32, "PhoneNr=%d\r\n",PlayerInfo[playerid][pPnumber]);fwrite(hFile, var);
format(var, 32, "House=%d\r\n",PlayerInfo[playerid][pPhousekey]);fwrite(hFile, var);
format(var, 32, "Bizz=%d\r\n",PlayerInfo[playerid][pPbiskey]);fwrite(hFile, var);
format(var, 32, "HandyGeld=%d\r\n",PlayerInfo[playerid][pHandyGeld]);fwrite(hFile, var);
format(var, 32, "HandyVer=%d\r\n",PlayerInfo[playerid][pHandyVer]);fwrite(hFile, var);
format(var, 32, "Autoradio=%d\r\n",PlayerInfo[playerid][pRadio]);fwrite(hFile, var);
format(var, 32, "Navi=%d\r\n",PlayerInfo[playerid][pNavi]);fwrite(hFile, var);
format(var, 32, "Tankart=%d\n",PlayerInfo[playerid][ptankart]);fwrite(hFile, var);
GetPlayerName(playerid,pname,sizeof(pname));
if ((PlayerInfo[playerid][pPos_x]==0.0 && PlayerInfo[playerid][pPos_y]==0.0 && PlayerInfo[playerid][pPos_z]==0.0))
{
PlayerInfo[playerid][pPos_x] = 1684.9;
PlayerInfo[playerid][pPos_y] = -2244.5;
PlayerInfo[playerid][pPos_z] = 13.5;
}
if(Spectate[playerid] != 255)
{
PlayerInfo[playerid][pPos_x] = Unspec[playerid][sPx];
PlayerInfo[playerid][pPos_y] = Unspec[playerid][sPy];
PlayerInfo[playerid][pPos_z] = Unspec[playerid][sPz];
PlayerInfo[playerid][pInt] = Unspec[playerid][sPint];
PlayerInfo[playerid][pLocal] = Unspec[playerid][sLocal];
}
format(var, 32, "Pos_x=%.1f\r\n",PlayerInfo[playerid][pPos_x]);fwrite(hFile, var);
format(var, 32, "Pos_y=%.1f\r\n",PlayerInfo[playerid][pPos_y]);fwrite(hFile, var);
format(var, 32, "Pos_z=%.1f\r\n",PlayerInfo[playerid][pPos_z]);fwrite(hFile, var);
format(var, 32, "CarLic=%d\r\n",PlayerInfo[playerid][pCarLic]);fwrite(hFile, var);
//format(var, 32, "PersoJoe=%d\r\n",PlayerInfo[playerid][pPersoJoe]);fwrite(hFile, var);
format(var, 32, "FirstSpawn=%d\r\n",PlayerInfo[playerid][pFirstSpawn]);fwrite(hFile, var);
format(var, 32, "OftLogin=%d\r\n",PlayerInfo[playerid][pOftLogin]);fwrite(hFile, var);
format(var, 32, "Werberstatus=%d\r\n",PlayerInfo[playerid][pWerberStatus]);fwrite(hFile, var);
format(var, 32, "Werber=%s\r\n",PlayerInfo[playerid][pWerber]);fwrite(hFile, var);
format(var, 32, "Notfall=%d\r\n",PlayerInfo[playerid][pNotfall]);fwrite(hFile, var);
format(var, 32, "Resetbar=%d\r\n",PlayerInfo[playerid][pResetbar]);fwrite(hFile, var);
format(var, 32, "Resetbank=%d\r\n",PlayerInfo[playerid][pResetbank]);fwrite(hFile, var);
format(var, 32, "Krankenkasse=%d\r\n",PlayerInfo[playerid][pKrankenkasse]);fwrite(hFile, var);// hier wird der schein in der Spieler .ini gespeichert
format(var, 32, "KrankenkasseTime=%d\r\n",PlayerInfo[playerid][pKrankenkasseTime]);fwrite(hFile, var);// hier wird der schein in der Spieler .ini gespeichert
format(var, 32, "NewLic=%d\r\n",PlayerInfo[playerid][pNewLic]);fwrite(hFile, var);
format(var, 32, "ZollPass=%d\r\n",PlayerInfo[playerid][pZollPass]);fwrite(hFile, var);
format(var, 32, "Knack Pause=%d\n",PlayerInfo[playerid][pknackpause]);fwrite(hFile, var);
format(var, 32, "Brecheisen=%d\n",PlayerInfo[playerid][pbrecheisen]);fwrite(hFile, var);
format(var, 32, "ZollPassTime=%d\r\n",PlayerInfo[playerid][pZollPassTime]);fwrite(hFile, var);
format(var, 32, "FlyLic=%d\r\n",PlayerInfo[playerid][pFlyLic]);fwrite(hFile, var);
format(var, 32, "BoatLic=%d\r\n",PlayerInfo[playerid][pBoatLic]);fwrite(hFile, var);
format(var, 32, "FishLic=%d\r\n",PlayerInfo[playerid][pFishLic]);fwrite(hFile, var);
format(var, 32, "GunLic=%d\r\n",PlayerInfo[playerid][pGunLic]);fwrite(hFile, var);// hier wird der schein in der Spieler .ini gespeichert
format(var, 32, "LKWLic=%d\r\n",PlayerInfo[playerid][pLKWLic]);fwrite(hFile, var);
format(var, 32, "RollerLic=%d\r\n",PlayerInfo[playerid][pRollerLic]);fwrite(hFile, var);
format(var, 32, "MotoLic=%d\r\n",PlayerInfo[playerid][pMotoLic]);fwrite(hFile, var);
format(var, 32, "Zig=%d\r\n",PlayerInfo[playerid][pZig]);fwrite(hFile, var);
format(var, 32, "Kekse=%d\r\n",PlayerInfo[playerid][pKekse]);fwrite(hFile, var);
format(var, 32, "ZigSucht=%d\r\n",PlayerInfo[playerid][pZigSucht]);fwrite(hFile, var);
format(var, 32, "Gun1=%d\r\n",PlayerInfo[playerid][pGun1]);fwrite(hFile, var);
format(var, 32, "Gun2=%d\r\n",PlayerInfo[playerid][pGun2]);fwrite(hFile, var);
format(var, 32, "Gun3=%d\r\n",PlayerInfo[playerid][pGun3]);fwrite(hFile, var);
format(var, 32, "Gun4=%d\r\n",PlayerInfo[playerid][pGun4]);fwrite(hFile, var);
format(var, 32, "Ammo1=%d\r\n",PlayerInfo[playerid][pAmmo1]);fwrite(hFile, var);
format(var, 32, "Ammo2=%d\r\n",PlayerInfo[playerid][pAmmo2]);fwrite(hFile, var);
format(var, 32, "Ammo3=%d\r\n",PlayerInfo[playerid][pAmmo3]);fwrite(hFile, var);
format(var, 32, "Ammo4=%d\r\n",PlayerInfo[playerid][pAmmo4]);fwrite(hFile, var);
format(var, 32, "CarTime=%d\r\n",PlayerInfo[playerid][pCarTime]);fwrite(hFile, var);
format(var, 32, "PayDay=%d\r\n",PlayerInfo[playerid][pPayDay]);fwrite(hFile, var);
format(var, 32, "PayDayHad=%d\r\n",PlayerInfo[playerid][pPayDayHad]);fwrite(hFile, var);
format(var, 32, "CDPlayer=%d\r\n",PlayerInfo[playerid][pCDPlayer]);fwrite(hFile, var);
format(var, 32, "Wins=%d\r\n",PlayerInfo[playerid][pWins]);fwrite(hFile, var);
format(var, 32, "Loses=%d\r\n",PlayerInfo[playerid][pLoses]);fwrite(hFile, var);
format(var, 32, "AlcoholPerk=%d\r\n",PlayerInfo[playerid][pAlcoholPerk]);fwrite(hFile, var);
format(var, 32, "DrugPerk=%d\r\n",PlayerInfo[playerid][pDrugPerk]);fwrite(hFile, var);
format(var, 32, "MiserPerk=%d\r\n",PlayerInfo[playerid][pMiserPerk]);fwrite(hFile, var);
format(var, 32, "PainPerk=%d\r\n",PlayerInfo[playerid][pPainPerk]);fwrite(hFile, var);
format(var, 32, "TraderPerk=%d\r\n",PlayerInfo[playerid][pTraderPerk]);fwrite(hFile, var);
format(var, 32, "Tutorial=%d\r\n",PlayerInfo[playerid][pTut]);fwrite(hFile, var);
format(var, 32, "Warnings=%d\r\n",PlayerInfo[playerid][pWarns]);fwrite(hFile, var);
format(var, 32, "Adjustable=%d\r\n",PlayerInfo[playerid][pAdjustable]);fwrite(hFile, var);
format(var, 32, "Fuel=%d\r\n",PlayerInfo[playerid][pFuel]);fwrite(hFile, var);
format(var, 32, "Married=%d\r\n",PlayerInfo[playerid][pMarried]);fwrite(hFile, var);
format(var, 32, "MarriedTo=%s\r\n",PlayerInfo[playerid][pMarriedTo]);fwrite(hFile, var);
format(var, 32, "SpawnChange=%d\r\n",SpawnChange[playerid]);fwrite(hFile, var);
format(var, 32, "WantedLevel=%d\r\n",WantedLevel[playerid]);fwrite(hFile, var);
format(var, 32, "WantedPoints=%d\r\n",WantedPoints[playerid]);fwrite(hFile, var);
format(var, 32, "Arbeitslosengeld=%d\r\n",arbeitslosengeld[playerid]);fwrite(hFile, var);
format(var, 32, "PlayMinutes=%d\r\n",PlayerInfo[playerid][pPlayMinutes]);fwrite(hFile, var);
format(var, 32, "GesamtMinutes=%d\r\n",PlayerInfo[playerid][pGesamtMinutes]);fwrite(hFile, var);
format(var, 32, "MinutesSinceAn=%d\r\n",PlayerInfo[playerid][pMinutesSinceAn]);fwrite(hFile, var);
format(var, 32, "SFPASS=%d\r\n",PlayerInfo[playerid][pSFPASS]);fwrite(hFile, var);
format(var, 32, "LVPASS=%d\r\n",PlayerInfo[playerid][pLVPASS]);fwrite(hFile, var);
format(var, 32, "Offflucht=%d\r\n",OfflineFlucht[playerid]);fwrite(hFile, var);
format(var, 32, "Knast=%d\r\n",Knast[playerid]);fwrite(hFile, var);
format(var, 32, "Uhr=%d\r\n",PlayerInfo[playerid][pUhrID]);fwrite(hFile, var);
format(var, 32, "Handy=%d\r\n",PlayerInfo[playerid][pHandyID]);fwrite(hFile, var);
format(var, 32, "KnastTime=%d\r\n",KnastTime[playerid]);fwrite(hFile, var);
format(var, 32, "Perso=%d\r\n",PlayerInfo[playerid][pOwnPerso]);fwrite(hFile, var);
format(var, 32, "FrakSperre=%d\r\n",PlayerInfo[playerid][pFrakSperre]);fwrite(hFile, var);
format(var, 32, "Gehalt=%d\r\n",PlayerInfo[playerid][pGehalt]);fwrite(hFile, var);
format(var, 32, "InvWeapon=%d\r\n",PlayerInfo[playerid][pInvWeapon]);fwrite(hFile, var);
format(var, 32, "InvAmmo=%d\r\n",PlayerInfo[playerid][pInvAmmo]);fwrite(hFile, var);
format(var, 32, "InvWeapon2=%d\r\n",PlayerInfo[playerid][pInvWeapon2]);fwrite(hFile, var);
format(var, 32, "InvAmmo2=%d\r\n",PlayerInfo[playerid][pInvAmmo2]);fwrite(hFile, var);
format(var, 32, "InvMats=%d\r\n",PlayerInfo[playerid][pInvMats]);fwrite(hFile, var);
format(var, 32, "InvDrugs=%d\r\n",PlayerInfo[playerid][pInvDrugs]);fwrite(hFile, var);
format(var, 32, "FlugTime=%d\r\n",PlayerInfo[playerid][pFlugTime]);fwrite(hFile, var);
format(var, 32, "FarSsssmTime=%d\r\n",PlayerInfo[playerid][pFarmTime]);fwrite(hFile, var);
format(var, 32, "GDeaths=%d\r\n",PlayerInfo[playerid][pGDeaths]);fwrite(hFile, var);
format(var, 32, "GKills=%d\r\n",PlayerInfo[playerid][pGKills]);fwrite(hFile, var);
format(var, 32, "Meldung=%d\r\n",PlayerInfo[playerid][pMeldung]);fwrite(hFile, var);
format(var, 32, "Autoradio=%d\r\n",PlayerInfo[playerid][pRadio]);fwrite(hFile, var);
format(var, 32, "Navi=%d\r\n",PlayerInfo[playerid][pNavi]);fwrite(hFile, var);
format(var, 32, "SpawnX=%f\r\n",PlayerInfo[playerid][SpawnX]);fwrite(hFile, var);
format(var, 32, "SpawnY=%f\r\n",PlayerInfo[playerid][SpawnY]);fwrite(hFile, var);
format(var, 32, "SpawnZ=%f\r\n",PlayerInfo[playerid][SpawnZ]);fwrite(hFile, var);
format(var, 32, "SpawnR=%f\r\n",PlayerInfo[playerid][SpawnR]);fwrite(hFile, var);
format(var, 32, "SInterior=%d\r\n",PlayerInfo[playerid][SInterior]);fwrite(hFile, var);
format(var, 32, "SVirtualWorld=%d\r\n",PlayerInfo[playerid][SVirtualWorld]);fwrite(hFile, var);
format(var, 32, "SHealth=%f\r\n",PlayerInfo[playerid][SHealth]);fwrite(hFile, var);
//format(var, 32, "Wanteds=%d\r\n",WantedLevel[playerid]);fwrite(hFile, var);
fclose(hFile);
new clientlogonmsg[512];
format(clientlogonmsg, sizeof clientlogonmsg, "%s hat sich registriert.", playername3);
new all[700];
format(all, sizeof(all),"{00FF00}Dein Account wurde erfolgreich erstellt!\n\n{FFA000}Benutzername: {FFFFFF}%s\n\nBitte logge dich nun in deinen Account ein!",playername3);
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Login (3/6)", all, "Weiter", "Abbrechen");
//ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,"Login (3/5)","{00FF00}Dein Account wurde erfolgreich erstellt!\n\n{FFA000}Benutzername: {FFFFFF}%s\n\nBitte logge dich nun in deinen Account ein!","Weiter","Abbrechen",playername3);
}
}
return 1;
}
Alles anzeigen
Gehasht wird so:
Function Encrypt(string[])
{
for(new x=0; x < strlen(string); x++)
{
string[x] += (3^x) * (x % 15);
if(string[x] > (0xff))
{
string[x] -= 256;
}
}
return 1;
}
Alles anzeigen
Das ist wohl nicht bei jedem.
Kann es auch sein, dass dies durch irgendeinem Modsobeit oder so sowas herbei gerufen wird?
Versuche mal diese Funktion zu nutzen: https://wiki.sa-mp.com/wiki/SHA256_PassHash
Ist weitaus besser
Versuche mal diese Funktion zu nutzen: https://wiki.sa-mp.com/wiki/SHA256_PassHash
Ist weitaus besser
Richtig, weitaus besser und sicherer! Könntest auch Whirlpool benutzen
Ich denke, bei diesem Problem ärgern dich aber eher die User bzw. haben die User ihr Passwort vergessen
Wie baue ich das denn ein?