From PM's, anonymized:
(snip)But recently, I upgraded to the latest version of Azzy AI (1.53) and noticed something odd. Whenever I try to move the homunculus when it was getting attacked by multiple monsters (mobs), an error message would appear.
This won't stop appearing and I don't know what to do.
I found the cause of the issue, it will be fixed in 1.54.
This is a silly mistake in a logging message, where I did formatpos(GetV(V_OWNER,MyID)) when I meant to do formatpos(GetV(V_POSITION,GetV(V_OWNER,MyID))).
The problem is on line 1564 of AI_main.lua:
This line:
logappend("AAI_ERROR","We were in MOVE_CMD_ST trying to move to "..formatpos(MyMoveX,MyMoveY).." while owner standing at "..formatpos(GetV(V_OWNER,MyID)))
Wants to be:
logappend("AAI_ERROR","We were in MOVE_CMD_ST trying to move to "..formatpos(MyMoveX,MyMoveY).." while owner standing at "..formatpos(GetV(V_POSITION,GetV(V_OWNER,MyID))))
In the meantime, you can go ahead and make this change yourself (by opening AI_main.lua in notepad/textpad/notepad++/sublimetext/etc ) - you can search for that string, or part of it, to find the line in question. I would like to ask that you (or anyone else who does this and was running into this error) please forward their AAI_ERROR files to me after using the AI with this fix, because each time it gets the error, it's trying to log information about a novel problem (I believe it was introduced with the 9/4 homun update) in which the game client passes bogus commands to the AI. This is an issue that I'm still trying to understand and have been unable to reproduce myself. Currently (with above fix) I just give up if I detect that condition, but I suspect there's a better way to handle it.
A traceai taken using AI (with AI_main modified as above), doing the things that led to the problem, along with the accompanying AAI_ERROR, would be even better.
1) well what i was thinking is kinda faking it. you run up to mob. try to hit move back to owner, check if mob is walking twards owner, if so wait for mob to A)change corse or get to owner. if not repeat. that is all i was thinking.
2) YUCK! completely understand
3) it went kinda with 2) post your configuration files for what you like or don't like for certin jobs or roll's for the homu. if you have this i did not see it. if you posted the raw files those of us who know how and where to put it can place these in our folder to see if we like it as well.
1) Hm. I remember fixing a bug that caused that sort of behavior, maybe it could be brought back.
3) Yeah, either config files or lists of config options... I don't have a pile of tested AI files on hand that I can just post though.
I would definitely like to develop a better way of handling switching between configurations (it annoys me too while using the AI), but I'm not sure how I could do it without having to get way deeper into the the GUI code than I'd like to.
Edited by DrAzzy, 11 December 2013 - 01:27 PM.