• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [A+H] Full Garrison Automation

    Discussion in 'Archives' started by ChronoAS, Nov 29, 2014.

    ?

    What profile would you like?

    1. Single profile for both factions

      0 vote(s)
      0.0%
    2. Two separate profiles: one for ally, one for horde

      0 vote(s)
      0.0%
    1. J_D

      J_D Guest

      It does not pick up any work orders for me. In fact the only thing it does is gathering Ores in the mine. I'm Alliance. Logfile.
       
      Last edited by a moderator: Dec 2, 2014
    2. mcwhat

      mcwhat New Member

      Joined:
      May 6, 2013
      Messages:
      109
      Likes Received:
      0
      Trophy Points:
      0
      Look forward to trying this out when the servers come back up. If it works I'll definitely buy the OP a beer!
       
    3. dyaba

      dyaba New Member

      Joined:
      Aug 25, 2014
      Messages:
      4
      Likes Received:
      0
      Trophy Points:
      0
      PB Warning: Custom Action:(Fish();)
      Compile Error :
       
    4. ChronoAS

      ChronoAS Member

      Joined:
      Nov 5, 2012
      Messages:
      75
      Likes Received:
      13
      Trophy Points:
      8
      It's a questing profile.
       
    5. BotOperator

      BotOperator Well-Known Member

      Joined:
      Jan 17, 2012
      Messages:
      5,649
      Likes Received:
      74
      Trophy Points:
      48
      It would be great if it will also unlock the baracks you get at the beginning but where you need to do a quest chain for :D
       
    6. ChronoAS

      ChronoAS Member

      Joined:
      Nov 5, 2012
      Messages:
      75
      Likes Received:
      13
      Trophy Points:
      8
      Do you mean completing construstion by unlocking barracks?
       
    7. ChronoAS

      ChronoAS Member

      Joined:
      Nov 5, 2012
      Messages:
      75
      Likes Received:
      13
      Trophy Points:
      8
      Gusy, there are great news! I FOUND A WAY TO INTERACT WITH BOXES WITHOUT FUCKING ID'S.

      Professionbuddy's profile will remove a lot of problems!

      I will post new profile this night.
       
    8. chasemay

      chasemay New Member

      Joined:
      May 21, 2010
      Messages:
      105
      Likes Received:
      0
      Trophy Points:
      0
      ChronoAS, I just have to say thank you so much for this. This is perfect for managing many toons and will provide a steady income source.

      Sending you a much deserved donation for this. Thanks.
       
    9. vcreation

      vcreation Member

      Joined:
      Nov 17, 2013
      Messages:
      261
      Likes Received:
      1
      Trophy Points:
      18
      this could be just the BEST profile ever made for WoD, I can't wait to test it out with my 22 toons. but stupid server extend down
       
      Last edited: Dec 2, 2014
    10. ebouster

      ebouster New Member

      Joined:
      Oct 6, 2012
      Messages:
      245
      Likes Received:
      1
      Trophy Points:
      0
      this is fabulous! will save a lot of people a lot of time... donation sent
       
    11. Dr Jackall

      Dr Jackall New Member

      Joined:
      Jul 25, 2012
      Messages:
      118
      Likes Received:
      0
      Trophy Points:
      0
      Great man! Thanks for your work! It's amazing!
       
    12. Aion

      Aion Well-Known Member Buddy Store Developer

      Joined:
      Jan 18, 2011
      Messages:
      3,907
      Likes Received:
      105
      Trophy Points:
      63
      Great news.

      I just wanna propose a simple but effective suggestion for the next release.

      Since its constantly updated project, its normal to have new version every now and then, so using static profile names would be a great help for people, using it on alot of characters.

      The version could be updated in the [name] tag, but the file name remains the same, so we will not need to reload it multiple times.

      Thanks.
       
    13. vcreation

      vcreation Member

      Joined:
      Nov 17, 2013
      Messages:
      261
      Likes Received:
      1
      Trophy Points:
      18
      quick question, when running in mine, with a toon that already has mining, do you turn off mining in HB setting or leave it on? and what about herbalist?
       
    14. ChronoAS

      ChronoAS Member

      Joined:
      Nov 5, 2012
      Messages:
      75
      Likes Received:
      13
      Trophy Points:
      8
      Turn both off.
       
    15. BaturalNoobs

      BaturalNoobs Member

      Joined:
      Feb 10, 2012
      Messages:
      511
      Likes Received:
      4
      Trophy Points:
      18
      I have a suggestion to improve the "C_Garrison.RequestShipmentCreation()" Lua calls. Instead of having it run 21 times per building, I recommend using a while condition instead.

      First off, I suggest replacing the Lumber Mill section's lines 121-125 with this:

      HTML:
      <If Condition="(GetItemCount(114781) &gt;= 10)" >
      	<CustomBehavior File="TargetAndMoveToMob" MobId="84248"  WaitForNpcs="True" MoveWithinMaxRangeOfMob="5" IgnoreLoSToTarget="True" />			
      	<CustomBehavior File="InteractWith" MobId="84248" NumOfTimes="1" WaitForNpcs="False" CollectionDistance="40"/>
      	<!-- While I have 10 Lumber -->
      	<While Condition="(GetItemCount(114781) &gt;= 10)" >
      		<CustomBehavior File="Misc\RunLua" Lua="C_Garrison.RequestShipmentCreation()" NumOfTimes="1" WaitTime="1000" />
      	</While>
      </If>
      ...and the Trade Post work order section, lines 128-133:

      HTML:
      <If Condition="(ObjectManager.GetObjectsOfType&lt;WoWGameObject&gt;().Any(u =&gt; (u.Entry == 237027) &amp;&amp; u.Distance &lt;= 50))" >
      	<CustomBehavior File="InteractWith" MobId="237027" NumOfTimes="4" WaitForNpcs="False" CollectionDistance="40" MovementBy="ClickToMoveOnly" />
      	<CustomBehavior File="TargetAndMoveToMob" MobId="87217"  WaitForNpcs="True" MoveWithinMaxRangeOfMob="5" IgnoreLoSToTarget="True" />			
      	<CustomBehavior File="InteractWith" MobId="87217" NumOfTimes="1" WaitForNpcs="False" CollectionDistance="40"/>
      	<!-- While I have 30 Garrison Resources -->
      	<While Condition="(GetCurrencyAmount(824) &gt;= 30)" >
      		<CustomBehavior File="Misc\RunLua" Lua="C_Garrison.RequestShipmentCreation()" NumOfTimes="1" WaitTime="1000" />
      	</While>
      </If>
      ...and the Garden work order section, lines 196-200:

      HTML:
      <!-- Work orders -->
      <If Condition="(GetItemCount(116053) &gt;= 5)" >
      	<CustomBehavior File="InteractWith" MobId="85514" NumOfTimes="1" WaitForNpcs="False" CollectionDistance="40" MovementBy="ClickToMoveOnly" />
      	<!-- While I have 5 Draenic Stone -->
      	<While Condition="(GetItemCount(116053) &gt;= 5)" >	
      		<CustomBehavior File="Misc\RunLua" Lua="C_Garrison.RequestShipmentCreation()" NumOfTimes="1" WaitTime="1000" />
      	</While>
      </If>
      ...and you get the idea. Just set each "C_Garrison" Lua's NumOfTimes=1 and wrap it in a While statement with the respective item/currency amount. This should really speed up the profile and greatly reduce the amount of lua calls.

      Thanks for this awesome profile!
       
    16. ChronoAS

      ChronoAS Member

      Joined:
      Nov 5, 2012
      Messages:
      75
      Likes Received:
      13
      Trophy Points:
      8
      Your profile will get stuck in condition when you've reached 21 work orders, but still have ore/seeds/lumber. Questing buddy was a mere testing for me. I am creating a profession buddy profile and it is ALREADY puts accurate amount of work orders.

      Anyway, thanks for feedback. Much appreciated.
       
    17. Wullie

      Wullie New Member

      Joined:
      Jun 8, 2013
      Messages:
      411
      Likes Received:
      3
      Trophy Points:
      0
      Overall profile working AMAZINGLY!

      Having a few little issues in the mine, only one some toons, with some nodes.

      For example, on is just stuck inside this while loop:

      Code:
      			<While Condition="(ObjectManager.GetObjectsOfType&lt;WoWGameObject&gt;().Any(u =&gt; (u.Entry == 232542 || u.Entry == 232544 || u.Entry == 232543 || u.Entry == 232545 || u.Entry == 232541) &amp;&amp; u.Distance &lt;= 15))" >
      				<!-- Вагонетка -->
      				<CustomBehavior File="InteractWith" MobId="232541" NumOfTimes="1" WaitForNpcs="False" CollectionDistance="15" WaitTime="1000" MovementBy="ClickToMoveOnly" />
      
      				<CustomBehavior File="InteractWith" MobId="232542" NumOfTimes="1" WaitForNpcs="False" CollectionDistance="15" WaitTime="1000" MovementBy="ClickToMoveOnly" />
      				<CustomBehavior File="InteractWith" MobId="232544" NumOfTimes="1" WaitForNpcs="False" CollectionDistance="15" WaitTime="1000" MovementBy="ClickToMoveOnly" />
      				<CustomBehavior File="InteractWith" MobId="232543" NumOfTimes="1" WaitForNpcs="False" CollectionDistance="15" WaitTime="1000" MovementBy="ClickToMoveOnly" />
      				<CustomBehavior File="InteractWith" MobId="232545" NumOfTimes="1" WaitForNpcs="False" CollectionDistance="15" WaitTime="1000" MovementBy="ClickToMoveOnly" />
      				
      				<CustomBehavior File="MyCTM" DestName="Mine (Right from stairs)" X="5495.918" Y="4462.643" Z="89.02313" />
      			</While>	
      
      Now, at a guess the node is exactly 15 units away (I can see it), but InteractWith is only going to work on things *less than* 15 away? If I pause HB and mine the node manually, it continues on okay. I've had this a couple of times.

      Even if you don't think that's the cause, could we have a counter on these loops so if it hits 100 iterations, it moves on?

      Thanks again!
       
    18. willeroni

      willeroni New Member

      Joined:
      Nov 30, 2014
      Messages:
      21
      Likes Received:
      0
      Trophy Points:
      0
      Wrong Thread!!!
       
      Last edited: Dec 2, 2014
    19. vcreation

      vcreation Member

      Joined:
      Nov 17, 2013
      Messages:
      261
      Likes Received:
      1
      Trophy Points:
      18
      my toon is stuck at alliance trading post L2 again but this time it goes to pickup the shipment(if there is any) and then stand still there forever

      [InteractWith-v1857(debug)] WaypointVisitStrategy set to Random
      [QDBG] Starting behavior Bots.Quest.QuestOrder.ForcedCodeBehavior.
      Inserted new hook [Combat_Only @0] f271521b-eff3-426a-94c8-429b0371bb37
      Inserted new hook [Death_Main @0] 9ddbfeba-ba17-4c7c-8a6f-1a1c9708377b
      [InteractWith-v1857(debug)] Interacting with 'Trading Post Shipment'
      Interacting with Trading Post Shipment (GameObject Id: 237027)
      Goal: InteractWith-v1857: In Progress (no associated quest)
      Interacting with Trading Post Shipment
      [Ref: "Alliance Garrison Any Levels" @line 133]
      [InteractWith-v1857(debug)] Interact with 'Trading Post Shipment' succeeded.
      Blacklisting 283AD890E0E778C00070BA00007E84DF for 00:03:00 [Type: Interact] - Reason: No reason specified. Caller: at Honorbuddy.QuestBehaviorCore.Extensions_WoWObject.BlacklistForInteracting(WoWObject wowObject, TimeSpan duration) in c:\Users\Shannon\Desktop\Honorbuddy\Quest Behaviors\QuestBehaviorCore\Extensions\Extensions_WoWObject.cs:line 50

      [InteractWith-v1857(debug)] No viable mobs in area.
      Excluded Units:
      Trading Post Shipment [Blacklisted(Time(2m59s/3m00s),ForInteract)]

      [Ref: "Alliance Garrison Any Levels" @line 133]
      [InteractWith-v1857(debug)] InteractWith behavior complete. Terminating--"WaitForNpcs" is false.
      Activity: No viable mobs in area.
      [QDBG] Done with forced behavior Bots.Quest.QuestOrder.ForcedCodeBehavior.
      Removed hook [Combat_Only] f271521b-eff3-426a-94c8-429b0371bb37
      Removed hook [Death_Main] 9ddbfeba-ba17-4c7c-8a6f-1a1c9708377b
      [InteractWith-v1857(debug)] Behavior completed in 1s
      [TargetAndMoveToMob-v1844(debug)] WaypointVisitStrategy set to Random
      [QDBG] Starting behavior Bots.Quest.QuestOrder.ForcedCodeBehavior.
      Inserted new hook [Combat_Main @0] 972e0761-38f7-4c26-8f23-2d22259152ec
      Inserted new hook [Combat_Only @0] 768474f3-b2d9-43ce-8caa-6b06b57da719
      Inserted new hook [Death_Main @0] 4e9aa689-daee-4e08-8a11-02bf15ae8adf
      Goal: TargetAndMoveToMob-v1844: In Progress (no associated quest)
      Looking to target mobs: MobId(87217)
      [Ref: "Alliance Garrison Any Levels" @line 134]
      Activity: Moving to hunting ground waypoint 'hunting ground center'
      Activity: No viable mobs in area.
      Activity: Moving to hunting ground waypoint 'hunting ground center'
      Activity: No viable mobs in area.
      Activity: Moving to hunting ground waypoint 'hunting ground center'
       
    20. fuzzyhobo

      fuzzyhobo New Member

      Joined:
      Dec 29, 2013
      Messages:
      10
      Likes Received:
      0
      Trophy Points:
      0
      For enchanting, Luminous Shard isn't the daily cooldown, Temporal Crystal is.
       

    Share This Page