zeks93 Posted August 4, 2018 Share Posted August 4, 2018 Username:Andrei ÃŽntrebare:Problem server.log Alte detalii:-- [21:47:21] [debug] Run time error 4: "Array index out of bounds" [21:47:21] [debug] Attempted to read/write array element at index 60 in array of size 60 [21:47:21] [debug] AMX backtrace: [21:47:21] [debug] #0 0010f2ec in public OnFurnLoad (127) from ZEKS.amx https://media.giphy.com/media/6CBMvS6eHxCsPDcqQz/giphy.gif Link to comment Share on other sites More sharing options...
Matt Posted August 4, 2018 Share Posted August 4, 2018 (edited) Undeva ai incercat sa accesezi un index al unui vector care i-a depasit limitele. Sa iti dau un exemplu: Ai vectorul v[100] (v de la 0 la 99, 100 pozitii) Eroarea aia ti-o da atunci cand incerci: for(new i = 0; i <= 100; i++) v [ i ] = 0; La finalul acestui loop (atunci cand incearca sa acceseze v[100]) vei primi aceasta eroare, ca limita acestuia este v[99]. Edited August 4, 2018 by iMatt zeks93, ShoKarON and Filip 1 1 1 Respecta si vei fi respectat. BigInt Pawn: Pacman C++: Snake C++: Minesweeper C++: mattbb.cash leaks.ro Link to comment Share on other sites More sharing options...
Filip Posted August 4, 2018 Share Posted August 4, 2018 mai intai trebuie sa afle unde este eroarea la ce linie Link to comment Share on other sites More sharing options...
zeks93 Posted August 4, 2018 Author Share Posted August 4, 2018 T/C https://media.giphy.com/media/6CBMvS6eHxCsPDcqQz/giphy.gif Link to comment Share on other sites More sharing options...
Administrator Leonard Posted August 4, 2018 Administrator Share Posted August 4, 2018 Topic closed. www.liberty.mp Link to comment Share on other sites More sharing options...
Recommended Posts