Jump to content

[REZOLVAT] Salut


Cedry2k
 Share

Recommended Posts

  • Username : Cedry2k
  • Problema întâlnită: am incercat sa pornesc gm burned si apare asta.
  • Detalii despre problemă:13:15:55] Clan zones: 20
    [13:15:55] [debug] Run time error 4: "Array index out of bounds"
    [13:15:55] [debug]  Accessing element at index 23 past array upper bound 22
    [13:15:55] [debug] AMX backtrace:
    [13:15:55] [debug] #0 000a6e20 in public LoadBizz () from Gm.amx
    [13:15:55] [debug] #1 000199f0 in public L_AFK_OnGM () from Gm.amx
    [13:15:55] [debug] #2 native CallLocalFunction () from samp-server.exe
    [13:15:55] [debug] #3 00012e88 in public zcmd_OnGameModeInit () from Gm.amx
    [13:15:55] [debug] #4 native CallLocalFunction () from samp-server.exe
    [13:15:55] [debug] #5 000129d0 in public SSCANF_OnGameModeInit () from Gm.amx
    [13:15:55] [debug] #6 0000cd38 in public Itter_OnGameModeInit () from Gm.amx
    [13:15:55] [debug] #7 native CallLocalFunction () from samp-server.exe
    [13:15:55] [debug] #8 0000c008 in public ScriptInit_OnGameModeInit () from Gm.amx
    [13:15:55] [debug] #9 0000afe8 in public PZone_OnGameModeInit () from Gm.amx
    [13:15:55] [debug] #10 native CallLocalFunction () from samp-server.exe
    [13:15:55] [debug] #11 00000c4c in public OnGameModeInit () from Gm.amx
    [13:15:55] Number of vehicle models: 0
  • Ce ai încercat să faci înainte să postezi?:
  • Cod sursa (recomandat pastebin.com) : 
  • Alte detalii :
Link to comment
Share on other sites

Undeva ai depasit limita unui vector.

Spre exemplu ai definit vectorul v[100] si ai incercat sa accesezi indexul 105, care nu este posibil. (deoarece acest vector are index de la 0 la 99)

Arata-ne functia LoadBizz.

Respecta si vei fi respectat.

 

BigInt Pawn:

Pacman C++: 

Snake C++:

Minesweeper C++:

 

mattbb.cash

leaks.ro

Link to comment
Share on other sites

Probabil ai mai multe biz-uri in baza decat ai initializat tu vectorul.

Inlocuieste:

new BizzInfo[23][bInfo];

cu

new BizzInfo[100][bInfo];

 

Respecta si vei fi respectat.

 

BigInt Pawn:

Pacman C++: 

Snake C++:

Minesweeper C++:

 

mattbb.cash

leaks.ro

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...