E: 17:11:04 - sys_chargen_h.nss - sys_chargen_h.nss(335): Variable defined without type (while compiling prc_2da_constants_h.nss)
The relevant line of sys_chargen_h is as follows:
else if (nclass == class_MONK)
{
_AddAbility(oChar, 100100);
}
If I comment out the above and compile again, I get an error on line 478:
E: 17:19:55 - sys_chargen_h.nss - sys_chargen_h.nss(478): Case parameter not a constant integer (while compiling prc_2da_constants_h.nss)
And my prc_2da_constants_h does contain the needed reference as follows:
const
int class_MONK = 5;
Everything I have added is copied from code that does work, as the script I am attempting to compile with the new class is in widespread use. I can make the full scripts available if someone wants to see them.
Modifié par ladydesire, 04 juin 2010 - 09:15 .





Retour en haut






