29.09.2009, 22:06
My script acquired more than 3,5MB extra in your size when compiled in this new version... Why?
Because of the increase of the limits and consequently of ARRAYS?
Example: Jailed[MAX_PLAYERS]
But I'm using custom arrays as MY_MAX_PLAYERS defined for only 50 players instead of 500, in the gamemode and in the includes
And other scripts were recompiled without acquiring an extra size...
Why I worry about that?
Because in 0.2x I had problems with random crashs that were only resolved when I got to reduce the size of the amx, using custom defines for MAX_PLAYERS, MAX_VEHICLES... and replacing arrays with [256] for [128] when appropriate.
The size of my amx now is 5,8MB, before it was 2,3MB, will I have problems with that?
Thanks
Sorry my bad english...
Because of the increase of the limits and consequently of ARRAYS?
Example: Jailed[MAX_PLAYERS]
But I'm using custom arrays as MY_MAX_PLAYERS defined for only 50 players instead of 500, in the gamemode and in the includes
And other scripts were recompiled without acquiring an extra size...
Why I worry about that?
Because in 0.2x I had problems with random crashs that were only resolved when I got to reduce the size of the amx, using custom defines for MAX_PLAYERS, MAX_VEHICLES... and replacing arrays with [256] for [128] when appropriate.
The size of my amx now is 5,8MB, before it was 2,3MB, will I have problems with that?
Thanks
Sorry my bad english...