Can anybody tell me what this means?
#1

Hello guys,

recently I've been wondering about this strange info message at the pawn-compiler.

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

Header size:            112 bytes
Code size:              140 bytes
Data size:           610080 bytes
Stack/heap size:      16384 bytes; estimated max. usage=1816716 cells (7266864 bytes)
Total requirements:  626716 bytes
Does anybody know what this message affects, or if I can just ignore it.
I know that I can evade it, by using #pragma dynamic 10000000. But why does this message even come? And does it have any consquences to the server?

I hope somebody can help me.


Jeffry
Reply
#2

Optimize your code, you're using to much memory.

https://sampforum.blast.hk/showthread.php?tid=55261
https://sampforum.blast.hk/showthread.php?tid=57018
Reply
#3

Yeah, I know about the 256 topic.
But, when I make a Vehicle Streamer that works for - lets say 10000 - vehicles, I will get this warning, just cause I have every Car-Variable 10000 times. But I need the variable that often. :/
Or at my Ban System. It has space for 10000 Ban Lines with each 200 letters space. Gives me the warning too.
But I need it, for Name/IP/Admin/Date....

So this is kinda strange. Anything to make there
Reply
#4

For your vehicle streamer check the other streamer filterscripts on how they did it.
For the ban system you can write that stuff in files.
Reply
#5

Quote:
Originally Posted by dice7
Посмотреть сообщение
For your vehicle streamer check the other streamer filterscripts on how they did it.
They did it same way. I just made my own streamer, as the ones I've found so far are always bugged, kinda.

Quote:
Originally Posted by dice7
Посмотреть сообщение
For the ban system you can write that stuff in files.
File reading is slow. I just read the data out, when the server starts up. And this goes into the variables.
In this case, lets say, I want to know the BanDate, the code has to read through the file, till it found the BanID, and then look, when the BanDate is in the line.
Saved Like:
Name|IP.IP.IP.IP|Admin|Reason|DD.MM.YYYY|Hours.Min utes.Secs|TimeToUnban

Would take ages to read it. :/


EDIT: Why the heck is the 'Minutes' splitted to: 'Min utes'. I haven't written this, and when I edit it, it is just normal.
Reply
#6

Filereading takes miliseconds
Reply
#7

Quote:
Originally Posted by dice7
Посмотреть сообщение
Filereading takes miliseconds
LOL. But My variables don't have to be readed at all. They just get called by the belonging ID.
Like:

pawn Код:
new BanDate[10000][10];
and:
pawn Код:
print(BanDate[ID]);
Nothing to read. xD

Getting offtopic abit. Hehe.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)