• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [SOLVED] Bug when loading a new profile - Since new release:

    Discussion in 'Honorbuddy Support' started by braniac8472, Jun 9, 2016.

    Thread Status:
    Not open for further replies.
    1. braniac8472

      braniac8472 Member

      Joined:
      Jun 12, 2015
      Messages:
      174
      Likes Received:
      1
      Trophy Points:
      18
      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: Jun 9, 2016
    2. Tony

      Tony "The Bee" Staff Member Moderator

      Joined:
      Jan 15, 2010
      Messages:
      128,834
      Likes Received:
      571
      Trophy Points:
      113
    3. braniac8472

      braniac8472 Member

      Joined:
      Jun 12, 2015
      Messages:
      174
      Likes Received:
      1
      Trophy Points:
      18
      i added the attachment
       
    4. chinajade

      chinajade Well-Known Member Moderator Buddy Core Dev

      Joined:
      Jul 20, 2010
      Messages:
      17,540
      Likes Received:
      172
      Trophy Points:
      63
      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
       
    5. braniac8472

      braniac8472 Member

      Joined:
      Jun 12, 2015
      Messages:
      174
      Likes Received:
      1
      Trophy Points:
      18
      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: Jun 9, 2016
    6. dktetra

      dktetra New Member

      Joined:
      Jun 28, 2015
      Messages:
      1
      Likes Received:
      0
      Trophy Points:
      1
      Faced with a similar problem. The code works previously

      ProfileManager.LoadNew(profileName, true);

      stopped working!
      Log same.
       
    7. braniac8472

      braniac8472 Member

      Joined:
      Jun 12, 2015
      Messages:
      174
      Likes Received:
      1
      Trophy Points:
      18
    8. braniac8472

      braniac8472 Member

      Joined:
      Jun 12, 2015
      Messages:
      174
      Likes Received:
      1
      Trophy Points:
      18
      seems to be fixed with the release just came out, thank you
       
    Thread Status:
    Not open for further replies.

    Share This Page