[Ajuda] Conversгo de dini pra dof
#1

Entгo, a muitos anos eu mexia com SA-MP utilzei um GM que nem faзo ideia do nome que й apenas pra zoar desembolei e acabou se tornando algo sensacional, porйm ele era utilizado em dini, e eu na йpoca nгo entendia direito apenas fui entendendo como funcionava suas funзхes etc... inclusive o strcmp e voltei pro samp por agora e decidi trocar esse GM de dini pra DOF porйm ele da erro nos salvamentos de tudo (carros,empresas,orgs,contas..) e eu na йpoca que jogava tentei tambйm e me recordo que o problema era o mesmo, sу que eu acabei usando um plugin de erros e ele acabou me mostrando isso:

Quote:
Код:
[15:51:42] [join] Victor_Santos has joined the server (5:127.0.0.1)
[15:51:42] [debug] Run time error 4: "Array index out of bounds"
[15:51:42] [debug]  Accessing element at index 256 past array upper bound 255
[15:51:42] [debug] AMX backtrace:
[15:51:42] [debug] #0 000048b0 in DOF2_ParseFile (file[]=@00052890 "/Contas/Victor_Santos.ini", extraid=-1, bool:callback=false) at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:905
[15:51:42] [debug] #1 00002bdc in DOF2_GetStringEx (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@00073ba0 "Comproucarro1", result[]=@002a414c "", size=16, tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:546
[15:51:42] [debug] #2 00003768 in DOF2_GetInt (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@00073ba0 "Comproucarro1", tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:680
[15:51:42] [debug] #3 00135478 in public BT_OnPlayerConnect (playerid=5) at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\gamemodes\TBGRPG - dof.pwn:12768
[15:51:42] [debug] #4 000097fc in public Itter_OnPlayerConnect (playerid=5) at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\OPIBS.inc:31
[15:51:42] [debug] #5 native CallLocalFunction () from samp-server.exe
[15:51:42] [debug] #6 000086b4 in public OnPlayerConnect (playerid=5) at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\foreach.inc:610
[15:51:42] [debug] Run time error 4: "Array index out of bounds"
[15:51:42] [debug]  Accessing element at index 256 past array upper bound 255
[15:51:42] [debug] AMX backtrace:
[15:51:42] [debug] #0 000048b0 in DOF2_ParseFile (file[]=@00052890 "/Contas/Victor_Santos.ini", extraid=-1, bool:callback=false) at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:905
[15:51:42] [debug] #1 00002bdc in DOF2_GetStringEx (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@00295f60 "Level", result[]=@002a3f78 "", size=16, tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:546
[15:51:42] [debug] #2 00003768 in DOF2_GetInt (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@00295f60 "Level", tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:680
[15:51:42] [debug] #3 00416548 in public GPS () at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\gamemodes\TBGRPG - dof.pwn:73862
[15:51:43] [debug] Run time error 4: "Array index out of bounds"
[15:51:43] [debug]  Accessing element at index 256 past array upper bound 255
[15:51:43] [debug] AMX backtrace:
[15:51:43] [debug] #0 000048b0 in DOF2_ParseFile (file[]=@00052890 "/Contas/Victor_Santos.ini", extraid=-1, bool:callback=false) at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:905
[15:51:43] [debug] #1 00002bdc in DOF2_GetStringEx (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@002984b0 "usoudroga", result[]=@002a3f78 "", size=16, tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:546
[15:51:43] [debug] #2 00003768 in DOF2_GetInt (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@002984b0 "usoudroga", tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:680
[15:51:43] [debug] #3 0041bcb0 in public Usoudroga () at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\gamemodes\TBGRPG - dof.pwn:74315
[15:51:43] [debug] Run time error 4: "Array index out of bounds"
[15:51:43] [debug]  Accessing element at index 256 past array upper bound 255
[15:51:43] [debug] AMX backtrace:
[15:51:43] [debug] #0 000048b0 in DOF2_ParseFile (file[]=@00052890 "/Contas/Victor_Santos.ini", extraid=-1, bool:callback=false) at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:905
[15:51:43] [debug] #1 00002bdc in DOF2_GetStringEx (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@00295f60 "Level", result[]=@002a3f78 "", size=16, tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:546
[15:51:43] [debug] #2 00003768 in DOF2_GetInt (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@00295f60 "Level", tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:680
[15:51:43] [debug] #3 00416548 in public GPS () at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\gamemodes\TBGRPG - dof.pwn:73862
[15:51:44] [debug] Run time error 4: "Array index out of bounds"
[15:51:44] [debug]  Accessing element at index 256 past array upper bound 255
[15:51:44] [debug] AMX backtrace:
[15:51:44] [debug] #0 000048b0 in DOF2_ParseFile (file[]=@00052890 "/Contas/Victor_Santos.ini", extraid=-1, bool:callback=false) at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:905
[15:51:44] [debug] #1 00002bdc in DOF2_GetStringEx (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@002984b0 "usoudroga", result[]=@002a3f78 "", size=16, tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:546
[15:51:44] [debug] #2 00003768 in DOF2_GetInt (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@002984b0 "usoudroga", tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:680
[15:51:44] [debug] #3 0041bcb0 in public Usoudroga () at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\gamemodes\TBGRPG - dof.pwn:74315
[15:51:44] [debug] Run time error 4: "Array index out of bounds"
[15:51:44] [debug]  Accessing element at index 256 past array upper bound 255
[15:51:44] [debug] AMX backtrace:
[15:51:44] [debug] #0 000048b0 in DOF2_ParseFile (file[]=@00052890 "/Contas/Victor_Santos.ini", extraid=-1, bool:callback=false) at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:905
[15:51:44] [debug] #1 00002bdc in DOF2_GetStringEx (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@00295f60 "Level", result[]=@002a3f78 "", size=16, tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:546
[15:51:44] [debug] #2 00003768 in DOF2_GetInt (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@00295f60 "Level", tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:680
[15:51:44] [debug] #3 00416548 in public GPS () at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\gamemodes\TBGRPG - dof.pwn:73862
[15:51:45] [debug] Run time error 4: "Array index out of bounds"
[15:51:45] [debug]  Accessing element at index 256 past array upper bound 255
[15:51:45] [debug] AMX backtrace:
[15:51:45] [debug] #0 000048b0 in DOF2_ParseFile (file[]=@00052890 "/Contas/Victor_Santos.ini", extraid=-1, bool:callback=false) at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:905
[15:51:45] [debug] #1 00002bdc in DOF2_GetStringEx (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@00295f60 "Level", result[]=@002a3f78 "", size=16, tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:546
[15:51:45] [debug] #2 00003768 in DOF2_GetInt (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@00295f60 "Level", tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:680
[15:51:45] [debug] #3 00416548 in public GPS () at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\gamemodes\TBGRPG - dof.pwn:73862
[15:51:45] [debug] Run time error 4: "Array index out of bounds"
[15:51:45] [debug]  Accessing element at index 256 past array upper bound 255
[15:51:45] [debug] AMX backtrace:
[15:51:45] [debug] #0 000048b0 in DOF2_ParseFile (file[]=@00052890 "/Contas/Victor_Santos.ini", extraid=-1, bool:callback=false) at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:905
[15:51:45] [debug] #1 00002bdc in DOF2_GetStringEx (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@002984b0 "usoudroga", result[]=@002a3f78 "", size=16, tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:546
[15:51:45] [debug] #2 00003768 in DOF2_GetInt (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@002984b0 "usoudroga", tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:680
[15:51:45] [debug] #3 0041bcb0 in public Usoudroga () at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\gamemodes\TBGRPG - dof.pwn:74315
[15:51:46] [debug] Run time error 4: "Array index out of bounds"
[15:51:46] [debug]  Accessing element at index 256 past array upper bound 255
[15:51:46] [debug] AMX backtrace:
[15:51:46] [debug] #0 000048b0 in DOF2_ParseFile (file[]=@00052890 "/Contas/Victor_Santos.ini", extraid=-1, bool:callback=false) at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:905
[15:51:46] [debug] #1 00002bdc in DOF2_GetStringEx (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@00295f60 "Level", result[]=@002a3f78 "", size=16, tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:546
[15:51:46] [debug] #2 00003768 in DOF2_GetInt (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@00295f60 "Level", tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:680
[15:51:46] [debug] #3 00416548 in public GPS () at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\gamemodes\TBGRPG - dof.pwn:73862
[15:51:46] [debug] Run time error 4: "Array index out of bounds"
[15:51:46] [debug]  Accessing element at index 256 past array upper bound 255
[15:51:46] [debug] AMX backtrace:
[15:51:46] [debug] #0 000048b0 in DOF2_ParseFile (file[]=@00052890 "/Contas/Victor_Santos.ini", extraid=-1, bool:callback=false) at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:905
[15:51:46] [debug] #1 00002bdc in DOF2_GetStringEx (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@002984b0 "usoudroga", result[]=@002a3f78 "", size=16, tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:546
[15:51:46] [debug] #2 00003768 in DOF2_GetInt (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@002984b0 "usoudroga", tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:680
[15:51:46] [debug] #3 0041bcb0 in public Usoudroga () at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\gamemodes\TBGRPG - dof.pwn:74315
[15:51:47] [debug] Run time error 4: "Array index out of bounds"
[15:51:47] [debug]  Accessing element at index 256 past array upper bound 255
[15:51:47] [debug] AMX backtrace:
[15:51:47] [debug] #0 000048b0 in DOF2_ParseFile (file[]=@00052890 "/Contas/Victor_Santos.ini", extraid=-1, bool:callback=false) at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:905
[15:51:47] [debug] #1 00002bdc in DOF2_GetStringEx (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@00295f60 "Level", result[]=@002a3f78 "", size=16, tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:546
[15:51:47] [debug] #2 00003768 in DOF2_GetInt (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@00295f60 "Level", tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:680
[15:51:47] [debug] #3 00416548 in public GPS () at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\gamemodes\TBGRPG - dof.pwn:73862
[15:51:47] [debug] Run time error 4: "Array index out of bounds"
[15:51:47] [debug]  Accessing element at index 256 past array upper bound 255
[15:51:47] [debug] AMX backtrace:
[15:51:47] [debug] #0 000048b0 in DOF2_ParseFile (file[]=@00052890 "/Contas/Victor_Santos.ini", extraid=-1, bool:callback=false) at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:905
[15:51:47] [debug] #1 00002bdc in DOF2_GetStringEx (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@002984b0 "usoudroga", result[]=@002a3f78 "", size=16, tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:546
[15:51:47] [debug] #2 00003768 in DOF2_GetInt (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@002984b0 "usoudroga", tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:680
[15:51:47] [debug] #3 0041bcb0 in public Usoudroga () at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\gamemodes\TBGRPG - dof.pwn:74315
[15:51:47] [debug] Run time error 4: "Array index out of bounds"
[15:51:47] [debug]  Accessing element at index 256 past array upper bound 255
[15:51:47] [debug] AMX backtrace:
[15:51:47] [debug] #0 000048b0 in DOF2_ParseFile (file[]=@00052890 "/Contas/Victor_Santos.ini", extraid=-1, bool:callback=false) at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:905
[15:51:48] [debug] #1 00002bdc in DOF2_GetStringEx (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@00295f60 "Level", result[]=@002a3f78 "", size=16, tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:546
[15:51:48] [debug] #2 00003768 in DOF2_GetInt (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@00295f60 "Level", tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:680
[15:51:48] [debug] #3 00416548 in public GPS () at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\gamemodes\TBGRPG - dof.pwn:73862
[15:51:48] [debug] Run time error 4: "Array index out of bounds"
[15:51:48] [debug]  Accessing element at index 256 past array upper bound 255
[15:51:48] [debug] AMX backtrace:
[15:51:48] [debug] #0 000048b0 in DOF2_ParseFile (file[]=@00052890 "/Contas/Victor_Santos.ini", extraid=-1, bool:callback=false) at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:905
[15:51:48] [debug] #1 00002bdc in DOF2_GetStringEx (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@002984b0 "usoudroga", result[]=@002a3f78 "", size=16, tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:546
[15:51:48] [debug] #2 00003768 in DOF2_GetInt (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@002984b0 "usoudroga", tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:680
[15:51:48] [debug] #3 0041bcb0 in public Usoudroga () at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\gamemodes\TBGRPG - dof.pwn:74315
[15:51:48] [debug] Run time error 4: "Array index out of bounds"
[15:51:48] [debug]  Accessing element at index 256 past array upper bound 255
[15:51:48] [debug] AMX backtrace:
[15:51:48] [debug] #0 000048b0 in DOF2_ParseFile (file[]=@00052890 "/Contas/Victor_Santos.ini", extraid=-1, bool:callback=false) at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:905
[15:51:48] [debug] #1 00002bdc in DOF2_GetStringEx (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@00295f60 "Level", result[]=@002a3f78 "", size=16, tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:546
[15:51:48] [debug] #2 00003768 in DOF2_GetInt (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@00295f60 "Level", tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:680
[15:51:48] [debug] #3 00416548 in public GPS () at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\gamemodes\TBGRPG - dof.pwn:73862
[15:51:49] [debug] Run time error 4: "Array index out of bounds"
[15:51:49] [debug]  Accessing element at index 256 past array upper bound 255
[15:51:49] [debug] AMX backtrace:
[15:51:49] [debug] #0 000048b0 in DOF2_ParseFile (file[]=@00052890 "/Contas/Victor_Santos.ini", extraid=-1, bool:callback=false) at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:905
[15:51:49] [debug] #1 00002bdc in DOF2_GetStringEx (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@00295f60 "Level", result[]=@002a3f78 "", size=16, tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:546
[15:51:49] [debug] #2 00003768 in DOF2_GetInt (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@00295f60 "Level", tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:680
[15:51:49] [debug] #3 00416548 in public GPS () at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\gamemodes\TBGRPG - dof.pwn:73862
[15:51:49] [debug] Run time error 4: "Array index out of bounds"
[15:51:49] [debug]  Accessing element at index 256 past array upper bound 255
[15:51:49] [debug] AMX backtrace:
[15:51:49] [debug] #0 000048b0 in DOF2_ParseFile (file[]=@00052890 "/Contas/Victor_Santos.ini", extraid=-1, bool:callback=false) at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:905
[15:51:49] [debug] #1 00002bdc in DOF2_GetStringEx (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@002984b0 "usoudroga", result[]=@002a3f78 "", size=16, tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:546
[15:51:49] [debug] #2 00003768 in DOF2_GetInt (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@002984b0 "usoudroga", tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:680
[15:51:49] [debug] #3 0041bcb0 in public Usoudroga () at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\gamemodes\TBGRPG - dof.pwn:74315
[15:51:50] [debug] Run time error 4: "Array index out of bounds"
[15:51:50] [debug]  Accessing element at index 256 past array upper bound 255
[15:51:50] [debug] AMX backtrace:
[15:51:50] [debug] #0 000048b0 in DOF2_ParseFile (file[]=@00052890 "/Contas/Victor_Santos.ini", extraid=-1, bool:callback=false) at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:905
[15:51:50] [debug] #1 00002bdc in DOF2_GetStringEx (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@00295f60 "Level", result[]=@002a3f78 "", size=16, tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:546
[15:51:50] [debug] #2 00003768 in DOF2_GetInt (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@00295f60 "Level", tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:680
[15:51:50] [debug] #3 00416548 in public GPS () at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\gamemodes\TBGRPG - dof.pwn:73862
[15:51:50] [debug] Run time error 4: "Array index out of bounds"
[15:51:50] [debug]  Accessing element at index 256 past array upper bound 255
[15:51:50] [debug] AMX backtrace:
[15:51:50] [debug] #0 000048b0 in DOF2_ParseFile (file[]=@00052890 "/Contas/Victor_Santos.ini", extraid=-1, bool:callback=false) at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:905
[15:51:50] [debug] #1 00002bdc in DOF2_GetStringEx (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@002984b0 "usoudroga", result[]=@002a3f78 "", size=16, tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:546
[15:51:50] [debug] #2 00003768 in DOF2_GetInt (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@002984b0 "usoudroga", tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:680
[15:51:50] [debug] #3 0041bcb0 in public Usoudroga () at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\gamemodes\TBGRPG - dof.pwn:74315
[15:51:51] [debug] Run time error 4: "Array index out of bounds"
[15:51:51] [debug]  Accessing element at index 256 past array upper bound 255
[15:51:51] [debug] AMX backtrace:
[15:51:51] [debug] #0 000048b0 in DOF2_ParseFile (file[]=@00052890 "/Contas/Victor_Santos.ini", extraid=-1, bool:callback=false) at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:905
[15:51:51] [debug] #1 00002bdc in DOF2_GetStringEx (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@00295f60 "Level", result[]=@002a3f78 "", size=16, tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:546
[15:51:51] [debug] #2 00003768 in DOF2_GetInt (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@00295f60 "Level", tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:680
[15:51:51] [debug] #3 00416548 in public GPS () at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\gamemodes\TBGRPG - dof.pwn:73862
[15:51:51] [debug] Run time error 4: "Array index out of bounds"
[15:51:51] [debug]  Accessing element at index 256 past array upper bound 255
[15:51:51] [debug] AMX backtrace:
[15:51:51] [debug] #0 000048b0 in DOF2_ParseFile (file[]=@00052890 "/Contas/Victor_Santos.ini", extraid=-1, bool:callback=false) at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:905
[15:51:51] [debug] #1 00002bdc in DOF2_GetStringEx (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@002984b0 "usoudroga", result[]=@002a3f78 "", size=16, tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:546
[15:51:51] [debug] #2 00003768 in DOF2_GetInt (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@002984b0 "usoudroga", tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:680
[15:51:51] [debug] #3 0041bcb0 in public Usoudroga () at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\gamemodes\TBGRPG - dof.pwn:74315
[15:51:52] [debug] Run time error 4: "Array index out of bounds"
[15:51:52] [debug]  Accessing element at index 256 past array upper bound 255
[15:51:52] [debug] AMX backtrace:
[15:51:52] [debug] #0 000048b0 in DOF2_ParseFile (file[]=@00052890 "/Contas/Victor_Santos.ini", extraid=-1, bool:callback=false) at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:905
[15:51:52] [debug] #1 00002bdc in DOF2_GetStringEx (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@00295f60 "Level", result[]=@002a3f78 "", size=16, tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:546
[15:51:52] [debug] #2 00003768 in DOF2_GetInt (file[]=@00052890 "/Contas/Victor_Santos.ini", key[]=@00295f60 "Level", tag[]=@002a0248 "") at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\pawno\include\dof2.inc:680
[15:51:52] [debug] #3 00416548 in public GPS () at C:\Antigo notbook D\The Best Game 0.3.7 v2.1\gamemodes\TBGRPG - dof.pwn:73862
Serб que alguйm tem ideia de como posso fazer pra resolver isso?
Eu jб era burro na йpoca imagina agora kk

Eu atй comecei a fazer um do 0 literalmente usando zcmd e dof2 jб, sу que a preguiзa de transferir 80 mil linhas em vбrios sistemas do meu GM pra esse do 0 й foda kkk, lembro que quando 'ganhei' tal gm editбvel eram 8 mil linhas de lб pra cб foram anos
Reply
#2

PHP код:
dini                    DOF2
 
\/                      \/

dini_Exists                DOF2_FileExists
dini_Remove             DOF2_RemoveFile
dini_Create             DOF2_CreateFile
dini_Set                DOF2_SetString
dini_Get                 DOF2_GetString
dini_IntSet               DOF2_SetInt
dini_Int                 DOF2_GetInt
dini_BoolSet            DOF2_SetBool
dini_Bool               DOF2_GetBool
dini_FloatSet             DOF2_SetFloat
dini_Float              DOF2_GetFloat
dini_Unset               DOF2_Unset
dini_Isset               DOF2_IsSet 
Reply
#3

Eu sou lerdo mas nem tanto kk, jб foi feito isso, e por isso estгo dando esses erros, eu jб os converti jб troquei tudo que tinha de dini para dof.
tanto й que a include dini jб nгo estб mais sendo utilizada, eu reparei uma coisa й que na 'dof' eles tem uma variбvel chamada file e й a mesma que eu uso para salvar parвmetros e tambйm tem ela criada no gm vou dar uma trocada ver se resolve mas tenho certo pensamento que nгo vai adiantar em nada.
Reply
#4

Uma nova coisa acabou acontecendo, quando eu logo no servidor (sem ter criado a conta), ele a cria automбticamente o arquivo sem que esteja usando a DOF_Create.. sу te puxar pra ver se existe ele cria o arquivo :O
Reply
#5

Nгo sei porque mas estб criando todo e qualquer arquivo '.ini' sem precisгo ser ter a funзгo 'Dof_Create' nгo sei o porque isso
Reply
#6

kkkk man

vá para SqlLite ou MySQL
funciona mais rapidamente com dados
Reply
#7

Estou pensando nisso tambйm, mas se jб foi foda trocar de dini pra dof usando sу o ctrl h imagina usando o MySQL o tempo que vou demorar pra trocar kkk, mas estou pensando nisso tambйm, o problema й que dai terei que usar um vps melhorzim
Reply
#8

Vocк nгo conseguiu resolver o problema e pretende partir pra SQL ?

Vocк declarou um vetor com 256 cйlulas e esta tentando acessar a posiзгo/indice 257, por que 257 ? porque comeзamos a contar apartir do 0, logo de 0 a 256 sгo 257 posiзхes.
Reply
#9

Esses erros nгo apareceram mais, й porque no meu GM tinha 'file' mesmo e no DOF usa tambйm, mas eu alterei o file para outro nome, o ъnico problema que eu estou enfrentando com o Dof2 й que ele cria os arquivos .ini sem que esteja com a funзгo 'Dof2_Create' sendo utilizado
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)