Register

Započeo k0c1c., Oktobar 05, 2021, 20:59:09 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 4 gostiju pregledaju ovu temu.

Problem(error/warning): Nema errora niti warninga upisem na registraciji sifru i kada hocu da se login kaze da nije tacna lozinka a jeste
Deo skripte: [pawn]Vaš /[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): Vaš /
Poslednja Izmena: Oktobar 10, 2021, 01:37:37 PRE PODNE od M Ө M Σ N Z I

Pa proveri da li ti ucitava lozinku iz baze podataka, koristi debug, ucitaj lozinku i onda je printaj i vidi sta ti izbacuje

Citat: zabolje me kurac hahahahahah (dekszy) poslato Oktobar 05, 2021, 21:00:59 POSLE PODNE
Pa proveri da li ti ucitava lozinku iz baze podataka, koristi debug, ucitaj lozinku i onda je printaj i vidi sta ti izbacuje
[pawn]   if(dialogid == DIALOG_LOGIN)
        {
           SetPlayerCameraPos(playerid, 320.0, 50.0, 170.0);
         SetPlayerCameraLookAt(playerid, 324.34, 54.122, 173.35);
            if ( !response ) return Kick ( playerid );
            if( response )
            {
                if(udb_hash(inputtext) == PlayerInfo[playerid][pLozinka])
                {
                    INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
                    GivePlayerMoney(playerid, PlayerInfo[playerid][pNovac]);
                    SetPlayerScore(playerid, PlayerInfo[playerid][pLevel]);
                    SetSpawnInfo(playerid, 0, 26, 1604.9063,-2331.1953,13.5380,91.2927,0, 0, 0, 0, 0, 0);
               SpawnPlayer(playerid);
                }
                else
                {
                   new plogin[500];
                 new name[MAX_PLAYER_NAME];
                 GetPlayerName(playerid, name, sizeof(name));
               format(plogin,sizeof(plogin),""D_SVETLOPLAVA"Dobrodošli na "D_NARANDZASTA"Balkan-Samp RolePlay!\n\n"D_CRVENA"||------------------------------------------------------------||\n\n"D_SVETLOPLAVA"-Vaše ime: "D_NARANDZASTA"%s\n\n"D_SVETLOPLAVA"-Portal: "D_NARANDZASTA"www.Balkan-Samp.com\n\n"D_SVETLOPLAVA"-Account: "D_NARANDZASTA"Vaš account je registrovan\n\n"D_CRVENA"-Pogrešna lozinka!\n\n"D_CRVENA"||------------------------------------------------------------||", name);
                 ShowPlayerDialog(playerid,DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, ""D_SVETLOPLAVA"Pogrešna lozinka", plogin, "Login", "Izadji"); TogglePlayerSpectating(playerid, 0);
                }
         }
      }
   if(fexist(UserPath(playerid)))
    {
        SetPlayerCameraPos(playerid, 320.0, 50.0, 170.0);
      SetPlayerCameraLookAt(playerid, 324.34, 54.122, 173.35);
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
      new login[500];
        new name[MAX_PLAYER_NAME];
        GetPlayerName(playerid, name, sizeof(name));
          format(login,sizeof(login),""D_SVETLOPLAVA"Dobrodošli na "D_NARANDZASTA"Balkan-Samp RolePlay!\n\n"D_CRVENA"||------------------------------------------------------------||\n\n"D_SVETLOPLAVA"-Vaše ime: "D_NARANDZASTA"%s\n\n"D_SVETLOPLAVA"-Portal: "D_NARANDZASTA"www.Balkan-Samp.com\n\n"D_SVETLOPLAVA"-Account: "D_NARANDZASTA"Vaš account je registrovan\n\n"D_SVETLOPLAVA"-Unesite vašu "D_NARANDZASTA"lozinku!\n\n"D_CRVENA"||------------------------------------------------------------||", name);
        ShowPlayerDialog(playerid,DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, ""D_SVETLOPLAVA"Login", login, "Login", "Izadji");
        SpawnPlayer(playerid);
        TogglePlayerSpectating(playerid, 0);
    }[/pawn]

Citat: 5eed poslato Oktobar 05, 2021, 21:02:50 POSLE PODNE
[pawn]   if(dialogid == DIALOG_LOGIN)
        {
           SetPlayerCameraPos(playerid, 320.0, 50.0, 170.0);
         SetPlayerCameraLookAt(playerid, 324.34, 54.122, 173.35);
            if ( !response ) return Kick ( playerid );
            if( response )
            {
                if(udb_hash(inputtext) == PlayerInfo[playerid][pLozinka])
                {
                    INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
                    GivePlayerMoney(playerid, PlayerInfo[playerid][pNovac]);
                    SetPlayerScore(playerid, PlayerInfo[playerid][pLevel]);
                    SetSpawnInfo(playerid, 0, 26, 1604.9063,-2331.1953,13.5380,91.2927,0, 0, 0, 0, 0, 0);
               SpawnPlayer(playerid);
                }
                else
                {
                   new plogin[500];
                 new name[MAX_PLAYER_NAME];
                 GetPlayerName(playerid, name, sizeof(name));
               format(plogin,sizeof(plogin),""D_SVETLOPLAVA"Dobrodošli na "D_NARANDZASTA"Balkan-Samp RolePlay!\n\n"D_CRVENA"||------------------------------------------------------------||\n\n"D_SVETLOPLAVA"-Vaše ime: "D_NARANDZASTA"%s\n\n"D_SVETLOPLAVA"-Portal: "D_NARANDZASTA"www.Balkan-Samp.com\n\n"D_SVETLOPLAVA"-Account: "D_NARANDZASTA"Vaš account je registrovan\n\n"D_CRVENA"-Pogrešna lozinka!\n\n"D_CRVENA"||------------------------------------------------------------||", name);
                 ShowPlayerDialog(playerid,DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, ""D_SVETLOPLAVA"Pogrešna lozinka", plogin, "Login", "Izadji"); TogglePlayerSpectating(playerid, 0);
                }
         }
      }
   if(fexist(UserPath(playerid)))
    {
        SetPlayerCameraPos(playerid, 320.0, 50.0, 170.0);
      SetPlayerCameraLookAt(playerid, 324.34, 54.122, 173.35);
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
      new login[500];
        new name[MAX_PLAYER_NAME];
        GetPlayerName(playerid, name, sizeof(name));
          format(login,sizeof(login),""D_SVETLOPLAVA"Dobrodošli na "D_NARANDZASTA"Balkan-Samp RolePlay!\n\n"D_CRVENA"||------------------------------------------------------------||\n\n"D_SVETLOPLAVA"-Vaše ime: "D_NARANDZASTA"%s\n\n"D_SVETLOPLAVA"-Portal: "D_NARANDZASTA"www.Balkan-Samp.com\n\n"D_SVETLOPLAVA"-Account: "D_NARANDZASTA"Vaš account je registrovan\n\n"D_SVETLOPLAVA"-Unesite vašu "D_NARANDZASTA"lozinku!\n\n"D_CRVENA"||------------------------------------------------------------||", name);
        ShowPlayerDialog(playerid,DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, ""D_SVETLOPLAVA"Login", login, "Login", "Izadji");
        SpawnPlayer(playerid);
        TogglePlayerSpectating(playerid, 0);
    }[/pawn]
Ne razumes ti bas debug kako radi..
Posalji dialog i proveru gde ti proverava da li je tacna ili netacna lozinka

trebas poslati i dialog za register
Upwork Skills
Back-end:
• PHP Frameworks (Laravel, Symfony,Codeigniter)
• Python/Django
• Node.js

Front-end:
• HTML
• CSS pre-processing (SASS, LESS)
• Javascript (JQuery, Ajax, Vue, Angular, React, etc.)
• Bootstrap

CMS
• Wordpress (Woocommerce)
• Shopify, Magento