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

Override - A Targeting Override Plugin

This is the one I'm using (ilyals) it's on page 9. Don't know how to quote the response but its response #84
 
HB's a bit biggy, sometimes a mob would have about 30 hp left and would try to rest @_@. Pulling out my hair.
 
Looks good, but does it work in parties?

The plugin that's on post #84 says "but i think that wouldn't work in party " does it work or not?

Thanks.
 
Can anyone tell me what I'm doing wrong? I just downloaded HB yesterday and installed it and it gives me this error on both a rogue and sham (Shamwow and rogue mut mut class).
It won't target anything and I'm running a 1-60 profile and the chars are low 20's. Ony way is to be aggro'd.

Code:
Activity: Moving to  hotspot
Exception from Override:
System.InvalidCastException:  Unable to cast object of type 'Styx.WoWInternals.WoWObjects.WoWUnit' to  type 'Styx.WoWInternals.WoWObjects.WoWPlayer'. --->  SmartAssembly.SmartExceptionsCore.UnhandledException:  SmartExceptionsCore.UnhandledException @ 988, offset:0 --->  SmartAssembly.SmartExceptionsCore.UnhandledException:  SmartExceptionsCore.UnhandledException @ 1309, offset:59
   --- End  of inner exception stack trace ---
   --- End of inner exception  stack trace ---
   at  Styx.WoWInternals.WoWObjects.WoWUnit.get_IsFriendly()
   at  Apoc.Plugins.TargetOverride.Override.<CreateTargetList>b__23(<>f__AnonymousType3`2  <>h__TransparentIdentifier19) in  c:****\HB\Plugins\Override.cs:line 195
   at  System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
    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 Apoc.Plugins.TargetOverride.Override.CreateTargetList() in  c:****\HB\Plugins\Override.cs:line 191
   at  Apoc.Plugins.TargetOverride.Override.Targeting_OnTargetListUpdateFinished(Object  context) in c:****\HB\Plugins\Override.cs:line 77
Thanks.

After 1.9.2.5 it throws this error... seems like HB bug.

Looks good, but does it work in parties?

The plugin that's on post #84 says "but i think that wouldn't work in party " does it work or not?

Thanks.

If you didn't add the last section of code in my post (the attached file comes w/o this code) then it should work.
 
Last edited:
Apoc is it true that this or a new target system is getting implemented into the HB core?
 
I'm seeing this type of thing a lot with HB v1.9.2.5
Code:
Activity: Moving to hotspot
Exception from Override:
System.InvalidCastException: Unable to cast object of type  'Styx.WoWInternals.WoWObjects.WoWUnit' to type  'Styx.WoWInternals.WoWObjects.WoWPlayer'. --->  SmartAssembly.SmartExceptionsCore.UnhandledException:  SmartExceptionsCore.UnhandledException @ 988, offset:0 --->  SmartAssembly.SmartExceptionsCore.UnhandledException:  SmartExceptionsCore.UnhandledException @ 1309, offset:59
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at Styx.WoWInternals.WoWObjects.WoWUnit.get_IsFriendly()
   at  Apoc.Plugins.TargetOverride.Override.<CreateTargetList>b__23(<>f__AnonymousType3`2  <>h__TransparentIdentifier19) in  c:\HB\Plugins\Override.cs:line 195
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   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 Apoc.Plugins.TargetOverride.Override.CreateTargetList() in  c:\HB\Plugins\Override.cs:line 191
   at  Apoc.Plugins.TargetOverride.Override.Targeting_OnTargetListUpdateFinished(Object  context) in c:\HB\Plugins\Override.cs:line 77
Activity: Setting Anub'ar Ambusher at 32 yards as your target
Stop and dismount...
Activity: Pulling Anub'ar Ambusher now.
Any ideas or is this normal ? No changes were made to the override.cs file. Downloaded and installed as is.
 
Last edited:
Can someone upload it as a .cs file?
Can't get it to work.
 
I get similar with zero modifications.
Code:
[2:36:33 PM:451] Exception from Override:
System.InvalidCastException: Unable to cast object of type 'Styx.WoWInternals.WoWObjects.WoWUnit' to type 'Styx.WoWInternals.WoWObjects.WoWPlayer'. ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 989, offset:0 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 1310, offset:59
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at Styx.WoWInternals.WoWObjects.WoWUnit.get_IsFriendly()
   at Apoc.Plugins.TargetOverride.Override.<CreateTargetList>b__14(<>f__AnonymousType0`2 <>h__TransparentIdentifier2) in c:\somefolder\Plugins\Override.cs:line 357
   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 Apoc.Plugins.TargetOverride.Override.CreateTargetList() in c:\somefolder\Plugins\Override.cs:line 354
   at Apoc.Plugins.TargetOverride.Override.Targeting_OnTargetListUpdateFinished(Object context) in c:\somefolder\Plugins\Override.cs:line 99
 
can we use the link to dl for a svn update?

edit: nvm figured it out - that svn shit is great for easy updateing ^^

edit2:
still getting this:

Code:
Exception from Override:
System.InvalidCastException: Das Objekt des Typs "Styx.WoWInternals.WoWObjects.WoWUnit" kann nicht in Typ "Styx.WoWInternals.WoWObjects.WoWPlayer" umgewandelt werden. ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 988, offset:0 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 1309, offset:59
   --- Ende der internen Ausnahmestapel?berwachung ---
   --- Ende der internen Ausnahmestapel?berwachung ---
   bei Styx.WoWInternals.WoWObjects.WoWUnit.get_IsFriendly()
   bei Apoc.Plugins.TargetOverride.Override.<CreateTargetList>b__14(<>f__AnonymousType0`2 <>h__TransparentIdentifier2) in e:\BuddyProducts\HB 1.9.2.5 - 1\Plugins\Override.cs:Zeile 357.
   bei System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   bei System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   bei System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   bei Apoc.Plugins.TargetOverride.Override.CreateTargetList() in e:\BuddyProducts\HB 1.9.2.5 - 1\Plugins\Override.cs:Zeile 354.
   bei Apoc.Plugins.TargetOverride.Override.Targeting_OnTargetListUpdateFinished(Object context) in e:\BuddyProducts\HB 1.9.2.5 - 1\Plugins\Override.cs:Zeile 99.

log attached - its at the end...
 

Attachments

Last edited:
sweet!..gonna give it a try....as getting bitten in the butt while targeting something too far away is not all that fun :)

EDIT:
OK..maybe I won't try it as it won't compile on Beta 3 with the same errors as above.
 
Last edited:
love the idea of this, any chance of getting a working plugin for the warden2 patched/upcoming release of hb?
 
WoWPlayers are WoWUnits (inheritance ftw), so yes, players are accounted for. And since I don't think targeting is going to be fixed any time soon (at least, they haven't done much in the past 2 days or so) I'll rewrite this to work properly. (Now that I have a better understanding of HBs current targeting, and whatnot.)

I just finished writing a DBC replacement for HB (so they don't need to package a giant set of en-US DBCs with the bot anymore) so this is now on the top of my priority list of shit-to-do-to-HB.
i don't understand 90% of the greek you just typed but fuck it, keep up the good work apoc
 
File: Override.cs Line: 16 Error: The type or namespace name 'XNAMath' does not exist in the namespace 'Tripper' (are you missing an assembly reference?)
 
File: Override.cs Line: 16 Error: The type or namespace name 'XNAMath' does not exist in the namespace 'Tripper' (are you missing an assembly reference?)

Not compatible with HB atm, some targeting features were changed so the plugin will not cooperate with it.
 
Back
Top