String warnings - 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: String warnings (
/showthread.php?tid=130885)
String warnings -
Christopher. - 28.02.2010
Ok so i was working with RobMob today and the Gamemode that we were working on is 14417 lines long, so when we compile it we get this:
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Header size: 11648 bytes
Code size: 667916 bytes
Data size: 1182492 bytes
Stack/heap size: 16384 bytes; estimated max. usage=9607 cells (38428 bytes)
Total requirements: 1878440 bytes
I'm not entirely sure what the cause is but could someone shead some light?
Re: String warnings -
[HiC]TheKiller - 28.02.2010
It isn't a warning, It's telling you that it won't use that many cells.
Re: String warnings -
[SF]RobMob - 28.02.2010
if it is not a warning what exactly is it there for ?and is there a way to get rid of it besides disabling it? .This started after I added the y_race filter script into my gamemode and changed it to zcmd .
Re: String warnings - WackoX - 28.02.2010
Quote:
Originally Posted by [SF
robmob ]
if it is not a warning what exactly is it there for ?and is there a way to get rid of it besides disabling it? .This started after I added the y_race filter script into my gamemode and changed it to zcmd .
|
It means you're using too mutch and/or big arrays, like new string[256];
Re: String warnings -
adsy - 28.02.2010
its a high memory usage script
if you have any strings which have (example) string[256] reduce them to 128
256 or higher is only needed for SQL. the game text panels are only able to take 128 characters so stick with 128 max
Re: String warnings - [03]Garsino - 28.02.2010
On top of your script.
pawn Код:
#pragma dynamic 7500 // As low as possible, but high enough that the 'warnings' are gone
Re: String warnings -
Blacklite - 28.02.2010
http://forum.sa-mp.com/index.php?top...6470#msg886470