Kekskruemel
Member
- Joined
- Jan 15, 2010
- Messages
- 236
- Reaction score
- 0
Hi highvoltz,
one little question
    
	
	
	
		
[Code from Bengan, modified by me]
he is buying all the items from one AH Page before running again the If Check with calculating (GainLoss = (Int32)MyStartingGold - (Int32)Me.Gold) < 2000".
Is this a Bug ? If not is there any way to force checking the If condition after buying each item and not the whole 50 from one AH Page ?
Thx
				
			one little question
		Code:
	
	<If Condition="(bool)Settings["AH Buy Ore"] && (int)Me.Gold >= (int)Settings["Minimum goldz to be able to buy."] && Me.FreeNormalBagSlots  > 7 && (GainLoss = (Int32)MyStartingGold - (Int32)Me.Gold) < 2000" IgnoreCanRun="False">
      <CallSubRoutine SubRoutineName="MoveToMAuctionhouse" />
      <If Condition="(Int32)Me.Gold >= (Int32)Settings["Minimum goldz to be able to buy."] && Me.FreeNormalBagSlots  > 7 && (GainLoss = (Int32)MyStartingGold - (Int32)Me.Gold) < 2000" IgnoreCanRun="False">
        <CustomAction Code="var2 = (Int32)Settings["BuyOut Amount Ghost"];" />
        <!--Klick "Buy Item From AH" Below then edit Max Buyout at the bottom-->
        <BuyItemFromAhAction ItemListType="Item" ItemID="72092" MaxBuyout="4g0s0c" Amount="20 * (Int32)var2" BuyAdditively="False" AutoFindAh="True" BidOnItem="False" Location="0, 0, 0" />
      </If>[Code from Bengan, modified by me]
he is buying all the items from one AH Page before running again the If Check with calculating (GainLoss = (Int32)MyStartingGold - (Int32)Me.Gold) < 2000".
Is this a Bug ? If not is there any way to force checking the If condition after buying each item and not the whole 50 from one AH Page ?
Thx







 
		 
 
		
 
 
		 
 
		