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

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

    1. Conan

      Conan Member

      Joined:
      Aug 8, 2012
      Messages:
      233
      Likes Received:
      1
      Trophy Points:
      18
      Hi,

      In German Version, it will not Working.

      Err: Unable to link action that produced Error: Der Typ- oder Namespacename 'Gatherbuddy' ist im Namespace 'Bots' nicht vorhanden. (Fehlt ein Assemblyverweis?)

      View attachment 1992 2013-09-16 23.33.txt
       
    2. highvoltz

      highvoltz Well-Known Member

      Joined:
      Mar 22, 2010
      Messages:
      1,729
      Likes Received:
      141
      Trophy Points:
      63
      The 'Stack Size' property of the 'Sell Item on AH' action really sets the maximum stack size and leftovers are automatically posted. However I've added a new property named 'Post Partial Stacks' and partial stacks will be ignored if this property is set to 'false'. The default value for the 'Post Partial Stacks' property will be set to 'true' because that is the previous and the most wanted behavior.
       
    3. reffih

      reffih New Member

      Joined:
      Feb 9, 2010
      Messages:
      97
      Likes Received:
      1
      Trophy Points:
      0
      Hey Highvoltz

      Thanks for the great work :)

      Im currently leveling a toon with herb/mining. Not at skill: 275/275 it just runs around in ogrimmar. It has learned the correct skill for moving on, but it simply runs a loop. Does this sound familiar?

      Here is some of the log:

      [23:20:02.669 D] Could not generate path from {1699.331, -4265.704, 34.83867} to {1704.295, -4265.937, 65.05259} (time used: 0 milliseconds) @ FindEndPoly
      [23:20:02.768 D] Could not generate path from {1699.331, -4265.704, 34.83867} to {1704.303, -4265.938, 65.6104} (time used: 0 milliseconds) @ FindEndPoly
      [23:20:02.866 D] Could not generate path from {1699.331, -4265.704, 34.83867} to {1704.311, -4265.938, 66.16826} (time used: 0 milliseconds) @ FindEndPoly
      [23:20:02.965 D] Could not generate path from {1699.331, -4265.704, 34.83867} to {1704.318, -4265.938, 66.72054} (time used: 0 milliseconds) @ FindEndPoly
      [23:20:03.064 D] Could not generate path from {1699.331, -4265.704, 34.83867} to {1704.325, -4265.938, 67.27852} (time used: 0 milliseconds) @ FindEndPoly
      [23:20:03.163 D] Could not generate path from {1699.331, -4265.704, 34.83867} to {1704.332, -4265.939, 67.83654} (time used: 0 milliseconds) @ FindEndPoly
      [23:20:03.260 D] Could not generate path from {1699.331, -4265.704, 34.83867} to {1704.339, -4265.939, 68.38898} (time used: 0 milliseconds) @ FindEndPoly
      [23:20:03.359 D] Could not generate path from {1699.331, -4265.704, 34.83867} to {1704.345, -4265.939, 68.94145} (time used: 0 milliseconds) @ FindEndPoly
      [23:20:03.459 D] Could not generate path from {1699.331, -4265.704, 34.83867} to {1704.352, -4265.94, 69.4996} (time used: 0 milliseconds) @ FindEndPoly
      [23:20:03.555 D] Could not generate path from {1699.331, -4265.704, 34.83867} to {1704.358, -4265.94, 70.05216} (time used: 0 milliseconds) @ FindEndPoly
      [23:20:03.652 D] Could not generate path from {1699.331, -4265.704, 34.83867} to {1704.364, -4265.94, 70.59912} (time used: 0 milliseconds) @ FindEndPoly
      [23:20:03.749 D] Could not generate path from {1699.331, -4265.704, 34.83867} to {1704.369, -4265.94, 71.14611} (time used: 0 milliseconds) @ FindEndPoly
      [23:20:03.847 D] Could not generate path from {1699.331, -4265.704, 34.83867} to {1704.375, -4265.941, 71.69314} (time used: 0 milliseconds) @ FindEndPoly
      [23:20:03.946 D] Could not generate path from {1699.331, -4265.704, 34.83867} to {1704.38, -4265.941, 72.25146} (time used: 0 milliseconds) @ FindEndPoly
      [23:20:04.045 D] Could not generate path from {1699.331, -4265.704, 34.83867} to {1704.386, -4265.941, 72.80983} (time used: 0 milliseconds) @ FindEndPoly
      [23:20:04.144 D] Could not generate path from {1699.331, -4265.704, 34.83867} to {1704.391, -4265.941, 73.36822} (time used: 0 milliseconds) @ FindEndPoly
      [23:20:04.243 D] Could not generate path from {1699.331, -4265.704, 34.83867} to {1704.396, -4265.942, 73.92664} (time used: 0 milliseconds) @ FindEndPoly
      [23:20:04.342 D] Could not generate path from {1699.331, -4265.704, 34.83867} to {1704.401, -4265.942, 74.48508} (time used: 0 milliseconds) @ FindEndPoly

      Might it be, that it cant navigate to outland by it self?

      Edit: Move manually to Outland, and now it runs again. So that was the case :)
       
    4. highvoltz

      highvoltz Well-Known Member

      Joined:
      Mar 22, 2010
      Messages:
      1,729
      Likes Received:
      141
      Trophy Points:
      63
      Both issues should now be fixed on SVN.
       
    5. Toney001

      Toney001 New Member

      Joined:
      Oct 12, 2011
      Messages:
      1,206
      Likes Received:
      5
      Trophy Points:
      0
      Hey HighVoltz!

      I don't know if this is by design (I imagine so, I think it's always been this way), but PB won't undercut if you already have the max amount posted.

      For example, let's say I post 2 of a certain item, then someone undercuts me before any of those items sell.
      At this point, my auctions are not at the top, but since I already have the "max amount" already posted, it won't post more until I cancel the ones that were undercut.

      Could it be possible to make it so the max amount only works for when you're NOT undercut (your auctions remain at the top)?
      Otherwise, I'm forced to run a "cancel cycle" every time I want to do a "post cycle", which is a) time inefficient and b) predictable (from a pattern detection point).

      Thanks in advance <3.
       
    6. Jacan

      Jacan New Member

      Joined:
      Sep 30, 2011
      Messages:
      489
      Likes Received:
      0
      Trophy Points:
      0
      The error only starts spaming after I click bot config.
      Sorry highvoltz, too much info in a log a snitch like toney001 would probably like to have :(

      [Gatherbuddy2]: Approaching "Fel Iron Deposit" at X="-478.1527" Y="4399.316" Z="42.9991"
      Err:System.NullReferenceException: Object reference not set to an instance of an object.
      at CodeDriver.Code165184102(Object context)
      at HighVoltz.Composites.If.CanRun(Object context) in c:\Users\PC\Documents\Honorbuddy\Bots\Professionbuddy\Composites\If.cs:line 203
      [Gatherbuddy2]: Approaching "Fel Iron Deposit" at X="-478.1527" Y="4399.316" Z="42.9991"
      Err: If Condition: InbagCount(23424) >= (int)var1
      Err:System.NullReferenceException: Object reference not set to an instance of an object.
      at CodeDriver.Code165184102(Object context)
      at HighVoltz.Composites.If.CanRun(Object context) in c:\Users\PC\Documents\Honorbuddy\Bots\Professionbuddy\Composites\If.cs:line 203
       
    7. Tureckii2

      Tureckii2 New Member

      Joined:
      Aug 9, 2010
      Messages:
      35
      Likes Received:
      0
      Trophy Points:
      0
      highvoltz, can you say about
      HBRelog.SkipCurrentTask(string profileName) . for example me use ahbot and i set 60 minut for profile ahbot, and after all items go on ah. Me add in end ahbot profile HBRelog.SkipCurrentTask(string profileName) and CurrentTask switch to next TAsk? Sorry for my very bad english and stupid questing )
       
    8. Festival

      Festival New Member

      Joined:
      Aug 14, 2011
      Messages:
      52
      Likes Received:
      0
      Trophy Points:
      0
      PB was longer process mail. After all mail received - PB waiting for another cycle and only after once again updated the post continues.
       
    9. highvoltz

      highvoltz Well-Known Member

      Joined:
      Mar 22, 2010
      Messages:
      1,729
      Likes Received:
      141
      Trophy Points:
      63
      The error is coming from the loaded PB profile. Perhaps var1 null when referenced in the if condition that uses the following expression 'InbagCount(23424) >= (int)var1'
       
    10. highvoltz

      highvoltz Well-Known Member

      Joined:
      Mar 22, 2010
      Messages:
      1,729
      Likes Received:
      141
      Trophy Points:
      63
      Yes, that's how it's supposed to work.
      You'll need to use a 'Custom Action' with the following code

      Code:
      [B]HBRelog.SkipCurrentTask([/B][B]HBRelog.[/B][B]CurrentProfileName);[/B]
       
    11. Jacan

      Jacan New Member

      Joined:
      Sep 30, 2011
      Messages:
      489
      Likes Received:
      0
      Trophy Points:
      0
      The If condition is in a while (true) condition. Pressing bot config seems to break it. The profile hasn't changed since patch, if var1 was null the profile wouldn't start.

      There is definitely another bug but I cannot figure it out yet, it happens when leveling professions.. it will sometimes not recognize new spells or even what zone its in.. wasn't a problem before patch.

      btw you should put a paypal link in your sig man, im sure a lot of people have been wanting to donate.
       
    12. highvoltz

      highvoltz Well-Known Member

      Joined:
      Mar 22, 2010
      Messages:
      1,729
      Likes Received:
      141
      Trophy Points:
      63
      Here's how you can trace the NullReferenceException to the source.
      Load the PB profile that you're having issues with and start HB like normal and once it starts throwing the exception, open up HBConsole (found here) and run the following code (the console in developer tools window works too)
      Code:
      Log("{0}",HighVoltz.Dynamic.DynamicCodeCompiler.CsharpStringBuilder);
      This will display the C# code-behind for all the expressions used in the 'if/While Conditions, Wait Until Condition, Custom Actions along with some wrappers/utility functions in the output
      Copy the output and paste it in your favorite text editor so you can use text search features

      Get the name of the function that the NullReferenceException is thrown in from HB's log (e.g Code1467721039 ) and do a text search for that function name on the code-behind text that you copied over in a text editor.
      Examine the function contents, it should give you an idea of where the NullReferenceException is coming from.
       
    13. bazaltic

      bazaltic Member

      Joined:
      Nov 14, 2012
      Messages:
      256
      Likes Received:
      0
      Trophy Points:
      16
      Hi i still stuck trying to enter vendor shops on mount, and bot is not buying materials for glyphs i have 1000 ink of dreams and nothing happens, (buying items complete) but nothing happens
       
    14. Gurkis

      Gurkis New Member

      Joined:
      Sep 11, 2012
      Messages:
      80
      Likes Received:
      0
      Trophy Points:
      0
      So it just doesn't work for me. I've tried different profiles, but all it does is fly to org, then go about some route inside org, taking elevators, mounting up, flying to troll side of org, going down and then running to elevator again..






      Edit, fixed it by flying to Outland and starting bot there!
       

      Attached Files:

    15. markop

      markop New Member

      Joined:
      Aug 10, 2012
      Messages:
      93
      Likes Received:
      0
      Trophy Points:
      0
      PB function "switchcharacter" is not working for "horde side"
      Hi, Highvoltz . I have been running my own profiles on PB for a long time now, and for about six or more months the profile with ""switchcharacter" worked like a charm till some time ago. I do not really remember the biuld that broke the functionality of this great code, but atm this "switchcharacter" function works, no matter how surprising it would sound, only for alliance. The exact code is not working for horde. Tested about 100 times. The honourbody always freezes after executing the "switchcharacter" code if the character is a horde, but the character does not logout, that is where I have to manually kill the HB. Had always been waiting for fix build, but I guess it will not come.
      Would there be any way to fix it? Would be really great.
      Here is code I use for switching between chars.
      HTML:
      
      <?xml version="1.0" encoding="utf-8"?>
      <Professionbuddy>
        <Settings DefaultValue="&quot;&quot;" Type="String" Name="Main" Summary="This is a summary of what this setting does" Category="Misc" Global="False" Hidden="False" />
        <Settings DefaultValue="&quot;&quot;" Type="String" Name="Char1" Summary="This is a summary of what this setting does" Category="Misc" Global="False" Hidden="False" />
        <Settings DefaultValue="0" Type="Int32" Name="Counter" Summary="This is a summary of what this setting does" Category="Misc" Global="False" Hidden="False" />
        <Declaration Code="int counter=0;" />
        <CustomAction Code="counter=int.Parse(Settings[&quot;Counter&quot;].ToString());" />
        <CustomAction Code="Log(Color.Yellow,&quot;Idling : &quot;+counter);" />
        <CustomAction Code="System.Threading.Thread.Sleep(2000);" />
        <CustomAction Code="Log(Color.Yellow,&quot;Done Idling&quot;);" />
        <If Condition="counter==0" IgnoreCanRun="True">
          <CustomAction Code="Settings[&quot;Counter&quot;]=1;" />
          <CustomAction Code="SwitchCharacter((string)Settings[&quot;Char1&quot;],Me.RealmName,&quot;Combat Bot&quot;);" />
        </If>
        <If Condition="counter==1" IgnoreCanRun="True">
          <CustomAction Code="Settings[&quot;Counter&quot;]=0;" />
          <CustomAction Code="SwitchCharacter((string)Settings[&quot;Main&quot;],Me.RealmName,&quot;BGBuddy&quot;);" />
        </If>
      </Professionbuddy>
      
       
    16. Newbie

      Newbie New Member

      Joined:
      Dec 13, 2011
      Messages:
      3
      Likes Received:
      0
      Trophy Points:
      0
      Hello! Can you help me handle this error?
      I'm using AHbuddy profile. I will attach more logs if needed.

      Code:
      Err: System.Exception: Process must have frozen or gotten out of sync: InjectionFinishedEvent_was_never_fired
         at Styx.MemoryManagement.Executor.Execute(Int32 fromId)
         at Styx.WoWInternals.Lua.GetReturnValues(String lua, String scriptName)
         at Styx.WoWInternals.Lua.GetReturnVal[T](String lua, UInt32 retVal)
         at HighVoltz.Composites.CancelAuctionAction.ScanAh(AuctionEntry& ae) in d:\Game\HBDN\Bots\Professionbuddy\Composites\CancelAuctionAction.cs:line 443
         at HighVoltz.Composites.CancelAuctionAction.Run(Object context) in d:\Game\HBDN\Bots\Professionbuddy\Composites\CancelAuctionAction.cs:line 268
      Err: If Condition: (HasNewMail || MailCount> 0) && (bool)Settings["Check Mail"] && !Me.NormalBagsFull
      Err:System.Exception: Process must have frozen or gotten out of sync: InjectionFinishedEvent was never fired
         at Styx.MemoryManagement.Executor.Execute(Int32 fromId)
         at Styx.WoWInternals.Lua.GetReturnValues(String lua, String scriptName)
         at Styx.WoWInternals.Lua.GetReturnVal[T](String lua, UInt32 retVal)
         at Styx.CommonBot.Frames.MailFrame.get_HasNewMail()
         at CodeDriver.Code1674817366(Object context)
         at HighVoltz.Composites.If.CanRun(Object context) in d:\Game\HBDN\Bots\Professionbuddy\Composites\If.cs:line 203
       
    17. inSec

      inSec New Member

      Joined:
      Jul 17, 2013
      Messages:
      36
      Likes Received:
      0
      Trophy Points:
      0
      this error on vashj'ir map

      Code:
      [09:08:17.494 D] Exception in TraceLine:Thread was being aborted. -    at System.Threading.WaitHandle.WaitOneNative(SafeHandle waitableSafeHandle, UInt32 millisecondsTimeout, Boolean hasThreadAffinity, Boolean exitContext)
         at System.Threading.WaitHandle.InternalWaitOne(SafeHandle waitableSafeHandle, Int64 millisecondsTimeout, Boolean hasThreadAffinity, Boolean exitContext)
         at System.Threading.WaitHandle.WaitOne(Int32 millisecondsTimeout, Boolean exitContext)
         at Styx.MemoryManagement.Executor.Execute(Int32 fromId)
         at Styx.WoWInternals.World.GameWorld.(WoWPoint , WoWPoint , Single , CGWorldFrameHitFlags , WoWPoint& ) - mscorlib
       
    18. Tureckii2

      Tureckii2 New Member

      Joined:
      Aug 9, 2010
      Messages:
      35
      Likes Received:
      0
      Trophy Points:
      0
      I have no any answer for my quest, about command marked Red Text color. what it does?
      1. <If Condition="Me.MapId == 1" IgnoreCanRun="True" ChildrenCount="3">
       
    19. nanoseuss

      nanoseuss New Member

      Joined:
      Feb 9, 2011
      Messages:
      34
      Likes Received:
      0
      Trophy Points:
      0
      Any of my PB profiles that use DataStore aren't working correctly, for example CastSpell with "Banker" repeat-type won't limit the number of items I craft.

      I noticed this in the logs this morning:


      "PB 1.607: No DataStore Addon found"

      I assume PB needs to be updated to a change in the DataStore API, any advice?
       
    20. bazaltic

      bazaltic Member

      Joined:
      Nov 14, 2012
      Messages:
      256
      Likes Received:
      0
      Trophy Points:
      16
      I cant even buy inks from vendor now
       

    Share This Page