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

Avoidmob coding help

tjhasty

Member
Joined
May 16, 2010
Messages
183
Reaction score
4
I am writing a Leader/Follower plugin suite, which I can not figure out how to see if a mob is on the avoidmob list on the profile. I find avoidmob in the C# commands but I don't know how to do the whole "If MobA is in Avoidmob list, don't target" thing. Keep in mind that I am learning this as I go, so if it seems obvious to you it isn't to me ;-)

Any help would be very much appreciated.
 
PHP:
<HBProfile>
     <AvoidMobs>
          <AvoidMob Name="" Entry="" />
     </AvoidMobs>
</HBProfile>
 
He is referring to C# code that will read from the actual AvoidMobs list in a profile. He is building a whole new bot base.

Take a look at Styx.Logic.Profiles and the AvoidMobs property.
 
Last edited:
oh my bad, I saw "could not figure out how to see if avoidmobs were in the profile" xD
 
He is referring to C# code that will read from the actual AvoidMobs list in a profile. He is building a whole new bot base.

Take a look at Styx.Logic.Profiles and the AvoidMobs property.

Ya I found that, but I can't figure out how to use it properly, how do I use that to see if a mob I have selected is in that list?
 
no matter what I try I get this
Code:
 An object reference is required for the non-static field, method, or property 'Styx.Logic.Profiles.Profile.AvoidMobs.get'

I got all the targeting figured out but this part, please help.
 
ok guys I have covered a lot of ground but I still have yet to figure this out. I know someone out there knows how to do this.
 
Back
Top