SA-MP Forums Archive
Header,Code,Data,Stack/heap warning problem - 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: Header,Code,Data,Stack/heap warning problem (/showthread.php?tid=532994)



Header,Code,Data,Stack/heap warning problem - Slicebook - 21.08.2014

Hy! Help please how to fix?
if filterscript is nothing wrong if gamemode provides error

Код:
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:           7108 bytes
Code size:           208812 bytes
Data size:          9859464 bytes
Stack/heap size:      16384 bytes; estimated max. usage=4983 cells (19932 bytes)
Total requirements:10091768 bytes
these type:

Код:
	format(hFile, sizeof(hFile), "Hazak/%d.ini", Houseid);
	strmid(h_Data[Houseid][hTulaj], dini_Get(hFile, "Tulajdonos"), false, strlen(dini_Get(hFile, "Tulajdonos")), MAX_PLAYER_NAME);
	strmid(h_Data[Houseid][hPass], dini_Get(hFile, "Password"), false, strlen(dini_Get(hFile, "Password")), h_Data[Houseid][hPass]);
 	h_Data[Houseid][hPrice] = dini_Int(hFile, "Бr");
	h_Data[Houseid][hX] = dini_Float(hFile, "HouseX");
	h_Data[Houseid][hY] = dini_Float(hFile, "HouseY");
	h_Data[Houseid][hZ] = dini_Float(hFile, "HouseZ");
	h_Data[Houseid][hIntX] = dini_Float(hFile, "IntX");
	h_Data[Houseid][hIntY] = dini_Float(hFile, "IntY");
	h_Data[Houseid][hIntZ] = dini_Float(hFile, "IntZ");
	h_Data[Houseid][hPlayerInt] = dini_Int(hFile, "PlayerInt");
	h_Data[Houseid][hInterior] = dini_Int(hFile, "Interior");
	h_Data[Houseid][hSell] = dini_Int(hFile,"Eladу");
help please!


Re: Header,Code,Data,Stack/heap warning problem - ball - 21.08.2014

Don't worry about this messages - i have this too and nothing happened.


Re: Header,Code,Data,Stack/heap warning problem - Slicebook - 21.08.2014

Well, I hope not a problem


Re: Header,Code,Data,Stack/heap warning problem - Isolated - 21.08.2014

This has been answered a few times, and like everything in PAWN shouldn't really be ignored. You should be asking some questions as to why it's being displayed.

Quote:
Originally Posted by ******
Посмотреть сообщение
Reduce the size of local variables. There is no reason why you should ever exceed the stack if you don't use stupid big arrays all over the place (as I've written about countless times before).



Re: Header,Code,Data,Stack/heap warning problem - Slicebook - 21.08.2014

still writes, anyone know?


Re: Header,Code,Data,Stack/heap warning problem - Slicebook - 21.08.2014

no not at all want to be good..
Filterscript go without error