Jump to content
  • 0

Eroare


RaresGabriel

Question

11 answers to this question

Recommended Posts

  • 0

Eroarea speicifica faptul ca iti lipseste ; de undeva. Din pacate fara cod nu pot face magie neagra si sa iti spun exact de unde.

Poti da Ctrl+G in orice editor folosesti, cauta numarul linie unde ti se spune ca apare eroarea si "scaneaza" linia respectiva si cateva lini mai sus pana gasesti ; lipsa din codul tau

  • Like 1
Link to comment
Share on other sites

  • 0
1 oră în urmă, hanako a spus:

pai, in primul rand nu ai definit dialog-ul 'ANSWER', te duci unde ai tu dialog uriile definite si pui #define DIALOG_ANSWER 1892

si in al 2-lea rand, nu ai inchis randul de mai sus de 'new'

 am rezolvat primele erori dar acum am primit o alta eroare

: error 022: must be lvalue (non-constant)

Edited by RaresGabriel
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Similar Content

    • By CenzoR
      Salut! Am eroarea asta la compilare
      C:\Users\40723\Desktop\GM\pawno\include\YSI\y_hooks.inc(64) : fatal error 111: user error: Did you do <YSI/y_hooks> instead of the required <YSI\y_hooks>?
      Compilation aborted.
      Pawn compiler 3.10.8              Copyright (c) 1997-2006, ITB CompuPhase

      1 Error.
       
      In GM am trecut includeul tot ce trebuie, dar imi da eroare asta, ma poate ajuta cineva? De la ce este?
    • By TheGodfather
      Salut, cand vreau sa pornesc serverul in loguri apar urmatoarele.
      [00:04:56] [debug] Server crashed due to an unknown error
      [00:04:56] [debug] Native backtrace:
      [00:04:56] [debug] #0 f62c4f7f in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () in plugins/crashdetect.so
      [00:04:56] [debug] #1 f62bd81d in _ZN11CrashDetect20PrintNativeBacktraceERSoRKN2os7ContextE () in plugins/crashdetect.so
      [00:04:56] [debug] #2 f62bde48 in _ZN11CrashDetect20PrintNativeBacktraceERKN2os7ContextE () in plugins/crashdetect.so
      [00:04:56] [debug] #3 f62bf5dc in _ZN11CrashDetect7OnCrashERKN2os7ContextE () in plugins/crashdetect.so
      [00:04:56] [debug] #4 f62c479f in ?? () in plugins/crashdetect.so
      [00:04:56] [debug] #5 f770d410 in ?? ()
      [00:04:56] [debug] #6 09654178 in ?? ()
      [00:04:56] [debug] #7 08098208 in ?? () in ./samp03svr
      [00:04:56] [debug] #8 080d60e1 in ?? () in ./samp03svr
      [00:04:56] [debug] #9 080a4f0b in ?? () in ./samp03svr
      [00:04:56] [debug] #10 080ab922 in ?? () in ./samp03svr
      [00:04:56] [debug] #11 080aa0fd in ?? () in ./samp03svr
      [00:04:56] [debug] #12 f73ea2d3 in __libc_start_main () in /lib/libc.so.6
      [00:04:56] [debug] Registers:
      [00:04:56] [debug] EAX: 09654178 EBX: f62a27f0 ECX: f62a27f0 EDX: ff9f28ac
      [00:04:56] [debug] ESI: 00000000 EDI: 097b0690 EBP: ff9f2878 ESP: ff9f283c
      [00:04:56] [debug] EIP: 09654178 EFLAGS: 00010246
      [00:04:56] [debug] Stack:
      [00:04:56] [debug] ESP+00000000: f6217676 097b0690 ff9f28ac 00000000
      [00:04:56] [debug] ESP+00000020: 08094f2b 00000000 00000000 00000032
      [00:04:56] [debug] ESP+00000040: 08098208 097b0690 ff9f28ac 00000000
      [00:04:56] [debug] ESP+00000060: 00000000 00000000 00000000 00000000
      [00:04:56] [debug] ESP+00000080: 00000000 00000000 00000000 00000000
      [00:04:56] [debug] ESP+000000a0: 00000000 00000000 f7717b3d f73e3378
      [00:04:56] [debug] ESP+000000c0: f75b6268 00000000 f7730fbc f73d23bc
      [00:04:56] [debug] ESP+000000e0: f7448fc5 00000000 ff9f2950 f75b660c
      [00:04:56] [debug] ESP+00000100: 00000000 00000000 f74ce318 f7597000
      [00:04:56] [debug] ESP+00000120: f7597000 00000660 f75958c0 097ec5f8
      [00:04:56] [debug] ESP+00000140: 00000000 08048950 00000001 f7597000
      [00:04:56] [debug] ESP+00000160: 00000000 00000000 00000000 097ec68c
      [00:04:56] [debug] ESP+00000180: f744514f f7595260 f7595260 097ec5f8
      [00:04:56] [debug] ESP+000001a0: f74446cb 00000005 f7709000 00001000
      [00:04:56] [debug] ESP+000001c0: f7595a34 08049c09 f7731900 00000003
      [00:04:56] [debug] ESP+000001e0: f7445359 097ec5f8 097ec5f8 f75958c0
      [00:04:56] [debug] ESP+00000200: 00000000 f7597000 00001000 f74c7fe6
      [00:04:56] [debug] ESP+00000220: 00000001 097ec5f8 00000000 00000000
      [00:04:56] [debug] ESP+00000240: f744630e 097ec5f8 f401b008 00958024
      [00:04:56] [debug] ESP+00000260: f7436764 00000000 00000000 00958024
      [00:04:56] [debug] ESP+00000280: ff9f2ae0 097ec5f8 f36c3008 ff9f2b38
      [00:04:56] [debug] ESP+000002a0: 097ec5f8 00958024 0808f1e0 00080006
      [00:04:56] [debug] ESP+000002c0: 0015f378 00000038 00003b80 00004568
      [00:04:56] [debug] ESP+000002e0: 00000000 081ca500 081527bb 00000001
      [00:04:56] [debug] ESP+00000300: 080a4f0b 097b0690 081aa7a0 00000068
      [00:04:56] [debug] ESP+00000320: 09656220 09656220 097b0690 ff9f2b88
      [00:04:56] [debug] ESP+00000340: 09656220 09656220 08159b76 ff9f2cc8
      [00:04:56] [debug] ESP+00000360: 08159d0d 00000000 00000000 00000010
      [00:04:56] [debug] ESP+00000380: f768e026 f76e3838 f76da57c f76dbc38
      [00:04:56] [debug] ESP+000003a0: 00663bb1 656d6167 65646f6d f7003531
      [00:04:56] [debug] ESP+000003c0: f7663d20 f76e2d44 f76e2db0 f76f0630
      [00:04:56] [debug] ESP+000003e0: f7653db8 080aa260 00000000 00000000
      [00:04:56] [debug] Loaded modules:
      [00:04:56] [debug] 00000000 - 00187dc3 samp03svr
      [00:04:56] [debug] f770f000 - f770f530 
      [00:04:56] [debug] f7700000 - f77026a4 /lib/libdl.so.2
      [00:04:56] [debug] f76e5000 - f76fead3 /lib/libpthread.so.0
      [00:04:56] [debug] f75f9000 - f76eae88 /lib/libstdc++.so.6
      [00:04:56] [debug] f75b7000 - f75f81f4 /lib/libm.so.6
      [00:04:56] [debug] f759b000 - f75b46f8 /lib/libgcc_s.so.1
      [00:04:56] [debug] f73d0000 - f75a2b73 /lib/libc.so.6
      [00:04:56] [debug] f770e000 - f7731110 /lib/ld-linux.so.2
      [00:04:56] [debug] f73bc000 - f73cb9b4 plugins/sscanf.so
      [00:04:56] [debug] f7018000 - f73c0ac7 plugins/mysql_static.so
      [00:04:56] [debug] f7008000 - f700ed90 /lib/librt.so.1
      [00:04:56] [debug] f64ed000 - f64fe748 /lib/libnss_files.so.2
      [00:04:56] [debug] f62a5000 - f62ed3d4 plugins/crashdetect.so
      [00:04:56] [debug] f61df000 - f62a4740 plugins/streamer.so
      [00:04:56] [debug] f6601000 - f6605d34 /lib/libnss_dns.so.2
      [00:04:56] [debug] f619f000 - f61b7014 /lib/libresolv.so.2
    • By SpooKe.
      C:\pawno\include\YSI_Coding\..\YSI_Data\y_iterate.inc(229) : warning 201: redefinition of constant/macro (symbol "_FOREACH_CUR_VERSION")
      C:\pawno\include\foreach.inc(192) : warning 201: redefinition of constant/macro (symbol "_FOREACH_CUR_VERSION")
      C:\pawno\include\streamer.inc(104) : error 021: symbol already defined: "Streamer_IncludeFileVersion"
      C:\pawno\include\streamer.inc(163) : error 021: symbol already defined: "Streamer_GetTickRate"
      C:\pawno\include\streamer.inc(164) : error 021: symbol already defined: "Streamer_SetTickRate"
      C:\pawno\include\streamer.inc(165) : error 021: symbol already defined: "Streamer_GetMaxItems"
      C:\pawno\include\streamer.inc(166) : error 021: symbol already defined: "Streamer_SetMaxItems"
      C:\pawno\include\streamer.inc(167) : error 021: symbol already defined: "Streamer_GetVisibleItems"
      C:\pawno\include\streamer.inc(168) : error 021: symbol already defined: "Streamer_SetVisibleItems"
      C:\pawno\include\streamer.inc(169) : error 021: symbol already defined: "Streamer_GetRadiusMultiplier"
      C:\pawno\include\streamer.inc(170) : error 021: symbol already defined: "Streamer_SetRadiusMultiplier"
      C:\pawno\include\streamer.inc(171) : error 021: symbol already defined: "Streamer_GetCellDistance"
      C:\pawno\include\streamer.inc(172) : error 021: symbol already defined: "Streamer_SetCellDistance"
      C:\pawno\include\streamer.inc(173) : error 021: symbol already defined: "Streamer_GetCellSize"
      C:\pawno\include\streamer.inc(174) : error 021: symbol already defined: "Streamer_SetCellSize"
      C:\pawno\include\streamer.inc(175) : error 021: symbol already defined: "Streamer_ToggleErrorCallback"
      C:\pawno\include\streamer.inc(176) : error 021: symbol already defined: "Streamer_IsToggleErrorCallback"
      C:\pawno\include\streamer.inc(180) : error 021: symbol already defined: "Streamer_ProcessActiveItems"
      C:\pawno\include\streamer.inc(181) : error 021: symbol already defined: "Streamer_ToggleIdleUpdate"
      C:\pawno\include\streamer.inc(182) : error 021: symbol already defined: "Streamer_IsToggleIdleUpdate"
      C:\pawno\include\streamer.inc(183) : error 021: symbol already defined: "Streamer_ToggleCameraUpdate"
      C:\pawno\include\streamer.inc(184) : error 021: symbol already defined: "Streamer_IsToggleCameraUpdate"
      C:\pawno\include\streamer.inc(185) : error 021: symbol already defined: "Streamer_ToggleItemUpdate"
      C:\pawno\include\streamer.inc(186) : error 021: symbol already defined: "Streamer_IsToggleItemUpdate"
      C:\pawno\include\streamer.inc(187) : error 021: symbol already defined: "Streamer_Update"
      C:\pawno\include\streamer.inc(188) : error 021: symbol already defined: "Streamer_UpdateEx"
      C:\pawno\include\streamer.inc(192) : error 021: symbol already defined: "Streamer_GetFloatData"
      C:\pawno\include\streamer.inc(193) : error 021: symbol already defined: "Streamer_SetFloatData"
      Compilation aborted.
      Pawn compiler 3.10.8              Copyright (c) 1997-2006, ITB CompuPhase

      26 Errors.
      [Finished in 1.7s]
    • By Tefyuu
      case DIALOG_PET: {
                  switch(listitem) {
                      case 0: {
                          if(!response) return 1;
                          if(PlayerInfo[playerid][pPetStatus] == 0) {
                              PlayerInfo[playerid][pPetStatus] = 1;
                              format(string, sizeof(string),"Status\tTrezit\nNume Pet\t{FFFF00}%s\nBeneficii pet\nUpgradeaza pet\t%d pet points",PlayerInfo[playerid][pPetName],PlayerInfo[playerid][pPetPoints]);
                              SetPlayerAttachedObject(playerid, 6, 19078, 17, 0.021065, -0.100726, 0.143000, 357.120239, 1.712298, 349.232513, 1.000000, 1.000000, 1.120420 );
                              format(string, sizeof(string), " {6AD439}%s{FFFFFF} - level {6AD439}%d{FFFFFF}",PlayerInfo[playerid][pPetName],PlayerInfo[playerid][pPetLevel]);
                              Pet[playerid] = CreateDynamic3DTextLabel(string, COLOR_WHITE, 357.120239, 1.712298, 349.232513, 20, playerid);
                              SCMEx(playerid, -1, "Ai trezit pe %s si s-a pus pe umarul tau",PlayerInfo[playerid][pPetName]);
                              
                              format(query, sizeof(query),"UPDATE `users` SET `PetStatus` = '1' WHERE `Name` = '%s'", GetName(playerid));
                              mysql_tquery(SQL, query, " ", " ");
                              Update(playerid, pPetStatusx);
                          }
                          else {
                              RemovePet(playerid);
                              SCMEx(playerid, -1, "Ai trimis pe %s la culcare",PlayerInfo[playerid][pPetName]);
                              PlayerInfo[playerid][pPetStatus] = 0;
                              format(query, sizeof(query),"UPDATE `users` SET `PetStatus` = '0' WHERE `Name` = '%s'", GetName(playerid));
                              mysql_tquery(SQL, query, " ", " ");
                              Update(playerid, pPetStatusx);
                          }
                      } case 1: {
                          if(    !response) return 1;
                          format(string, sizeof(string),"Numele actual al pet-ului este %s.\nDaca doresti sa il schimbi,te rugam sa introduci numele dorit in casuta de mai jos\n{FF1302}ATENTIE:{FFFFFF} La fiecare schimbare de nume a pet-ului ti se vor lua 20 PP-uri.",PlayerInfo[playerid][pPetName]);
                          ShowPlayerDialog(playerid, DIALOG_PETNAME, DIALOG_STYLE_INPUT, "Pet name change", string, "Change", "Cancel");
                      } case 2: {
                          Checkstatuspet(playerid);
                      } case 3: {
                          if(PlayerInfo[playerid][pPetPoints] < 120) return SendClientMessage(playerid, -1, "Nu poti creste pet-ul in level deoarece nu ai Pet Ponits necesare(120)");
                          PlayerInfo[playerid][pPetPoints] -= 120;
                          PlayerInfo[playerid][pPetLevel] ++;
                          Update(playerid, pPetPointsx);
                          Update(playerid, pPetLevelx);
                          SCMEx(playerid, -1, "Acum pet-ul tau are level %d",PlayerInfo[playerid][pPetLevel]);
                          DestroyDynamic3DTextLabel(Pet[playerid]);
                          format(string, sizeof(string), " {6AD439}%s{FFFFFF} - level {6AD439}%d{FFFFFF}",PlayerInfo[playerid][pPetName],PlayerInfo[playerid][pPetLevel]);
                          Pet[playerid] = CreateDynamic3DTextLabel(string, COLOR_WHITE, 357.120239, 1.712298, 349.232513, 20, playerid);
                      }
                  }
              }
       
       
      primesc erorile 
      C:\Users\tefyuu\Desktop\burned.ro\gamemodes\wa-rpg.pwn(7586) : error 017: undefined symbol "pPetLevel"
      C:\Users\tefyuu\Desktop\burned.ro\gamemodes\wa-rpg.pwn(7587) : error 017: undefined symbol "Pet"
      C:\Users\tefyuu\Desktop\burned.ro\gamemodes\wa-rpg.pwn(7587) : warning 215: expression has no effect
      C:\Users\tefyuu\Desktop\burned.ro\gamemodes\wa-rpg.pwn(7587) : error 001: expected token: ";", but found "]"
      C:\Users\tefyuu\Desktop\burned.ro\gamemodes\wa-rpg.pwn(7587) : error 029: invalid expression, assumed zero
      C:\Users\tefyuu\Desktop\burned.ro\gamemodes\wa-rpg.pwn(7587) : fatal error 107: too many error messages on one line
      Compilation aborted.
      Pawn compiler 3.10.8              Copyright (c) 1997-2006, ITB CompuPhase

      5 Errors.
    • By D3m0n1K
      am si eu urmatoarea eroare ce as putea sa fac?
       
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • 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.