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!

HB ARCHIVES: ProfessionBuddy--DO NOT DELETE

I set the selling on 20 in stack size, but the bot is auctioned else on 1-19 pc. at stack.
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.
 
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 :)
 
Highvoltz, running professionbuddy and was noticing that when undercutting it will also undercut yourself say you wanted 5 stacks up but only got 3 returned to mailbox pulled out more went to post the other two it will undercut your other three causing it to cancel the 3 sending it into a loop constantly undercutting yourself it needs a check that if lowest auction is my auction post at same price thanks again!
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 103944

Both issues should now be fixed on SVN.
 
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.
 
The above log entries are inconclusive. Please attach a full log.

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
 
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 )
 
PB was longer process mail. After all mail received - PB waiting for another cycle and only after once again updated the post continues.
 
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

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'
 
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 )

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]
 
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'

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.
 
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.
.
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.
 
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
 
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!
 

Attachments

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>
 
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
 
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
 
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">
 
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?
 
Back
Top