SA-MP Forums Archive
Compiler information - 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 information (/showthread.php?tid=118551)



Compiler information - nesty - 03.01.2010

hi guys! i just compiled my gamemode and this information appears but there weren't any informations before? Why these are appear, now?

And is that information a bad one?

pawn Код:
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase

Header size:      2816 bytes
Code size:      58776 bytes
Data size:      65220 bytes
Stack/heap size:   16384 bytes; estimated max. usage=4195 cells (16780 bytes)
Total requirements: 143196 bytes
hopefully u will reply for help


Re: Compiler information - Guso - 03.01.2010

Thats a good compile, means no errors
If you had "information" before it might mean that you had some errors or tag mismatch somewhere in your script, if it shows nothing like the one you just wrote it means everythings perfect.


Re: Compiler information - nesty - 03.01.2010

thanks for reply but it was shown before like this:

pawn Код:
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase
just the first line. And now iam confused why suddenly there are compiler information! lol but maybe a bug lol



Re: Compiler information - Guso - 03.01.2010

I just compiled mine, it shows this.
Код:
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:      9896 bytes
Code size:     1209668 bytes
Data size:     3420948 bytes
Stack/heap size:   16384 bytes; estimated max. usage=4146 cells (16584 bytes)
Total requirements: 4656896 bytes
It always does =) Its not a bug ( On some small filterscripts it doesn't show all the extra info, dunno why )


Re: Compiler information - nesty - 03.01.2010

ok thanks now iam relieved i though this was a bug


Re: Compiler information - MerLow - 03.01.2010

That isn't a bug, but, basically, your server can get some random crash.


Re: Compiler information - x-cutter - 03.01.2010

That shows up because you use too much memory in your script and it may cause crashes.


Re: Compiler information - Guso - 03.01.2010

Quote:
Originally Posted by X Cutter
That shows up because you use too much memory in your script and it may cause crashes.
Game crash or server crash?


Re: Compiler information - nesty - 04.01.2010

ok thanks for the anwers! This could be because i use over 100 randoms lol and
how I can fix it or optimized it because i don't want to delete the randoms? any suggestions?


Re: Compiler information - Jay_ - 04.01.2010

The only way it can cause crashes is if it uses a LOT of memory. The reason this is occuring is because your most probably creating oversized arrays and never using them.

It should be ok, just make sure you don't go overboard.