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!

ProfileManager.LoadNew Fails

nishalp

Member
Joined
Sep 13, 2014
Messages
177
ProfileManager.LoadNew(@"path to xml", true);

When I execute the following onPulse I get the following error. Any idea why?

An exception of type 'System.NullReferenceException' occurred in RebornBuddy.exe but was not handled in user code
{"Object reference not set to an instance of an object."}
 
ProfileManager.LoadNew(@"path to xml", true);

When I execute the following onPulse I get the following error. Any idea why?

An exception of type 'System.NullReferenceException' occurred in RebornBuddy.exe but was not handled in user code
{"Object reference not set to an instance of an object."}

Code:
var Path = "Path to XML"
NeoProfileManager.Load(Path, true);
NeoProfileManager.UpdateCurrentProfileBehavior();

That's what I use.
 
Thanks. That worked. However just one more problem. When I set it the first time the bot starts, it sets and runs. But then in the onPulse I wanted to move to the next script when I hit a count. I have the below. It goes and Loads the next script correctly but does not move to the next area per the updated script. Its just sits there.


public void OnPulse()
{
if (BotManager.Current.Name == "Order Bot")
{
if (Core.Player.InCombat == false && bStopBot)
{
Logging.Write("Teleport");

if (Core.Player.IsMounted)
{
Actionmanager.Dismount();
Thread.Sleep(1000);
}
sBook = SkywindI[iIndex];
iIndex++;

NeoProfileManager.Load(@"\\diskstation\Camie Patel\FFXIV ARR Scripts\Reborn Scripts\Animus\Skywind I\" + sBook, true);
NeoProfileManager.UpdateCurrentProfileBehavior();

bStopBot = false;
}
}
}
 
Last edited:
Back
Top