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

Trinity 1.9.1 & QuestTools 2.0

Status
Not open for further replies.
Totally fresh install with 1.9.1 but still getting the output for Barbarian. If there is an easy fix I'm open and can edit .cs files.

Smitie

Exception when terminating bot thread. System.NullReferenceException: Object reference not set to an instance of an object.
at Trinity.Combat.Abilities.BarbarianCombat.get_PowerFrenzy() in c:\YAR\DBv094\Plugins\Trinity\Combat\Abilities\BarbarianCombat.cs:line 736
at Trinity.Combat.Abilities.BarbarianCombat.GetPower() in c:\YAR\DBv094\Plugins\Trinity\Combat\Abilities\BarbarianCombat.cs:line 30
at Trinity.Trinity.AbilitySelector(Boolean IsCurrentlyAvoiding, Boolean UseOOCBuff, Boolean UseDestructiblePower) in c:\YAR\DBv094\Plugins\Trinity\Combat\AbilitySelector.cs:line 94
at Trinity.Trinity.TargetCheck(Object ret) in c:\YAR\DBv094\Plugins\Trinity\Combat\TargetCheck.cs:line 170
at Trinity.Trinity.<ReplaceTreeHooks>b__13b(Object ctx) in c:\YAR\DBv094\Plugins\Trinity\Helpers\BotManager.cs:line 23
at Zeta.TreeSharp.Decorator.CanRun(Object context)
at Zeta.TreeSharp.Decorator..()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.TreeSharp.PrioritySelector..()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.Common.HookExecutor.Run(Object context)
at Zeta.TreeSharp.Action.RunAction(Object context)
at Zeta.TreeSharp.Action..()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.TreeSharp.PrioritySelector..()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.Bot.BotMain.()

I get the same error. When it throws, seems to cause the combat thread to bugger up (Barb disengages current targets).

You can stop the error by commenting out lines 29 and 30 of Plugins\Trinity\Combat\Abilities\BarbarianCombat.cs. This wont fix it so the new Frenzy functionality works (it disables it, and thus the error), a proper fix will need to wait for rrrix.

eg.
Code:
            // Refresh Frenzy
//            if (IsNull(power) && CanCast(SNOPower.Barbarian_Frenzy) && TimeSincePowerUse(SNOPower.Barbarian_Frenzy) > 3000 && TimeSincePowerUse(SNOPower.Barbarian_Frenzy) < 4000)
//                power = PowerFrenzy;
 
I am using latest beta DB, latest Trinity, latest QuestTools.

Completely fresh install of everything into a new folder.

However, sometimes when DB zones into the area *before* Izual or Diablo, it stops moving. It says SafeMoveTo failed.

Also a suggestion for 'avoidance' in Trinity, can we please have a toggle to kite Mallet Lords? These things hit like a truck.
 
DB still crashes when I try to go into trinity settings for a second time. This has been a consistent problem since RoS release. Tried fresh installs and updating .net etc.
 
I have been having tons and tons of problems with trinity in the past three weeks. Each release seems to come with more problems. I have fresh installed demon buddy three to four days a week and each day sometimes multiple times. Have tried both release and beta. Happens in a LOT of places. when using trinity 1.8.25 I had zero problems. Every release I give it a run for two nights using a bounty profile for act 4 and I got approximately 1/3 of the usual shards. Reverting back to 1.8.25 - good news is it only takes me 30 seconds to reset everything back to my preferences!

Bot ports to cemetary of the forsaken
"Using Waypoint Waypoint-123 Number:7
Looking for Warden
[Logger] TrinityMoveTo is depreciated. Use MoveTo or SafeMoveTo instead."

Log file attached.

E: Reverted to 1.8.25

What could be causing this issue?
 

Attachments

Last edited:
Hello rrrix, I tested here and is really quite impossible to bot. Believe to be a performance problem. The D3 client keeps closing. I tested with DB Beta 405 and Trinity 1.9.1, when the client does not close, is simply disconnected. Until the trinity .27, there were no problems like this, after .27 began several problems here for me, increased CPU usage, spikes very strong and disconnects. I'm going back to the trinity .27 now. At least until we're sure that the problem has been solved, the bad is that I have to do just Ghom.

I wonder if the problem is DB or Trinity? Here are my logs:

View attachment 1452 2014-05-06 18.06.zip


Regarding specific Disconnects That sometimes happen after the run (example, kill Ghom), I realized that the bot opens the waypoint to do the run again, it's crazy had never seen it. As if he had not memorized it already did that, and he tries to go but the DB or Trinity tries to leave the current game, and the disconnect happens. This would be a problem in profile, db or trinity?

Thanks
 
Last edited:
1.9.1 is causing problems for the majority of profiles I run. I had to delete DB and fresh install everything which at least fixed the problem of the profiles to not even start (i.e. standing/not moving around at base). But now the remaining problem is the red ticks that cause my barb to either stop moving or attacking (the quote below describes the problem) - e.g. using the Musketeer profile to kill Ghom, my character stands where Ghom dies and does not move/TP and the gold inactivity timer times out - the moment the problem begins (the quote below again, appears and just spams that to infinity in the log).

Code:
Exception when terminating bot thread. System.NullReferenceException: Object reference not set to an instance of an object.
at Trinity.Combat.Abilities.BarbarianCombat.get_Power Frenzy() in c:\YAR\DBv094\Plugins\Trinity\Combat\Abilities\Bar barianCombat.cs:line 736
at Trinity.Combat.Abilities.BarbarianCombat.GetPower( ) in c:\YAR\DBv094\Plugins\Trinity\Combat\Abilities\Bar barianCombat.cs:line 30
at Trinity.Trinity.AbilitySelector(Boolean IsCurrentlyAvoiding, Boolean UseOOCBuff, Boolean UseDestructiblePower) in c:\YAR\DBv094\Plugins\Trinity\Combat\AbilitySelect or.cs:line 94
at Trinity.Trinity.TargetCheck(Object ret) in c:\YAR\DBv094\Plugins\Trinity\Combat\TargetCheck.c s:line 170
at Trinity.Trinity.<ReplaceTreeHooks>b__13b(Object ctx) in c:\YAR\DBv094\Plugins\Trinity\Helpers\BotManager.c s:line 23
at Zeta.TreeSharp.Decorator.CanRun(Object context)
at Zeta.TreeSharp.Decorator..()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.TreeSharp.PrioritySelector..()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.Common.HookExecutor.Run(Object context)
at Zeta.TreeSharp.Action.RunAction(Object context)
at Zeta.TreeSharp.Action..()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.TreeSharp.PrioritySelector..()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.Bot.BotMain.()
 
Last edited:
bugged so much

Failed to load profile: Element MoveToActor is not supported. Please check your XML and try again. (<MoveToActor questId="1" stepId="1" actorId="161277" x="430" y="841" z="1" isPortal="True" destinationWorldId="103209" interactRange="20" />) Line 24
System.Exception: Element MoveToActor is not supported. Please check your XML and try again. (<MoveToActor questId="1" stepId="1" actorId="161277" x="430" y="841" z="1" isPortal="True" destinationWorldId="103209" interactRange="20" />) Line 24
at ƒ..(PropertyInfo , XElement , Object )
at Zeta.XmlEngine.XmlEngine.Load(Object obj, XElement element)
at ƒ..(XElement , Type )
at ƒ...(XElement )
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at ƒ..(XElement , PropertyInfo )
at ƒ..(PropertyInfo , XElement , Object )
at Zeta.XmlEngine.XmlEngine.Load(Object obj, XElement element)
at Zeta.Bot.Profile.Profile.Load(XElement element, String path)
at Zeta.Bot.Profile.Profile.Load(String path)
at Zeta.Bot.ProfileManager.Load(String profilePath, Boolean rememberPath)
 
Seeing these red errors on my Barb.
Code:
Exception when terminating bot thread. System.NullReferenceException: Object reference not set to an instance of an object.
   at Trinity.Combat.Abilities.BarbarianCombat.get_PowerFrenzy()
   at Trinity.Combat.Abilities.BarbarianCombat.GetPower()
   at Trinity.Trinity.AbilitySelector(Boolean IsCurrentlyAvoiding, Boolean UseOOCBuff, Boolean UseDestructiblePower)
   at Trinity.Trinity.TargetCheck(Object ret)
   at Trinity.Trinity.<ReplaceTreeHooks>b__13b(Object ctx)
   at Zeta.TreeSharp.Decorator.CanRun(Object context)
   at Zeta.TreeSharp.Decorator..()
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..()
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.Common.HookExecutor.Run(Object context)
   at Zeta.TreeSharp.Action.RunAction(Object context)
   at Zeta.TreeSharp.Action..()
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..()
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.Bot.BotMain.()
 
On my barb running bounties:

Code:
Exception when terminating bot thread. System.NullReferenceException: Object reference not set to an instance of an object.
   at Trinity.Combat.Abilities.BarbarianCombat.get_PowerFrenzy() in d:\Games\DemonBuddy\Plugins\Trinity\Combat\Abilities\BarbarianCombat.cs:line 736
   at Trinity.Combat.Abilities.BarbarianCombat.GetPower() in d:\Games\DemonBuddy\Plugins\Trinity\Combat\Abilities\BarbarianCombat.cs:line 30
   at Trinity.Trinity.AbilitySelector(Boolean IsCurrentlyAvoiding, Boolean UseOOCBuff, Boolean UseDestructiblePower) in d:\Games\DemonBuddy\Plugins\Trinity\Combat\AbilitySelector.cs:line 94
   at Trinity.Trinity.TargetCheck(Object ret) in d:\Games\DemonBuddy\Plugins\Trinity\Combat\TargetCheck.cs:line 170
   at Trinity.Trinity.<ReplaceTreeHooks>b__13b(Object ctx) in d:\Games\DemonBuddy\Plugins\Trinity\Helpers\BotManager.cs:line 23
   at Zeta.TreeSharp.Decorator.CanRun(Object context)
   at Zeta.TreeSharp.Decorator..()
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..()
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.Common.HookExecutor.Run(Object context)
   at Zeta.TreeSharp.Action.RunAction(Object context)
   at Zeta.TreeSharp.Action..()
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..()
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.Bot.BotMain.()

And sometimes bot stucks: running left-right etc. Unstuck system doesnt work/help. Only pressing stop/start can solve this issue.
 
Last edited:
Seeing this when running profiles:

Code:
Compiler Error: \Routines\Trinity\TrinityRoutine.cs(14,18) : error CS0101: The namespace 'TrinityRoutine' already contains a definition for 'TrinityRoutine'
 
1. Barbarian earthquake doesnt work correctly (especially on Ghom).
2. Looks like "wait delay after opening containers" doesnt work. 500, 1000 or even 1500 values - it doesnt matter. Sometimes he opens chest (even cursed) and runs away (not killing quest mobs). Sometimes after killing those mobs bot runs away and doesnt open reward chests. Sometimes even after opening chests he runs away and doesnt pick up drops. Increasing value "Wait for loot drop - Delay after kills" not helping.
3. Bounties, act 4 - if Berserker isnt on cd and there is some "Destructible" around - he is using Berserker to destroy it (what for?).
 
Last edited:
Seems to have quite a lot of issues with Barbs. Also, it does not seems to pick up gems and rares as often. Using run like the wind out of combat although was assigned in combat only.

Wiz BOT seems to focus on the bounties such as killing Elites. It does not care much for the normal mobs and was killed by them repeatedly. Seems like not working well with Bounty updates.
 
Last edited:
And still closing the client, over and over and over and over again.. The latter had not happened that this problem was trinity .27.

View attachment 4912 2014-05-07 10.30.zip

rrrix, I keep posting this problem here or is it problem in demonbuddy? (If the problem is in demonbuddy, I'll post in support session). I need attention, because I am not able to run the bot quiet for more than 2 hours.

Sorry for my english, thanks.
 
Last edited:
I get the same error. When it throws, seems to cause the combat thread to bugger up (Barb disengages current targets).

You can stop the error by commenting out lines 29 and 30 of Plugins\Trinity\Combat\Abilities\BarbarianCombat.cs. This wont fix it so the new Frenzy functionality works (it disables it, and thus the error), a proper fix will need to wait for rrrix.

eg.
Code:
            // Refresh Frenzy
//            if (IsNull(power) && CanCast(SNOPower.Barbarian_Frenzy) && TimeSincePowerUse(SNOPower.Barbarian_Frenzy) > 3000 && TimeSincePowerUse(SNOPower.Barbarian_Frenzy) < 4000)
//                power = PowerFrenzy;


Doing this removes the get_PowerFrenzy() null pointer error that all barbarians are having.
I did this, and my bot improved from laggy and horrible to running PERFECTLY.

No more lag, no standing still, no randomly attacking into the air when no mobs are nearby, it just runs smoothly.

Highly recommended to remove/comment those lines.

Big thanks for figuring that out mpgovr.
 
And still closing the client, over and over and over and over again.. The latter had not happened that this problem was trinity .27.

View attachment 128047

rrrix, I keep posting this problem here or is it problem in demonbuddy? (If the problem is in demonbuddy, I'll post in support session). I need attention, because I am not able to run the bot quiet for more than 2 hours.

Sorry for my english, thanks.

It looks like it's crashing while clicking UI elements. I've added some additional checks to only click once per tick and check for valid scenarios before clicking. I can't reproduce this myself, so, I haven no idea if it will work.
 
I was wondering if this was a problem with the trinity .. When I am running GHOM I get this error after my bot kills him
[Logger] TrinityMoveTo is depreciated. Use MoveTo or SafeMoveTo instead.

My bot wont move afterwards or exit the game ... any idea on how to fix this?
 
I was wondering if this was a problem with the trinity .. When I am running GHOM I get this error after my bot kills him
[Logger] TrinityMoveTo is depreciated. Use MoveTo or SafeMoveTo instead.

My bot wont move afterwards or exit the game ... any idea on how to fix this?

[Logger] TrinityMoveTo is depreciated. Use MoveTo or SafeMoveTo instead. <-- your answer
 
Status
Not open for further replies.
Back
Top