Using #define IMPROVE_FIGHT_AI to fight bandits in a dungeon with 3 party members (barbados spreighttown dungeon) I seem to constantly be getting an error with this line:
if(ally.chr_ai.tmpl.state != "support")
Here is the error log I think pointing to this line:
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
if(ally.chr_ai.tmpl.state != "support")
Here is the error log I think pointing to this line:
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
no rAP data
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251
missed attribute: state
RUNTIME ERROR - file: Loc_ai\templates\LAi_fight.c; line: 1251