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

[Plugin] Giles Trinity

Status
Not open for further replies.
So when running Act 3, there are plenty of tight spaces and avoidance will sometimes be to agressive, trying to get out of stuff when it can't. And then it should be using rend or revenge.

This is probably hard to balance right, but maybe it could leap when health is <0.25 or use revenge when health is <0.25? I didn't tinker with any of the avoidance settings!

And sometimes it doesn't prioritize the prophets fast enough or at all. Which can cost a lot of time as well.
 
+10 for it! My barb went from 110k/g h to 180k/g h... Great work mate! :D
 
- Legendary: 2 [0.44 per hour] {0.2 %}
--- ilvl 61 Legendary: 1 [0.22 per hour] {0.1 %}
--- ilvl 63 Legendary: 1 [0.22 per hour] {0.1 %}

Seems to working fine for 63 :)

G
 
You can try running default DB with Belphegor. People usually find it "laggier" (lots of mini freezes especially with lots of mobs), but it'll use less CPU. The problem with computers is the more you make them do, the more CPU they tend to use (frustrating right!?). And this plugin is doing quite a lot over and over very frequently. People with virtual machines will probably suffer the most, but really, if you're having CPU issues that are actually causing problems - it's going to have to wait until somebody clever can reduce CPU use without losing on the efficiency/speed it checks and responds to targets/avoidances/items etc. - or you're going to have to upgrade your hardware/change your setup/not use this plugin.

Much as I'd love to have unlimited power with zero CPU use, I don't think it's possible.

(btw - I'm running 5 bots on my PC atm without much extra strain - perhaps 2-3% extra CPU use per DB client - I think certain processors, certain OS's, or certain setups are causing more CPU strain than others).

curious what kind of comp spec you have giles mind sharing complete run down?
 
You can try running default DB with Belphegor. People usually find it "laggier" (lots of mini freezes especially with lots of mobs), but it'll use less CPU. The problem with computers is the more you make them do, the more CPU they tend to use (frustrating right!?). And this plugin is doing quite a lot over and over very frequently. People with virtual machines will probably suffer the most, but really, if you're having CPU issues that are actually causing problems - it's going to have to wait until somebody clever can reduce CPU use without losing on the efficiency/speed it checks and responds to targets/avoidances/items etc. - or you're going to have to upgrade your hardware/change your setup/not use this plugin.

Much as I'd love to have unlimited power with zero CPU use, I don't think it's possible.

(btw - I'm running 5 bots on my PC atm without much extra strain - perhaps 2-3% extra CPU use per DB client - I think certain processors, certain OS's, or certain setups are causing more CPU strain than others).

Get back to my PM Giles.
When I get out of class tomorrow I can start working on a spreadsheet.
 
Great work, thank you very much! All this needs is an unstucker (UnstuckMe works fine with this) and it's everything you need!
 
Is there any way to make it go after fallen prophets in A3 before anything else? My barb will just sit there fighting the guys they summon and ignoring them.
 
Hey Giles any way to get the bot to use rend a lot more? My barbs are dying more than they used to.

Thanks!
 
Fucking awesome!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

<3<3<3<3<3<3<3<3<3<3
 
Hi Giles,

Do you have a specific build for a witch doctor with your combat replacer?
Did you do some specfic things that can help me to find what is the best build for botting?

Thank you!

With the witch doctor, he summons no minions at beginning of the game. I try to understand in your code when you make them spawn but I don't have a good solution. If you can help thank you!

In your file at this place :

{SNOPower.Witchdoctor_Gargantuan , 60000},
{SNOPower.Witchdoctor_SummonZombieDog, 60000},
{SNOPower.Witchdoctor_MassConfusion, 45000}, //

I think you will want to set ZombieDog to 45000. Cooldown is now 45 secondes
 
Last edited:
Giles, on my log it says that it has seen 18 ilvl 63 rares dropped but its only picked up 16 any ideas what could cause it to miss 2 rares?

Also he doesnt seem to be dodging azmodans black shit on the ground very well atm.
 
Last edited:
So far, i love this plugin, but there is 1 spell i can not seem to get to work. [Acid Cloud] i have tried to modify the "Giles Trinity.cs" to add it in, but i can not seem to get it to work. since i want to use Acid Cloud similar to Zombie Charger[Bears] I copied the code Giles used for that and changed what i thought i need to.

Code:
                    // Acid Cloud
                    if (!bBuffsOnly && !bFindPureRanged && !bAvoidanceEmergency && (iElitesWithinRange[RANGE_15] > 0 || iAnythingWithinRange[RANGE_15] > 1 || ((targetCheckTarget.bThisElite || targetCheckTarget.bThisUnique || targetCheckTarget.bThisRare || targetCheckTarget.bThisTreasureGoblin) && fDistanceFromTarget <= 35f)) && 
                        hashPowerHotbarAbilities.Contains(SNOPower.Witchdoctor_AcidCloud) &&
                        DateTime.Now.Subtract(dictAbilityLastUse[SNOPower.Witchdoctor_AcidCloud]).TotalMilliseconds >= dictAbilityRepeatDelay[SNOPower.Witchdoctor_AcidCloud] &&
                        playerStatus.dCurrentEnergy >= 140 && PowerManager.CanCast(SNOPower.Witchdoctor_AcidCloud))
                    { 
                        return new GilesPower(SNOPower.Witchdoctor_AcidCloud, 10f, new Vector3(vCurrentDestination.X, vCurrentDestination.Y, vCurrentDestination.Z + iThisHeight), iCurrentWorldID, -1, USE_COMBAT_ONLY, USE_SLOWLY);
                    }

that did not work, so i tryed adding it to the fast cast

Code:
                    // Acid Cloud fast-attacks
                    if (!bBuffsOnly && !bAvoidanceEmergency && !playerStatus.bIsIncapacitated && hashPowerHotbarAbilities.Contains(SNOPower.Witchdoctor_AcidCloud))
                    {
                        if (bUnsafeCasting)
                            return new GilesPower(SNOPower.Witchdoctor_AcidCloud, 45f, vNullLocation, -1, targetCheckTarget.iThisACDGUID, USE_COMBAT_ONLY, USE_INSTANTLY);
                        return new GilesPower(SNOPower.Witchdoctor_AcidCloud, 45f, new Vector3(vCurrentDestination.X, vCurrentDestination.Y, vCurrentDestination.Z + iThisHeight), iCurrentWorldID, -1, USE_COMBAT_ONLY, USE_INSTANTLY);
                    }
that did not work either, anyone have any ides on what i could do to get it to work?

<3 Giles!
 
Hi Giles,

Do you plan to put an option for the loot tab, something like salvage blues and sell golds? the price on gold items usually higher than the price of the essence + the tear. Just putting this out there.
 
So far, i love this plugin, but there is 1 spell i can not seem to get to work. [Acid Cloud] i have tried to modify the "Giles Trinity.cs" to add it in, but i can not seem to get it to work. since i want to use Acid Cloud similar to Zombie Charger[Bears] I copied the code Giles used for that and changed what i thought i need to.

Code:
                    // Acid Cloud
                    if (!bBuffsOnly && !bFindPureRanged && !bAvoidanceEmergency && (iElitesWithinRange[RANGE_15] > 0 || iAnythingWithinRange[RANGE_15] > 1 || ((targetCheckTarget.bThisElite || targetCheckTarget.bThisUnique || targetCheckTarget.bThisRare || targetCheckTarget.bThisTreasureGoblin) && fDistanceFromTarget <= 35f)) && 
                        hashPowerHotbarAbilities.Contains(SNOPower.Witchdoctor_AcidCloud) &&
                        DateTime.Now.Subtract(dictAbilityLastUse[SNOPower.Witchdoctor_AcidCloud]).TotalMilliseconds >= dictAbilityRepeatDelay[SNOPower.Witchdoctor_AcidCloud] &&
                        playerStatus.dCurrentEnergy >= 140 && PowerManager.CanCast(SNOPower.Witchdoctor_AcidCloud))
                    { 
                        return new GilesPower(SNOPower.Witchdoctor_AcidCloud, 10f, new Vector3(vCurrentDestination.X, vCurrentDestination.Y, vCurrentDestination.Z + iThisHeight), iCurrentWorldID, -1, USE_COMBAT_ONLY, USE_SLOWLY);
                    }

that did not work, so i tryed adding it to the fast cast

Code:
                    // Acid Cloud fast-attacks
                    if (!bBuffsOnly && !bAvoidanceEmergency && !playerStatus.bIsIncapacitated && hashPowerHotbarAbilities.Contains(SNOPower.Witchdoctor_AcidCloud))
                    {
                        if (bUnsafeCasting)
                            return new GilesPower(SNOPower.Witchdoctor_AcidCloud, 45f, vNullLocation, -1, targetCheckTarget.iThisACDGUID, USE_COMBAT_ONLY, USE_INSTANTLY);
                        return new GilesPower(SNOPower.Witchdoctor_AcidCloud, 45f, new Vector3(vCurrentDestination.X, vCurrentDestination.Y, vCurrentDestination.Z + iThisHeight), iCurrentWorldID, -1, USE_COMBAT_ONLY, USE_INSTANTLY);
                    }
that did not work either, anyone have any ides on what i could do to get it to work?

<3 Giles!

This will make it work like a charm with acid cloud, put it right above the //zombie dogs ally

I take 0 credit for the code below this, giles made it which is why it works so good!

// Acid Cloud
if (!bBuffsOnly && !bAvoidanceEmergency && !playerStatus.bIsIncapacitated && hashPowerHotbarAbilities.Contains(SNOPower.Witchdoctor_AcidCloud) &&
DateTime.Now.Subtract(dictAbilityLastUse[SNOPower.Witchdoctor_AcidCloud]).TotalMilliseconds >= dictAbilityRepeatDelay[SNOPower.Witchdoctor_AcidCloud] &&
playerStatus.dCurrentEnergy >= 172 && playerStatus.dCurrentEnergyPct >= 0.5 && PowerManager.CanCast(SNOPower.Witchdoctor_AcidCloud))
{
return new GilesPower(SNOPower.Witchdoctor_AcidCloud, 40f, vCurrentDestination, iCurrentWorldID, -1, USE_COMBAT_ONLY, USE_SLOWLY);
}
 
Hey Giles any way to get the bot to use rend a lot more? My barbs are dying more than they used to.

Thanks!

Going to second this, Rend needs to be spammed a lot more. Actually with some Rend barb builds, there is no reason not to rend unless you are out of fury. This means rend should on higher priority than normal attacks should fury be available. WW barbs do not use rend at all, whereas Rend barbs usually do not use any other fury spenders, but if you want to be on the safe side with this, perhaps a checkbox to prioritize rend would do.
 
The goblins priority is set to increase by 5001 when setting is 2. Is it possible for any other unit's priority to exceed 5001? I would imagine the correct action is to lock on to goblin even if there are elites nearby or even if we are going to die we would still try to kill the treasure goblins.

Is there a way to lock onto the goblins?
 
This will make it work like a charm with acid cloud, put it right above the //zombie dogs ally

I take 0 credit for the code below this, giles made it which is why it works so good!

// Acid Cloud
if (!bBuffsOnly && !bAvoidanceEmergency && !playerStatus.bIsIncapacitated && hashPowerHotbarAbilities.Contains(SNOPower.Witchdoctor_AcidCloud) &&
DateTime.Now.Subtract(dictAbilityLastUse[SNOPower.Witchdoctor_AcidCloud]).TotalMilliseconds >= dictAbilityRepeatDelay[SNOPower.Witchdoctor_AcidCloud] &&
playerStatus.dCurrentEnergy >= 172 && playerStatus.dCurrentEnergyPct >= 0.5 && PowerManager.CanCast(SNOPower.Witchdoctor_AcidCloud))
{
return new GilesPower(SNOPower.Witchdoctor_AcidCloud, 40f, vCurrentDestination, iCurrentWorldID, -1, USE_COMBAT_ONLY, USE_SLOWLY);
}

did not work for me, i got an error.

Code:
[23:22:14.743 N] Compiler Error: e:\_Games_\Diablo 3\Demonbuddy\Plugins\GilesTrinity\GilesTrinity.cs(70,17) : warning CS0162: Unreachable code detected
[23:22:14.743 N] Compiler Error: e:\_Games_\Diablo 3\Demonbuddy\Plugins\GilesTrinity\GilesTrinity.cs(4658,129) : error CS1026: ) expected
[23:22:14.743 N] Compiler Error: e:\_Games_\Diablo 3\Demonbuddy\Plugins\GilesTrinity\GilesTrinity.cs(4658,143) : error CS1002: ; expected
[23:22:14.743 N] Compiler Error: e:\_Games_\Diablo 3\Demonbuddy\Plugins\GilesTrinity\GilesTrinity.cs(4658,143) : error CS1525: Invalid expression term ')'
[23:22:14.743 N] Compiler Error: e:\_Games_\Diablo 3\Demonbuddy\Plugins\GilesTrinity\GilesTrinity.cs(4660,131) : error CS1026: ) expected
[23:22:14.743 N] Compiler Error: e:\_Games_\Diablo 3\Demonbuddy\Plugins\GilesTrinity\GilesTrinity.cs(4660,132) : error CS1002: ; expected
[23:22:14.743 N] Compiler Error: e:\_Games_\Diablo 3\Demonbuddy\Plugins\GilesTrinity\GilesTrinity.cs(4660,132) : error CS1525: Invalid expression term ')'
[23:22:14.743 N] Compiler Error: e:\_Games_\Diablo 3\Demonbuddy\Plugins\GilesTrinity\GilesTrinity.cs(4660,133) : error CS1002: ; expected
[23:22:14.743 N] Compiler Error: e:\_Games_\Diablo 3\Demonbuddy\Plugins\GilesTrinity\GilesTrinity.cs(4660,133) : error CS1525: Invalid expression term ')'
[23:22:14.743 N] Compiler Error: e:\_Games_\Diablo 3\Demonbuddy\Plugins\GilesTrinity\GilesTrinity.cs(4660,134) : error CS1002: ; expected
[23:22:14.743 N] Compiler Error: e:\_Games_\Diablo 3\Demonbuddy\Plugins\GilesTrinity\GilesTrinity.cs(6686,36) : warning CS0162: Unreachable code detected
[23:22:14.743 N] Compiler Error: e:\_Games_\Diablo 3\Demonbuddy\Plugins\GilesTrinity\GilesTrinity.cs(6690,32) : warning CS0162: Unreachable code detected
[23:22:14.743 N] Compiler Error: e:\_Games_\Diablo 3\Demonbuddy\Plugins\GilesTrinity\GilesTrinity.cs(6746,40) : warning CS0162: Unreachable code detected
[23:22:14.743 N] Compiler Error: e:\_Games_\Diablo 3\Demonbuddy\Plugins\GilesTrinity\GilesTrinity.cs(7332,44) : warning CS0162: Unreachable code detected
[23:22:14.743 N] Compiler Error: e:\_Games_\Diablo 3\Demonbuddy\Plugins\GilesTrinity\GilesTrinity.cs(7342,44) : warning CS0162: Unreachable code detected
[23:22:14.743 N] Compiler Error: e:\_Games_\Diablo 3\Demonbuddy\Plugins\GilesTrinity\GilesTrinity.cs(7384,32) : warning CS0162: Unreachable code detected
[23:22:14.743 N] Compiler Error: e:\_Games_\Diablo 3\Demonbuddy\Plugins\GilesTrinity\GilesTrinity.cs(7538,32) : warning CS0162: Unreachable code detected
[23:22:14.743 N] Compiler Error: e:\_Games_\Diablo 3\Demonbuddy\Plugins\GilesTrinity\GilesTrinity.cs(7539,32) : warning CS0162: Unreachable code detected
 
Going to second this, Rend needs to be spammed a lot more. Actually with some Rend barb builds, there is no reason not to rend unless you are out of fury. This means rend should on higher priority than normal attacks should fury be available. WW barbs do not use rend at all, whereas Rend barbs usually do not use any other fury spenders, but if you want to be on the safe side with this, perhaps a checkbox to prioritize rend would do.

Open the .cs file. Do a search for Rend. Change the number next to it from 4700 to something lower (I use 2000) meaning refresh rend every 2 sec.
 
Status
Not open for further replies.
Back
Top