17.03.2019, 01:58
So Im using THIS inline timer include.
The problem is when the SetInlineTimer executed I got back these errors in the console (however, its executing successfully):
These are the lines in inline_timers.inc ( 25-28 ):
Here are some debug info:
Im posting this since I have no clue how to fix this lol. I would appreciate some help (even if its working).
The problem is when the SetInlineTimer executed I got back these errors in the console (however, its executing successfully):
PHP код:
[debug] Run time error 5: "Invalid memory access"
[debug] AMX backtrace:
[debug] #0 00012a80 in Malloc_Free (Alloc:slot=8380680) at \pawno\include\YSI_Coding\y_malloc/funcs.inc:775
[debug] #1 00051110 in public InlineTimersHandler (repeat=0, address=8380680, pointer=332848, offset=12, data1=1, data2=0, Alloc:mem=2089776) at \pawno\include\inline_timers.inc:27
PHP код:
if (!repeat) {
free(Alloc: mget(Alloc: mem, 1));
free(Alloc: mem);
}
PHP код:
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Header size: 5684 bytes
Code size: 362668 bytes
Data size: 8380664 bytes
Stack/heap size: 17039360 bytes; estimated max. usage: unknown, due to recursion
Total requirements:25788376 bytes