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!

Boucle dans un profile ProfessionBuddy ???

Kikoo

Member
Joined
Nov 15, 2010
Messages
270
Bonjour

Je m'explique je cherche ? cr?er une boucle dans un de mes profiles profession buddy afin que les actions se r?p?tent ind?finiment jusqu'? ce que j'appuie sur STOP .

J'ai pas mal cherch? sur le forum et malheureusement je n'ai rien trouv?. Si quelqu'un de plus cal? que moi pouvais m'aider ?a serait cool.

Cordialement
 
Utilise un while sans condition ou juste true comme condition (je me souviens plus sur le coup).
 
La boucle While avec en condition true fonctionne.
Est ce que la suite des actions est dans la boucle?
 
bon je suis relativement noob l? dedans ( jamais fait de C ou autre ) j'apprend au fur et ? mesure :p
Jte montre mon profile vite fait.

Code:
<Professionbuddy>
  
  <While Condition="true">
   <StackItemsAction />
  <SellItemOnAhAction Category="TradeGoods" SubCategoryType="WoWItemTradeGoodsClass" SubCategory="MetalStone" UseCategory="True" RunTime="_24_Hours" AmountType="Everything" ItemID="" MinBuyout="0g10s0c" MaxBuyout="100g0s0c" StackSize="20" IgnoreStackSizeBelow="20" Amount="10" BidPrecent="95" UndercutPrecent="0.1" AutoFindAh="True" PostIfBelowMinBuyout="True" Location="0, 0, 0" />
  <DisenchantAction ActionType="Mill" ItemTarget="All" ItemQuality="Uncommon" ItemId="0" />
  <StackItemsAction />
  <CastSpellAction RepeatType="Craftable" Repeat="1" Entry="111646" CastOnItem="False" ItemType="Chest" ItemId="0" />
  <CastSpellAction RepeatType="Craftable" Repeat="1" Entry="111645" CastOnItem="False" ItemType="Chest" ItemId="0" />
  <CastSpellAction RepeatType="Craftable" Repeat="1" Entry="127021" CastOnItem="False" ItemType="Chest" ItemId="0" />
  <SellItemAction Sell="All" NpcEntry="3322" Location="1908.45, -4217.19, 36.86888" SellItemType="Specific" ItemID="87584" Count="0" />
  <PutItemInBankAction Category="TradeGoods" SubCategoryType="WoWItemTradeGoodsClass" SubCategory="None" Deposit="All" UseCategory="True" Bank="Personal" ItemID="" GuildTab="0" NpcEntry="0" Amount="0" AutoFindBank="True" Location="0, 0, 0" />
  <SellItemOnAhAction Category="TradeGoods" SubCategoryType="WoWItemTradeGoodsClass" SubCategory="Herb" UseCategory="True" RunTime="_24_Hours" AmountType="Everything" ItemID="" MinBuyout="0g10s0c" MaxBuyout="180g0s0c" StackSize="20" IgnoreStackSizeBelow="1" Amount="10" BidPrecent="95" UndercutPrecent="0.1" AutoFindAh="True" PostIfBelowMinBuyout="True" Location="0, 0, 0" />
  <GetItemfromBankAction Withdraw="Amount" Bank="Personal" MinFreeBagSlots="1" GetItemfromBankType="SpecificItem" ItemID="39354" NpcEntry="0" Amount="200" AutoFindBank="True" WithdrawAdditively="True" Location="0, 0, 0" />
  <GetMailAction GetMailType="AllItems" ItemID="" CheckNewMail="True" MinFreeBagSlots="2" AutoFindMailBox="True" Location="0, 0, 0" />
  <CustomAction Code="Log(&quot;[ProfessionBuddy] Profile Restarting.&quot;);" />
  </While>
  
</Professionbuddy>


Edit :
If you need something put in an 'endless loop', the following paradigm works well...
<While Condition="true">
<!-- whatever -->
</While>

Jabon ? :p
 
Last edited:
Je comprend pas je viens de check l? ?a marche.....d'apres mes calcule les 70k po/jours ne son plus tr?s loin :p


Edit merci pour l'aide !
 
Back
Top