This report is based on the wiki page, i dont know if its outdated, but i didnt find anything in the patchnotes:
http://www.fonline-reloaded.net/wiki/index.php?title=Armor_Class Turn-based Combat
Armor class is applied when
a character spends at least half of their action points on movement.
a character ends their turn with at least half of their action points unspent.
AC is 0 otherwise.
The requirement to get your AC(half of your AP as movement) is beeing calculated from where you moved with a straight line. Basically if you are inside of a HalfYourAP radius circle around your characters original position, it doesnt matter how much you moved. If you go back and forth untill you AP runs out, you dont get your AC. Obstacles arent getting counted either.
The second part with ending with enough AP isnt working at all.
...As a side note, this whole system for AC is pretty silly, since you dont regenerate AP while running in RT..Would not mind if you could get XP for running away from PKers.