YSI heapalloc.inc help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: YSI heapalloc.inc help (
/showthread.php?tid=585752)
YSI heapalloc.inc help -
elhan005 - 16.08.2015
Well i 've found gamemode that includes heapalloc.inc but there was 26 errors in itself... I've fixed almost all of them but still there is one and its about heapalloc.
YSI\YSI_Storage\ ..\YSI_Coding\y_malloc/heapalloc.inc(339) : error 004: function "Malloc_OnRuntimeError" is not implemented
I have downloaded new heapalloc and same problem happened... Also i was searching bug in inc file but everything seems to be ok...
Re: YSI heapalloc.inc help -
prineside - 16.08.2015
Could you paste all errors on Pastebin and give me a link? I think I know what's going wrong
Re: YSI heapalloc.inc help -
elhan005 - 16.08.2015
Quote:
Originally Posted by prineside
Could you paste all errors on Pastebin and give me a link? I think I know what's going wrong
|
http://pastebin.com/EAuc7RZZ - errors ...
http://pastebin.com/Fz7rCsUV - heapalloc.inc
There was also 26 errors including this one , but i've fixed that ..
Re: YSI heapalloc.inc help -
prineside - 16.08.2015
Well, it's great if you fixed them. I thought that 26 errors appeared suddenly - in that case it may be a syntax error (not closed curly braket somewhere in another file).
To fix that last error you may find "forward Malloc_OnRuntimeError" string and create your own public function with declared argument list, e.g.:
Код:
forward Malloc_OnRuntimeError( ...some arguments... );
public Malloc_OnRuntimeError( ...exactly the same arguments... ) {
// do something - this function is called on runtime error (maybe log an error?)
}
Re: YSI heapalloc.inc help -
elhan005 - 16.08.2015
Okay i will try something ..
But there is more ..
http://prntscr.com/85a4bq there is no such a include file in my gamemode but its still connected ... There is no even line in gamemode that has function Malloc_OnRunTimeError...
Re: YSI heapalloc.inc help -
Abagail - 16.08.2015
This usually in my experience happens when you have crashdetect & y_heapalloc. Including crashdetect before y_malloc or any YSI libraries should fix the issue.
Re: YSI heapalloc.inc help -
elhan005 - 16.08.2015
Rep+ Both of u