BBot - The best bot of the world

Full Version: Tem como?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
colocar uma HUD que mostra-se o lucro ou gasto que esta tendo o char ?

Tipo:
gasto:
5 mana potion = 250gp
13 healt potion = 650gp

loot:
5 crossbow = 200gp
3 dwarven shield = 800gp
gold coin = 600gp

total drop = 1600gp
total gasto = 900gp

de modo que pudessemos alterar o preço dos itens
tbm cheguei a pensar nisso, uma Calculadora de Waste/Lucro bota o preço de cada item e conta o que gastou X o preço e subtrai do que ganhou, mostrando quanto vc terá no final, Boa ideia!

é uma coisa simples que ia ser bem legal!
Tentem fazer!

Quem conseguir ganaha REP++ Big Grin
realmente funciona e eh facil porem ele fica enchendo a tela tipo
-------------------------------
gasto:
5 mana potion = 250gp
13 healt potion = 650gp

loot:
5 crossbow = 200gp
3 dwarven shield = 800gp
gold coin = 600gp

total drop = 1600gp
total gasto = 900gp
---------------------------------
---------------------------------
gasto:
5 mana potion = 250gp
13 healt potion = 650gp

loot:
5 crossbow = 200gp
3 dwarven shield = 800gp
gold coin = 600gp

total drop = 1600gp
total gasto = 900gp
----------------------------------
----------------------------------
gasto:
5 mana potion = 250gp
13 healt potion = 650gp

loot:
5 crossbow = 200gp
3 dwarven shield = 800gp
gold coin = 600gp

total drop = 1600gp
total gasto = 900gp
-----------------------------------
-----------------------------------
gasto:
5 mana potion = 250gp
13 healt potion = 650gp

loot:
5 crossbow = 200gp
3 dwarven shield = 800gp
gold coin = 600gp

total drop = 1600gp
total gasto = 900gp
-----------------------------------

Acertei o tempo para 4000 ele fica piscando mas não espana a tela ^^
Posta o macro. Big Grin
Acabou ficando assim Big Grin
acabei colocando 4000ms ele fica piscando mas pelo menos não ta enchendo a tela de span ^^
Quote:4000 {Macro Sample}
#ITEMS
goldCoin:=Misc.ItemCountEx(3031)
goldCoinValue:=1 VarMult(goldCoin, !goldCoinValue!) Qntitem1:=Misc.ItemCountEx(10275)
item1:=Misc.ItemCountEx(10275)
item1Value:=35 VarMult(item1, !item1Value!)
Qntitem2:=Misc.ItemCountEx(10275)
item2:=Misc.ItemCountEx(9692)
item2Value:=10 VarMult(item2, !item2Value!)
profitItems:=0 VarAdd(profitItems, !goldCoin!)
VarAdd(profitItems, !item1!)
VarAdd(profitItems, !item2!)

#POTIONS
manaPotion:=15
manaPotionNow:=Misc.ItemCountEx(268)
manaPotionValue:=50 VarSub(manaPotion, !manaPotionNow!) manaPotionGP:=!manaPotion! VarMult(manaPotionGP, !manaPotionValue!) profitPotions:=0 VarAdd(profitPotions, !manaPotionGP!)

#HUD ITEMS
HUD.Setup(1, 0, 255, 255, 0)
HUD.Display()
HUD.Setup(1, 0, 106, 106, 255)
HUD.Display(ITEMS LOOTED)
HUD.Setup(1, 0, 183, 183, 183)
HUD.Display(Gold Coin: !goldCoin!)
HUD.Display(Carrion Fang: !Qntitem1! (!item1!gp))
HUD.Display(Lumps of dirt: !Qntitem1! (!item2!gp))

#HUD POTIONS
HUD.Setup(1, 0, 255, 255, 255)
HUD.Display()
HUD.Setup(1, 0, 106, 106, 255)
HUD.Display(SUPPLIES USED)
HUD.Setup(1, 0, 183, 183, 183)
HUD.Display(Mana Potion: !manaPotion! (!manaPotionGP! gp))

#PRINT PROFIT TOTAL HUNT profitTotal:=0 VarAdd(profitTotal, !profitItems!) VarSub(profitTotal, !profitPotions!)
HUD.Display()
HUD.Setup(1, 0, 255, 0, 0)
HUD.Display(GASTO !profitPotions!)
HUD.Setup(1, 0, 0, 255, 0)
HUD.Display(LUCRO !profitTotal! gp)