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

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Blackspots in plugins?

kaihaider

Community Developer
Joined
May 18, 2010
Messages
1,325
Blind guess, should this work?

Code:
ProfileManager.CurrentProfile.BlackSpots.Add(new ff14bot.Navigation.BlackSpot(new Vector3(11.82568f, 311.6229f, -244.4037f), 10));
ProfileManager.CurrentProfile.BlackSpots.Any(spot => spot!=null && spot.WithinBlackSpot(unit.Location))
 
Last edited:
Profilemanager is for gatherbot/grindbot.


NeoProfileManager.CurrentGrindArea.Blackspots is what you want.
 
Profilemanager is for gatherbot/grindbot.


NeoProfileManager.CurrentGrindArea.Blackspots is what you want.

sweet thanks

Code:
NeoProfileManager.CurrentGrindArea.Blackspots.Add(new BlackSpot(new Vector3(11.82568f, 311.6229f, -244.4037f), 10));NeoProfileManager.CurrentGrindArea.AvoidMobs.Add(new AvoidMob(541,"Striking Dummy"));

&& !NeoProfileManager.CurrentGrindArea.AvoidMobs.Any(mob => mob !=null && mob.Entry == unit.NpcId)
&& !NeoProfileManager.CurrentGrindArea.Blackspots.Any(spot => spot != null && spot.WithinBlackSpot(unit.Location)))

null checks may be excessive?
 
Last edited:
Back
Top