SA-MP Forums Archive
Additionnal text when compiling - 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: Additionnal text when compiling (/showthread.php?tid=175252)



Additionnal text when compiling - urbanghetto - 08.09.2010

Hi everyone,

I have a question about Pawno.

Yesterday I have made a Save Position command in my GM and when I compiled it I got no errors but this :

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

Header size:           3928 bytes
Code size:           140368 bytes
Data size:           139936 bytes
Stack/heap size:      16384 bytes; estimated max. usage=5174 cells (20696 bytes)
Total requirements:  300616 bytes
So habitually I get ony :

Код:
Pawn compiler 3.2.3664              Copyright © 1997-2006, ITB CompuPhase
So what are these lines ? I know this is not errors but what is it ?

Thanks for future answers.


Re: Additionnal text when compiling - Venturas - 09.09.2010

It's an obvious sign that your script is using excessive power. Your server will experience some crashes, about 1-5 everyday. If you're using ServerFFS, they will eMail regarding this issue.


Re: Additionnal text when compiling - PinkFloydLover - 09.09.2010

https://sampforum.blast.hk/showthread.php?tid=55261

Read that and you will know


Re: Additionnal text when compiling - urbanghetto - 09.09.2010

Thanks for your answers,

So I just add "#pragma dynamic 145000" in the top of my script and solved the problem.


Re: Additionnal text when compiling - LarzI - 09.09.2010

Quote:
Originally Posted by urbanghetto
Посмотреть сообщение
Thanks for your answers,

So I just add "#pragma dynamic 145000" in the top of my script and solved the problem.
FALSE

You didn't solve it, you just hid it.
Fix up your arrays.


Re: Additionnal text when compiling - woot - 09.09.2010

Quote:
Originally Posted by Venturas
Посмотреть сообщение
It's an obvious sign that your script is using excessive power. Your server will experience some crashes, about 1-5 everyday. If you're using ServerFFS, they will eMail regarding this issue.
I feel like insulting you for saying bullshit.


Re: Additionnal text when compiling - urbanghetto - 09.09.2010

Quote:
Originally Posted by LarzI
Посмотреть сообщение
You didn't solve it, you just hid it.
Fix up your arrays.
I can't fix up ALL my arrays because there are many, I can just minimize them the best I can and use this function to hide the message.

If you take an example like Lux Admin, this function appears in the top of the script, if you remove it you'll see that the memory stacks are bigger than 16k.

So if you got too big codes and therefore a lot of arrays it's impossible to fix this message, you have to first minimize the arrays to the lower value and then use "#pragma dynamic" to hide the message