Jump to content

toofast

Membru
  • Content Count

    42
  • Joined

  • Last visited

    Never

Community Reputation

0 Neutru

About toofast

  • Rank
    Membru
  1. Aceeasi problema dupa modificarea aceasta.
  2. Salutare, am o problema la gamemode-ul pe care il folosesc, atunci cand folosesc comanda /sellbiz, biz-ul se vinde, dar se poate cumpara la pretul de 1$. if(strcmp(cmd, "/sellbiz", true) == 0) { if(IsPlayerConnected(playerid)) { GetPlayerName(playerid, playername, sizeof(playername)); if(PlayerInfo[playerid][pPbiskey] == 255) { SendClientMessage(playerid, COLOR_WHITE, "Nu detii o afacere."); return 1; } if(PlayerInfo[playerid][pPbiskey] >= 100 && strcmp(playername, SBizzInfo[PlayerInfo[playerid][pPbiskey]-100][sbOwner], true) == 0) { new bouse = PlayerInfo[playerid][pPbiskey]-100; GivePlayerCash(playerid,SBizzInfo[bouse][sbTill]); SBizzInfo[bouse][sbBuyPrice] = 1; SBizzInfo[bouse][sbLocked] = 1; SBizzInfo[bouse][sbOwned] = 0; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(SBizzInfo[bouse][sbOwner], "The State", 0, strlen("The State"), 255); strmid(SBizzInfo[bouse][sbExtortion], "No-one", 0, strlen("No-one"), 255); ConsumingMoney[playerid] = 1; PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Felicitari~n~ Ti-ai vandut afacerea pentru ~n~~g~$%d", SBizzInfo[bouse][sbTill]); GameTextForPlayer(playerid, string, 10000, 3); SBizzInfo[bouse][sbTill] = 0; PlayerInfo[playerid][pPbiskey] = 255; Update(playerid, pBizzx); OnPropUpdate(); //OnPlayerUpdateEx(playerid); return 1; } Va multumesc pentru ajutor!
  3. Folosesc acelasi GM ca si calin123, insa primesc aceasta eroare. Datele le-am modificat corespunzator. [12:31:35] MYSQL: Incearca conectarea la server ... [12:32:38] MYSQL: Eroare de conexiune, reconectare ... [12:33:41] MYSQL: Nu s-a reusit reconectarea la server, se inchide server-ul... Poate fi din cauza ca ma conectez la baza de date extern? Adica baza de date nu se afla pe acelasi host cu server-ul?
  4. Serverul este hostat pe un VPS. Porneste fara probleme, insa in momentul cand incerc sa ma conectez si imi introduc parola in casuta de logic imi da o eroare si anume Segmentation fault. server_log.txt [02:11:49] [02:11:49] Server Plugins [02:11:49] -------------- [02:11:49] Loading plugin: mysql.so [02:11:49] > MySQL plugin R6 successfully loaded. [02:11:49] Loaded. [02:11:49] Loading plugin: streamer.so [02:11:49] *** Streamer Plugin v2.6.1 by Incognito loaded *** [02:11:49] Loaded. [02:11:49] Loading plugin: crashdetect.so [02:11:49] crashdetect v4.8.4 is OK. [02:11:49] Loaded. [02:11:49] Loaded 3 plugins. [02:11:55] Datele necesare pentru conectare au fost incarcate [02:11:55] [02:11:55] ------------------------------------------------------------------ [02:11:55] MYSQL: Incearca conectarea la server ... [02:11:55] [02:11:55] MYSQL: Conexiunea cu baza de date s-a efectuat cu succes. [02:11:55] ------------------------------------------------------------------ [02:12:18] Incoming connection: 79.112.xx.xxx:50339 [02:12:18] [join] shd has joined the server (0:79.112.xx.xxx) [02:12:19] [debug] Run time error 4: "Array index out of bounds" [02:12:19] [debug] Accessing element at index 300 past array upper bound 299 [02:12:19] [debug] AMX backtrace: [02:12:19] [debug] #0 0005503c in public VirtualWorldCheck () from gfsql.amx [02:12:20] [debug] Run time error 4: "Array index out of bounds" [02:12:20] [debug] Accessing element at index 300 past array upper bound 299 [02:12:20] [debug] AMX backtrace: [02:12:20] [debug] #0 0005503c in public VirtualWorldCheck () from gfsql.amx [02:12:21] [debug] Run time error 4: "Array index out of bounds" [02:12:21] [debug] Accessing element at index 300 past array upper bound 299 [02:12:21] [debug] AMX backtrace: [02:12:21] [debug] #0 0005503c in public VirtualWorldCheck () from gfsql.amx [02:12:25] [debug] Server crashed while executing gfsql.amx [02:12:25] [debug] AMX backtrace: [02:12:25] [debug] #0 native mysql_fetch_field_row () [00f417a0] from mysql.so [02:12:25] [debug] #1 000d7640 in ?? () from gfsql.amx [02:12:25] [debug] #2 0031b134 in public OnDialogResponse () from gfsql.amx [02:12:25] [debug] System backtrace: [02:12:25] [debug] #0 00c070f3 in _ZN10StackTraceC1EPv () from plugins/crashdetect.so [02:12:25] [debug] #1 00bfeb61 in _ZN11crashdetect20PrintSystemBacktraceEPv () from plugins/crashdetect.so [02:12:25] [debug] #2 00c01405 in _ZN11crashdetect15SystemExceptionEPv () from plugins/crashdetect.so [02:12:25] [debug] #3 00c06c42 in ?? () from plugins/crashdetect.so [02:12:25] [debug] #4 00a65500 in ?? () [02:12:25] [debug] #5 00d55073 in strlen () from /lib/libc.so.6 [02:12:25] [debug] #6 009367f0 in _ZNKSs7compareEPKc () from /usr/lib/libstdc++.so.6 [02:12:25] [debug] #7 00f3c973 in _ZN13CMySQLHandler10FetchFieldESs () from plugins/mysql.so [02:12:25] [debug] #8 00f41820 in _ZN7Natives23n_mysql_fetch_field_rowEP6tagAMXPi () from plugins/mysql.so [02:12:25] [debug] #9 080954a4 in ?? () from ./samp03svr [02:12:25] [debug] #10 00c019d5 in _ZN11crashdetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so [02:12:25] [debug] #11 00c051ca in ?? () from plugins/crashdetect.so [02:12:25] [debug] #12 00c09136 in amx_Exec () from plugins/crashdetect.so [02:12:25] [debug] #13 00c018b4 in _ZN11crashdetect9DoAmxExecEPii () from plugins/crashdetect.so [02:12:25] [debug] #14 00c05203 in ?? () from plugins/crashdetect.so [02:12:25] [debug] #15 080a5e9f in ?? () from ./samp03svr [02:12:25] [debug] #16 080b117a in ?? () from ./samp03svr [02:12:25] [debug] #17 080733b1 in ?? () from ./samp03svr [02:12:25] [debug] #18 080734a2 in ?? () from ./samp03svr [02:12:25] [debug] #19 0807d2b0 in ?? () from ./samp03svr [02:12:25] [debug] #20 080ad426 in ?? () from ./samp03svr [02:12:25] [debug] #21 080ad652 in ?? () from ./samp03svr [02:12:25] [debug] #22 080a8fb3 in ?? () from ./samp03svr [02:12:25] [debug] #23 00cf8c96 in __libc_start_main () from /lib/libc.so.6 [02:12:25] [debug] #24 0804b491 in ?? () from ./samp03svr Multumesc anticipat pentru ajutor!
  5. Am doar 2 FS-uri, deci nu cred sa fie de la asta.
  6. Buna ziua, Ma poate ajuta cineva sa rezolv lag-ul de pe server? GM-ul are mape noi si vreo 4 parcuri cu masini. Am mai scos multe obiecte si lag-ul persista. Mentionez ca host-ul este foarte bun. Va multumesc anticipat.
  7. Pai daca ar fi host calumea nu ar trebui sa ai probleme. Decat daca baga flood udp.pl si nu prea cred.
  8. @Dexter vezi PM! Am doar AntiMoney Hack, deci nu cred ca fie vreo problema
  9. Daca o vand la dealership, la fel nu imi plateste banii. Adica se incarca putin ca si cum mi-ar plati, dar imediat scade la suma care o aveam eu inainte. Ajutor!
  10. Nu stiu cum s-a rezolvat, dar nu am facut nimic si acum functioneaza. Totusi, va rog sa cititi cealalta problema a mea, codul pare in regula si totusi nu functioneaza. http://www.sa-mp.ro/forum/index.php/topic,21599.0.html Va multumesc
  11. Sunt incepator, imi poti da mai multe detalii te rog?
  12. La mine se salveaza statisticile, adica Rep Points, Wanted Level si restul, doar ca banii dispar si spawn la inceput, iar daca esti intr-un faction te da la spawn-ul factiunii.
  13. Totusi cand intru in vehicul imi scrie ce pret are masina.. Iar in cars.cfg, dupa numele proprietarului, numele masinii apare pretul masinii. Nu stiu valorile de dupa de 1 si 0 ce semnifica..
×
×
  • Create New...

Important Information

This site uses cookies. By continuing browsing, you agree to the use of this information. For more details, see Terms of Use and Privacy Policy.