Jump to content

VeLo

Membru
  • Posts

    158
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by VeLo

  1. Clar comanda e copiata, daca era facuta de tine: nu pui tu SCM si chestii care el poate nu le are, te folosesti de functiile default.
  2. iti sugerez sa iti inchizi laptopul =))))))))))))))
  3. https://github.com/Y-Less/sscanf/releases/tag/2.10.2-r2
  4. Ultima versiune oferita de Y_Less, este 2.10.2
  5. frate cum mm rezolv alea la linkmania sa-l pornesc

  6. Acum am dat update la plugins sscanf ultima versiune. 2.10.2 stramer 2.9.4 crashdetect 4.20
  7. Am compilat acum cu fisierul trimis de tine. Pawn compiler 3.10.10 Copyright (c) 1997-2006, ITB CompuPhase Header size: 19876 bytes Code size: 3023848 bytes Data size: 1476412 bytes Stack/heap size: 16384 bytes; estimated max. usage=3744 cells (14976 bytes) Total requirements: 4536520 bytes Done. Precizez ca eroarea respectiva este din vara (nu foloseam versiunea asta de crashdetect, streamer cred ca da - era ultima versiune). Din cate stiu atunci am folosit si fara crashdetect si tot dadea restart. Nu-si da restart mereu, ci asa intamplator. Uneori chiar la pornirea serverului pica, alteori dupa cateva zile de functionare, rareori pica de 30 de mii de ori, porneste pica porneste pica (1-2-3-4 playeri apucand sa se conecteze).
  8. Am facut exact asa, dar primesc error 047: array sizes do not match, or destination array is too small la: OnPlayerLogin - Adrian(playerid, password, PlayerInfo[playerid][pLoserLevel]); la OnPlayerRegister - Adrian(playerid, password, 0);
  9. eroarea: xyz.pwn(18573) : error 047: array sizes do not match, or destination array is too small
  10. in mare parte arata ok, mai am 2 erori gen aici cum definesc marimea? OnPlayerLogin if(PlayerInfo[playerid][pLoserLevel] > 0) Adrian(playerid, password, PlayerInfo[playerid][pLoserLevel]); peste tot string-ul e de 32 caractere.
  11. DIn cate am inteles de pe net, poate fi vorba si de o bucla infinita?
  12. Am facut UPDATE la crashdetect si primesc aceasta eroare cand pornesc serverul (localhost) > #`[03:04:07] [debug] Long callback execution detected (hang or performance issue) > [03:04:07] [debug] AMX backtrace: > [03:04:07] [debug] #0 0001e7a8 in public zcmd_OnGameModeInit () in xyz.amx > [03:04:07] [debug] #1 native CallLocalFunction () in samp-server.exe > [03:04:07] [debug] #2 00007684 in public SSCANF_OnGameModeInit () in xyz.amx > [03:04:07] [debug] #3 000019ec in public Iter_OnGameModeInit () in xyz.amx > [03:04:07] [debug] #4 native CallLocalFunction () in samp-server.exe > [03:04:07] [debug] #5 00000b80 in public OnGameModeInit () in xyz.amx` referitor la aceasta eroare nu o mai primeam inainte de acest update la crashdetect, insa eu o asociez cu o alta problema (restart la server):
  13. Multumesc, Am incercat prima varianta, revin cu UPDATE in caz de problema.
  14. Buna, Am facut UPDATE la pawn compiler si primesc eroarea asta: error 092: functions may not return arrays of unknown size (symbol "Adrian") asta e linia: Adrian(playerid, A, PlayerInfo[playerid][pLoserLevel]); si acesta este stock-ul: stock Adrian(playerid, string[], V) { new A, B, C; if(!V) { switch(random(5)) { case 0: V = 1; case 1: V = 3; case 2: V = 5; case 3: V = 7; case 4: V = 9; } PlayerInfo[playerid][pLoserLevel] = V; } switch(V) { case 1: { A = 3; B = 4; C = 7; } case 3: { A = 8; B = 9; C = 1; } case 5: { A = 3; B = 7; C = 4; } case 7: { A = 1; B = 3; C = 9; } case 9: { A = 5; B = 2; C = 6; } } for(new i, l = strlen(string); i < l; i++) { switch(string[i]) { case 48..57: { string[i] += A; if(string[i] > 57) string[i] -= 10; } case 65..90: { string[i] += B; if(string[i] > 90) string[i] -= 26; } case 97..122: { string[i] += C; if(string[i] > 122) string[i] -= 26; } } } return string; } P.S: ESTE FOLOSIT PENTRU HASH PAROLA, UN FEL DE CRYPT. - eficient.
  15. *** glibc detected *** /home/gsp_834/IP-7777/samp03svr: corrupted double-linked list: 0x08699280 *** ======= Backtrace: ========= /lib/i386-linux-gnu/i686/cmov/libc.so.6(+0x70f01)[0xf74a0f01] /lib/i386-linux-gnu/i686/cmov/libc.so.6(+0x7135a)[0xf74a135a] /lib/i386-linux-gnu/i686/cmov/libc.so.6(+0x73475)[0xf74a3475] /lib/i386-linux-gnu/i686/cmov/libc.so.6(__libc_malloc+0x5c)[0xf74a58ec] /usr/lib/i386-linux-gnu/libstdc++.so.6(_Znwj+0x25)[0xf762f7b5] /home/gsp_834/IP-7777/samp03svr[0x80e191f] plugins/streamer.so(sampgdk_CreatePlayerObject+0xcb)[0xf73b0dbb] plugins/streamer.so(_ZN8Streamer14processObjectsER6PlayerRKSt6vectorIN5boost13intrusive_ptrI4CellEESaIS6_EE+0x596)[0xf74087d6] plugins/streamer.so(_ZN8Streamer19performPlayerUpdateER6Playerb+0x3b7)[0xf740c197] plugins/streamer.so(_ZN8Streamer20startAutomaticUpdateEv+0xca)[0xf740c88a] plugins/streamer.so(ProcessTick+0x25)[0xf73d5415] /home/gsp_834/IP-7777/samp03svr[0x80d1ce2] /home/gsp_834/IP-7777/samp03svr[0x80aef6c] /home/gsp_834/IP-7777/samp03svr[0x80aa13a] /lib/i386-linux-gnu/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xf7446e46] /home/gsp_834/IP-7777/samp03svr[0x804b4e1] ======= Memory map: ======== 08048000-08095000 r-xp 00000000 08:02 17563731 /home/gsp_834/IP-7777/samp03svr 08095000-08097000 rwxp 0004d000 08:02 17563731 /home/gsp_834/IP-7777/samp03svr 08097000-08180000 r-xp 0004f000 08:02 17563731 /home/gsp_834/IP-7777/samp03svr 08180000-081a2000 rw-p 00138000 08:02 17563731 /home/gsp_834/IP-7777/samp03svr 081a2000-081cd000 rw-p 00000000 00:00 0 08674000-08676000 rw-p 00000000 00:00 0 [heap] 08676000-08677000 rwxp 00000000 00:00 0 [heap] 08677000-09491000 rw-p 00000000 00:00 0 [heap] f4f00000-f4f21000 rw-p 00000000 00:00 0 f4f21000-f5000000 ---p 00000000 00:00 0 f5100000-f5300000 rw-p 00000000 00:00 0 f5300000-f53fa000 rw-p 00000000 00:00 0 f53fa000-f5400000 ---p 00000000 00:00 0 f5400000-f5500000 rw-p 00000000 00:00 0 f5500000-f55e0000 rw-p 00000000 00:00 0 f55e0000-f5600000 ---p 00000000 00:00 0 f5600000-f5700000 rw-p 00000000 00:00 0 f5700000-f57fa000 rw-p 00000000 00:00 0 f57fa000-f5800000 ---p 00000000 00:00 0 f5800000-f5900000 rw-p 00000000 00:00 0 f5900000-f5b00000 rw-p 00000000 00:00 0 f5b00000-f5c00000 rw-p 00000000 00:00 0 f5ceb000-f6acf000 rw-p 00000000 00:00 0 f6acf000-f6ad0000 ---p 00000000 00:00 0 f6ad0000-f72d0000 rw-p 00000000 00:00 0 f72d0000-f72da000 r-xp 00000000 08:02 2494078 /lib/i386-linux-gnu/i686/cmov/libnss_files-2.13.so f72da000-f72db000 r--p 00009000 08:02 2494078 /lib/i386-linux-gnu/i686/cmov/libnss_files-2.13.so f72db000-f72dc000 rw-p 0000a000 08:02 2494078 /lib/i386-linux-gnu/i686/cmov/libnss_files-2.13.so f72f3000-f7368000 rw-p 00000000 00:00 0 f7368000-f7377000 r-xp 00000000 08:02 17563788 /home/gsp_834/IP-7777/plugins/sscanf.so f7377000-f7378000 rw-p 0000e000 08:02 17563788 /home/gsp_834/IP-7777/plugins/sscanf.so f7378000-f737f000 r-xp 00000000 08:02 2494079 /lib/i386-linux-gnu/i686/cmov/librt-2.13.so f737f000-f7380000 r--p 00006000 08:02 2494079 /lib/i386-linux-gnu/i686/cmov/librt-2.13.so f7380000-f7381000 rw-p 00007000 08:02 2494079 /lib/i386-linux-gnu/i686/cmov/librt-2.13.so f7388000-f742c000 r-xp 00000000 08:02 17563790 /home/gsp_834/IP-7777/plugins/streamer.so f742c000-f742e000 rw-p 000a3000 08:02 17563790 /home/gsp_834/IP-7777/plugins/streamer.so f7430000-f758c000 r-xp 00000000 08:02 2494084 /lib/i386-linux-gnu/i686/cmov/libc-2.13.so f758c000-f758d000 ---p 0015c000 08:02 2494084 /lib/i386-linux-gnu/i686/cmov/libc-2.13.so f758d000-f758f000 r--p 0015c000 08:02 2494084 /lib/i386-linux-gnu/i686/cmov/libc-2.13.so f758f000-f7590000 rw-p 0015e000 08:02 2494084 /lib/i386-linux-gnu/i686/cmov/libc-2.13.so f7590000-f7593000 rw-p 00000000 00:00 0 f7598000-f75b4000 r-xp 00000000 08:02 2493965 /lib/i386-linux-gnu/libgcc_s.so.1 f75b4000-f75b5000 rw-p 0001b000 08:02 2493965 /lib/i386-linux-gnu/libgcc_s.so.1 f75b8000-f75dc000 r-xp 00000000 08:02 2494081 /lib/i386-linux-gnu/i686/cmov/libm-2.13.so f75dc000-f75dd000 r--p 00023000 08:02 2494081 /lib/i386-linux-gnu/i686/cmov/libm-2.13.so f75dd000-f75de000 rw-p 00024000 08:02 2494081 /lib/i386-linux-gnu/i686/cmov/libm-2.13.so f75e0000-f76c0000 r-xp 00000000 08:02 11671395 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.17 f76c0000-f76c4000 r--p 000e0000 08:02 11671395 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.17 f76c4000-f76c5000 rw-p 000e4000 08:02 11671395 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.17 f76c5000-f76cc000 rw-p 00000000 00:00 0 f76d0000-f76e5000 r-xp 00000000 08:02 2494074 /lib/i386-linux-gnu/i686/cmov/libpthread-2.13.so f76e5000-f76e6000 r--p 00014000 08:02 2494074 /lib/i386-linux-gnu/i686/cmov/libpthread-2.13.so f76e6000-f76e7000 rw-p 00015000 08:02 2494074 /lib/i386-linux-gnu/i686/cmov/libpthread-2.13.so f76e7000-f76e9000 rw-p 00000000 00:00 0 f76f0000-f76f2000 r-xp 00000000 08:02 2494077 /lib/i386-linux-gnu/i686/cmov/libdl-2.13.so f76f2000-f76f3000 r--p 00001000 08:02 2494077 /lib/i386-linux-gnu/i686/cmov/libdl-2.13.so f76f3000-f76f4000 rw-p 00002000 08:02 2494077 /lib/i386-linux-gnu/i686/cmov/libdl-2.13.so f7700000-f7702000 r-xp 00000000 08:02 17593451 /home/gsp_834/IP-7777/plugins/nativechecker.so f7702000-f7703000 r--p 00001000 08:02 17593451 /home/gsp_834/IP-7777/plugins/nativechecker.so f7703000-f7704000 rw-p 00002000 08:02 17593451 /home/gsp_834/IP-7777/plugins/nativechecker.so f7704000-f7708000 rw-p 00000000 00:00 0 f7708000-f7724000 r-xp 00000000 08:02 2493984 /lib/i386-linux-gnu/ld-2.13.so f7724000-f7725000 r--p 0001b000 08:02 2493984 /lib/i386-linux-gnu/ld-2.13.so f7725000-f7726000 rw-p 0001c000 08:02 2493984 /lib/i386-linux-gnu/ld-2.13.so f7726000-f772a000 rw-p 00000000 00:00 0 f772a000-f772b000 r-xp 00000000 00:00 0 [vdso] ff89a000-ff8bb000 rw-p 00000000 00:00 0 [stack] /usr/local/games/samp-run.v2.sh: line 116: 3456 Aborted $WORKINGDIR/samp03svr [Tue Dec 26 22:59:51 EEST 2016] SERVICE CRASH, waiting 10 seconds [Tue Dec 26 23:00:01 EEST 2016] SERVICE STARTUP (2/15) Started server on IP:7777, with maxplayers: 150 lanmode is OFF. /usr/local/games/samp-run.v2.sh: line 116: 4565 Segmentation fault $WORKINGDIR/samp03svr [Tue Dec 2623:21:20 EEST 2016] SERVICE CRASH, waiting 10 seconds [Tue Dec 2623:21:31 EEST 2016] SERVICE STARTUP (3/15) Started server on IP:7777, with maxplayers: 150 lanmode is OFF. si asta e din log host.
  16. Type: Server Operating System: WindowsServer Version: 0.3.7 R2-2Plugins Installed: YesPlugins (If above is yes): crashdetect streamer sscanf nativechecker (rarely)YSI Included: YesOutput (Logs): Code: [19:55:50] [debug] Server crashed due to an unknown error [19:55:50] [debug] Native backtrace: [19:55:50] [debug] #0 f7484e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so [19:55:50] [debug] #1 f747dbcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so [19:55:50] [debug] #2 f747edbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so [19:55:50] [debug] #3 f747f226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so [19:55:50] [debug] #4 f7484adc in ?? () from plugins/crashdetect.so [19:55:50] [debug] #5 f779f410 in ?? () [19:55:50] [debug] #6 f779f425 in ?? () [19:55:50] [debug] #7 f74d2941 in gsignal () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 [19:55:50] [debug] #8 f74d5d72 in abort () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 [19:55:50] [debug] #9 f750ee15 in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 [19:55:50] [debug] #10 f7518f01 in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 [19:55:50] [debug] #11 f751935a in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 [19:55:50] [debug] #12 f751a6e5 in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 [19:55:50] [debug] #13 f751d81d in cfree () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 [19:55:50] [debug] #14 f76a54bf in _ZdlPv () from /usr/lib/i386-linux-gnu/libstdc++.so.6 [19:55:50] [debug] #15 080e2239 in ?? () from samp03svr [19:55:50] [debug] #16 f73ea7a3 in ?? () from plugins/streamer.so [19:55:50] [debug] #17 f74466a5 in ?? () from plugins/streamer.so [19:55:50] [debug] #18 f7448b0a in ?? () from plugins/streamer.so [19:55:50] [debug] #19 f7449127 in ?? () from plugins/streamer.so [19:55:50] [debug] #20 f7415cc5 in ProcessTick () from plugins/streamer.so [19:55:50] [debug] #21 080d1ce2 in ?? () from samp03svr [19:55:50] [debug] #22 080aef6c in ?? () from samp03svr [19:55:50] [debug] #23 080aa13a in ?? () from samp03svr [19:55:50] [debug] #24 f74bee46 in __libc_start_main () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 [19:55:50] [debug] #25 0804b4e1 in ?? () from samp03svr Am si crashdetect insa nu primesc nimic concret.
  17. o rezolvare...?tot linkmania am si eu una din cele N erori GM.pwn(3275) : loose indentation FindP[i] = -1, PlayerTextDrawHide(i, FindTD[i]); continue; }
  18. e ceva de la mine sau are gmul acele warninguri cu loose indentation
  19. Salut, scuze ca intru si postez... nu stiu daca asta e sectiunea Acum ceva timp pe l....ks.ro era postat gamemode linkmania si avea parola la arhiva, avem sanse sa o gasim ? Multumesc
  20. AM PUS ce e in rhiva din Compiler, si pur si simplu sta asa vreo 30 secunde dupa care apare asa.. zice aoclo jos ca s-a compila insa marimea .amx e 0KB... https://imgur.com/a/oFL6N8l
  21. Cum il ai definit tu pe pCar... daca este doar pCar trebuie facut array.. Uita-te in gm dupa pCar vezi cum mai e structurat v - reprezinta nr maxim de personale iar la tine trebuie sa vina pCar[v] iar la definire o sa pui pCar[MAX_personal... bla bla]
  22. 00:52:07] [ERROR] CMySQLQuery::Execute[()] - (error #1054) Unknown column '---' in 'field list' Inseamna ca in baza de date nu ai coloana respectiva, intri in phpmyadmin si o faci...
×
×
  • 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.