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

Unified GilesPlugin's Unnoficial Updates File

Status
Not open for further replies.
Also, is it only weapons, only armor, or everything?
 
It was broken in 1.7.0.45, in which I just removed darkfriend's addon. At least I think so. I may have broken something, but I sure as hell don't know how.
Also, I think it was everything, but I my be misremembering. Jewelry and weapons definitely, though
 
Last edited:
Sup Guys,

Wanted to throw this in here, it may have been addressed already.

Currently using trinity + the all acts profile to level my new characters, and I noticed a constant stopping issue caused by...

if (bNeedsEquipmentRepairs && iLowestDurabilityFound < 20 && iLowestDurabilityFound > -1 && ZetaDia.Me.Inventory.Coinage < 40000)

For a normal 60 character this could be a good stop (if you can't repair, don't run) but on a bot with less than 40k gold (for instance, an account under observation), this will cause issues.

Modified 40k to 1k and all is well so far.
 
also skips keys. Just watched it skip a key on me. Not all keys, as I have seen it grab them.
 
also skips keys. Just watched it skip a key on me. Not all keys, as I have seen it grab them.

By skipping you mean doesn't pick them up or doesn't stash them?
 
didn't pick it up. I even send my character back to the nearest position of the warden when I kill it to make sure it picks up loot. I imagine some kind of confusion somewhere as I have watched it pick up a dozen keys or so with your trinity. I know it specifically isn't ignoring keys. Dunno if we can put like a giant radius on the looting of keys/organs/legends. I know trinity used to increase it by like 30 or something.
 
If you have backtracking enabled this may cause the bot to skip some items

I don't think this is enabled...I thought I remembered seeing an option for it, but now I don't :P
 
I think I fixed WotB...wasn't the range. Was some random boolean that was in there that I don't think is necessary. It would trigger wotb the first time, but not subsequent times usually. In any case, this seems to be triggering all the time for elites baby. Woohoo!

Change your entire berserker code to this:
Code:
// Wrath of the berserker, elites only (wrath of berserker)
            if (!bOOCBuff && hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_WrathOfTheBerserker) &&
                // Not on heart of sin after Cydaea
                CurrentTarget.ActorSNO != 193077 &&
                // Make sure we are allowed to use wrath on goblins, else make sure this isn't a goblin
				(settings.bGoblinWrath || !CurrentTarget.IsTreasureGoblin) &&
                // If on a boss, only when injured
                ((CurrentTarget.IsBoss && CurrentTarget.HitPoints <= 0.99 && !hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_Whirlwind)) ||
                // If *NOT* on a boss, and definitely no boss in range, then judge based on any elites at all within 30 feet
                 ((!CurrentTarget.IsBoss || hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_Whirlwind)) &&
                   (!bAnyBossesInRange || hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_Whirlwind)) &&
                   ((iElitesWithinRange[RANGE_25] >= 1 || CurrentTarget.IsEliteRareUnique) && (CurrentTarget.HitPoints >= 0.30 || playerStatus.CurrentHealthPct <= 0.60))
                 )) &&
                // Don't still have the buff
                !GilesHasBuff(SNOPower.Barbarian_WrathOfTheBerserker) &&
                GilesUseTimer(SNOPower.Barbarian_WrathOfTheBerserker, true) && PowerManager.CanCast(SNOPower.Barbarian_WrathOfTheBerserker))
            {
                if (playerStatus.CurrentEnergy >= 56)
                {
                    if (CurrentTarget.ActorSNO == 255996)
                        Logging.Write("[Trinity] Berserk being used: Act 1 Warden, Odeg!");
                    else if (CurrentTarget.ActorSNO == 256000)
                        Logging.Write("[Trinity] Berserk being used: Act 2 Warden, Sokahr!");
                    else if (CurrentTarget.ActorSNO == 256015)
                        Logging.Write("[Trinity] Berserk being used: Act 3 Warden, Xah'rith!");
                    else
                        Logging.Write("[Trinity] Berserk being used!");
                    Logging.Write("[Trinity] Berserk being used!");
                    return new GilesPower(SNOPower.Barbarian_WrathOfTheBerserker, 0f, vNullLocation, iCurrentWorldID, -1, 1, 1, USE_SLOWLY);
                }
                else
                {
                    Logging.Write("[Trinity] Berserk ready, waiting for fury...");
                    bWaitingForSpecial = true;
                }
            }
 
GilesBaseItemType.WeaponRange

^^^ what does this type refer to in game? This is a line for looting in the gilestrinity.cs file below the onehanded line, sounds obvious, but I want to make sure.
 
I think I fixed WotB...wasn't the range. Was some random boolean that was in there that I don't think is necessary. It would trigger wotb the first time, but not subsequent times usually. In any case, this seems to be triggering all the time for elites baby. Woohoo!

Change your entire berserker code to this:
Code:
// Wrath of the berserker, elites only (wrath of berserker)
            if (!bOOCBuff && hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_WrathOfTheBerserker) &&
                // Not on heart of sin after Cydaea
                CurrentTarget.ActorSNO != 193077 &&
                // Make sure we are allowed to use wrath on goblins, else make sure this isn't a goblin
				(settings.bGoblinWrath || !CurrentTarget.IsTreasureGoblin) &&
                // If on a boss, only when injured
                ((CurrentTarget.IsBoss && CurrentTarget.HitPoints <= 0.99 && !hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_Whirlwind)) ||
                // If *NOT* on a boss, and definitely no boss in range, then judge based on any elites at all within 30 feet
                 ((!CurrentTarget.IsBoss || hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_Whirlwind)) &&
                   (!bAnyBossesInRange || hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_Whirlwind)) &&
                   ((iElitesWithinRange[RANGE_25] >= 1 || CurrentTarget.IsEliteRareUnique) && (CurrentTarget.HitPoints >= 0.30 || playerStatus.CurrentHealthPct <= 0.60))
                 )) &&
                // Don't still have the buff
                !GilesHasBuff(SNOPower.Barbarian_WrathOfTheBerserker) &&
                GilesUseTimer(SNOPower.Barbarian_WrathOfTheBerserker, true) && PowerManager.CanCast(SNOPower.Barbarian_WrathOfTheBerserker))
            {
                if (playerStatus.CurrentEnergy >= 56)
                {
                    if (CurrentTarget.ActorSNO == 255996)
                        Logging.Write("[Trinity] Berserk being used: Act 1 Warden, Odeg!");
                    else if (CurrentTarget.ActorSNO == 256000)
                        Logging.Write("[Trinity] Berserk being used: Act 2 Warden, Sokahr!");
                    else if (CurrentTarget.ActorSNO == 256015)
                        Logging.Write("[Trinity] Berserk being used: Act 3 Warden, Xah'rith!");
                    else
                        Logging.Write("[Trinity] Berserk being used!");
                    Logging.Write("[Trinity] Berserk being used!");
                    return new GilesPower(SNOPower.Barbarian_WrathOfTheBerserker, 0f, vNullLocation, iCurrentWorldID, -1, 1, 1, USE_SLOWLY);
                }
                else
                {
                    Logging.Write("[Trinity] Berserk ready, waiting for fury...");
                    bWaitingForSpecial = true;
                }
            }
Done
 
I think I fixed WotB...wasn't the range. Was some random boolean that was in there that I don't think is necessary. It would trigger wotb the first time, but not subsequent times usually. In any case, this seems to be triggering all the time for elites baby. Woohoo!

Change your entire berserker code to this:
Code:
// Wrath of the berserker, elites only (wrath of berserker)
            if (!bOOCBuff && hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_WrathOfTheBerserker) &&
                // Not on heart of sin after Cydaea
                CurrentTarget.ActorSNO != 193077 &&
                // Make sure we are allowed to use wrath on goblins, else make sure this isn't a goblin
				(settings.bGoblinWrath || !CurrentTarget.IsTreasureGoblin) &&
                // If on a boss, only when injured
                ((CurrentTarget.IsBoss && CurrentTarget.HitPoints <= 0.99 && !hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_Whirlwind)) ||
                // If *NOT* on a boss, and definitely no boss in range, then judge based on any elites at all within 30 feet
                 ((!CurrentTarget.IsBoss || hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_Whirlwind)) &&
                   (!bAnyBossesInRange || hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_Whirlwind)) &&
                   ((iElitesWithinRange[RANGE_25] >= 1 || CurrentTarget.IsEliteRareUnique) && (CurrentTarget.HitPoints >= 0.30 || playerStatus.CurrentHealthPct <= 0.60))
                 )) &&
                // Don't still have the buff
                !GilesHasBuff(SNOPower.Barbarian_WrathOfTheBerserker) &&
                GilesUseTimer(SNOPower.Barbarian_WrathOfTheBerserker, true) && PowerManager.CanCast(SNOPower.Barbarian_WrathOfTheBerserker))
            {
                if (playerStatus.CurrentEnergy >= 56)
                {
                    if (CurrentTarget.ActorSNO == 255996)
                        Logging.Write("[Trinity] Berserk being used: Act 1 Warden, Odeg!");
                    else if (CurrentTarget.ActorSNO == 256000)
                        Logging.Write("[Trinity] Berserk being used: Act 2 Warden, Sokahr!");
                    else if (CurrentTarget.ActorSNO == 256015)
                        Logging.Write("[Trinity] Berserk being used: Act 3 Warden, Xah'rith!");
                    else
                        Logging.Write("[Trinity] Berserk being used!");
                    Logging.Write("[Trinity] Berserk being used!");
                    return new GilesPower(SNOPower.Barbarian_WrathOfTheBerserker, 0f, vNullLocation, iCurrentWorldID, -1, 1, 1, USE_SLOWLY);
                }
                else
                {
                    Logging.Write("[Trinity] Berserk ready, waiting for fury...");
                    bWaitingForSpecial = true;
                }
            }

The bUseBerserker bool was added by Bombastic so that WotB is only used on Arcane, Frozen, Jailer, Molten and Electrified+Reflect Damage elites. Other packs don't really pose any problems for WW barb so WotB is saved in those cases. This greatly reduced my death count at mp5+.
 
ah, i guess that would explain why it doesn't fire for some elites. Are you guys encountering elites that frequently that it isn't charged up by the next elite? I would think this should speed things up overall. Also, not sure where that code for the boolean is exists to activate it as true. It isn't with the barb.cs file so if you're going to keep it, just make sure it's where ever it needs to be. I would also like to see a comment in that Barb.cs file that references where this location is in case someone wants to tweak it for other types of monster affixes.
 
Last edited:
Anyone getting stucks with not opening doors? with last non community version 0.45??
 
just tried this and he never uses wrath.
Is there a reason why?
 
Alright, explaining from what I know/understand: The bot will only activate WOTB when facing dangerous elites. Sometimes though -not very often- it won't activate WOTB even for those elites. I'm not sure why, but this isn't really a major issue. The extra boolean thing is what makes this rule work and it was created by bombastic.

Now, I don't remember where he defines it. Might have to take a look later. Or maybe he'll pop up

Also no stucks with doors here, usgin v0.45. Though I'm not using the latest DB versions because I still have issues with those. For anyone getting stuck in town I'd recommend using a version previous to 85
 
Yeah I'm running with my tweaked version and it's activating every time for elites, provided it's ready and I've got fury for it. Might be nice to have a checkbox for this to use on particular elites or whenever you encounter an elite. I think I prefer having it try to engage on any elite (running MP4 at the moment with little/no deaths). The extra fire power helps (as does the speed). I do have some high crit chance ( 56-57% or something crazy like that lol) so wotb tends to stay up a lot for me.
 
Is there anyway we can make it so it doesn't ID certain rares (Rings/amulets) and just deposits them into Stash?
 
Status
Not open for further replies.
Back
Top