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

derekcui

New Member
Joined
Oct 18, 2015
Messages
7
Reaction score
0
The original combat routine is wonderful enough for 2.4 DMO wizard

but there is a small problem, arcane orb won't explode when bot is using spectral blade too faraway.

so I added one sentence make sure that arcane orb will explode.


Code:
            // Spectral Blade
            if (CanCast(SNOPower.Wizard_SpectralBlade) [COLOR="#FF0000"]&& CurrentTarget.Distance <= 8[/COLOR] )
            {
                var bladeRange = Runes.Wizard.ArcaneOrbit.IsActive ? 8f : 15f;
                return new TrinityPower(SNOPower.Wizard_SpectralBlade, bladeRange, CurrentTarget.ACDGuid);
            }

The red part is the sentence I added. It works well.


and you should delete
Code:
            // Lets make sure we move within range if we're DMO wiz and our orbs are up
            if (isDMOWiz && TimeSincePowerUse(SNOPower.Wizard_ArcaneOrb) <= 2000)
            {
                MoveToOrbitPoint(Enemies.BestCluster);
            }
this sentence make bot walk around the cluster, it's not efficiency
 
Its pretty easy to find. Just open the DemonBuddy folder then enter Plugins > Trinity > Combat > Abilities. Then you'll see all the Combat Routines for all classes. Then you just right click on the one you want to open and edited the few lines needed. Trying this as am writing this. And it seems like its working perfect for me ;)
 
Dude, thank you a lot. DMO works much, much better now. I went from doing GR70 in 13-17 minutes to steadily doing it in 10-13.
 
My arcane orb is on every 10 seconds and my Demon Buddy is close every time if i play betwen 50-60 grifts why that
 
I tired those settings in the file and I got this

Demonbuddy v1.1.2923.454 started
Logging in...
T: 5247595185818718774 H: 719602226
Attached to Diablo III with pid: 9520
Flashing window
Compiler Error: c:\Users\\Documents\Demonbuddy\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(122,14) : error CS1519: Invalid token '*' in class, struct, or interface member declaration
Compiler Error: c:\Users\\Documents\Demonbuddy\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(125,17) : error CS1520: Method must have a return type
Compiler Error: c:\Users\\Documents\Demonbuddy\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(125,34) : error CS1002: ; expected
Compiler Error: c:\Users\\Documents\Demonbuddy\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(130,17) : error CS1519: Invalid token 'return' in class, struct, or interface member declaration
Compiler Error: c:\Users\\Documents\Demonbuddy\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(130,28) : error CS1520: Method must have a return type
Compiler Error: c:\Users\\Documents\Demonbuddy\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(130,65) : error CS1001: Identifier expected
Compiler Error: c:\Users\\Documents\Demonbuddy\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(130,67) : error CS1031: Type expected
Compiler Error: c:\Users\\Documents\Demonbuddy\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(130,95) : error CS1519: Invalid token ')' in class, struct, or interface member declaration
Compiler Error: c:\Users\\Documents\Demonbuddy\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(134,13) : error CS0116: A namespace cannot directly contain members such as fields or methods
Compiler Error: c:\Users\\Documents\Demonbuddy\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(140,28) : error CS1518: Expected class, delegate, enum, interface, or struct
Compiler Error: c:\Users\\Documents\Demonbuddy\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(144,13) : error CS0116: A namespace cannot directly contain members such as fields or methods
Compiler Error: c:\Users\\Documents\Demonbuddy\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(146,28) : error CS1518: Expected class, delegate, enum, interface, or struct
Compiler Error: c:\Users\\Documents\Demonbuddy\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(147,13) : error CS1022: Type or namespace definition, or end-of-file expected
[Adventurer] (1.3.4.18) initialized.
[Adventurer] Plugin is up-to-date.
[Adventurer] (1.3.4.18) enabled.
[Arcanum] Arcanum v1.1.3 by xzjv Enabled!
Current bot set to Order Bot
Loaded profile Adventurer - Greater Rift
 
You probably goofed. Make the first part look like this:

Code:
// Spectral Blade
// if (CanCast(SNOPower.Wizard_SpectralBlade))
if (CanCast(SNOPower.Wizard_SpectralBlade) && CurrentTarget.Distance <= 8 )
{
   var bladeRange = Runes.Wizard.ArcaneOrbit.IsActive ? 4f : 15f;
   return new TrinityPower(SNOPower.Wizard_SpectralBlade, bladeRange, CurrentTarget.ACDGuid);
}

And the second part like this:

Code:
// Lets make sure we move within range if we're DMO wiz and our orbs are up
// if (isDMOWiz && TimeSincePowerUse(SNOPower.Wizard_ArcaneOrb) <= 2000)
// {
//    MoveToOrbitPoint(Enemies.BestCluster);
// }

You may have accidentally commented something out (or left something commented in.)
 
You probably goofed. Make the first part look like this:

Code:
// Spectral Blade
// if (CanCast(SNOPower.Wizard_SpectralBlade))
if (CanCast(SNOPower.Wizard_SpectralBlade) && CurrentTarget.Distance <= 8 )
{
   var bladeRange = Runes.Wizard.ArcaneOrbit.IsActive ? 4f : 15f;
   return new TrinityPower(SNOPower.Wizard_SpectralBlade, bladeRange, CurrentTarget.ACDGuid);
}

And the second part like this:

Code:
// Lets make sure we move within range if we're DMO wiz and our orbs are up
// if (isDMOWiz && TimeSincePowerUse(SNOPower.Wizard_ArcaneOrb) <= 2000)
// {
//    MoveToOrbitPoint(Enemies.BestCluster);
// }

You may have accidentally commented something out (or left something commented in.)
So, its not very clear and I did what you posted but it gets errors compiling like the guy above stated. What exactly am I supposed to replace in this

/*// Lets make sure we move within range if we're DMO wiz and our orbs are up
if (IsDmoWiz && TimeSincePowerUse(SNOPower.Wizard_ArcaneOrb) <= 2000 && GetBuffStacks(SNOPower.Wizard_Passive_ArcaneDynamo) < 1)
{
var clusterPoint = Player.ParticipatingInTieredLootRun
? Enemies.BestRiftValueCluster
: Enemies.BestCluster;
MoveToOrbitPoint(clusterPoint);
}*/

I've tried just replacing before the var clusterpoint... with what you posted and then i've complete deleted out the rest until the close and it doesn't compile. Maybe just upload your file so we don't have to mess with code? I'm pretty dumb lol

This is what DB is saying-
Flashing window
Compiler Error: \Wizard\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(121,12) : error CS1035: End-of-file found, '*/' expected
Compiler Error: \Wizard\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(119,57) : error CS1513: } expected
Compiler Error: \Wizard\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(119,57) : error CS1513: } expected
Compiler Error: \Wizard\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(119,57) : error CS1513: } expected
[Adventurer] (1.3.4.18) initialized.
 
Last edited:
From what i know and can see this was fixed some time ago - just use normal trinity. This "fix" even came after is was already fixed in newest trinity
 
I agree. It most likely isn't worth the trouble - jubisman pointed out in another thread (that linked to this one) that the differences should not have mattered.
 
You probably goofed. Make the first part look like this:

Code:
// Spectral Blade
// if (CanCast(SNOPower.Wizard_SpectralBlade))
if (CanCast(SNOPower.Wizard_SpectralBlade) && CurrentTarget.Distance <= 8 )
{
   var bladeRange = Runes.Wizard.ArcaneOrbit.IsActive ? 4f : 15f;
   return new TrinityPower(SNOPower.Wizard_SpectralBlade, bladeRange, CurrentTarget.ACDGuid);
}

And the second part like this:

Code:
// Lets make sure we move within range if we're DMO wiz and our orbs are up
// if (isDMOWiz && TimeSincePowerUse(SNOPower.Wizard_ArcaneOrb) <= 2000)
// {
//    MoveToOrbitPoint(Enemies.BestCluster);
// }

You may have accidentally commented something out (or left something commented in.)

big thanks, now working perfect!
 
Hello

How do I make this work?

My Trinity WizardCombat.cs looks like this:

Code:
            // Spectral Blade
            if (CanCast(SNOPower.Wizard_SpectralBlade))
            {
                var bladeTarget = IsDmoWiz ? TargetUtil.GetClosestUnit() : CurrentTarget;
                var bladeRange = Runes.Wizard.ArcaneOrbit.IsActive ? 4f : 15f;
                if (bladeTarget != null)
                    return new TrinityPower(SNOPower.Wizard_SpectralBlade, bladeRange, bladeTarget.ACDGuid);
            }

and this

Code:
            /*// Lets make sure we move within range if we're DMO wiz and our orbs are up
            if (IsDmoWiz && TimeSincePowerUse(SNOPower.Wizard_ArcaneOrb) <= 2000 && GetBuffStacks(SNOPower.Wizard_Passive_ArcaneDynamo) < 1)
            {
                var clusterPoint = Player.ParticipatingInTieredLootRun
                    ? Enemies.BestRiftValueCluster
                    : Enemies.BestCluster;
                MoveToOrbitPoint(clusterPoint);
            }*/

Which is quite different from your examples.
I tried adding parenthesis and tried a few other things but it seems that it's coded differently now
I keep getting

Code:
Demonbuddy v1.1.3010.460 started
Logging in...
T: 5247624414942725611 H: 2884361576
Attached to Diablo III with pid: 77551
Flashing window
Compiler Error: C:\Users\User2\Desktop\dbA\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(469,39) : error CS1526: A new expression requires (), [], or {} after type
Compiler Error: C:\Users\User2\Desktop\dbA\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(470,28) : error CS1026: ) expected
Compiler Error: C:\Users\User2\Desktop\dbA\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(470,28) : error CS1002: ; expected
Compiler Error: C:\Users\User2\Desktop\dbA\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(470,28) : error CS1513: } expected
Compiler Error: C:\Users\User2\Desktop\dbA\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(470,45) : error CS1002: ; expected
Compiler Error: C:\Users\User2\Desktop\dbA\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(470,45) : error CS1513: } expected
Compiler Error: C:\Users\User2\Desktop\dbA\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(470,68) : error CS1002: ; expected
Compiler Error: C:\Users\User2\Desktop\dbA\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(470,68) : error CS1513: } expected
Compiler Error: C:\Users\User2\Desktop\dbA\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(474,50) : error CS1525: Invalid expression term '&&'
Compiler Error: C:\Users\User2\Desktop\dbA\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(474,81) : error CS1002: ; expected
Compiler Error: C:\Users\User2\Desktop\dbA\Plugins\Trinity\Combat\Abilities\WizardCombat.cs(474,81) : error CS1513: } expected
[Adventurer] (1.3.4.21) initialized.
[Adventurer] (1.3.4.21) enabled.
Current bot set to Order Bot
Loaded profile Adventurer - Greater Rift
[Adventurer] Plugin is up-to-date.




Can someone share ZE secret, please?
 
I don't understand, my DB buddy say me "You need load Combat Routines" I go to the Forum for Download any C-R and all thread don't give a link for C-R, what the hell this bot not intuitive xD
 
I don't understand, my DB buddy say me "You need load Combat Routines" I go to the Forum for Download any C-R and all thread don't give a link for C-R, what the hell this bot not intuitive xD
it is because that the version of combat routine and trinity must match each other,this CR is too old now, it wont work anymore. sorry for that.
 
Back
Top