|
Author
|
Message
|
|
AMX Mod X Plugin Approver
|

12-08-2014
, 07:57
Re: SMA file to big to be compiled? Not enough memory?
|
#1
|
It crashes because of g_strKnifeSounds, you have left a comma for the last item and for some reason compiler doesn't like it. It's dumb, and another stupid compiler bug. It seems to crash only with 3d array with undefined size. I don't remember if it was happening with 1.8.2 compiler, as it could be a side-effect of the update applied in 1.8.3. That's said, I remember SourceMod allowing extra comma in array, like enum, I guess it's worth to check that. Compiler is a bitch.
EDIT: If you are curious how I've found that, I've just compiled compiler in debug mod, then seen an assertion has been triggered inside a function related to array initialization. Then, I've removed all code except declaration, and removed array by array until it doesn't crash. Then seen the extra comma.
__________________
Last edited by Arkshine; 12-08-2014 at 08:07.
|
|
|
|