I've been running into problems where the unit field-value for facing (UNIT_FIELD_R = 0x8A8 for 4.0.3) has sometimes returned strange results. Here's what I've found, and it's kinda crazy:
If I approach a mob from behind (facing the same direction as them), and start attacking without them reacting to me first, their R-value is the same as mine. However, when the stun wears off, and they face me, they still have the same R-value as before. If I kill them, they appear to be facing me, but their R-value still says facing away (unchanged).
Crazy part: I log out, log back in, the corpse has rotated 180 degrees, graphically representing what their R-value said all along... facing away from me.
Now during the fight, the R-value saying facing away, if I do a move that's "facing dependent", like Gouge (they must be facing me), gouge succeeds, and their R-value instantly updates to reflect their graphical appearance.
It appears my client, depending on if I do a facing-dependent move or not, changes the server-side facing value of the mob. It's like a quantum effect... it doesn't change values unless you do something that tests it.
So, all that said, does anyone know of a different facing field-value for units? One that represents what the client thinks, and not what the server thinks?