Code:
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1804
invalid index 9 [size:9]
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1804
invalid array index
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1804
Unknown data type
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1804
Unknown data type
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1804
string function return UNKNOWN value
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1791
Unknown data type
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1791
Unknown data type
Concerning this piece of code:
Code:
string GetTranslatedReputationForSex(ref xi_refCharacter, string repName)
{
if(!CheckAttribute(xi_refCharacter,"sex")) return XI_ConvertString("i"+repName);
string chReputation = "";
switch(xi_refCharacter.sex)
{
case "man": chReputation = XI_ConvertString("i"+repName); break; <----------- 1791
case "woman": chReputation = XI_ConvertString("w"+repName); break;
chReputation = XI_ConvertString("i"+repName);
}
return chReputation;
}
//MAXIMUS <--
string GetReputationName(int reputation)
{
// KK -->
int delta = roundup(makefloat(REPUTATION_MAX - REPUTATION_MIN + 1) / makefloat(REPUTATION_TABLE_SIZE));
int rep = makeint(makefloat(reputation) / makefloat(delta));
return ReputationTable[rep]; <---------------1804
// <-- KK
}
This happened when entering san juan for the first time (I think).
@Pieter Boelen did you change anything here?