Jump to content

Jimmi

Membru
  • Posts

    374
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Jimmi

  1. Jimmi

    Remove object

    Logica mea "Daca stiu eu ce rost mai are sa invete si altii ca ii ajut eu(sau cei care mai sunt).
  2. Jimmi

    Remove object

    @Mister sau ti-a fost tie greu sa ii faci. @Rien poftim RemoveBuildingForPlayer(playerid, 17350, -54.9922, -1130.7266, 4.5781, 0.25); RemoveBuildingForPlayer(playerid, 1438, -87.0547, -1132.6797, 0.0469, 0.25); RemoveBuildingForPlayer(playerid, 1462, -79.2500, -1137.7188, 0.0547, 0.25); RemoveBuildingForPlayer(playerid, 17072, -54.9922, -1130.7266, 4.5781, 0.25); RemoveBuildingForPlayer(playerid, 17073, -56.1250, -1130.1719, 4.4922, 0.25); RemoveBuildingForPlayer(playerid, 1462, -84.3750, -1116.0938, 0.2578, 0.25); RemoveBuildingForPlayer(playerid, 1415, -68.3516, -1104.9922, 0.2188, 0.25); RemoveBuildingForPlayer(playerid, 1462, -60.3594, -1116.9375, 0.2578, 0.25); RemoveBuildingForPlayer(playerid, 1438, -63.6719, -1125.6953, 0.0469, 0.25); RemoveBuildingForPlayer(playerid, 1438, -63.4141, -1115.4141, 0.0469, 0.25); RemoveBuildingForPlayer(playerid, 1415, -63.8125, -1106.4219, 0.2188, 0.25);
  3. pai da ma dar nu are rost...dialog 3 sau 1 sau 2 nu este dublicat.am testat.in plus ca sa modific trebuie schimbate coordonatele la ds.adaug cate un define pentru fiecare locatie 6 la numar si e destul de complicat si nici nu ma ajuta asa bine experienta..
  4. deci m-ai lamurit 100-n mie....
  5. Tot nu apare insa imi apare ShowPlayerDialog(playerid,3,DIALOG_STYLE_MSGBOX,"Dealership","{F6F6F6}Ai iesit din meniu. Vrei sa cumperi acest vehicul? \nDaca da, apasa {00BC00}'Cumpara'{00BC00}.\nAltfel, apasa {00BC00}'Iesi'{00BC00}","Cumpara","Iesi");
  6. Problema intalnita (descriere):Am refacut dialogurile de la ds.dar acuma nu imi mai apare dialogul cu lista de masini din zona respectiva.... Ero(area / rile) / warning-(ul / urile):- Liniile de cod / sursa / script-ul(obligatoriu): if(IsPlayerConnected(playerid)) { if (PlayerToPoint(3.0, playerid, 2131.8369,-1150.5486,24.1454)) { new count = 0; for(new i=0; i<MAX_PLAYERS; i++) { if(PlayerToPoint(20.0, i, -1656.6138,1211.2800,20.8641) && UsingDealership[i] != 0 && GetPlayerVirtualWorld(i) == 10) { count ++; } } if(count < 1) { ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"{00BC00}Dealership","{F6F6F6}Esti la intrarea unui {00BC00}dealership{F6F6F6}.\nPentru a continua, apasa 'Ok'.\nAltfel, apasa 'Iesi'","OK","Iesi"); VehPosition[playerid] = 0; UsingDealership[playerid] = 1; DealershipTimer[playerid] = 3; SendClientMessage(playerid, COLOR_WHITE, " "); SendClientMessage(playerid, COLOR_WHITE, "{DC0C0C}Dealership: {FFFFFF}Ai 3 minute la dispozitie sa-ti alegi un vehicul."); SetPlayerVirtualWorld(playerid, 10); } else SendClientMessage(playerid, COLOR_WHITE, "{DC0C0C}Dealership: {FFFFFF}Reprezentanta auto este deja ocupata cu un client. Te rog incearca din nou peste cateva minute."); } if (PlayerToPoint(3.0, playerid, 1410.9225,-1701.1395,13.5395)) { new count = 0; for(new i=0; i<MAX_PLAYERS; i++) { if(PlayerToPoint(20.0, i, -1951.3833,259.0796,41.0471) && UsingDealership[i] != 0) { count ++; } } if(count < 1) { ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"{00BC00}Dealership","{F6F6F6}Esti la intrarea unui {00BC00}dealership{F6F6F6}.\nPentru a continua, apasa 'Ok'.\nAltfel, apasa 'Iesi'","OK","Iesi"); VehPosition[playerid] = 1; UsingDealership[playerid] = 2; DealershipTimer[playerid] = 3; SendClientMessage(playerid, COLOR_WHITE, " "); SendClientMessage(playerid, COLOR_WHITE, "{DC0C0C}Dealership: {FFFFFF}Ai 3 minute la dispozitie sa-ti alegi un vehicul."); SetPlayerVirtualWorld(playerid, 10); } else SendClientMessage(playerid, COLOR_WHITE, "{DC0C0C}Dealership: {FFFFFF}Reprezentanta auto este deja ocupata cu un client. Te rog incearca din nou peste cateva minute."); } if (PlayerToPoint(3.0, playerid, 2751.8899,-1468.2407,30.4531)) { new count = 0; for(new i=0; i<MAX_PLAYERS; i++) { if(PlayerToPoint(20.0, i, -1656.6138,1211.2800,20.8641) && UsingDealership[i] != 0 && GetPlayerVirtualWorld(i) == 11) { count ++; } } if(count < 1) { ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"{00BC00}Dealership","{F6F6F6}Esti la intrarea unui {00BC00}dealership{F6F6F6}.\nPentru a continua, apasa 'Ok'.\nAltfel, apasa 'Iesi'","OK","Iesi"); VehPosition[playerid] = 1; UsingDealership[playerid] = 3; DealershipTimer[playerid] = 3; SendClientMessage(playerid, COLOR_WHITE, " "); SendClientMessage(playerid, COLOR_WHITE, "{DC0C0C}Dealership: {FFFFFF}Ai 3 minute la dispozitie sa-ti alegi un vehicul."); SetPlayerVirtualWorld(playerid, 11); } else SendClientMessage(playerid, COLOR_WHITE, "{DC0C0C}Dealership: {FFFFFF}Reprezentanta auto este deja ocupata cu un client. Te rog incearca din nou peste cateva minute."); } if (PlayerToPoint(3.0, playerid, 370.9933,-2052.3145,8.0156)) { new count = 0; for(new i=0; i<MAX_PLAYERS; i++) { if(PlayerToPoint(20.0, i, 544.7953,-2497.9021,-0.3487) && UsingDealership[i] != 0 && GetPlayerVirtualWorld(i) == 11) { count ++; } } if(count < 1) { ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"{00BC00}Dealership","{F6F6F6}Esti la intrarea unui {00BC00}dealership{F6F6F6}.\nPentru a continua, apasa 'Ok'.\nAltfel, apasa 'Iesi'","OK","Iesi"); VehPosition[playerid] = 1; UsingDealership[playerid] = 4; DealershipTimer[playerid] = 3; SendClientMessage(playerid, COLOR_WHITE, " "); SendClientMessage(playerid, COLOR_WHITE, "{DC0C0C}Dealership: {FFFFFF}Ai 3 minute la dispozitie sa-ti alegi un vehicul."); SetPlayerVirtualWorld(playerid, 11); } else SendClientMessage(playerid, COLOR_WHITE, "{DC0C0C}Dealership: {FFFFFF}Reprezentanta auto este deja ocupata cu un client. Te rog incearca din nou peste cateva minute."); } if (PlayerToPoint(3.0, playerid, 1606.3135,-2432.6738,13.5547)) { new count = 0; for(new i=0; i<MAX_PLAYERS; i++) { if(PlayerToPoint(20.0, i, 1533.4207,-2627.9856,13.5469) && UsingDealership[i] != 0 && GetPlayerVirtualWorld(i) == 11) { count ++; } } if(count < 1) { ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"{00BC00}Dealership","{F6F6F6}Esti la intrarea unui {00BC00}dealership{F6F6F6}.\nPentru a continua, apasa 'Ok'.\nAltfel, apasa 'Iesi'","OK","Iesi"); VehPosition[playerid] = 1; UsingDealership[playerid] = 5; DealershipTimer[playerid] = 3; SendClientMessage(playerid, COLOR_WHITE, " "); SendClientMessage(playerid, COLOR_WHITE, "{DC0C0C}Dealership: {FFFFFF}Ai 3 minute la dispozitie sa iti alegi un avion."); SetPlayerVirtualWorld(playerid, 11); } else SendClientMessage(playerid, COLOR_WHITE, "{DC0C0C}Dealership: {FFFFFF}Reprezentanta auto este deja ocupata cu un client. Te rog incearca din nou peste cateva minute."); } if (PlayerToPoint(3.0, playerid, 1948.2946,2068.7778,11.0610)) { new count = 0; for(new i=0; i<MAX_PLAYERS; i++) { if(PlayerToPoint(20.0, i, -1656.6138,1211.2800,20.8641) && UsingDealership[i] != 0 && GetPlayerVirtualWorld(i) == 12) { count ++; } } if(count < 1) { ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"{00BC00}Dealership","{F6F6F6}Esti la intrarea unui {00BC00}dealership{F6F6F6}.\nPentru a continua, apasa 'Ok'.\nAltfel, apasa 'Iesi'","OK","Iesi"); VehPosition[playerid] = 0; UsingDealership[playerid] = 6; DealershipTimer[playerid] = 3; SendClientMessage(playerid, COLOR_WHITE, " "); SendClientMessage(playerid, COLOR_WHITE, "{DC0C0C}Dealership: {FFFFFF}Ai 3 minute la dispozitie sa-ti alegi un vehicul."); SetPlayerVirtualWorld(playerid, 12); } else SendClientMessage(playerid, COLOR_WHITE, "{DC0C0C}Dealership: {FFFFFF}Reprezentanta auto este deja ocupata cu un client. Te rog incearca din nou peste cateva minute."); } }si if(dialogid == 2) { if(!response) { if(gPlayerLogged[playerid] != 0) { if(UsingDealership[playerid] == 1) { new buffer[256], szAREA[3096]; szAREA = ""; format(buffer,sizeof(buffer),"Vehicul\tPret\tStoc\nBravura\t$5000\t%d\nManana\t$5000\t%d\nPrevion\t$5000\t%d\nStallion\t$5000\t%d\nMajestic\t$1000\t%d",vehSlots[401],vehSlots[410],vehSlots[436],vehSlots[439],vehSlots[517]); strcat(szAREA,buffer); format(buffer,sizeof(buffer),"\nFortune\t$1000\t%d\nClub\t$1000\t%d\nAlpha\t$1000\t%d\nTahoma\t$1000\t%d\nSentine\t$1000\t%d\nBlista Compact\t$1000\t%d\n",vehSlots[526],vehSlots[589],vehSlots[602],vehSlots[566],vehSlots[405],vehSlots[496]); strcat(szAREA,buffer); format(buffer,sizeof(buffer),"Premier\t$1000\t%d\nHuntley\t$1000\t%d\nSabre\t$1000\t%d\nIntruder\t$1000\t%d\nWilldiard\t$1000\t%d\nSunrise\t$1000\t%d",vehSlots[426],vehSlots[579],vehSlots[475],vehSlots[546],vehSlots[529],vehSlots[550]); strcat(szAREA,buffer); format(buffer,sizeof(buffer),"\nVincent\t$1000\t%d\nOceanic\t$1000\t%d\nGlendale\t$1000\t%d\nGreenwood\t$1000\t%d\nEsperanto\t$1000\t%d\nSandking\t$1000\t%d",vehSlots[540],vehSlots[467],vehSlots[466],vehSlots[492],vehSlots[419],vehSlots[495]); strcat(szAREA,buffer); format(buffer,sizeof(buffer),"\nFeltzer\t$1000\t%d\nTampa\t$1000\t%d\nStafford\t$1000\t%d\nPicador\t$1000\t%d\nWashington\t$1000\t%d\nAdmiral\t$1000\t%d",vehSlots[533],vehSlots[549],vehSlots[580],vehSlots[600],vehSlots[421],vehSlots[445]); strcat(szAREA,buffer); format(buffer,sizeof(buffer),"\nMerit\t$1000\t%d\nEmperor\t$1000\t%d\nLandstalker\t$1000\t%d\nWindsor\t$1000\t%d\nClover\t$1000\t%d\nBuffalo\t$1000\t%d",vehSlots[551],vehSlots[585],vehSlots[400],vehSlots[555],vehSlots[542],vehSlots[402]); strcat(szAREA,buffer); ShowPlayerDialog(playerid, 2, DIALOG_STYLE_TABLIST_HEADERS, "Dealership Masini Sedan", buffer, "Alege", "Iesi"); } else if(UsingDealership[playerid] == 2) { new dialogformatmoto[256]; format(dialogformatmoto,sizeof(dialogformatmoto),"Vehicul\tPret\tStoc\nPCJ-600\t$5000\t%d\nFaggio\t$5000\t%d\nSanchez\t$5000\t%d\nBMX\t$5000\t%d\nMountain Bike\t$1000\t%d\nFCR-900\t$1000\t%d\nBF-400\t$1000\t%d\nWayfarer-900\t$1000\t%d\nNRG-500\t$1000\t%d",vehSlots[461],vehSlots[462],vehSlots[468],vehSlots[481],vehSlots[510],vehSlots[521],vehSlots[581],vehSlots[586],vehSlots[522]); ShowPlayerDialog(playerid, 2, DIALOG_STYLE_TABLIST_HEADERS, "Dealership Motociclete/Biciclete", dialogformatmoto, "Alege", "Iesi"); } else if(UsingDealership[playerid] == 3) { new dialogformatepica[256]; format(dialogformatepica,sizeof(dialogformatepica),"Vehicul\tPret\tStoc\nVoodoo\t$5000\t%d\nRemington\t$5000\t%d\nSlamvan\t$5000\t%d\nBlade\t$5000\t%d\nSavanna\t$1000\t%d\nBroadway\t$1000\t%d\nTornado\t$1000\t%d",vehSlots[412],vehSlots[534],vehSlots[535],vehSlots[536],vehSlots[567],vehSlots[575],vehSlots[576]); ShowPlayerDialog(playerid, 2, DIALOG_STYLE_TABLIST_HEADERS, "Dealership Motociclete/Biciclete", dialogformatepica, "Alege", "Iesi"); } else if(UsingDealership[playerid] == 4) { new dialogformatbarci[256]; format(dialogformatbarci,sizeof(dialogformatbarci),"Vehicul\tPret\tStoc\nSqualo\t$5000\t%d\nSpeeder\t$5000\t%d\nTropic\t$5000\t%d\nDinghy\t$5000\t%d\nJetMax\t$1000\t%d",vehSlots[446],vehSlots[452],vehSlots[454],vehSlots[473],vehSlots[473]); ShowPlayerDialog(playerid, 2, DIALOG_STYLE_TABLIST_HEADERS, "Dealership Barci", dialogformatbarci, "Alege", "Iesi"); } else if(UsingDealership[playerid] == 5) { new dialogformatavioane[256]; format(dialogformatavioane,sizeof(dialogformatavioane),"Vehicul\tPret\tStoc\nDodo\t$5000\t%d\nStuntplane\t$5000\t%d\nMaverick\t$5000\t%d\nSparrow\t$5000\t%d",vehSlots[593],vehSlots[513],vehSlots[487],vehSlots[469]); ShowPlayerDialog(playerid, 2, DIALOG_STYLE_TABLIST_HEADERS, "Dealership Avioane/Elicoptere", dialogformatavioane, "Alege", "Iesi"); } else if(UsingDealership[playerid] == 6) { new dialogformatlux[256], szAREA[3096]; szAREA = ""; format(dialogformatlux,sizeof(dialogformatlux),"Vehicul\tPret\tStoc\nBullet\t$5000\t%d\nInfernus\t$5000\t%d\nTurismo\t$5000\t%d\nCheetah\t$5000\t%d\nBanshee\t$1000\t%d",vehSlots[541],vehSlots[411],vehSlots[451],vehSlots[415],vehSlots[429]); strcat(szAREA,dialogformatlux); format(dialogformatlux,sizeof(dialogformatlux),"\nSultan\t$1000\t%d\nJester\t$1000\t%d\nElegy\t$1000\t%d\nComet\t$1000\t%d\nFlash\t$1000\t%d\nSuper GT\t$1000\t%d\n",vehSlots[560],vehSlots[559],vehSlots[562],vehSlots[480],vehSlots[565],vehSlots[506]); strcat(szAREA,dialogformatlux); format(dialogformatlux,sizeof(dialogformatlux),"ZR-350\t$1000\t%d\nPhoenix\t$1000\t%d\nUranus\t$1000\t%d",vehSlots[477],vehSlots[603],vehSlots[558]); strcat(szAREA,dialogformatlux); ShowPlayerDialog(playerid, 2, DIALOG_STYLE_TABLIST_HEADERS, "Dealership Masini de lux", dialogformatlux, "Alege", "Iesi"); } } } else { ShowPlayerDialog(playerid,3,DIALOG_STYLE_MSGBOX,"Dealership","{F6F6F6}Ai iesit din meniu. Vrei sa cumperi acest vehicul? \nDaca da, apasa {00BC00}'Cumpara'{00BC00}.\nAltfel, apasa {00BC00}'Iesi'{00BC00}","Cumpara","Iesi"); return 1; } } Imagini / Video (optional):https://youtu.be/qHJ9ep_hfpg Ati incercat sa rezolvati singur?:da..
  7. Jimmi

    Dialog ds

    Asa e postat pe wiky.Tc am rezolvat oricum
  8. Jimmi

    Dialog ds

    Problema intalnita (descriere):Am modificat dialogurile de la ds.Merge peste tot bine dar imi da eroare la un dialog.... Ero(area / rile) / warning-(ul / urile): (13813) : error 075: input line too long (after substitutions) (13814) : error 037: invalid string (possibly non-terminated string) (13814) : error 017: undefined symbol "Vehicul" (13814) : error 029: invalid expression, assumed zero (13814) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 5 Errors. Liniile de cod / sursa / script-ul(obligatoriu): if(UsingDealership[playerid] == 1) { new dialogformatsedan[256]; format(dialogformatsedan,sizeof(dialogformatsedan),"Vehicul\tPret\tStoc\nBravura\t$5000\t%d\nManana\t$5000\t%d\nPrevion\t$5000\t%d\nStallion\t$5000\t%d\nMajestic\t$1000\t%d\nFortune\t$1000\t%d\nClub\t$1000\t%d\nAlpha\t$1000\t%d\nTahoma\t$1000\t%d\nSentine\t$1000\t%d\nBlista Compact\t$1000\t%d\nPremier\t$1000\t%d\nHuntley\t$1000\t%d\nSabre\t$1000\t%d\nIntruder\t$1000\t%d\nWilldiard\t$1000\t%d\nSunrise\t$1000\t%d\nVincent\t$1000\t%d\nOceanic\t$1000\t%d\nGlendale\t$1000\t%d\nGreenwood\t$1000\t%d\nEsperanto\t$1000\t%d\nSandking\t$1000\t%d\nFeltzer\t$1000\t%d\nTampa\t$1000\t%d\nStafford\t$1000\t%d\nPicador\t$1000\t%d\nWashington\t$1000\t%d\nAdmiral\t$1000\t%d\nMerit\t$1000\t%d\nEmperor\t$1000\t%d\nLandstalker\t$1000\t%d\nWindsor\t$1000\t%d\nClover\t$1000\t%d\nBuffalo\t$1000\t%d",vehSlots[401],vehSlots[410],vehSlots[436],vehSlots[439],vehSlots[517],vehSlots[526],vehSlots[589],vehSlots[602],vehSlots[566],vehSlots[405],vehSlots[496],vehSlots[426],vehSlots[579],vehSlots[475],vehSlots[546],vehSlots[529],vehSlots[550],vehSlots[540],vehSlots[467],vehSlots[466],vehSlots[492],vehSlots[419],vehSlots[495],vehSlots[533],vehSlots[549],vehSlots[580],vehSlots[600],vehSlots[421],vehSlots[445],vehSlots[551],vehSlots[585],vehSlots[400],vehSlots[555],vehSlots[542],vehSlots[402]); ShowPlayerDialog(playerid, 2, DIALOG_STYLE_TABLIST_HEADERS, "Dealership Masini Sedan", dialogformatsedan, "Alege", "Iesi"); } Imagini / Video (optional):= Ati incercat sa rezolvati singur?:da
  9. WTF????Adica nu aveti cum sa faceti forumul sa nu mai pice?Cei de la IP.Board nu va ajuta?
  10. Problema intalnita (descriere):Am facut un sistem de halloween si imi da eroare... Ero(area / rile) / warning-(ul / urile):C:\Users\Jimmi\Desktop\Server\93.119.25.182-7777\gamemodes\RunStrike.pwn(280) : error 018: initialization data exceeds declared size Liniile de cod / sursa / script-ul(obligatoriu): {"1410.1044", "-1305.7026", "9.3780", "Downtown Los Santos"}, Tot codul new pumpkins[][4] = { {"1410.1044", "-1305.7026", "9.3780", "Downtown Los Santos"}, {"811.0631", "-1098.3042", "25.9063", "CNN Los Santos"}, {"395.0076", "-1892.1541", "7.8301", "Santa Maria Beach"}, {"1208.2128", "-1997.4165", "69.0078", "Verdant Bluffs"}, {"1291.9706", "-788.6403", "96.4609", "Mulholland"}, {"1319.6095", "1254.3007", "14.2731", "Las Venturas Airport"}, {"2000.8856", "1565.8356", "15.3672", "The Strip"}, {"2592.7739", "2790.8081", "10.8203", "KACC Military Fuels"}, {"1058.6401", "1260.5609", "10.8203", "Blackfield"}, {"1697.7155", "679.0499", "14.8222", "Randolph Ind. Estate"}, {"2206.8350", "1286.4581", "10.8203", "The Camel's Toe"}, {"2060.2539", "-2376.2620", "16.1250", "LS International"}, {"2505.8127", "-1693.7687", "13.5579", "Ganton"}, {"1883.6287", "1990.4550", "7.5946", "Redsands East | The Visage"} }; Imagini / Video (optional):- Ati incercat sa rezolvati singur?:Da
  11. Care stie de ce de cand am pus parola la acp din security imi da eroarea asta: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
  12. Macar poti urca fisierul ala cu culorile de la pawno?Sau sa il pui .php aici?Multumesc.
  13. Ba ce naiba.....E asa greu sa folositi phpbb?E o platforma chiar frumoasa...
  14. Pai foarte simplu.IP.Board nu e free.Exista platforme mai bune ca IP.Board.Gen phpbb3.nu inteleg de ce nu va place aceasta platforma Tradus de pe pagina lor Acest Acord va fi guvernat de legile din Commonwealth din Virginia și legile Statelor Unite ale Americii. Orice acțiune în ceea ce privește prezentul acord sau care rezultă din termenii și condițiile sale sunt instituite și contestat în Curtea de Circuit de Bedford County. Fiecare dintre părțile consimte la jurisdicție în astfel de tenis și este de acord că serviciul de proces, furnizate de către statele și regulile de procedură civilă din Commonwealth din Virginia este suficientă. (FTB)
  15. Sa iti explic.Daca cineva iti da report dal drq..... IP.Board nulled e facut de cei de la invision virus si e o versiune proasta plina de invulnerabilitati. Daca cei de la IP.Board constateaza ca folosesti softul lor vor sesiza firma de web-host si vor cerere inchiderea ei.In cazul in care acestia refuza se va ajunge in instanta cu firma de hosting care va plati procesul si restul....Nu e de joaca cu ei.
  16. Problema intalnita (descriere):Am trecut gm pe mysql r39-3 si nu mai citeste bizz-urile... Ero(area / rile) / warning-(ul / urile): Imagini / Video (optional):- Ati incercat sa rezolvati singur?:Da...... [17:34:18] [DEBUG] mysql_format - connection: 0, len: 256, format: "SELECT * FROM `bizz` ORDER BY `bizz`.`ID` ASC" [17:34:18] [ERROR] mysql_format - invalid connection handle (id: 0) [17:34:18] [DEBUG] mysql_query - connection: 0, query: "", use_cache: true [17:34:18] [ERROR] mysql_query - invalid connection handle (id: 0) [17:34:18] [DEBUG] cache_get_row_count - connection: 0 [17:34:18] [DEBUG] cache_delete - cache_id: 0, connection: 0 [17:34:18] [ERROR] cache_delete - invalid connection handle (id: 0) [17:34:18] [DEBUG] mysql_format - connection: 0, len: 256, format: "SELECT * FROM `sbizz` ORDER BY `sbizz`.`ID` ASC" [17:34:18] [ERROR] mysql_format - invalid connection handle (id: 0) [17:34:18] [DEBUG] mysql_query - connection: 0, query: "", use_cache: true [17:34:18] [ERROR] mysql_query - invalid connection handle (id: 0) [17:34:18] [DEBUG] cache_get_row_count - connection: 0 [17:34:18] [DEBUG] cache_delete - cache_id: 0, connection: 0 [17:34:18] [ERROR] cache_delete - invalid connection handle (id: 0) Liniile de cod / sursa / script-ul(obligatoriu): public LoadBizz() { new i, query[256], index; new Cache:result; mysql_format(Handle, query, sizeof(query), "SELECT * FROM `bizz` ORDER BY `bizz`.`ID` ASC"); result = mysql_query(Handle, query); while(cache_get_row_count(Handle)) { i++; BizzInfo[i][bOwned] = cache_get_field_content_int(i, "Owned"); cache_get_field_content(i, "Owner", BizzInfo[i][bOwner]); cache_get_field_content(i, "Message", BizzInfo[i][bMessage]); cache_get_field_content(i, "Extortion", BizzInfo[i][bExtortion]); BizzInfo[i][bEntranceX] = cache_get_field_content_float (i, "EntX"); BizzInfo[i][bEntranceY] = cache_get_field_content_float (i, "EntY"); BizzInfo[i][bEntranceZ] = cache_get_field_content_float (i, "EntZ"); BizzInfo[i][bExitX] = cache_get_field_content_float (i, "ExitX"); BizzInfo[i][bExitY] = cache_get_field_content_float (i, "ExitY"); BizzInfo[i][bExitZ] = cache_get_field_content_float (i, "ExitZ"); BizzInfo[i][bLevelNeeded] = cache_get_field_content_int(i, "Level"); BizzInfo[i][bBuyPrice] = cache_get_field_content_int(i, "Price"); BizzInfo[i][bEntranceCost] = cache_get_field_content_int(i, "EPrice"); BizzInfo[i][bTill] = cache_get_field_content_int(i, "Till"); BizzInfo[i][bLocked] = cache_get_field_content_int(i, "Locked"); BizzInfo[i][bInterior] = cache_get_field_content_int(i, "Interior"); BizzInfo[i][bProducts] = cache_get_field_content_int(i, "Products"); BizzInfo[i][bMaxProducts] = cache_get_field_content_int(i, "MaxProducts"); BizzInfo[i][bPriceProd] = cache_get_field_content_int(i, "ProductPrice"); } cache_delete(result, Handle); printf("[BIZZ]Au fost incarcate %d bizz-uri.Felicitari pentru reusita.[PG-ZONE.RO]", index); return 1; } public LoadSBizz() { new i, query[256], index; new Cache:result; mysql_format(Handle, query, sizeof(query), "SELECT * FROM `sbizz` ORDER BY `sbizz`.`ID` ASC"); result = mysql_query(Handle, query); while(cache_get_row_count(Handle)) { i++; SBizzInfo[i][sbOwned] = cache_get_field_content_int(i, "Owned"); cache_get_field_content(i, "Owner", SBizzInfo[i][sbOwner]); cache_get_field_content(i, "Message", SBizzInfo[i][sbMessage]); cache_get_field_content(i, "Extortion", SBizzInfo[i][sbExtortion]); SBizzInfo[i][sbEntranceX] = cache_get_field_content_float (i, "EntX"); SBizzInfo[i][sbEntranceY] = cache_get_field_content_float (i, "EntY"); SBizzInfo[i][sbEntranceZ] = cache_get_field_content_float (i, "EntZ"); SBizzInfo[i][sbExitX] = cache_get_field_content_float (i, "ExitX"); SBizzInfo[i][sbExitY] = cache_get_field_content_float (i, "ExitY"); SBizzInfo[i][sbExitZ] = cache_get_field_content_float (i, "ExitZ"); SBizzInfo[i][sbLevelNeeded] = cache_get_field_content_int(i, "Level"); SBizzInfo[i][sbBuyPrice] = cache_get_field_content_int(i, "Price"); SBizzInfo[i][sbEntranceCost] = cache_get_field_content_int(i, "EPrice"); SBizzInfo[i][sbTill] = cache_get_field_content_int(i, "Till"); SBizzInfo[i][sbLocked] = cache_get_field_content_int(i, "Locked"); SBizzInfo[i][sbInterior] = cache_get_field_content_int(i, "Interior"); SBizzInfo[i][sbProducts] = cache_get_field_content_int(i, "Products"); SBizzInfo[i][sbMaxProducts] = cache_get_field_content_int(i, "MaxProducts"); SBizzInfo[i][sbPriceProd] = cache_get_field_content_int(i, "ProductPrice"); } cache_delete(result, Handle); printf("[SBIZZ]Au fost incarcate %d sbizz-uri.Felicitari pentru reusita.[PG-ZONE.RO]", index); return 1; }
  17. Problema intalnita (descriere):Am trecut gm pe r39-3 si acuma cand intru pe server sa imi fac cont nou imi bag parola apas register si imi zice ca acest nume e deja folosit....desi baza de date e goala... Ero(area / rile) / warning-(ul / urile): Liniile de cod / sursa / script-ul(obligatoriu): [13:50:06] [DEBUG] mysql_tquery - connection: 1, query: "", callback: "(null)", format: "(null)" [13:50:06] [DEBUG] mysql_tquery - connection: 1, query: "", callback: "(null)", format: "(null)" [13:50:06] [DEBUG] mysql_format - connection: 1, len: 100, format: "SELECT * FROM `players` WHERE `username`='%e';" [13:50:06] [DEBUG] mysql_tquery - connection: 1, query: "SELECT * FROM `players` WHERE `username`='Jimmi';", callback: "OnLoadPlayer", format: "i" [13:50:06] [DEBUG] CMySQLQuery::Execute[] - starting query execution [13:50:06] [ERROR] CMySQLQuery::Execute[] - (error #1065) Query was empty [13:50:06] [DEBUG] CMySQLQuery::Execute[] - error will be triggered in OnQueryError [13:50:06] [DEBUG] CMySQLQuery::Execute[] - starting query execution [13:50:06] [ERROR] CMySQLQuery::Execute[] - (error #1065) Query was empty [13:50:06] [DEBUG] CMySQLQuery::Execute[] - error will be triggered in OnQueryError [13:50:06] [DEBUG] CMySQLQuery::Execute[OnLoadPlayer] - starting query execution [13:50:06] [DEBUG] CMySQLQuery::Execute[OnLoadPlayer] - query was successfully executed within 35.160 milliseconds [13:50:06] [DEBUG] CMySQLResult::CMySQLResult() - constructor called [13:50:06] [DEBUG] Calling callback "OnLoadPlayer".. [13:50:06] [DEBUG] cache_get_row_count - connection: 1 [13:50:06] [DEBUG] CMySQLResult::~CMySQLResult() - deconstructor called [13:50:14] [DEBUG] mysql_format - connection: 1, len: 256, format: " SELECT `id` from `players` WHERE `username` = '%e' LIMIT 1;" [13:50:14] [DEBUG] mysql_query - connection: 1, query: " SELECT `id` from `players` WHERE `username` = 'Jimmi' LIMIT 1;", use_cache: true [13:50:14] [DEBUG] CMySQLQuery::Execute - starting query execution [13:50:14] [DEBUG] CMySQLQuery::Execute - query was successfully executed within 11.751 milliseconds [13:50:14] [DEBUG] CMySQLResult::CMySQLResult() - constructor called [13:50:14] [DEBUG] CMySQLHandle::SaveActiveResult - cache saved (id: 51) [13:50:14] [DEBUG] cache_get_row_count - connection: 1 [13:50:14] [DEBUG] cache_delete - cache_id: 51, connection: 1 [13:50:14] [DEBUG] CMySQLResult::~CMySQLResult() - deconstructor called [13:50:14] [DEBUG] CMySQLHandle::DeleteSavedResult - result deleted forward MySQLCheckAccount(sqlplayersname[]); public MySQLCheckAccount(sqlplayersname[]) { new query[ 256 ]; mysql_format( handle, query, sizeof( query ), " SELECT `id` from `players` WHERE `username` = '%e' LIMIT 1;", sqlplayersname ); new Cache:r = mysql_query( handle, query ); if( !cache_num_rows() ) return 0,cache_delete( r ); else { return cache_get_field_content_int( 0, "id" ),cache_delete( r ); } }si if(dialogid == 12345) { if(IsPlayerConnected(playerid)) { if(!response) { SendClientMessage(playerid, COLOR_WHITE, "{0066FF}Info: {FFFFFF}Ai fost dat afara pentru ca nu ai acceptat inregistrarea."); Kick(playerid); return 1; } if(strlen(inputtext) >= 4 && strlen(inputtext) <= 70) { GetPlayerName(playerid, sendername, sizeof(sendername)); new sqlaccountexists = MySQLCheckAccount(sendername); if (sqlaccountexists != 0) { SendClientMessage(playerid, COLOR_WHITE, " "); SendClientMessage(playerid, COLOR_WHITE, "{0066FF}Info: {FFFFFF}Acel nume este deja folosit, alege altul."); return 1; } new tmppass[64]; mysql_real_escape_string(inputtext, tmppass); if(strlen(tmppass) < 4) { new loginname[64]; GetPlayerName(playerid,loginname,sizeof(loginname)); ShowPlayerDialog(playerid,12347,DIALOG_STYLE_PASSWORD,"{FFFFFF}Logare","{FFFFFF}Scrie {0066FF}parola contului tau {FFFFFF}mai jos:","Logare","Iesi"); gPlayerLogTries[playerid] += 1; if(gPlayerLogTries[playerid] == 5) { Kick(playerid); } } OnPlayerRegister(playerid,tmppass); } else { new regname[64]; GetPlayerName(playerid,regname,sizeof(regname)); ShowPlayerDialog(playerid,12347,DIALOG_STYLE_PASSWORD,"{FFFFFF}Inregistrare","{FFFFFF}Scrie {0066FF}parola contului tau {FFFFFF}mai jos:","Inregistrare","Iesi"); } } } Imagini / Video (optional): http://imgur.com/IMTSEMpimi sciu parola, si nu ma da afara doar ca nu ma baga pe server(sa fac tutorialul etc...)http://imgur.com/waMxCfP Ati incercat sa rezolvati singur?:Da, dar nu stiu cum....
  18. Jimmi

    CMD:unban

    TC se pare ca nu e nimeni care stie rezolvarea.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.