activate skinning in the general settings,
worked for me ages ago, didnt test since then
i havent tested it but i would assume you can do it wit the "InteractWith" quest behaviour.
<CustomBehavior File="CollectThings"
MobId="12345"
CollectUntil="NoTargetsInArea"
CollectItemCount="1"
CollectItemId="12345"
MobState="Dead"
PostInteractDelay="1600" />
can you tell me how to do it? tried to figure it out for past 2 hours and I cant make it...i had to combine this behavior with another one to get it to work properly, but thanks for the hint!
another way is to use the CollectThings behavior something like this:
but every 10 mobs or so the behavior caused a problem and the bot stands there for 3 or 4 seconds doing nothing, so i went with the first solution which runs more constant.Code:<CustomBehavior File="CollectThings" MobId="12345" CollectUntil="NoTargetsInArea" CollectItemCount="1" CollectItemId="12345" MobState="Dead" PostInteractDelay="1600" />
<HBProfile>
Profile Developer: Donald Trump
<Name>endless self conscious enhancer</Name>
<MinFreeBagSlots>-11</MinFreeBagSlots>
<MinDurability>-1</MinDurability>
<MailGrey>False</MailGrey>
<MailWhite>false</MailWhite>
<MailGreen>False</MailGreen>
<MailBlue>False</MailBlue>
<MailPurple>false</MailPurple>
<SellGrey>True</SellGrey>
<SellWhite>True</SellWhite>
<SellGreen>True</SellGreen>
<SellBlue>True</SellBlue>
<SellPurple>True</SellPurple>
<ProtectedItems>
</ProtectedItems>
<Vendors>
</Vendors>
<Mailboxes>
</Mailboxes>
<AvoidMobs>
</AvoidMobs>
<Blacklist>
</Blacklist>
<Blackspots>
</Blackspots>
<QuestOrder>
<!-- add the following line once to your profile at the top below <QuestOrder> -->
<CustomBehavior File="RunCode" Type="Definition" Code="int miningCounter = 0;" />
<!-- put your hotspots and other stuff here -->
<DisableBehavior Name="Combat" />
<MoveTo X="-336.799" Y="161.749" Z="47.80421" />
<MoveTo X="-301.8751" Y="121.1135" Z="45.02083" />
<MoveTo X="-383.7891" Y="71.76392" Z="45.83294" />
<MoveTo X="-389.9401" Y="74.78466" Z="45.83452" />
<MoveTo X="-404.3139" Y="29.42205" Z="45.78165" />
<MoveTo X="-354.6057" Y="29.67383" Z="48.60788" />
<EnableBehavior Name="Combat" />
<!-- Mining start - add all following code when you want the bot to start mining the mobs in area -->
<CustomBehavior File="RunCode" Code="miningCounter = 0" />
<while Condition="miningCounter < 4">
<CustomBehavior File="TargetAndMoveToMob" MobId="53732"
TargetOnlyIfHealthPercentBelow="1"
MoveWithinMaxRangeOfMob="2"
WaitForNpcs="false"/>
<while Condition="(Me.CurrentTarget != null) && (Me.CurrentTarget.Entry == 53732)">
<if Condition="!(Me.IsCasting)">
<CustomBehavior File="InteractWith" MobId="53732" WaitTime="1600" MobState="Dead" KeepTargetSelected="true"/>
</if>
<CustomBehavior File="TargetAndMoveToMob" MobId="53732"
TargetOnlyIfHealthPercentBelow="1"
MoveWithinMaxRangeOfMob="3"
WaitForNpcs="false"/>
</while>
<CustomBehavior File="RunCode" Code="miningCounter++" />
</while>
<!-- Mining end -->
<!-- DT Quotes - you dont want to add this -->
<while Condition="true">
<CustomBehavior File="RunCode" Code="Logging.Write(System.Windows.Media.Colors.DeepSkyBlue, "people like me");" />
<CustomBehavior File="RunCode" Code="Logging.Write(System.Windows.Media.Colors.DeepSkyBlue, "im very smart");" />
<CustomBehavior File="RunCode" Code="Logging.Write(System.Windows.Media.Colors.DeepSkyBlue, "everbody likes me");" />
<CustomBehavior File="RunCode" Code="Logging.Write(System.Windows.Media.Colors.DeepSkyBlue, "i know words; i have the best words");" />
</while>
</QuestOrder>
</HBProfile>
hey matei dont know how to further explain this.
generally i can say , that these methods will only work when you know where in your profile the bot has minable mobs arround.
maybe this example will make things more clear, i cant explain it any better than what i allready posted, sry.
Code:<HBProfile> Profile Developer: Donald Trump <Name>endless self conscious enhancer</Name> <MinFreeBagSlots>-11</MinFreeBagSlots> <MinDurability>-1</MinDurability> <MailGrey>False</MailGrey> <MailWhite>false</MailWhite> <MailGreen>False</MailGreen> <MailBlue>False</MailBlue> <MailPurple>false</MailPurple> <SellGrey>True</SellGrey> <SellWhite>True</SellWhite> <SellGreen>True</SellGreen> <SellBlue>True</SellBlue> <SellPurple>True</SellPurple> <ProtectedItems> </ProtectedItems> <Vendors> </Vendors> <Mailboxes> </Mailboxes> <AvoidMobs> </AvoidMobs> <Blacklist> </Blacklist> <Blackspots> </Blackspots> <QuestOrder> <!-- add the following line once to your profile at the top below <QuestOrder> --> <CustomBehavior File="RunCode" Type="Definition" Code="int miningCounter = 0;" /> <!-- put your hotspots and other stuff here --> <DisableBehavior Name="Combat" /> <MoveTo X="-336.799" Y="161.749" Z="47.80421" /> <MoveTo X="-301.8751" Y="121.1135" Z="45.02083" /> <MoveTo X="-383.7891" Y="71.76392" Z="45.83294" /> <MoveTo X="-389.9401" Y="74.78466" Z="45.83452" /> <MoveTo X="-404.3139" Y="29.42205" Z="45.78165" /> <MoveTo X="-354.6057" Y="29.67383" Z="48.60788" /> <EnableBehavior Name="Combat" /> <!-- Mining start - add all following code when you want the bot to start mining the mobs in area --> <CustomBehavior File="RunCode" Code="miningCounter = 0" /> <while Condition="miningCounter < 4"> <CustomBehavior File="TargetAndMoveToMob" MobId="53732" TargetOnlyIfHealthPercentBelow="1" MoveWithinMaxRangeOfMob="2" WaitForNpcs="false"/> <while Condition="(Me.CurrentTarget != null) && (Me.CurrentTarget.Entry == 53732)"> <if Condition="!(Me.IsCasting)"> <CustomBehavior File="InteractWith" MobId="53732" WaitTime="1600" MobState="Dead" KeepTargetSelected="true"/> </if> <CustomBehavior File="TargetAndMoveToMob" MobId="53732" TargetOnlyIfHealthPercentBelow="1" MoveWithinMaxRangeOfMob="3" WaitForNpcs="false"/> </while> <CustomBehavior File="RunCode" Code="miningCounter++" /> </while> <!-- Mining end --> <!-- DT Quotes - you dont want to add this --> <while Condition="true"> <CustomBehavior File="RunCode" Code="Logging.Write(System.Windows.Media.Colors.DeepSkyBlue, "people like me");" /> <CustomBehavior File="RunCode" Code="Logging.Write(System.Windows.Media.Colors.DeepSkyBlue, "im very smart");" /> <CustomBehavior File="RunCode" Code="Logging.Write(System.Windows.Media.Colors.DeepSkyBlue, "everbody likes me");" /> <CustomBehavior File="RunCode" Code="Logging.Write(System.Windows.Media.Colors.DeepSkyBlue, "i know words; i have the best words");" /> </while> </QuestOrder> </HBProfile>
3 compiler errors encountered in profile 'Felstate'
'CustomBehavior' xml element on line number 83 has following errors with code: public System.Threading.Tasks.Task __ExpressionFunc__0()
{
return new System.Func<System.Threading.Tasks.Task>(async () =>{miningCounter = 0;})();
}
1) The name 'miningCounter' does not exist in the current context at line 0
'while' xml element on line number 84 has following errors with code: public System.Boolean __ExpressionFunc__1()
{
return new System.Func<System.Boolean>(() => miningCounter < 4)();
}
1) The name 'miningCounter' does not exist in the current context at line 0
'CustomBehavior' xml element on line number 99 has following errors with code: public System.Threading.Tasks.Task __ExpressionFunc__4()
{
return new System.Func<System.Threading.Tasks.Task>(async () =>{miningCounter++;})();
}
1) The name 'miningCounter' does not exist in the current context at line 0
i dont know how to further explain this.
generally i can say , that these methods will only work when you know where in your profile the bot has minable mobs arround.
maybe this example will make things more clear, i cant explain it any better than what i allready posted, sry.
Code:<HBProfile> Profile Developer: Donald Trump <Name>endless self conscious enhancer</Name> <MinFreeBagSlots>-11</MinFreeBagSlots> <MinDurability>-1</MinDurability> <MailGrey>False</MailGrey> <MailWhite>false</MailWhite> <MailGreen>False</MailGreen> <MailBlue>False</MailBlue> <MailPurple>false</MailPurple> <SellGrey>True</SellGrey> <SellWhite>True</SellWhite> <SellGreen>True</SellGreen> <SellBlue>True</SellBlue> <SellPurple>True</SellPurple> <ProtectedItems> </ProtectedItems> <Vendors> </Vendors> <Mailboxes> </Mailboxes> <AvoidMobs> </AvoidMobs> <Blacklist> </Blacklist> <Blackspots> </Blackspots> <QuestOrder> <!-- add the following line once to your profile at the top below <QuestOrder> --> <CustomBehavior File="RunCode" Type="Definition" Code="int miningCounter = 0;" /> <!-- put your hotspots and other stuff here --> <DisableBehavior Name="Combat" /> <MoveTo X="-336.799" Y="161.749" Z="47.80421" /> <MoveTo X="-301.8751" Y="121.1135" Z="45.02083" /> <MoveTo X="-383.7891" Y="71.76392" Z="45.83294" /> <MoveTo X="-389.9401" Y="74.78466" Z="45.83452" /> <MoveTo X="-404.3139" Y="29.42205" Z="45.78165" /> <MoveTo X="-354.6057" Y="29.67383" Z="48.60788" /> <EnableBehavior Name="Combat" /> <!-- Mining start - add all following code when you want the bot to start mining the mobs in area --> <CustomBehavior File="RunCode" Code="miningCounter = 0" /> <while Condition="miningCounter < 4"> <CustomBehavior File="TargetAndMoveToMob" MobId="53732" TargetOnlyIfHealthPercentBelow="1" MoveWithinMaxRangeOfMob="2" WaitForNpcs="false"/> <while Condition="(Me.CurrentTarget != null) && (Me.CurrentTarget.Entry == 53732)"> <if Condition="!(Me.IsCasting)"> <CustomBehavior File="InteractWith" MobId="53732" WaitTime="1600" MobState="Dead" KeepTargetSelected="true"/> </if> <CustomBehavior File="TargetAndMoveToMob" MobId="53732" TargetOnlyIfHealthPercentBelow="1" MoveWithinMaxRangeOfMob="3" WaitForNpcs="false"/> </while> <CustomBehavior File="RunCode" Code="miningCounter++" /> </while> <!-- Mining end --> <!-- DT Quotes - you dont want to add this --> <while Condition="true"> <CustomBehavior File="RunCode" Code="Logging.Write(System.Windows.Media.Colors.DeepSkyBlue, "people like me");" /> <CustomBehavior File="RunCode" Code="Logging.Write(System.Windows.Media.Colors.DeepSkyBlue, "im very smart");" /> <CustomBehavior File="RunCode" Code="Logging.Write(System.Windows.Media.Colors.DeepSkyBlue, "everbody likes me");" /> <CustomBehavior File="RunCode" Code="Logging.Write(System.Windows.Media.Colors.DeepSkyBlue, "i know words; i have the best words");" /> </while> </QuestOrder> </HBProfile>
<HBProfile>
<!--
PROFILE EXPECTATIONS:
* When using this profile, be certain to set the HonorBuddy bot to (select only one):
( ) Gatherbuddy2
( ) Grinding / Mixed
(*) Questing
( ) PvP
* This profile is appropriate for (check all that apply):
[X] Alliance [ ] Achievement
[X] Horde [X] Farming
[ ] Leveling
[ ] PvP
[X] Questing
[ ] Reputation
[ ] Seasonal
* The profile grammar for the Levelbot (Questing & Grinding) can
be found at this Wiki location:
:Category:Honorbuddy:Levelbot:Grammar
* An explanation of <ForceMail> and <ProtectedItems> usage is here.
DO NOT INCLUDE a <ForceMail> element in a profile!
DO NOT INCLUDE a <ProtectedItems> element in a profile, unless it
is being used to protect items needed for a quest.
You can find more information in the Wiki here:
Honorbuddy:About ForceMail and ProtectedItems
-->
<Name>Felstate</Name>
<MinLevel>1</MinLevel>
<MaxLevel>999</MaxLevel>
<MinDurability>0.3</MinDurability>
<MinFreeBagSlots>2</MinFreeBagSlots>
<MailGrey>false</MailGrey>
<MailWhite>false</MailWhite>
<MailGreen>true</MailGreen>
<MailBlue>true</MailBlue>
<MailPurple>true</MailPurple>
<SellGrey>true</SellGrey>
<SellWhite>true</SellWhite>
<SellGreen>true</SellGreen>
<SellBlue>false</SellBlue>
<SellPurple>false</SellPurple>
<TargetElites>true</TargetElites>
<ProtectedItems>
<Item Name="Twilight Cultist Cowl" Entry="20408" />
<Item Name="Twilight Cultist Mantle" Entry="20406" />
<Item Name="Twilight Cultist Robe" Entry="20407" />
<Item Name="Encrypted Twilight Text" Entry="20404" />
<Item Name="Runecloth" Entry="14047" />
</ProtectedItems>
<AvoidMobs>
<Mob Name="Legion Endbringer" Entry="99762" />
<Mob Name="Abhorrent Artificer" Entry="106339" />
</AvoidMobs>
<Blackspots>
<Blackspot X="1244.657" Y="5049.592" Z="59.27303" Radius="20.84844" />
<Blackspot X="1273.038" Y="5119.884" Z="55.33503" Radius="10.84817" />
<Blackspot X="1278.58" Y="5132.558" Z="54.15429" Radius="12.01593" />
<Blackspot X="1295.15" Y="5142.682" Z="54.50596" Radius="9.864403" />
</Blackspots>
<Mailboxes>
</Mailboxes>
<Vendors>
</Vendors>
<QuestOrder>
<!-- add the following line once to your profile at the top below <QuestOrder> -->
<CustomBehavior File="RunCode" Type="Definition" Code="int miningCounter = 0;" />
<!-- put your hotspots and other stuff here -->
<DisableBehavior Name="Combat" />
<MoveTo X="1298.506" Y="5055.808" Z="64.45323" />
<MoveTo X="1331.635" Y="5046.226" Z="83.43247" />
<MoveTo X="1326.619" Y="5100.06" Z="69.61063" />
<MoveTo X="1282.849" Y="5122.46" Z="57.13943" />
<MoveTo X="1257.248" Y="5052.189" Z="58.95864" />
<EnableBehavior Name="Combat" />
<!-- Mining start - add all following code when you want the bot to start mining the mobs in area -->
<CustomBehavior File="RunCode" Code="miningCounter = 0" />
<while Condition="miningCounter < 4">
<CustomBehavior File="TargetAndMoveToMob" MobId="101868"
TargetOnlyIfHealthPercentBelow="1"
MoveWithinMaxRangeOfMob="2"
WaitForNpcs="false"/>
<while Condition="(Me.CurrentTarget != null) && (Me.CurrentTarget.Entry == 101868)">
<if Condition="!(Me.IsCasting)">
<CustomBehavior File="InteractWith" MobId="101868" WaitTime="1600" MobState="Dead" KeepTargetSelected="true"/>
</if>
<CustomBehavior File="TargetAndMoveToMob" MobId="101868"
TargetOnlyIfHealthPercentBelow="1"
MoveWithinMaxRangeOfMob="3"
WaitForNpcs="false"/>
</while>
<CustomBehavior File="RunCode" Code="miningCounter++" />
</while>
<!-- Mining end -->
<SetGrindArea>
<GrindArea>
<!-- Omit these elements, and allow them to default, unless there is a specific need...
<TargetMinLevel>53</TargetMinLevel>
<TargetMaxLevel>57</TargetMaxLevel>
<MaxDistance>40</MaxDistance>
-->
<RandomizeHotspots>true</RandomizeHotspots>
<!-- Use Factions OR MobIds, usually not both -->
<MobIds>101868</MobIds>
<Hotspots>
<Hotspot X="1298.506" Y="5055.808" Z="64.45323" />
<Hotspot X="1331.635" Y="5046.226" Z="83.43247" />
<Hotspot X="1326.619" Y="5100.06" Z="69.61063" />
<Hotspot X="1282.849" Y="5122.46" Z="57.13943" />
<Hotspot X="1257.248" Y="5052.189" Z="58.95864" />
</Hotspots>
</GrindArea>
</SetGrindArea>
<!-- Grind until level 111, then we'll move to a better grind area -->
<GrindUntil Nav="Fly" Condition="Me.Level >= 111.0" />
<!-- ...more grind areas... -->
</QuestOrder>
</HBProfile>
i guess you did not add
<CustomBehavior File="RunCode" Type="Definition" Code="int miningCounter = 0;" />
to your profile.
add it once , at the top, below <Questorder>
but i dont know if it works with grindbot if thats what your using. im using questing only
i originally opened this thread to get help on mining, now im answering questions about mining every day
id like to help you out, but my method is for mining a bunch of mobs after a big pull. not mining while grinding single mobs.
i might give this some thoughts today/tomorrow and if i can come up with the ultimate mining method that covers single target grinding and mass pull mining ill post it.... will try something with dowhen hook i guess.
edit: delete the MoveTo stuff! this was just an example. like the trump quotes.
<!-- put your hotspots and other stuff here -->
<DisableBehavior Name="Combat" />
<EnableBehavior Name="Combat" />