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

Blackspots in plugins?

kaihaider

Community Developer
Joined
May 18, 2010
Messages
1,325
Reaction score
5
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