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

[Plugin] Equipper

Ratosh

New Member
Joined
Nov 11, 2010
Messages
23
Reaction score
0
Auto equip better equip considering EHP and DPS.

Config the values so it equip nicely, im using 20 dmg for 1 ehp, this means that it will trade 19k EHP for 1k dps increase. I only recommend using this on leveling char or bad geared lvl 60 char.

Need:
Gear check

Know issues:
Code:
Currently none.

Change log:
Code:
[B]Version 1.0.2[/B]
- Added support for 2hands;
- Added support for dual wielding;
 

Attachments

Last edited:
This is a great plugin, but I notice that it often crashes when trying to identify an item too many times. In other words, it continually tries to identify an item even while the bot is moving around and fighting. Besides for that, FANTASTIC!
 
OKAY - if anyone is still using this, I have fixed a few bugs with it and it is working flawlessly. No crashes or anything, and the gear it keeps is outstanding compared to the GilesEquipper.

Many of the boolean parameters were returning true instead of false, and vice versa. I have fixed them - works great!

Code:
private bool identifyItems()
        {
            AnimationState animState = ZetaDia.Me.CommonData.AnimationState;

            // already identifying something or casting something
            if (animState == AnimationState.Casting || animState == AnimationState.Channeling)
            {
                return true;
            }

            // identify cast time for rares is 1 second
            if (DateTime.Now.Subtract(lastIdentify).TotalSeconds <= 1 && !lastItemWasLegendary)
            {
                return true;
            }

            // identify cast time for legendaries is 3 seconds
            if (DateTime.Now.Subtract(lastIdentify).TotalSeconds <= 3 && lastItemWasLegendary)
            {
                return true;
            }

            foreach (var thisitem in ZetaDia.Actors.Me.Inventory.Backpack)
            {
                if (thisitem.BaseAddress == IntPtr.Zero)
                {
                    continue;
                }
                if (!_alreadyLookedAtBlacklist.Contains(thisitem))
                {
                    if (thisitem.IsUnidentified)
                    {
                        ZetaDia.Me.Inventory.IdentifyItem(thisitem.DynamicId);
                        Diagnostic(String.Format("Identifying {0} Quality: {1} Level: {2}", thisitem.Name, thisitem.ItemQualityLevel, thisitem.Level));

                        lastIdentify = DateTime.Now;
                        lastItemWasLegendary = thisitem.ItemQualityLevel == ItemQuality.Legendary;

                        return true;
                    }
                }
            }

            return false;
        }
 

Attachments

Tried to use Ratosh's but failed to initialize (or be reconized) in DB and held YAR hostage and would constantly reload DB.
 
Here is a zipped file with my changes to Ratosh's. Unzip to Plugins
 

Attachments

Back
Top