Additionnal text when compiling
#1

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.
Reply
#2

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.
Reply
#3

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

Read that and you will know
Reply
#4

Thanks for your answers,

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

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.
Reply
#6

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.
Reply
#7

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)