SA-MP Forums Archive
compiler question - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: compiler question (/showthread.php?tid=67311)



compiler question - StrickenKid - 28.02.2009

sometimes the compiler shows this.....

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

Header size:      5940 bytes
Code size:     1112972 bytes
Data size:     2186408 bytes
Stack/heap size:   16384 bytes; estimated max. usage=4904 cells (19616 bytes)
Total requirements: 3321704 bytes
and sometimes it only does this.....

Код:
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
is there a way i con make it display ALL the info like the first one all the time?


Re: compiler question - Nubotron - 28.02.2009

When you get these lines with Pawno, it's because a function of the script use too much memory than the abstract machine can handle, and can cause problems when called.


Re: compiler question - Nimphious - 28.02.2009

use

pawn Код:
#pragma dynamic "number"
where "number" is put in a number that is bigger then the lines of code you have without the " ''

Well thats what i do


Re: compiler question - thuron - 01.03.2009

works! thnx!


Re: compiler question - Streetplaya - 01.03.2009

dont use 256.


Re: compiler question - Nimphious - 01.03.2009

Quote:
Originally Posted by ssǝן‾ʎ
I wrote a whole massive topic on this. Ignore [FF]Nimphious, that's a hack, not a solution.
A hack? rofl, That was what I was told to do and it worked out so thats what I been doing since, please explain how it's a hack, and where is this topic you speak of?


Re: compiler question - Martin_Smith - 01.03.2009

Код:
C:\Documents and Settings\test\Desktop\GTA\GTA\GTA San Andreas\samp02Xserver.win32\gamemodes\nazi.pwn(4) : error 008: must be a constant expression; assumed zero
Код:
#include <a_samp>
#include <utils>

#pragma dynamic "2000"

// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT



Re: compiler question - Martin_Smith - 01.03.2009

i have 1236 lines in script


Re: compiler question - Nubotron - 01.03.2009

Line count isn't related to memory usage. Read the topic, not just some newby's reply.