Pomoc pls

Započeo Miki Speed, Septembar 15, 2020, 00:34:45 PRE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

Problem(error/warning): Kad se igrac connecta i ukuca lozinku i isapama u cetu warninge i crehsa.Skripta nema errore i warninge cak sam i dodao crashdetect.
Deo skripte: [pawn]//[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): ovde je sve normalno.

Sta ?
Citat: Galardo poslato Januar 01, 1970, 01:00:00 PRE PODNE
Ako mislis da radis mod od 0 i da uzimas tudje radove i samo krhnuti u mod i ocekivati da radi?
Ako mislis da ne mrdnes kurcem i da pravis "mod" od "0" sa tudjim radovima,molim te,pomozi nama i sebi,radi nesto drugo.
Tebi ovaj forum dodje kao "Ispuni mi zelju" pa da ti za svaki jebeni error/warning neko pomaze i da se jebe oko tebe,a kada ti nesto zatrazi ti mu neces biti u stanju poslati jer ne znas o cemu taj isti prica iako je to nesto osnovno sto bi trebao da znas. Hvala i dovidjenja


Citat: Miki Speed poslato Septembar 15, 2020, 00:52:35 PRE PODNE
brt slusaj Konektujem se ukucam lozinku i kresa odma
Дај нам део логин система диалоге итд итд не знам како очекујеш да ти неко помогне бет тога

Citat: Сараб poslato Septembar 15, 2020, 00:54:57 PRE PODNE
Дај нам део логин система диалоге итд итд не знам како очекујеш да ти неко помогне бет тога
Ovako pre toga sam ubacio mapu i od tada je pocelo da kresa pre toga je sve bilo okej

Uzmi kantu benzina i spali se , ja zivaca za ovo neam vise...
Citat: Galardo poslato Januar 01, 1970, 01:00:00 PRE PODNE
Ako mislis da radis mod od 0 i da uzimas tudje radove i samo krhnuti u mod i ocekivati da radi?
Ako mislis da ne mrdnes kurcem i da pravis "mod" od "0" sa tudjim radovima,molim te,pomozi nama i sebi,radi nesto drugo.
Tebi ovaj forum dodje kao "Ispuni mi zelju" pa da ti za svaki jebeni error/warning neko pomaze i da se jebe oko tebe,a kada ti nesto zatrazi ti mu neces biti u stanju poslati jer ne znas o cemu taj isti prica iako je to nesto osnovno sto bi trebao da znas. Hvala i dovidjenja

Citat: naithanwav poslato Septembar 15, 2020, 01:25:03 PRE PODNE
Uzmi kantu benzina i spali se , ja zivaca za ovo neam vise...
EVO TI DIALOG LOGIN
[pawn]   if(fexist(UserPath(playerid)))
   {
       if(!ServerInfo[sLogin]) return Kickaj(playerid,"Iskljucena prijava! > Pokusajte kasnije!");
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
       ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,""plava""IME" - Login:",""bela"Molimo vas upisite svoju lozinku.","Login","Izlaz");
        ClearChat(playerid);
        SetTimerEx("loginicp",1500,false,"d",playerid);
   }[/pawn]
[pawn]    switch(dialogid)
   {
       case DIALOG_LOGIN:
       {
           if(!response) return Kickaj(playerid,"Prekinuta prijava!");
           if(response)
           {
               if(udb_hash(inputtext) == PlayerInfo[playerid][pPass])
               {
                   INI_ParseFile(UserPath(playerid),"LoadUser_%s",.bExtra = true,.extra = playerid);

                   if(!PlayerInfo[playerid][pRegistriran])
               {
                     SetupRegistration(playerid);
                  }
                   else
                   {
                       ResetPlayerMoney(playerid);
                       GivePlayerMoney(playerid,PlayerInfo[playerid][pMoney]);
                       SetPlayerScore(playerid,PlayerInfo[playerid][pLevel]);
                      SetSpawnInfo(playerid,0,0,1594.7596,-2286.7813,13.5296,90.4812,0,0,0,0,0,0);
                    SpawnPlayer(playerid);
                  Ulogovan[playerid] = true;
               }
            }
            else
            {
                pwfail[playerid]++;
                new str[100];
                format(str,sizeof(str),""crvena"Upisali ste pogresnu lozinku (%d/3)!\n"bela"Molimo vas upisite ispravnu lozinku.",pwfail[playerid]);
                if(pwfail[playerid] >= 3)
                {
                    Kickaj(playerid,"Pogrijesili ste lozinku 3 puta!");
                }
                ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_INPUT,""plava""IME" - Login:",str,"Login","Izlaz");
            }
            return 1;
         }
       }[/pawn]

Citat: Miki Speed poslato Septembar 15, 2020, 01:28:46 PRE PODNE
EVO TI DIALOG LOGIN
[pawn]   if(fexist(UserPath(playerid)))
   {
       if(!ServerInfo[sLogin]) return Kickaj(playerid,"Iskljucena prijava! > Pokusajte kasnije!");
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
       ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,""plava""IME" - Login:",""bela"Molimo vas upisite svoju lozinku.","Login","Izlaz");
        ClearChat(playerid);
        SetTimerEx("loginicp",1500,false,"d",playerid);
   }[/pawn]
[pawn]    switch(dialogid)
   {
       case DIALOG_LOGIN:
       {
           if(!response) return Kickaj(playerid,"Prekinuta prijava!");
           if(response)
           {
               if(udb_hash(inputtext) == PlayerInfo[playerid][pPass])
               {
                   INI_ParseFile(UserPath(playerid),"LoadUser_%s",.bExtra = true,.extra = playerid);

                   if(!PlayerInfo[playerid][pRegistriran])
               {
                     SetupRegistration(playerid);
                  }
                   else
                   {
                       ResetPlayerMoney(playerid);
                       GivePlayerMoney(playerid,PlayerInfo[playerid][pMoney]);
                       SetPlayerScore(playerid,PlayerInfo[playerid][pLevel]);
                      SetSpawnInfo(playerid,0,0,1594.7596,-2286.7813,13.5296,90.4812,0,0,0,0,0,0);
                    SpawnPlayer(playerid);
                  Ulogovan[playerid] = true;
               }
            }
            else
            {
                pwfail[playerid]++;
                new str[100];
                format(str,sizeof(str),""crvena"Upisali ste pogresnu lozinku (%d/3)!\n"bela"Molimo vas upisite ispravnu lozinku.",pwfail[playerid]);
                if(pwfail[playerid] >= 3)
                {
                    Kickaj(playerid,"Pogrijesili ste lozinku 3 puta!");
                }
                ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_INPUT,""plava""IME" - Login:",str,"Login","Izlaz");
            }
            return 1;
         }
       }[/pawn]
Мени је све овде уреду ајде дај код од те мапе коју си задњу убацио и избаци је из гаемоде па пробај ући и види да ли ти креш-а

A u server logu je sve normalno nista ne izbacuje

Citat: Сараб poslato Septembar 15, 2020, 01:32:22 PRE PODNE
Мени је све овде уреду ајде дај код од те мапе коју си задњу убацио и избаци је из гаемоде па пробај ући и види да ли ти креш-а
evo ti
[pawn]//////////////vila
   new tmpobjid, object_world = -1, object_int = -1;
   tmpobjid = CreateDynamicObject(18762, 174.245498, -1351.246948, 70.623802, 0.000000, 0.000000, 0.201000, object_world, object_int, -1, 300.00, 300.00);
   SetDynamicObjectMaterial(tmpobjid, 0, 13691, "bevcunto2_lahills", "stonewall3_la", 0x00000000);
   SetDynamicObjectMaterial(tmpobjid, 1, 13691, "bevcunto2_lahills", "stonewall3_la", 0x00000000);
   tmpobjid = CreateDynamicObject(18762, 165.405181, -1351.257080, 70.623840, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00);
   SetDynamicObjectMaterial(tmpobjid, 0, 13691, "bevcunto2_lahills", "stonewall3_la", 0x00000000);
   tmpobjid = CreateDynamicObject(3556, 165.010665, -1287.262451, 71.427207, 0.000000, 0.000000, 184.258834, object_world, object_int, -1, 300.00, 300.00);
   SetDynamicObjectMaterial(tmpobjid, 0, 13691, "bevcunto2_lahills", "stonewall3_la", 0x00000000);
   SetDynamicObjectMaterial(tmpobjid, 1, 13691, "bevcunto2_lahills", "stonewall3_la", 0x00000000);
   SetDynamicObjectMaterial(tmpobjid, 2, 13691, "bevcunto2_lahills", "stonewall3_la", 0x00000000);
   SetDynamicObjectMaterial(tmpobjid, 3, 13691, "bevcunto2_lahills", "stonewall3_la", 0x00000000);
   SetDynamicObjectMaterial(tmpobjid, 6, 13691, "bevcunto2_lahills", "stonewall3_la", 0x00000000);
   SetDynamicObjectMaterial(tmpobjid, 7, 13691, "bevcunto2_lahills", "stonewall3_la", 0x00000000);
   SetDynamicObjectMaterial(tmpobjid, 9, 13691, "bevcunto2_lahills", "stonewall3_la", 0x00000000);
   SetDynamicObjectMaterial(tmpobjid, 10, 13691, "bevcunto2_lahills", "stonewall3_la", 0x00000000);
   tmpobjid = CreateDynamicObject(18766, 169.813003, -1351.246948, 75.571098, 0.000000, 0.000000, 0.003700, object_world, object_int, -1, 300.00, 300.00);
   SetDynamicObjectMaterial(tmpobjid, 0, 13691, "bevcunto2_lahills", "stonewall3_la", 0x00000000);
   tmpobjid = CreateDynamicObject(18764, 188.084304, -1321.077148, 67.756896, 0.000000, 0.000000, 282.489593, object_world, object_int, -1, 300.00, 300.00);
   SetDynamicObjectMaterial(tmpobjid, 0, 13691, "bevcunto2_lahills", "stonewall3_la", 0x00000000);
   tmpobjid = CreateDynamicObject(18764, 192.896606, -1319.937500, 67.756896, 0.000000, 0.000000, 282.489593, object_world, object_int, -1, 300.00, 300.00);
   SetDynamicObjectMaterial(tmpobjid, 0, 13691, "bevcunto2_lahills", "stonewall3_la", 0x00000000);
   tmpobjid = CreateDynamicObject(18764, 193.980804, -1324.850585, 67.756896, 0.000000, 0.000000, 282.489593, object_world, object_int, -1, 300.00, 300.00);
   SetDynamicObjectMaterial(tmpobjid, 0, 13691, "bevcunto2_lahills", "stonewall3_la", 0x00000000);
   tmpobjid = CreateDynamicObject(18764, 189.160995, -1325.950805, 67.756896, 0.000000, 0.000000, 282.489593, object_world, object_int, -1, 300.00, 300.00);
   SetDynamicObjectMaterial(tmpobjid, 0, 13691, "bevcunto2_lahills", "stonewall3_la", 0x00000000);
   tmpobjid = CreateDynamicObject(7914, 190.982711, -1322.950439, 69.839797, -89.499977, 0.000000, 102.646820, object_world, object_int, -1, 300.00, 300.00);
   SetDynamicObjectMaterialText(tmpobjid, 0, "[ H ]", 20, "Arial", 20, 1, 0xFFFFFFFF, 0x00000000, 1);
   tmpobjid = CreateDynamicObject(7914, 169.812301, -1351.418701, 75.791297, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00);
   SetDynamicObjectMaterialText(tmpobjid, 0, "Kocic'Villa", 80, "Quartz MS", 20, 1, 0xFFFFFFFF, 0x00000000, 1);
   /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
   /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
   /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
   tmpobjid = CreateDynamicObject(975, 170.135772, -1351.672485, 69.983276, 0.000000, 0.000000, 179.616531, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(19799, 164.185684, -1291.647216, 70.292442, 0.000000, 0.000000, 188.595748, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(14791, 188.278030, -1288.177856, 70.914176, 0.000000, 0.000000, 2.804539, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(3819, 189.119384, -1295.783325, 70.170318, 0.000000, 0.000000, 274.848541, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(3604, 162.488525, -1307.540039, 71.052673, 0.000000, 0.000000, 89.690368, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(3604, 162.365402, -1322.435302, 71.052696, 0.000000, 0.000000, 91.000000, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(2985, 165.815826, -1352.942382, 68.270210, 0.000000, 0.000000, 314.629760, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(2985, 215.857711, -1347.807495, 50.221771, 0.000000, 0.000000, 270.554840, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(2985, 161.864913, -1344.160278, 84.087577, 0.000000, 0.000000, 312.756134, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(2985, 179.857299, -1347.861450, 68.029716, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(2985, 178.651290, -1349.436523, 67.929748, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(2985, 206.809814, -1323.522460, 84.017860, 0.000000, 0.000000, 306.241149, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(3279, 205.979385, -1321.857421, 67.955070, 0.000000, 0.000000, 104.297210, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(2985, 166.421737, -1357.078491, 68.234748, 0.000000, 0.000000, 329.867034, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(3279, 161.807815, -1342.599975, 67.955070, 0.000000, 0.000000, 98.957427, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(2985, 179.907440, -1345.987060, 68.029716, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(1723, 191.240081, -1309.679687, 69.110710, 0.000000, 0.000000, 178.949996, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(1827, 190.367660, -1307.302612, 69.254386, 0.000000, 0.000000, 359.689605, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(1723, 189.199493, -1304.753906, 69.211708, 0.000000, 0.000000, 0.303009, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(2313, 193.462341, -1306.627929, 69.387176, 0.000000, 0.000000, 273.265808, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(2648, 193.350631, -1307.232055, 70.204643, 0.000000, 0.000000, 274.291168, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(14467, 181.754318, -1303.569335, 71.284942, 0.000000, 0.000000, 0.403360, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(1829, 180.312545, -1287.980590, 69.754913, 0.000000, 0.000000, 27.322019, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(2332, 181.200973, -1287.045776, 69.566902, 0.000000, 0.000000, 359.393920, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(1829, 182.375396, -1287.462524, 69.754913, 0.000000, 0.000000, 324.886138, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(1550, 181.699508, -1288.360229, 69.580017, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(1550, 180.733337, -1288.096435, 69.580017, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(1550, 181.121871, -1287.671630, 69.580017, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(1550, 181.140975, -1288.077148, 69.580017, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(1550, 180.558044, -1288.711181, 69.580017, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(1550, 181.978179, -1287.836425, 69.580017, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(19128, 176.041687, -1290.086914, 69.122993, 0.000000, 0.000000, 0.140259, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(2232, 176.174438, -1287.485961, 69.527008, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(1829, 180.312545, -1287.980590, 69.754913, 0.000000, 0.000000, 27.322019, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(2232, 177.393218, -1287.601318, 69.527008, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(2232, 176.711486, -1287.560913, 69.527008, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(1279, 181.712921, -1288.809204, 69.094223, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(1279, 180.465759, -1289.723144, 69.094223, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(1279, 180.623657, -1289.003295, 69.094223, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00);
   tmpobjid = CreateDynamicObject(1279, 181.702911, -1289.530395, 69.094223, 0.000000, 0.000000, 0.000000, object_world, object_int, -1, 300.00, 300.00);
[/pawn]
[pawn]//KOCIC VILA///////////////////////////////////////////////////////////////////////////////////////////////
   RemoveBuildingForPlayer(playerid, 708, 177.046, -1346.742, 67.468, 0.250);
   RemoveBuildingForPlayer(playerid, 3733, 175.984, -1307.250, 74.632, 0.250);
   RemoveBuildingForPlayer(playerid, 3737, 169.296, -1332.343, 71.593, 0.250);
   RemoveBuildingForPlayer(playerid, 3604, 169.296, -1332.343, 71.593, 0.250);
   RemoveBuildingForPlayer(playerid, 673, 177.234, -1359.734, 66.695, 0.250);
   RemoveBuildingForPlayer(playerid, 673, 181.546, -1356.632, 63.578, 0.250);
   RemoveBuildingForPlayer(playerid, 700, 198.757, -1330.289, 68.429, 0.250);
   RemoveBuildingForPlayer(playerid, 762, 212.773, -1327.968, 74.140, 0.250);
   RemoveBuildingForPlayer(playerid, 762, 209.554, -1318.492, 74.601, 0.250);
   RemoveBuildingForPlayer(playerid, 671, 160.070, -1283.328, 69.320, 0.250);
   RemoveBuildingForPlayer(playerid, 3607, 175.984, -1307.250, 74.632, 0.250);
   RemoveBuildingForPlayer(playerid, 700, 205.640, -1308.640, 71.976, 0.250);
   RemoveBuildingForPlayer(playerid, 673, 200.375, -1292.312, 73.593, 0.250);
   RemoveBuildingForPlayer(playerid, 671, 180.320, -1277.820, 69.757, 0.250);
   RemoveBuildingForPlayer(playerid, 620, 191.015, -1280.726, 72.062, 0.250);
   RemoveBuildingForPlayer(playerid, 673, 196.375, -1284.937, 73.414, 0.250);[/pawn]

Citat: Сараб poslato Septembar 15, 2020, 01:32:22 PRE PODNE
Мени је све овде уреду ајде дај код од те мапе коју си задњу убацио и избаци је из гаемоде па пробај ући и види да ли ти креш-а
Izbacio sam mapu opet je isto u chetu se pojavi par warninga i cresha

A da ti nemas mozda neke modove ? Neki ENB ili nesto ? Jesi li probao sa nekim drugim GTA , mozda uopste nije do moda nego do tebe ?

Ne kaze se "evo ti", nekom ko ti hoce pomoci , nego "izvoli", ima razlike izmedju postovanja i bezobrazluka - drskosti...

Crash ti se desi kada se spawnujes , a ne u toku login-a... Postoji razlika... Promeni Spawn kordinate negde i probaj onda , ako se spawnas normalno , znaci da imas problem do skripte (neka mappa , kordinate , nesto sto ti optereti client) , ako ti opet crasha - tvoj GTA je problem...
Poslednja Izmena: Septembar 15, 2020, 02:31:30 PRE PODNE od naithanwav
Citat: Galardo poslato Januar 01, 1970, 01:00:00 PRE PODNE
Ako mislis da radis mod od 0 i da uzimas tudje radove i samo krhnuti u mod i ocekivati da radi?
Ako mislis da ne mrdnes kurcem i da pravis "mod" od "0" sa tudjim radovima,molim te,pomozi nama i sebi,radi nesto drugo.
Tebi ovaj forum dodje kao "Ispuni mi zelju" pa da ti za svaki jebeni error/warning neko pomaze i da se jebe oko tebe,a kada ti nesto zatrazi ti mu neces biti u stanju poslati jer ne znas o cemu taj isti prica iako je to nesto osnovno sto bi trebao da znas. Hvala i dovidjenja