Group Roles corrupted after merc suspend

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

spanners
a lesser mummy
a lesser mummy
Posts: 56
Joined: Wed Jul 04, 2007 3:02 pm

Group Roles corrupted after merc suspend

Post by spanners » Wed Apr 15, 2009 1:00 am

I've noticed that the Group attributes Puller, MainTank, MainAssist but not Group.Leader get corrupted with an off-by-one error when a merc that takes a high up group order (2nd spot for example) is suspended.

To test:

- Make a group, distribute the roles around.
- Check Group.<role> attributes are returning the right values.
- Unsuspend merc on a group member high up in the group order (first position shows this best - merc gets group position number 2).
- Check Group.<role> attributes are returning the right values.
- Suspend merc.
- Group.<role> attributes are now off by one for any group member that was below the merc in group order (position 3 or lower).

User avatar
gimp
a grimling bloodguard
a grimling bloodguard
Posts: 584
Joined: Fri Oct 29, 2004 9:28 am
Location: internet

Post by gimp » Wed Apr 15, 2009 5:54 am

I noticed this myself yesterday when i had a full group and 1 player left, main assist ID was not updated correctly & broke the macros. camping / zoning "solved" the issue.

User avatar
ieatacid
Developer
Developer
Posts: 2727
Joined: Wed Sep 03, 2003 7:44 pm

Post by ieatacid » Mon Apr 27, 2009 12:45 am

Fixed in next zip.

Thanks go to spanners for providing me with a group to test with.

spanners
a lesser mummy
a lesser mummy
Posts: 56
Joined: Wed Jul 04, 2007 3:02 pm

Post by spanners » Mon Apr 27, 2009 2:07 am

Thanks for taking the time to fix it.

User avatar
gimp
a grimling bloodguard
a grimling bloodguard
Posts: 584
Joined: Fri Oct 29, 2004 9:28 am
Location: internet

Post by gimp » Mon Apr 27, 2009 3:22 am

indeed, thanks alot!

User avatar
gimp
a grimling bloodguard
a grimling bloodguard
Posts: 584
Joined: Fri Oct 29, 2004 9:28 am
Location: internet

Post by gimp » Tue Apr 28, 2009 7:06 am

ieatacid: if you have time,could you please post a diff for the fix?

User avatar
ieatacid
Developer
Developer
Posts: 2727
Joined: Wed Sep 03, 2003 7:44 pm

Post by ieatacid » Tue Apr 28, 2009 4:04 pm


User avatar
gimp
a grimling bloodguard
a grimling bloodguard
Posts: 584
Joined: Fri Oct 29, 2004 9:28 am
Location: internet

Post by gimp » Thu Apr 30, 2009 4:41 pm

thank you very much!