[Pomoc] Login/Register System

Započeo Sic Macko :D, Oktobar 26, 2011, 20:07:04 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Skripta koju koristim: Jedan Edit
Detaljan opis problema: Netko se moze ulogirati s nepostojecom lozinkom
Dio skripte:
Neznam sta treba, pa cu staviti ovo
new loginstring[128];
new loginname[64];
GetPlayerName(playerid,loginname,sizeof(loginname));
format(loginstring,sizeof(loginstring),"{B7FF00}Dobrodosli, %s\n{F300FF}Taj nick je registriran.\n{00FFEE}Sada se mozete prijaviti.\n{FFF1AF}Ukoliko 3x promasite\n{F81414}lozinku, IP ce vam biti banan.",loginname);
ShowPlayerDialog(playerid,12346,DIALOG_STYLE_INPUT,"Prijava",loginstring,"Prijava","Izadji");
}
else
{
gPlayerAccount[playerid] = 0;
new regstring[128];
new regname[64];
GetPlayerName(playerid,regname,sizeof(regname));
format(regstring,sizeof(regstring),"{B7FF00}Dobrodosli, %s\n{F81414}Nemate Account.\n{00FFEE} }Molimo vas registrirajte se:",regname);
ShowPlayerDialog(playerid,12345,DIALOG_STYLE_INPUT,"Registracija",regstring,"Registracija","Izadji");
}
//PlayerPlaySound(playerid, 1187, 0.0, 0.0, 0.0);
PlayerInfo[playerid][pModel] = Peds[classid][0];
SetPlayerTeamFromClass(playerid,classid);
}
else SpawnPlayer(playerid);
return false;


Neke slike/video za lakse dobivanje pomoci(neobavezno):

Ime Servera: Security RolePlay
Server IP: Uskoro !

Jel svi mogu znas sta moze biti da si ti dirao tamo acc otvarao pa onda mozes se lgovati sa bilo kojom lozinkom!
big respect 4 Blaeks Vuzimir  Shoorty Scripter HamZa

Citat: DJeronimo poslato Oktobar 26, 2011, 20:26:24 POSLE PODNE
Jel svi mogu znas sta moze biti da si ti dirao tamo acc otvarao pa onda mozes se lgovati sa bilo kojom lozinkom!
Nekuzim sta nevalja tamo u ScriptFilesima, samo otvaram s Wordom 2007
Jel to sta nevalja
Evo primjer nekoga Accounta
Key=
Level=5
AdminLevel=1340
DonateRank=0
UpgradePoints=0
ConnectedTime=18
Registered=1
Sex=1
Age=21
Origin=4
CK=0
Muted=0
Respect=7
Money=4846823
Bank=1527536549
Crimes=36
Kills=0
Deaths=0
Arrested=0
WantedDeaths=2
Phonebook=0
LottoNr=0
Fishes=0
BiggestFish=0
Job=4
Paycheck=7563
HeadValue=0
Jailed=0
JailTime=0
Materials=0
Drugs=0
Leader=1
Member=0
FMember=255
Rank=6
Char=288
ContractTime=25
DetSkill=0
SexSkill=0
BoxSkill=0
LawSkill=0
MechSkill=0
JackSkill=0
CarSkill=0
NewsSkill=6
DrugsSkill=0
CookSkill=0
FishSkill=0
pSHealth=100.0
pHealth=100.0
Int=0
Local=241
Team=2
Model=7
PhoneNr=417220
Car=375
Car2=258
Car3=549
House=255
Bizz=255
Pos_x=725.5
Pos_y=-1195.9
Pos_z=18.9
CarLic=1
FlyLic=1
BoatLic=0
FishLic=0
GunLic=0
Gun1=0
Gun2=0
Gun3=31
Gun4=34
Ammo1=0
Ammo2=0
Ammo3=411
Ammo4=585
CarTime=0
PayDay=6
PayDayHad=0
Watch=1
Crashed=0
Wins=0
Loses=0
AlcoholPerk=0
DrugPerk=0
MiserPerk=1
PainPerk=0
TraderPerk=0
Tutorial=1
Mission=0
Warnings=0
VirWorld=0
Fuel=0
Married=0
MarriedTo=Niko
FishTool=0
Note1=None
Note1s=0
Note2=None
Note2s=0
Note3=None
Note3s=0
Note4=None
Note4s=0
Note5=None
Note5s=0
InvWeapon=0
InvAmmo=0
Lighter=0
Cigarettes=0
Locked=0
Gm=4
PinKod=8922
Kredit=91500

Nisam nista dirao pod Key (ust, nisam nista ni dirao) samo sam kopirao

Ime Servera: Security RolePlay
Server IP: Uskoro !

Ni ja ne kontam sto se to tako razvali ali vidis da ti nema nista pod key sto znaci sta god upises prihvati kao lozinku...
big respect 4 Blaeks Vuzimir  Shoorty Scripter HamZa

Opet se moze login napraviti s kojom oces lozinkom

Ime Servera: Security RolePlay
Server IP: Uskoro !