fuimusbruce
New Member
- Joined
- Aug 2, 2012
- Messages
- 450
- Reaction score
- 2
rrrix,
so turned on the logging again for the hamburger test. Still did not pick it up, so I picked it up manually. Looks like there are some errors related to it in the log.
if (name.StartsWith("offHand_norm_base_")) return GItemType.Dagger;
if (name.StartsWith("healthglobe")) return GItemType.HealthGlobe;
rrrix,
so turned on the logging again for the hamburger test. Still did not pick it up, so I picked it up manually. Looks like there are some errors related to it in the log.
From the first page:
You don't have to use this. We warned you there will be bugs.
If you don't like it, there are other resources for you, or you can go re-write the plugin yourself. Spend hours of your own time and energy.
Contribute something and your opinion might matter.
Cheers,
rrrix
rrrix,
so turned on the logging again for the hamburger test. Still did not pick it up, so I picked it up manually. Looks like there are some errors related to it in the log.
I did what hti suggested, still didnt work. Was that the item check you were talking about? I had to manually pick it up still. Here is the log again Im wondering if its because its showing up as normal instead of legendaryThat's the one i needed! Added an item type check for this, will be ready in the next build![]()
Hello, thanks for you guys for this awesome plugin.
However I am having a little problem with looting. I am using v 1.7.0.12, and for loot rules "Giles filters and scoring". The problem is the bot picks up all shields regardless of their stats. I attached a picture of the backpack and 3 log files. Can please anyone help me out here?
View attachment 70934
View attachment 70935
View attachment 70936
View attachment 70937
Hello, thanks for you guys for this awesome plugin.
However I am having a little problem with looting. I am using v 1.7.0.12, and for loot rules "Giles filters and scoring". The problem is the bot picks up all shields regardless of their stats. I attached a picture of the backpack and 3 log files. Can please anyone help me out here?
View attachment 70934
View attachment 70935
View attachment 70936
View attachment 70937
// Variable name Dex, Int, Str, Vit, Life%, LOH,Steal%, LPS, MF, GF, MS, Rad, Sox, Crit%, CDam%, ASPD, Min+, Max+, Blk, Thrn, AR, SR, DPS, ARMOR, Disc, Mana, Arc., Regen, Globes
private static double[] MaxPointsShield = new double[29] { 350, 350, 350, 350, 00016, 0000, 00000, 342, 20, 25, 00, 000, 0001, 00010, 00000, 00000, 0000, 0000, 030, 2544, 80, 55, 0000, 00397, 0000, 0000, 00000, 00000, 12794 };
modified the "constants.cs" file in your trinity plugin folder like this.
<MoveTo questId="1" x="946.079" y="1077.447" z="-9.899996" pathPrecision="1" />
<MoveTo questId="1" x="801.4764" y="1082.935" z="36.94827" pathPrecision="1" />
[B][COLOR="#FF0000"]using System;[/COLOR][/B]
using System.Windows;
using Zeta;
using Zeta.CommonBot;
using Zeta.Internals.Actors;
using Zeta.TreeSharp;
[B][COLOR="#FF0000"]using GilesTrinity;[/COLOR][/B]
namespace GilesTrinity
{
public class GilesRoutine : CombatRoutine
{
public override void Initialize()
{
}
public override void Dispose()
{
}
public override string Name { get { return "GilesPlugin"; } }
public override Window ConfigWindow { get { return null; } }
public override ActorClass Class { get { return ZetaDia.Me.ActorClass; } }
public override SNOPower DestroyObjectPower { get { return ZetaDia.Me.GetHotbarPowerId(HotbarSlot.HotbarMouseLeft); } }
public override float DestroyObjectDistance { get { return 15; } }
/*private Composite _combat;
private Composite _buff;*/
public override Composite Combat { get { return new PrioritySelector(); } }
public override Composite Buff { get { return new PrioritySelector(); } }
}
}
using System.Windows;
using Zeta;
using Zeta.CommonBot;
using Zeta.Internals.Actors;
using Zeta.TreeSharp;
namespace GilesBlankCombatRoutine
{
public class GilesRoutine : CombatRoutine
{
public override void Initialize()
{
}
public override void Dispose()
{
}
public override string Name { get { return "GilesPlugin"; } }
public override Window ConfigWindow { get { return null; } }
public override ActorClass Class { get { return ZetaDia.Me.ActorClass; } }
public override SNOPower DestroyObjectPower { get { return ZetaDia.Me.GetHotbarPowerId(HotbarSlot.HotbarMouseLeft); } }
public override float DestroyObjectDistance { get { return 15; } }
/*private Composite _combat;
private Composite _buff;*/
public override Composite Combat { get { return new PrioritySelector(); } }
public override Composite Buff { get { return new PrioritySelector(); } }
}
}
[17:19:32.243 Q] [Trinity][CacheManagement]Safely handled exception getting attribute max health for unit Monstrosity_Scorpion_B [4747]
[17:19:32.244 Q] [Trinity][CacheManagement]System.AccessViolationException: Could not read bytes from 00000008 [299]!
в Zeta.MemoryManagement.ExternalProcessReader.ReadBytes(IntPtr address, Int32 count, Boolean isRelative)
в Zeta.MemoryManagement.ExternalProcessReader.Read[T](IntPtr address, Boolean isRelative)
в Zeta.Internals.Actors.ACD.[](ACD , Int32 )
в Zeta.Internals.Actors.ACD.GetAttribute[T](Int32 attribute)
в Zeta.Internals.Actors.ACD.GetAttribute[T](ActorAttributeType attributeType)
в GilesTrinity.GilesTrinity.RefreshGilesUnit(Boolean AddToCache)
[17:19:32.244 Q] [Trinity][CacheManagement]System.NullReferenceException: Ссылка на объект не указывает на экземпляр объекта.
в Zeta.Internals.Actors.DiaUnit.get_IsUntargetable()
в GilesTrinity.GilesTrinity.RefreshGilesUnit(Boolean AddToCache)
в GilesTrinity.GilesTrinity.RefreshStepMainObjectType(Boolean& AddToCache)
в GilesTrinity.GilesTrinity.CacheDiaObject(DiaObject freshObject)
в GilesTrinity.GilesTrinity.RefreshCacheMainLoop()
I was wrong, it's not because TrinityCombatRoutine, with GilesBlankCombatRoutine i have errors too...
fresh install etc
[08:23:30.666 Q] [Trinity][CacheManagement]System.AccessViolationException: Could not read bytes from 00000008 [299]!
at Zeta.MemoryManagement.ExternalProcessReader.ReadBytes(IntPtr address, Int32 count, Boolean isRelative)
at Zeta.MemoryManagement.ExternalProcessReader.Read[T](IntPtr address, Boolean isRelative)
at Zeta.Internals.Actors.ACD.[](ACD , Int32 )
at Zeta.Internals.Actors.ACD.GetAttribute[T](Int32 attribute)
at Zeta.Internals.Actors.ACD.GetAttribute[T](ActorAttributeType attributeType)
at Zeta.Internals.Actors.DiaUnit.get_IsInvulnerable()
at GilesTrinity.GilesTrinity.RefreshGilesUnit(Boolean AddToCache)
at GilesTrinity.GilesTrinity.RefreshStepMainObjectType(Boolean& AddToCache)
at GilesTrinity.GilesTrinity.CacheDiaObject(DiaObject freshObject)
at GilesTrinity.GilesTrinity.RefreshCacheMainLoop()
Code:[08:23:30.666 Q] [Trinity][CacheManagement]System.AccessViolationException: Could not read bytes from 00000008 [299]! at Zeta.MemoryManagement.ExternalProcessReader.ReadBytes(IntPtr address, Int32 count, Boolean isRelative) at Zeta.MemoryManagement.ExternalProcessReader.Read[T](IntPtr address, Boolean isRelative) at Zeta.Internals.Actors.ACD.[](ACD , Int32 ) at Zeta.Internals.Actors.ACD.GetAttribute[T](Int32 attribute) at Zeta.Internals.Actors.ACD.GetAttribute[T](ActorAttributeType attributeType) at Zeta.Internals.Actors.DiaUnit.get_IsInvulnerable() at GilesTrinity.GilesTrinity.RefreshGilesUnit(Boolean AddToCache) at GilesTrinity.GilesTrinity.RefreshStepMainObjectType(Boolean& AddToCache) at GilesTrinity.GilesTrinity.CacheDiaObject(DiaObject freshObject) at GilesTrinity.GilesTrinity.RefreshCacheMainLoop()
Didn't stop bot. Just saw it, thought I should post it.
From what I've gathered reading through the forums, this usually has something to with a relogger or a plugin with that sort of functionality or also some background programs (such as utorrent).
Source: http://www.thebuddyforum.com/demonb...tion-could-not-read-bytes-00000000-299-a.html