Klumpat / e3-macro-builds

Automatically exported from code.google.com/p/e3-macro-builds
0 stars 0 forks source link

BuffCheck.inc error causing macro to end #60

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Line 205 of e3_BuffCheck.inc is missing a .ID on the 
!${Group.Member[${buffTarget}]} part of the check.

It should be
/if (${${arrayName}[${i}].Find[/group]} && !${Group.Member[${buffTarget}].ID}) {

Otherwise, I was getting the error !Sorvani is not int or whatever MQ2 says 
when you have a string in a ! check.

Original issue reported on code.google.com by sorvani on 8 Jan 2014 at 5:36

GoogleCodeExporter commented 8 years ago
No such int member for ${Group.Member[${buffTarget}].ID}.  The way this was 
intended to work, was to return the group# of the buffTarget.  For example, if 
I were grouped with Yasa, and Yasa was group member#1, ${Group.Member[Yasa]} 
would return '1'.  Since any number > 0 is considered TRUE, it acted as a bool.

However, the TLO also works in reverse.  ${Group.Member[1]} returns 'Yasa'.  
I'm thinking the issue is here.  I wonder if Sorvani is group member 0, which 
would be FALSE, and cause an issue.

Original comment by iKillpeq@gmail.com on 18 Jan 2014 at 1:31

GoogleCodeExporter commented 8 years ago
This has been fixed in future builds.

Original comment by iKillpeq@gmail.com on 13 Sep 2014 at 8:52