Inline timer issue
#1

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):
PHP код:
[debugRun time error 5"Invalid memory access"
[debugAMX 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 
These are the lines in inline_timers.inc ( 25-28 ):
PHP код:
if (!repeat) {
    
free(Allocmget(Allocmem1));
    
free(Allocmem);

Here are some debug info:
PHP код:
Pawn compiler 3.2.3664                  Copyright (c1997-2006ITB CompuPhase
Header size
:           5684 bytes
Code size
:           362668 bytes
Data size
:          8380664 bytes
Stack
/heap size:   17039360 bytesestimated maxusageunknowndue to recursion
Total requirements
:25788376 bytes 
Im posting this since I have no clue how to fix this lol. I would appreciate some help (even if its working).
Reply
#2

Do you use YSI 5.x ?
Reply
#3

I have this problem too. I don't know, I tried to fix it, but it doesn't fix.
And sorry for my bad English

EDIT: I use the Zeex compiler v3.10.8
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)