Problema crash.
#1

Quote:

[19:48:38] [debug] #1 00321e54 in public severTimers@_yT () at C:\Users\Administrador\Desktop\ExtremoRP\gamemodes \ExtremoRP.pwn:52123
[19:48:39] [debug] Run time error 4: "Array index out of bounds"
[19:48:39] [debug] Accessing element at index 65535 past array upper bound 499
[19:48:39] [debug] AMX backtrace:
[19:48:39] [debug] #0 00322378 in severTimers () at C:\Users\Administrador\Desktop\ExtremoRP\gamemodes \ExtremoRP.pwn:52145
[19:48:39] [debug] #1 00321e54 in public severTimers@_yT () at C:\Users\Administrador\Desktop\ExtremoRP\gamemodes \ExtremoRP.pwn:52123
[19:48:40] [debug] Server crashed while executing ExtremoRP.amx
[19:48:40] [debug] AMX backtrace:
[19:48:40] [debug] #0 00000038 in INI_AddToBuffer (INI:file=53, name[]=@00000000 "", data[]=@02b2efdc "0000001435177875") at
Estuve viendo temas relacionados con este error del SeverTimers y ninguno llega a una conclusiуn


El problema aquн es que el server se apaga en cierta hora (en la noche)...

La linea 52123 que me da el error es esta:
PHP код:
timer severTimers[1000]() 
їAlguien sabe porque me da crash?.
Reply
#2

Hola
De seguro es un problema con el y_ini
Debes modificar el include y buscar en el la funciуn: valstr y reemplazarla por format("%d", ...
El crash es debido a esto:
Quote:

Passing a high value to this function can cause the server to freeze/crash. Fixes are available. Below is a fix that can be put straight in to your script (before valstr is used anywhere). fixes.inc includes this fix.

https://sampwiki.blast.hk/wiki/Valstr
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)