What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

Need help on fixing Giles Equipper

FrenchBot

New Member
Joined
Sep 10, 2012
Messages
459
Reaction score
1
Hi,

http://www.thebuddyforum.com/demonbuddy-forum/plugins/59415-plugin-giles-auto-equipper.html is a brilliant plugin but seems broken since a while.
It tries to identify rares and legendaries while still in combat.

Could someone please fix that ?

I'm guessing it has something to do with this part but I have no idea how to fix it:
Code:
 // Look for unidentified items if not in combat and not already identifying
            if (CombatTargeting.Instance.FirstNpc != null)
                return;
            if (ZetaDia.Me.LoopingAnimationEndTime != 0)
                return;
            foreach (var thisitem in ZetaDia.Actors.Me.Inventory.Backpack)
            {
                if (thisitem.BaseAddress == IntPtr.Zero)
                {
                    return;
                }
                if (!_alreadyLookedAtBlacklist.Contains(thisitem.DynamicId))
                {
                    if (thisitem.IsUnidentified)
                    {
                        ZetaDia.Me.Inventory.IdentifyItem(thisitem.DynamicId);
                        Thread.Sleep(2900);
                        return;
                    }
                }
            }
 
Hi,

http://www.thebuddyforum.com/demonbuddy-forum/plugins/59415-plugin-giles-auto-equipper.html is a brilliant plugin but seems broken since a while.
It tries to identify rares and legendaries while still in combat.

Could someone please fix that ?

I'm guessing it has something to do with this part but I have no idea how to fix it:
Code:
 // Look for unidentified items if not in combat and not already identifying
            if (CombatTargeting.Instance.FirstNpc != null)
                return;
            if (ZetaDia.Me.LoopingAnimationEndTime != 0)
                return;
            foreach (var thisitem in ZetaDia.Actors.Me.Inventory.Backpack)
            {
                if (thisitem.BaseAddress == IntPtr.Zero)
                {
                    return;
                }
                if (!_alreadyLookedAtBlacklist.Contains(thisitem.DynamicId))
                {
                    if (thisitem.IsUnidentified)
                    {
                        ZetaDia.Me.Inventory.IdentifyItem(thisitem.DynamicId);
                        Thread.Sleep(2900);
                        return;
                    }
                }
            }


Modify :
Code:
if (thisitem.IsUnidentified)
to
Code:
if (thisitem.IsUnidentified && ZetaDia.Me.IsInTown)

Blue or identified rare/legendary can be replace immediatly and Unidentified object wait u are in town

Probably Giles have a better solution for broked combat detection, but in wait...
 
Back
Top