02.07.2017, 14:18
Hello.
We are few developer who works on a new gamemode whith the idea of an old gamemode (both are private).
We faced up to on a problem about compiler infos. We are like 25-30% of the new gamemode.
The oldgame compile with those infos:
There is no optimization and no new usefull include are used (foreach, zcmd, ...).
So.. The new gamemode have this:
I'm posting here because I found this http://forum.sa-mp.com/showpost.php?...06&postcount=2 from Vince.
I think the problem come from a lot of Iterator + 2D / 3D arrays (we don't use 4D arrays since it's too heavy). Have you any ideas, tips or something?
We are few developer who works on a new gamemode whith the idea of an old gamemode (both are private).
We faced up to on a problem about compiler infos. We are like 25-30% of the new gamemode.
The oldgame compile with those infos:
Код:
Header size: 22200 bytes Code size: 6054788 bytes Data size: 10716556 bytes Stack/heap size: 50000 bytes; estimated max. usage=12298 cells (49192 bytes) Total requirements:16843544 bytes
So.. The new gamemode have this:
Код:
Header size: 15744 bytes Code size: 1027576 bytes Data size: 6641048 bytes Stack/heap size: 16384 bytes; estimated max. usage=2363 cells (9452 bytes) Total requirements: 7700752 bytes
Код:
#include "..\includes\a_mysql" // R41 https://github.com/pBlueG/SA-MP-MySQL/nl...85#include "..\includes\streamer" // 2.8.2 https://github.com/samp-incognito/samp-s...85#include "..\includes\sscanf2" // 2.8.2 https://github.com/maddinat0r/sscanf/nl6...85#include "..\includes\izcmd" // 0.2.3.0 https://sampforum.blast.hk/showthread.ph...85#include "..\includes\colandreas" // 1.4.0 https://github.com/Pottus/ColAndreas/nl6...85#include "..\includes\mSelection" // 1.1 https://sampforum.blast.hk/showthread.ph...85#include "..\includes\YSF" // R19 https://sampforum.blast.hk/showthread.ph...85#include "..\includes\YSI\YSI_data\y_foreach"
I think the problem come from a lot of Iterator + 2D / 3D arrays (we don't use 4D arrays since it's too heavy). Have you any ideas, tips or something?