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

Trinity 1.8.19

Status
Not open for further replies.
The 2nd part isn't needed. DateTime.UtcNow.Subtract(DateTime.MinValue) will be more than 30 seconds :)

It was actually the "<" - should have been ">" as you also put it - already updated on svn.
Well, yeah, i supposed so, but was too lazy to check, so added both conditions. You write really great code that's easy to understand.
 
They are used to enter a game on a certain quest ID and step. If you had that step/quest available in Campaign, there would be no error. But since you don't it throws an error. And since it's adventure mode, those variables are basically irrelevant.
Deleting them is the equivalent of setting them both to "-1", because they aren't needed for adventure mode.

Ah ok. Well, I deleted them and reloaded the profile. Can't thank you enough for all the help you've given me the past 2 days.
 
Something wrong with Frozen Orb in my wizard, he keeps targeting the ground, and flooding(to the ground) frozen orbs when no mobs is around.
I can't shoot frozen orb to the ground, is something that trinity or the bot is doing. And I even don't know why.
 
Hi,

This only started happening since .19 with the caching update. It is still occurring in .20

[Trinity][Performance] Execution of the block RefreshDiaObject.MainObjectType took 1172.63ms.
[Trinity][Performance] Execution of the block CacheManagement.RefreshCacheMainLoop took 1178.38ms.
[Trinity][Performance] Execution of the block RefreshDiaObjectCache.UpdateBlock took 1182.94ms.
[Trinity][Performance] Execution of the block RefreshDiaObjectCache took 1184.73ms.
[Trinity][Performance] Execution of the block HandleTarget.CheckForNewTarget took 1189.44ms.
[Trinity][Performance] Execution of the block HandleTarget took 1238.55ms.
[Trinity][Performance] Execution of the block RefreshDiaObject.MainObjectType took 1170.63ms.
[Trinity][Performance] Execution of the block CacheManagement.RefreshCacheMainLoop took 1310.47ms.
[Trinity][Performance] Execution of the block RefreshDiaObjectCache.UpdateBlock took 1314.88ms.
[Trinity][Performance] Execution of the block RefreshDiaObjectCache took 2061.36ms.
[Trinity][Performance] Execution of the block HandleTarget.CheckForNewTarget took 2061.85ms.
[Trinity][Performance] Execution of the block HandleTarget took 2438.94ms.
[Trinity][Performance] Execution of the block RefreshDiaObject.MainObjectType took 1171.50ms.
[Trinity][Performance] Execution of the block CacheManagement.RefreshCacheMainLoop took 1251.06ms.
[Trinity][Performance] Execution of the block RefreshDiaObjectCache.UpdateBlock took 1255.60ms.
[Trinity][Performance] Execution of the block RefreshDiaObjectCache took 1256.44ms.
[Trinity][Performance] Execution of the block HandleTarget.CheckForNewTarget took 1257.30ms.
[Trinity][Performance] Execution of the block HandleTarget took 1324.58ms.
[Trinity][Performance] Execution of the block RefreshDiaObject.MainObjectType took 1172.19ms.
[Trinity][Performance] Execution of the block CacheManagement.RefreshCacheMainLoop took 1183.27ms.
[Trinity][Performance] Execution of the block RefreshDiaObjectCache.UpdateBlock took 1187.71ms.
[Trinity][Performance] Execution of the block RefreshDiaObjectCache took 1188.74ms.
[Trinity][Performance] Execution of the block HandleTarget.CheckForNewTarget took 1189.08ms.
[Trinity][Performance] Execution of the block HandleTarget took 1290.24ms.

Is anyone else having this problem? And should I post full logs (the one specified in first post)?
 
The 2nd part isn't needed. DateTime.UtcNow.Subtract(DateTime.MinValue) will be more than 30 seconds :)

It was actually the "<" - should have been ">" as you also put it - already updated on svn.

Cheers! I updated through SVN and potions are working again.
Thanks for the support, your work makes demonbuddy worth using.
 
Attach a log file like he requested if you have problems.

I seriously hope that he makes this a paid plugin to cut out all the fucking non grateful pieces of shit that do nothing but bitch and moan about XYZ not working. We would NOT be botting if it weren't for this plugin and combat routine.

Don't like it....MAKE ONE YOURSELF!

If it was a paid plugin, most people would buy it. You'd also be seeing a lot more posts with a lot more questions. ^posting that is worst than asking a question^
 
It would be nice if trinity can force spam akarat's champion once you get 6-set bonus of akkhan.

btw, if i manually change codes below found in crusadercombat.cs

from

private static bool CanCastAkaratsChampion()
{
return CombatBase.CanCast(SNOPower.X1_Crusader_AkaratsChampion) && (TargetUtil.EliteOrTrashInRange(16f) || Player.CurrentHealthPct <= 0.25);
}

to

private static bool CanCastAkaratsChampion()
{
return CombatBase.CanCast(SNOPower.X1_Crusader_AkaratsChampion);
}

will it just do spamming whenever possible?
 
Last edited:
Issue with .20 (Witch Doc)

Also please force WD's to use Firebats on Corrupt Growth (Act IV Monsters that hide Portals).. Anyone using corpse spiders or any form of pet ability literally has to spend 30 seconds killing one because pets do not attack them. Currently the WD will 50% of the time try and attack from too far away causing it to ignore firebats and use something else... Simply forcing combat range on these monsters to something like 10 would fix this issue.

Code:
[Trinity] Error while refreshing DiaObject ActorSNO: 103215 Name: WD_ZombieDogRune_fire-14945 Type: Monster Distance: 4 
[Trinity] System.Exception: Only part of a ReadProcessMemory or WriteProcessMemory request was completed, at addr: 00000058, Size: 4
   at GreyMagic.ExternalProcessMemory.ReadByteBuffer(IntPtr addr, Void* buffer, Int32 count)
   at GreyMagic.MemoryBase.Read[T](IntPtr addr)
   at Zeta.Game.Internals.FastAttribGroupsEntry.GetAttribute[T](Int32 attribute)
   at Zeta.Game.Internals.Actors.ACD.GetAttribute[T](Int32 attribute)
   at Zeta.Game.Internals.Actors.ACD.GetAttribute[T](ActorAttributeType attributeType)
   at Zeta.Game.Internals.Actors.DiaUnit.get_SummonedByACDId()
   at Trinity.Trinity.RefreshStepCachedSummons(Boolean AddToCache) in c:\DB\Plugins\Trinity\Cache\RefreshUnit.cs:line 546
   at Trinity.Trinity.CacheDiaObject(DiaObject freshObject) in c:\DB\Plugins\Trinity\Cache\RefreshObject.cs:line 163
   at Trinity.Trinity.RefreshCacheMainLoop() in c:\DB\Plugins\Trinity\Cache\RefreshObjects.cs:line 351
[Trinity] Clicking UI element Bounty Reward Dialog (997699584)
[Trinity][Behavior] System.Exception: Only part of a ReadProcessMemory or WriteProcessMemory request was completed, at addr: 00000000, Size: 416
   at GreyMagic.ExternalProcessMemory.ReadByteBuffer(IntPtr addr, Void* buffer, Int32 count)
   at GreyMagic.MemoryBase.Read[T](IntPtr addr)
   at Zeta.Game.Internals.Actors.ActorMovement.()
   at Zeta.Game.Internals.Actors.ActorMovement.get_IsMoving()
   at Trinity.Trinity.<GetWitchDoctorPower>b__124(TrinityCacheObject u) in c:\DB\Plugins\Trinity\Combat\Abilities\WitchDoctor.cs:line 363
   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
   at Trinity.Trinity.GetWitchDoctorPower(Boolean IsCurrentlyAvoiding, Boolean UseOOCBuff, Boolean UseDestructiblePower) in c:\DB\Plugins\Trinity\Combat\Abilities\WitchDoctor.cs:line 362
   at Trinity.Trinity.AbilitySelector(Boolean IsCurrentlyAvoiding, Boolean UseOOCBuff, Boolean UseDestructiblePower) in c:\DB\Plugins\Trinity\Combat\AbilitySelector.cs:line 147
   at Trinity.Trinity.AssignMonsterTargetPower() in c:\DB\Plugins\Trinity\Combat\HandleTarget.cs:line 1006
   at Trinity.Trinity.HandleTarget(Object ret) in c:\DB\Plugins\Trinity\Combat\HandleTarget.cs:line 270
 
Bot log out when bounty (not all bountys, only first 1) over and re-enter again and again and again doing that by Trinity. Please dont ask me logs cuz I think u no need :) Only words "[Trinity] New Game - resetting everything" after 1 bounty finished.
 
town run problems

[Trinity] TownRun complete
[Trinity] No more space to pickup a 2-slot item, town-run requested at next free moment.
[Trinity] Waiting for town run timer (Target Check)
[Trinity] No more space to pickup a 2-slot item, now running town-run routine.
[Trinity] TownRun complete
[Trinity] No more space to pickup a 2-slot item, town-run requested at next free moment.
[Trinity] No more space to pickup a 2-slot item, town-run requested at next free moment.
[Trinity] No more space to pickup a 2-slot item, town-run requested at next free moment.
[Trinity] No more space to pickup a 2-slot item, town-run requested at next free moment.
[Trinity] No more space to pickup a 2-slot item, town-run requested at next free moment.
[Trinity] Waiting for town run timer (Target Check)
[Trinity] TownRun complete
[Trinity] No more space to pickup a 2-slot item, town-run requested at next free moment.
[Trinity] No more space to pickup a 2-slot item, town-run requested at next free moment.
[Trinity] No more space to pickup a 2-slot item, now running town-run routine.
[Trinity] Waiting for town run timer (Target Check)
[Trinity] TownRun complete
[Trinity] No more space to pickup a 2-slot item, town-run requested at next free moment.
[Trinity] No more space to pickup a 2-slot item, town-run requested at next free moment.
[Trinity] No more space to pickup a 2-slot item, town-run requested at next free moment.
[Trinity] No more space to pickup a 2-slot item, town-run requested at next free moment.
[Trinity] No more space to pickup a 2-slot item, town-run requested at next free moment.
[Trinity] Waiting for town run timer (Target Check)
[Trinity] No more space to pickup a 2-slot item, now running town-run routine.
[Trinity] TownRun complete
[Trinity] No more space to pickup a 2-slot item, town-run requested at next free moment.
[Trinity] No more space to pickup a 2-slot item, town-run requested at next free moment.
[Trinity] No more space to pickup a 2-slot item, town-run requested at next free moment.
[Trinity] No more space to pickup a 2-slot item, town-run requested at next free moment.
[Trinity] No more space to pickup a 2-slot item, town-run requested at next free moment.
[Trinity] No more space to pickup a 2-slot item, town-run requested at next free moment.
[Trinity] Waiting for town run timer (Target Check)
[Trinity] TownRun complete
He doesn't go to town but stays in the game and freaks out
 
hmmm new versions of trinities are performing not as well as past versions... I think I'm gon stick with 17.
 
Edit: Wrong thread.

Delete post button does not work for me.
 
Last edited:
On certain levels like Hell Rift 1/2 the log gets spammed with this error to such a degree that the game drops to 1fps and the bot does not know what to do until I stop stop the bot.

Code:
Exception when terminating bot thread. System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Generic.Dictionary`2.Resize(Int32 newSize, Boolean forceNewHashCodes)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
   at Trinity.NavHelper.FindSafeZone(Vector3 origin, Boolean shouldKite, Boolean isStuck, IEnumerable`1 monsterList, Boolean avoidDeath)
   at Trinity.NavHelper.FindSafeZone(Boolean isStuck, Int32 stuckAttempts, Vector3 dangerPoint, Boolean shouldKite, IEnumerable`1 monsterList, Boolean avoidDeath)
   at Trinity.Trinity.RefreshSetKiting(Vector3& vKitePointAvoid, Boolean NeedToKite, Boolean& TryToKite)
   at Trinity.Trinity.RefreshDiaObjectCache(Boolean forceUpdate)
   at Trinity.Trinity.TargetCheck(Object ret)
   at Trinity.Trinity.<ReplaceTreeHooks>b__152(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.()

Here is the log:
View attachment 125070
 
Last edited:
Status
Not open for further replies.
Back
Top