Posts: 19
Threads: 4
Joined: Jan 2013
Reputation:
0
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
Posts: 183
Threads: 28
Joined: Dec 2011
Reputation:
0
01-31-2013, 05:49 PM
(This post was last modified: 01-31-2013, 05:50 PM by yurimatos.)
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!
Posts: 2,912
Threads: 79
Joined: Jan 2012
Reputation:
0
Tentem fazer!
Quem conseguir ganaha REP++
Posts: 1,617
Threads: 15
Joined: Dec 2011
Reputation:
0
Posts: 19
Threads: 4
Joined: Jan 2013
Reputation:
0
02-01-2013, 07:38 AM
(This post was last modified: 02-01-2013, 08:35 AM by careca66.)
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 ^^
Posts: 2,912
Threads: 79
Joined: Jan 2012
Reputation:
0
Posta o macro.
Posts: 19
Threads: 4
Joined: Jan 2013
Reputation:
0
Acabou ficando assim
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)
|