• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • HB ARCHIVES: ProfessionBuddy--DO NOT DELETE

    Discussion in 'Archives' started by highvoltz, Jul 18, 2012.

    1. Sporis

      Sporis New Member

      Joined:
      Jan 15, 2014
      Messages:
      5
      Likes Received:
      0
      Trophy Points:
      0
      Just after a small debug, I can say that the problem "source cannot be null" is throw because every recipes has a null list of ingredients in the table Professionbuddy.Instance.TradeSkillList[index].KnownRecipes when we click on the config button.

      It's seem that's a problem with the Styx Lib: WoWSpell.FromId(int id) from Styx.WoWInternals don't return a correct InternalInfo.SpellReagents.
      To temporary fix this, I made this change in LoadTrasSkills() : TradeSkill ts = null;//TradeSkill.GetTradeSkill((SkillLine)skill.Id);
      By doing this, I no longer have access to tradeskill, but the rest works correctly
       
      Last edited: Mar 16, 2014
    2. heisi

      heisi New Member

      Joined:
      Mar 16, 2014
      Messages:
      7
      Likes Received:
      0
      Trophy Points:
      0
      I have the problem too, i hope with this information they can fix it.

      Ok guys, just found this
       
      Last edited: Mar 16, 2014
    3. Sporis

      Sporis New Member

      Joined:
      Jan 15, 2014
      Messages:
      5
      Likes Received:
      0
      Trophy Points:
      0
      Don't work for me
       
    4. mugenji77

      mugenji77 New Member

      Joined:
      Dec 21, 2013
      Messages:
      80
      Likes Received:
      0
      Trophy Points:
      0
      OnAhCount don't work(bot dont check on AH ID+amount of this), some1 know why?
       
    5. heisi

      heisi New Member

      Joined:
      Mar 16, 2014
      Messages:
      7
      Likes Received:
      0
      Trophy Points:
      0
      didn't had the time to test, but it don't work for me too.
       
    6. highvoltz

      highvoltz Well-Known Member

      Joined:
      Mar 22, 2010
      Messages:
      1,729
      Likes Received:
      141
      Trophy Points:
      63
      I'm not able to reproduce this.

      Would one of you attach a full log and if using a personal PB profile attach the profile if you don't mind or create and attach a mini version of the profile that can reproduce the problem.
       
    7. bennyquest

      bennyquest Community Developer

      Joined:
      Dec 6, 2010
      Messages:
      2,644
      Likes Received:
      22
      Trophy Points:
      38
      I will post this again. Skinning is not recognized by profession buddy.

      I wrote two simple profiles that show how it does not recognize it.

      from my previous post

      http://www.thebuddyforum.com/honorb...ion-leveling-bot-plus-more-5.html#post1428791

      the first profile does not work skinning.level is not recognized

      the second post it does....

      hope this can get fixed.
       
    8. highvoltz

      highvoltz Well-Known Member

      Joined:
      Mar 22, 2010
      Messages:
      1,729
      Likes Received:
      141
      Trophy Points:
      63
      OnAhCount is working on my end. Make sure you have the DataStore WoW addons shown in screenshot below installed and enabled. You can download these addons from Curse.com.

      Datastore.jpg
       
    9. highvoltz

      highvoltz Well-Known Member

      Joined:
      Mar 22, 2010
      Messages:
      1,729
      Likes Received:
      141
      Trophy Points:
      63
      New revision on svn now includes Skinning
       
    10. heisi

      heisi New Member

      Joined:
      Mar 16, 2014
      Messages:
      7
      Likes Received:
      0
      Trophy Points:
      0

      Don't know what i did wrong, tried it again and now its opening without an error.
       
    11. highvoltz

      highvoltz Well-Known Member

      Joined:
      Mar 22, 2010
      Messages:
      1,729
      Likes Received:
      141
      Trophy Points:
      63
      Are you sure this is not just a logging error? I'm getting the same 'No items with entry #### could be found in gbank' log entry (fixing it) even though it actually withdraws item
       
    12. bradz93

      bradz93 Member

      Joined:
      Aug 18, 2010
      Messages:
      194
      Likes Received:
      0
      Trophy Points:
      16

      View attachment 5012 2014-03-15 23.51.txt



      yeah idk its strange. for like 6 hours i was trying to get it to withdraw. it'd always say its withdrawing but not actually open the gbank, except ONE time (and i tried to figure out the anomaly of that one, couldn't, it was just random..)
       
    13. Nexus129

      Nexus129 New Member

      Joined:
      Dec 3, 2011
      Messages:
      81
      Likes Received:
      1
      Trophy Points:
      0
    14. Jacan

      Jacan New Member

      Joined:
      Sep 30, 2011
      Messages:
      489
      Likes Received:
      0
      Trophy Points:
      0
      Spoke too soon, it is still happening after clean install. Its happening alot right after switching to a different pb profile and then after changing the secondarybot hb stops.

      Also HB will stop randomly..

      [09:55:16.674 D] System.Exception: Only part of a ReadProcessMemory or WriteProcessMemory request was completed, at addr: 2D077600, Size: 336
      at GreyMagic.ExternalProcessMemory.ReadByteBuffer(IntPtr addr, Void* buffer, Int32 count)
      at GreyMagic.MemoryBase.Read[T](IntPtr addr)
      at Styx.WoWInternals.WoWMovementInfo.()
      at Styx.WoWInternals.WoWMovementInfo.()
      at Styx.WoWInternals.WoWMovementInfo.(MoveFlags )
      at Styx.WoWInternals.WoWMovementInfo.get_IsMoving()
      at Styx.WoWInternals.WoWObjects.WoWUnit.get_IsMoving()
      at Styx.Pathing.Flightor.MoveTo(WoWPoint destination, Single minHeight, Boolean checkIndoors)
      at Bots.Gatherbuddy.GatherbuddyBot.†(Object )
      at Styx.TreeSharp.Action.RunAction(Object context)
      at Styx.TreeSharp.Action..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.Sequence..()
      at Styx.TreeSharp.Composite.Tick(Object context)
      at Styx.TreeSharp.PrioritySelector..()
      at Styx.TreeSharp.Composite.Tick(Object conte
       
    15. Dockson

      Dockson Member

      Joined:
      Dec 21, 2013
      Messages:
      159
      Likes Received:
      2
      Trophy Points:
      18
      Still having this problem after a clean reinstall. Any idea what the problem might be? Just this error spammed over and over again at the guildbank.

      Err: If Condition: CanCraft(122661)
      Err:System.NullReferenceException: Object reference not set to an instance of an object.
      at HighVoltz.Recipe.get_CanRepeatNum() in d:\HB\Bots\Professionbuddy\Tradeskill.cs:line 423
      at HighVoltz.Dynamic.Helpers.TradeskillHelper.<>c__DisplayClass15.<CanCraft>b__13(TradeSkill ts) in d:\HB\Bots\Professionbuddy\Dynamic\Helpers.cs:line 446
      at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
      at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
      at HighVoltz.Dynamic.Helpers.TradeskillHelper.CanCraft(UInt32 recipeID) in d:\HB\Bots\Professionbuddy\Dynamic\Helpers.cs:line 444
      at CodeDriver.Code796751802(Object context)
      at HighVoltz.Composites.If.CanRun(Object context) in d:\HB\Bots\Professionbuddy\Composites\If.cs:line 203
       
    16. highvoltz

      highvoltz Well-Known Member

      Joined:
      Mar 22, 2010
      Messages:
      1,729
      Likes Received:
      141
      Trophy Points:
      63
      Please attach a full log.
       
    17. highvoltz

      highvoltz Well-Known Member

      Joined:
      Mar 22, 2010
      Messages:
      1,729
      Likes Received:
      141
      Trophy Points:
      63
      Please try the latest SVN revision and let me know if you still have this issue.
       
    18. mugenji77

      mugenji77 New Member

      Joined:
      Dec 21, 2013
      Messages:
      80
      Likes Received:
      0
      Trophy Points:
      0
      Thank you highvoltz for last help with "onahcount", now work very good. But I have problem with others scripts:

      <BuyItemFromAhAction ItemListType="Item" ItemID="72096" MaxBuyout="50g0s0c" Amount="10" BuyAdditively="False" AutoFindAh="True" BidOnItem="False" />

      Why does the bot buy more items than I put in the 'amount'. Recently it bought all from AH when the bot was about to buy only 10x.Mostly, I have the problem with buying blood spirits or ghost iron bars.
       
    19. Jacan

      Jacan New Member

      Joined:
      Sep 30, 2011
      Messages:
      489
      Likes Received:
      0
      Trophy Points:
      0
      hb stops

      To reproduce this, Load PB profile, change to any bot in settings except combat bot. Add this code..
      <If Condition="SecondaryBot.Name != &quot;Combat Bot&quot;" IgnoreCanRun="True">
      <CustomAction Code="SwitchToBot(&quot;Combat Bot&quot;);" />
      </If>

      HB will stop..
      [20:31:28.770 D] Set query filter to Alliance
      [15:31:29.982 N]PB 1.647: Changing SecondaryBot to Combat Bot
      [15:31:30.018 N]PB 1.647: Changing SecondaryBot to Combat Bot
      [15:31:30.021 N]PB 1.647: Successfuly changed secondary bot to: Combat Bot
      [20:31:29.980 Q] Bot stopping! Reason: Changing SecondaryBot
      [20:31:30.016 D] [Lua.Events] Could not detach handler OnUnitSpellCastSucceeded from event UNIT_SPELLCAST_SUCCEEDED; it is not a member
      [20:31:30.017 D] PB 1.647: Stop Called
      [20:31:30.047 D] Activity: Honorbuddy Stopped
       
    20. Jacan

      Jacan New Member

      Joined:
      Sep 30, 2011
      Messages:
      489
      Likes Received:
      0
      Trophy Points:
      0
      PB also crashes when clicking bot settings while running..
       

    Share This Page