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!

[SOLVED] Bug when loading a new profile - Since new release:

Status
Not open for further replies.

braniac8472

Member
Joined
Jun 12, 2015
Messages
174
Hey,

So since the new release i get an error when i try to load a new profile when its invoked by a plugin. Loading new profiles from a profile itself works.

The bot just goes into an exception loop - once i press "stop/start" once, loading profiles starts working again. But once i restart the bot, the error comes back again.

This is kind of a huge deal for me - would be very nice if someone could look into this for me.

This is the plugin code i use to load the profile (i cant use a quest behaviour for this - but it has always been working fine):

Code:
		public static void loadProfileByName(string ProfileName) {
			TreeRoot.Pause();

			var profileName = transformProfileName(ProfileName);
			Log("Brainsap Load Profile", "Loading " + profileName, colorRed);
			ProfileManager.LoadNew(profileName, true);
			Thread.Sleep(2000);	
	
			TreeRoot.Resume();
		}

And this is the error i get:

View attachment 4680 2016-06-09 08.15.txt
 
Last edited:
Hi, Brainsap,

It appears that your profile name is malformed, and causing exceptions to be thrown. We will be unable to assist you with this issue further, if you continue to edit logs.

cheers,
chinajade
 
the profile name is not malformed it has been working for ages - i can't post the logfiles public without removing some critical data - all the removed info is just literally names of profiles and plugins which none of them is available to the public.

the exceptions and stack traces are clear readable.

The profile exists and gets loaded - the profile itself is not the problem, i can even let it load an empty profile and it throws the same error.

Code:
[06:16:13.716 D] BlackspotManager forcing unload of meshes - New profile loaded
[06:16:13.718 D] Handler for OnNewProfileLoaded threw exception!
[06:16:13.719 D] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Buddy.Coroutines.CoroutineStoppedException: Coroutine was stopped
 
Last edited:
Faced with a similar problem. The code works previously

ProfileManager.LoadNew(profileName, true);

stopped working!
Log same.
 
Status
Not open for further replies.
Back
Top