Provera lozinke


Započeo Agent 47, Maj 19, 2018, 18:39:56 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): znaci ako sam stavio da mi je sifra acc test123 i ja npr ukucam na loginu pera123 meni udje na server a u skripti sam nasao kao da izbaci da je pogresna lozinka sad ne znam u cemu je problem
Dio skripte://
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): //
Slika/video ingame problema(obavezno ako je ingame problem): https://imgur.com/a/q7Ps332
Es ist nicht alles Gold, was glänzt

BUMP
Es ist nicht alles Gold, was glänzt

CitatDio skripte://

Pošalji cijeli dialog za login( i to ne slika nego u (pawn) (/pawn) )

else
			    {
			    new loginname[64];
				GetPlayerName(playerid,loginname,sizeof(loginname));
				new info[500];
                format(info,sizeof(info),"{0090ff}______________________________________\n\n{0090ff}Dobrodosli na "BELA"Old Forest RolePlay {0090ff}Server\n\n{0090ff}Vase ime: "BELA"%s\n\n{0090ff}Vas "BELA"Account {0090ff}je pronadjen\n\n{0090ff}Sajt: "BELA"www.uskoro.com\n{0090ff}Molimo upisite svoju sifru!\n\n{0090ff}______________________________________",GetName(playerid));
				ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,""CRVENA"BS|{FFFFFF}Login",info,"Login","Exit");
				LoginPokusaji[playerid] ++;
				new textjbni[512]; format(textjbni, sizeof(textjbni),"[INFO] "CRVENA"Pogresna lozinka! Preostalo Pokusaja: %d/4!",LoginPokusaji[playerid]);SCM(playerid, -1, textjbni);
				if(LoginPokusaji[playerid] == 4) { StatusKonekta(playerid, 4); }
				}
Es ist nicht alles Gold, was glänzt

PARDON EVO TI DIALOG LOGIN

case DIALOG_LOGIN:
	    {
		    if(!response) return Kick(playerid),print("kick-10");
		    if(response)
		    {
				if(udb_hash(inputtext) == PlayerInfo[playerid][pPass])
			    {
				    INI_ParseFile(Korisnici(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
                    new rand = random(sizeof(RandomSpawn2));
					SetSpawnInfo(playerid, 0, PlayerInfo[playerid][pSkin], RandomSpawn2[rand][0], RandomSpawn2[rand][1], RandomSpawn2[rand][2], 0, 0, 0, 0, 0, 0, 0);
    	 			}
                    TextDrawHideForPlayer(playerid, textdraw26);
					TextDrawHideForPlayer(playerid, textdraw27);
					TextDrawHideForPlayer(playerid, textdraw28);
					TextDrawHideForPlayer(playerid, textdraw29);
					TextDrawHideForPlayer(playerid, textdraw30);
					TextDrawHideForPlayer(playerid, textdraw31);
					TextDrawHideForPlayer(playerid, textdraw32);
					TextDrawHideForPlayer(playerid, textdraw33);
					TextDrawHideForPlayer(playerid, textdraw34);
					TextDrawHideForPlayer(playerid, textdraw35);
					TextDrawHideForPlayer(playerid, textdraw270);
					TextDrawHideForPlayer(playerid, textdraw271);
					TextDrawHideForPlayer(playerid, textdraw272);
					TextDrawHideForPlayer(playerid, textdraw273);
					TextDrawHideForPlayer(playerid, textdraw274);
					TextDrawHideForPlayer(playerid, textdraw275);
					TextDrawHideForPlayer(playerid, textdraw276);
					TextDrawHideForPlayer(playerid, textdraw277);
					TextDrawHideForPlayer(playerid, textdraw278);
					TextDrawHideForPlayer(playerid, textdraw279);
					TextDrawHideForPlayer(playerid, textdraw280);
					TextDrawHideForPlayer(playerid, textdraw281);
					TextDrawHideForPlayer(playerid, textdraw282);
					TextDrawHideForPlayer(playerid, textdraw283);
					TextDrawHideForPlayer(playerid, textdraw284);
					TextDrawHideForPlayer(playerid, textdraw285);
					SpawnPlayer(playerid);
					SpawnIgraca(playerid); GivePlayerMoney(playerid, PlayerInfo[playerid][pNovacDzep]);
					SetPlayerFightingStyle(playerid, PlayerInfo[playerid][pBorbeniStil]);
					SetCameraBehindPlayer(playerid);
					UlogovanProvera[playerid] = 1;
				    TextDrawHideForPlayer(playerid, LoginTextdraw[0]);
					TextDrawHideForPlayer(playerid, LoginTextdraw[1]); TextDrawHideForPlayer(playerid, LoginTextdraw[2]); TextDrawHideForPlayer(playerid, LoginTextdraw[3]);
				    OcistiChat(playerid, 10);
					new string2[1028];
					SendClientMessage(playerid,-1, ""ZELENA"------------------------------------------------------");
					format(string2, sizeof(string2), ""OKER"Dobrodosli na Old Forest Roleplay");
					SendClientMessage(playerid,-1,string2);
					format(string2, sizeof(string2), "Vlasnik: Boske");
					SendClientMessage(playerid,-1,string2);
					format(string2, sizeof(string2), "Direktor: Alex i Walle");
					SendClientMessage(playerid,-1,string2);
					format(string2, sizeof(string2), "Skripter: Miljan");
					SendClientMessage(playerid,-1,string2);
					format(string2, sizeof(string2), "Maper: Miljan i KaLu i Boss");
					SendClientMessage(playerid,-1,string2);
					format(string2, sizeof(string2), "Sajt: balkanschool-samp.com");
					SendClientMessage(playerid,-1,string2);
					format(string2, sizeof(string2), "Admin Level: %d",PlayerInfo[playerid][pAdmin]);
					SendClientMessage(playerid,-1,string2);
					format(string2, sizeof(string2), "VIP Level: %d",PlayerInfo[playerid][pDonatorskiVip]);
					SendClientMessage(playerid,-1,string2);
					if (PlayerInfo[playerid][pDonatorskiVip] > 0)
					{
						SendClientMessage(playerid,-1,"Hvala vam sto donirate! <33");
					}
					SetPlayerAttachedObject(playerid, 3, 19065, 2, 0.120000, 0.040000, -0.003500, 0, 100, 100, 1.4, 1.4, 1.4);
					SendClientMessage(playerid,-1, ""ZELENA"------------------------------------------------------");
					if(PlayerInfo[playerid][pAdmin] >= 4)
					{
					    new string[512];
					    format(string, sizeof(string), ""SIVA"Dobrodosli %s, Vi ste Admin na slotu %d !", GetName(playerid), PlayerInfo[playerid][pASlot]);
					    SCM(playerid, -1, string);
					}
					if(PlayerInfo[playerid][pAdmin] > 1 && PlayerInfo[playerid][pAdmin] < 4)
					{
					    new string[512];
					    format(string, sizeof(string), ""SIVA"Dobrodosli %s, Vi ste Helper na slotu %d !", GetName(playerid), PlayerInfo[playerid][pHSlot]);
					    SCM(playerid, -1, string);
					}
					if(PlayerInfo[playerid][pLider] > 0)
					{
					    new string[512];
					    format(string, sizeof(string), ""SIVA"Dobrodosli %s, Vi ste Lider na slotu %d !", GetName(playerid), PlayerInfo[playerid][pLSlot]);
					    SCM(playerid, -1, string);
					}
					if(PlayerInfo[playerid][pClanVB] > 0)
					{
					    new string[512];
					    format(string, sizeof(string), ""SIVA"Dobrodosli %s, Vi ste Clan Velikog Brata na slotu %d !", GetName(playerid), PlayerInfo[playerid][pVBSlot]);
					    SCM(playerid, -1, string);
					}
					JBC_TogglePlayerSpectating(playerid, 0);
					if (PlayerInfo[playerid][pNovacBanka] >= 100000000)
					{
					new stringar[128];
					format(stringar,sizeof(stringar),""CRVENA"!BS-AC "ORANGE"Igrac %s [%d] Dzep: %d$ | Banka: %d$!",GetName(playerid),playerid,PlayerInfo[playerid][pNovacDzep],PlayerInfo[playerid][pNovacBanka]);
					SendAdminMessage(-1, stringar);
					}
					if (PlayerInfo[playerid][pNovacDzep] >= 1000000)
					{
					new stringar[128];
					format(stringar,sizeof(stringar),""CRVENA"!BS-AC "ORANGE"Igrac %s [%d] Dzep: %d$ | Banka: %d$!",GetName(playerid),playerid,PlayerInfo[playerid][pNovacDzep],PlayerInfo[playerid][pNovacBanka]);
					SendAdminMessage(-1, stringar);
					}
					if(PlayerInfo[playerid][pTutorial] == 0)
					{
					    SCM(playerid,-1,""CRVENA"[INFO] "SIVA"Niste zavrsili registraciju!");
						ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, ""CRVENA"Vi ste", ""BELA"Musko\n"BELA"Zensko", "Select", "Exit");
					    SetPlayerCameraPos(playerid, 1657.39, -1856.75, 45.71); SetPlayerCameraLookAt(playerid, 1661.96, -1857.56, 43.85);
					    SetPlayerInterior(playerid, 0); TogglePlayerControllable(playerid, 0); SetPlayerPos(playerid, 1693.3690,-1867.5784,13.5412);
					    SetPlayerFacingAngle(playerid, 139.7829); SetPlayerVirtualWorld(playerid, 5446);
					}
			    }
			    else
			    {
			    new loginname[64];
				GetPlayerName(playerid,loginname,sizeof(loginname));
				new info[500];
                format(info,sizeof(info),"{0090ff}______________________________________\n\n{0090ff}Dobrodosli na "BELA"Old Forest RolePlay {0090ff}Server\n\n{0090ff}Vase ime: "BELA"%s\n\n{0090ff}Vas "BELA"Account {0090ff}je pronadjen\n\n{0090ff}Sajt: "BELA"www.uskoro.com\n{0090ff}Molimo upisite svoju sifru!\n\n{0090ff}______________________________________",GetName(playerid));
				ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,""CRVENA"BS|{FFFFFF}Login",info,"Login","Exit");
				LoginPokusaji[playerid] += 1;
    			SCMF(playerid,-1,"[LOGIN] "CRVENA"Pogresna lozinka | Preostalo Pokusaja: %d/4!",LoginPokusaji[playerid]);
				if(LoginPokusaji[playerid] == 4) { StatusKonekta(playerid, 4); }
				}
Es ist nicht alles Gold, was glänzt

!!!RESENO!!!
Es ist nicht alles Gold, was glänzt