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

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

    1. Zippit

      Zippit New Member

      Joined:
      Jul 1, 2011
      Messages:
      2
      Likes Received:
      0
      Trophy Points:
      0
      Hearthstoning on my druid makes Honorbuddy crash, after hearthstone is done, this is my hearthstone subroutine:

      Code:
      <SubRoutine SubRoutineName="Hearth">
          <If Condition="!Me.IsCasting" IgnoreCanRun="True">
      	  <CustomAction Code="MyLog(&quot;Hearthstoning because I have only {0} free bags slots&quot;,Me.FreeNormalBagSlots);" />
            <CustomAction Code="Mount.Dismount();" />
            <CustomAction Code="Lua.DoString(&quot;UseItemByName(6948)&quot;);" />
            <WaitAction Condition="Me.IsCasting" Timeout="11000" />
          </If>
          <WaitAction Condition="StyxWoW.IsInGame == true" Timeout="30000"/>
        </SubRoutine>
      
      Here is crash log:

      Code:
      [13:23:02.403 N] Farmer: Hearthstoning because I have only 5 free bags slots
      [11:23:02.153 D] [Lua.Events] Attached to event LEARNED_SPELL_IN_TAB with handler 
      [11:23:02.397 D] Stop and dismount...
      [11:23:03.866 D] PB 1.573: Wait for 00:00:11 or until Me.IsCasting Completed
      [11:23:03.866 D] PB 1.573: Wait for 00:00:30 or until StyxWoW.IsInGame == true Completed
      [13:23:13.803 N] Farmer: Hearthstoning because I have only 5 free bags slots
      [11:23:15.353 D] System.AccessViolationException: Could not read bytes from 000000E4 [299]!
         at Styx.MemoryManagement.ExternalProcessReader.ReadBytes(IntPtr address, Int32 count, Boolean isRelative)
         at Styx.MemoryManagement.ExternalProcessReader.Read[T](IntPtr address, Boolean isRelative)
         at Styx.WoWInternals.WoWObjects.WoWObject.[](UInt32 )
         at Styx.WoWInternals.WoWObjects.WoWUnit.[](WoWUnitFields )
         at Styx.WoWInternals.WoWObjects.WoWUnit.get_Flags()
         at Styx.WoWInternals.WoWObjects.WoWUnit.( )
         at Styx.WoWInternals.WoWObjects.WoWUnit.get_Combat()
         at MrItemRemover2.MrItemRemover2.Pulse() in c:\Users\Admin\Desktop\hb\Plugins\MrItemRemover2\MrItemRemover2.cs:line 100
         at Styx.Plugins.PluginWrapper.Pulse()
      [11:23:15.354 D] System.AccessViolationException: Could not read bytes from 000000E4 [299]!
         at Styx.MemoryManagement.ExternalProcessReader.ReadBytes(IntPtr address, Int32 count, Boolean isRelative)
         at Styx.MemoryManagement.ExternalProcessReader.Read[T](IntPtr address, Boolean isRelative)
         at Styx.WoWInternals.WoWObjects.WoWObject.[](UInt32 )
         at Styx.WoWInternals.WoWObjects.WoWUnit.[](WoWUnitFields )
         at Styx.WoWInternals.WoWObjects.WoWUnit.get_Flags()
         at Styx.WoWInternals.WoWObjects.WoWUnit.( )
         at Styx.WoWInternals.WoWObjects.WoWUnit.get_OnTaxi()
         at Styx.CommonBot.TreeRoot.()
         at Styx.CommonBot.TreeRoot.()
      [11:23:15.352 D] [BotEvents] EventChecker  threw exception Could not read bytes from 000000CC [299]! in check
      [11:23:15.352 D] [BotEvents] EventChecker  threw exception Could not read bytes from 2A25AFC4 [299]! in check
      [11:23:15.352 D] [BotEvents] EventChecker  threw exception Could not read bytes from 00000074 [299]! in check
      [11:23:15.352 N] Invalid state
      [11:23:15.352 D] Plugin Mr.ItemRemover2 threw an exception in 'Pulse'! Exception:
      [11:23:15.353 D] System.AccessViolationException: Could not read bytes from 000000E4 [299]!
         at Styx.MemoryManagement.ExternalProcessReader.ReadBytes(IntPtr address, Int32 count, Boolean isRelative)
         at Styx.MemoryManagement.ExternalProcessReader.Read[T](IntPtr address, Boolean isRelative)
         at Styx.WoWInternals.WoWObjects.WoWObject.[](UInt32 )
         at Styx.WoWInternals.WoWObjects.WoWUnit.[](WoWUnitFields )
         at Styx.WoWInternals.WoWObjects.WoWUnit.get_Flags()
         at Styx.WoWInternals.WoWObjects.WoWUnit.( )
         at Styx.WoWInternals.WoWObjects.WoWUnit.get_Combat()
         at MrItemRemover2.MrItemRemover2.Pulse() in c:\Users\Admin\Desktop\hb\Plugins\MrItemRemover2\MrItemRemover2.cs:line 100
         at Styx.Plugins.PluginWrapper.Pulse()
      [11:23:15.354 D] System.AccessViolationException: Could not read bytes from 000000E4 [299]!
         at Styx.MemoryManagement.ExternalProcessReader.ReadBytes(IntPtr address, Int32 count, Boolean isRelative)
         at Styx.MemoryManagement.ExternalProcessReader.Read[T](IntPtr address, Boolean isRelative)
         at Styx.WoWInternals.WoWObjects.WoWObject.[](UInt32 )
         at Styx.WoWInternals.WoWObjects.WoWUnit.[](WoWUnitFields )
         at Styx.WoWInternals.WoWObjects.WoWUnit.get_Flags()
         at Styx.WoWInternals.WoWObjects.WoWUnit.( )
         at Styx.WoWInternals.WoWObjects.WoWUnit.get_OnTaxi()
         at Styx.CommonBot.TreeRoot.()
         at Styx.CommonBot.TreeRoot.()
      [11:23:15.354 N] Not in game
      [11:23:16.270 D] Downloaded tilemap Kalimdor
      [11:23:16.270 D] Changed tilemap to Kalimdor, Tiled: True
      
       
    2. TheMaff

      TheMaff New Member

      Joined:
      May 15, 2012
      Messages:
      467
      Likes Received:
      4
      Trophy Points:
      0
      I have a problem with switching profiles within PB... Sometimes it loads the wrong profile and the bot just stops >.< It's completely random when it happends and sometimes it can run the whole profile without any issue..

      It should load the NSTV profile but ends up loading the previous one? It's not a spelling issue since it can run the profile without problems.. I'm not sure if this is a bug with PB or me doing something wrong..
      PHP:
        <SubRoutine SubRoutineName="Farm 1-75">
          <If 
      Condition="Me.MapId == 0" IgnoreCanRun="True">
            <
      FlyToAction Dismount="True" Location="-9311.237, 438.931, 74.61581" />
            <
      WaitAction Condition="false" Timeout="2000" />      
          </If>
          <
      CallSubRoutine SubRoutineName="BotCheck" />
          <
      LoadProfileAction ProfileType="Honorbuddy" Path="HBProfiles\Inscription\Alliance\Elwynn Forest.xml" />
        </
      SubRoutine>


        <!-- 
      Farm Hilsbrad Foothills -->
        <
      SubRoutine SubRoutineName="Farm 75-100">
          <If 
      Condition="Me.MapId == 0" IgnoreCanRun="True">
            <
      FlyToAction Dismount="True" Location="-810.2425, -1289.839, 63.4891" />
            <
      WaitAction Condition="false" Timeout="2000" />      
          </If>
          <
      CallSubRoutine SubRoutineName="BotCheck" />
          <
      LoadProfileAction ProfileType="Honorbuddy" Path="HBProfiles\Inscription\Alliance\Hillsbrad Foothills.xml" />
        </
      SubRoutine>


        <!-- 
      Farm Northern STV -->
        <!-- 
      Stopped on this one in the log attached to the post -->
        <
      SubRoutine SubRoutineName="Farm 100-150">
          <If 
      Condition="Me.MapId == 0" IgnoreCanRun="True">
             <
      FlyToAction Dismount="True" Location="-11430.73, 158.7461, 39.0904" /> 
             <
      WaitAction Condition="false" Timeout="2000" />       
          </If>
          <
      CallSubRoutine SubRoutineName="BotCheck" />
          <
      LoadProfileAction ProfileType="Honorbuddy" Path="HBProfiles\Inscription\Alliance\NSTV.xml" />
        </
      SubRoutine>
      View attachment 3444 2013-04-08 11.00.txt
       
      Last edited: Apr 8, 2013
    3. ZoOoOoM

      ZoOoOoM Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      1,213
      Likes Received:
      14
      Trophy Points:
      38
      I'd like to know if it's possible to Enable/Disable Plugins through PB, as well as "edit" the bot's settings (for example GB2 nodes list,guild repair,ignore elites, etc..)

      Been searching around for a while now, couldn't find anything =/
       
    4. S_o_M

      S_o_M Member

      Joined:
      Jan 10, 2012
      Messages:
      651
      Likes Received:
      2
      Trophy Points:
      18
      I made a Profile for myself in PB

      Mill all
      -> Cast Dream Ink
      -> Cast Crane Wing Inscription
      -> Cast Starlight Ink
      -> Deposit Items in Bank
      -> Get Mail

      Is there a way to Loop these tasks over and over again until my mailbox is empty?, without drag/drop every task over and over again in the profile? Its hard with 500+ mails.
       
    5. bl4ck

      bl4ck Member

      Joined:
      Aug 18, 2011
      Messages:
      976
      Likes Received:
      6
      Trophy Points:
      18
      <While Condition="true" IgnoreCanRun="True">

      Mill all
      -> Cast Dream Ink
      -> Cast Crane Wing Inscription
      -> Cast Starlight Ink
      -> Deposit Items in Bank
      -> Get Mail

      </While>
       
    6. S_o_M

      S_o_M Member

      Joined:
      Jan 10, 2012
      Messages:
      651
      Likes Received:
      2
      Trophy Points:
      18
      Like that? is this right, or where I put your added lines?

       
    7. TheMaff

      TheMaff New Member

      Joined:
      May 15, 2012
      Messages:
      467
      Likes Received:
      4
      Trophy Points:
      0
      Yes.
       
    8. S_o_M

      S_o_M Member

      Joined:
      Jan 10, 2012
      Messages:
      651
      Likes Received:
      2
      Trophy Points:
      18
      Thanks, another question, in what category do shoulder enchants belong in , if you want to deposit them in bank? miscellaneous?
       
    9. bl4ck

      bl4ck Member

      Joined:
      Aug 18, 2011
      Messages:
      976
      Likes Received:
      6
      Trophy Points:
      18

      <PutItemInBankAction Deposit="All" UseCategory="False" Bank="Guild" ItemID="87578" GuildTab="0" AutoFindBank="True" />

      Crane Wing Inscription item=87578
       
    10. S_o_M

      S_o_M Member

      Joined:
      Jan 10, 2012
      Messages:
      651
      Likes Received:
      2
      Trophy Points:
      18
      you sir are awesome
      thx
       
    11. montana22

      montana22 New Member

      Joined:
      Dec 30, 2012
      Messages:
      2
      Likes Received:
      0
      Trophy Points:
      0
      I don't have professionbuddy in the menu !
       
    12. TheMaff

      TheMaff New Member

      Joined:
      May 15, 2012
      Messages:
      467
      Likes Received:
      4
      Trophy Points:
      0
      Install it then? Lol
       
    13. montana22

      montana22 New Member

      Joined:
      Dec 30, 2012
      Messages:
      2
      Likes Received:
      0
      Trophy Points:
      0
    14. ZoOoOoM

      ZoOoOoM Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      1,213
      Likes Received:
      14
      Trophy Points:
      38
      I'm trying to use DataStore but i'm having no luck...

      What i want is, when the Gbank is full, use "HBRelog.SkipCurrentTask".
      For that i tried :
      Code:
          <If Condition="GBankTotalFreeSlots &lt;= 20" IgnoreCanRun="True">     
         <CustomAction Code="HBRelog.SkipCurrentTask(HBRelog.CurrentProfileName);" />    
          </If>
      But when i use that, the profile gives me an error and won't compile.
      It's basically saying that i can't use <= with GbankTotalFreeSlots..

      So...i can't really figure out where to go from here!
       
    15. matuschek

      matuschek New Member

      Joined:
      Jan 26, 2013
      Messages:
      2
      Likes Received:
      0
      Trophy Points:
      0
    16. Keldorn

      Keldorn New Member

      Joined:
      Jul 2, 2012
      Messages:
      560
      Likes Received:
      0
      Trophy Points:
      0
      Hey,

      my toons stop their work when they have herbs or ores to mill/prospect?!?
      E.g. 17 herbs and toon says "Done milling"

      PHP:
            <While Condition="InbagCount(79011) &gt;= 5" IgnoreCanRun="True">
              <
      DisenchantAction ActionType="Mill" ItemTarget="Specific" ItemId="79011" />
            </While>
      Thats the code - whats wrong?
       
    17. TheMaff

      TheMaff New Member

      Joined:
      May 15, 2012
      Messages:
      467
      Likes Received:
      4
      Trophy Points:
      0
      Read the first post install guide T_T
       
    18. Bengan12

      Bengan12 Well-Known Member

      Joined:
      Feb 24, 2011
      Messages:
      1,967
      Likes Received:
      31
      Trophy Points:
      48
      Tried moving herbs around a bit? some times that helps.
       
    19. Keldorn

      Keldorn New Member

      Joined:
      Jul 2, 2012
      Messages:
      560
      Likes Received:
      0
      Trophy Points:
      0
      Yes sometimes - but with that problem i cant mill/prospect afk Oo
      Is the code the problem or the Disenchantaction"MIll"?
       
    20. kittenyolo

      kittenyolo New Member

      Joined:
      Mar 31, 2013
      Messages:
      3
      Likes Received:
      0
      Trophy Points:
      0
      solved
       
      Last edited: Apr 15, 2013

    Share This Page