The problem is likely caused by the order of the arguments for COMBAT_LOG_EVENT_UNFILTERED being changed.
The error is from the variable 'flag' being a string instead of a number, which probably means it's holding the unit's name or something instead of its flags.
Can you show us what the variables are being assigned to for the COMBAT_LOG_EVENT_UNFILTERED event?
Although the fact that you say everything else is working fine would seem to indicate that it's something else..
Last edited by semlar : 07-15-13 at 11:19 AM.
|