Error in charsel.c

Started by PeJ, July 09, 2009, 04:53:59 PM

Previous topic - Next topic

PeJ

I play several times at mugen and many times I encounter this error :
assert failure in charsel.c line 3162
Does anyone know this erro ?
What's the problem ?

supersam966

Could be due to the character, Quite a few Characters do that to me.

Are you sure the Character you are trying to use in the Match is Compatible with your version of MUGEN?
Or More importantly, Does this Happen with all Characters?

Sig by Yzan.

shin. [OFWGKTA]

QuoteAssert failure in charsel.c line 3162

Causes: When you have your mugen.cfg, under [Arcade], AI.RandomColor = 0 and a character's .def [Info] pal.defaults are not set correctly. In other words, in the character's [file].def there must be a defined pal.defaults = valid_pal_number

Solution:
1. Go through your char's .def, and ensure that there is a line under [Info] >> pal.defaults = 1. The "1" tells it to use pal1 as the highest priority default. But to fix this error message you need at least have one default pal.

2. Change the mugen.cfg, under [Arcade], AI.RandomColor = 1. This will make the computer select a random valid color from the pal(x) pool of pals in the [File].def.

Taken from one of MI's help FAQs.