12-31-2012, 06:41 PM
(12-31-2012, 09:56 AM)Kimoszin Wrote: You edited the macro saying it's of his own!
Code:HUD.Display(Simple HUD System by EpK)
I did not like it, but I'll help you.
Code:#ITEMS
goldCoin:=Misc.ItemCountEx(3031)
goldCoinValue:=1
VarMult(goldCoin, !goldCoinValue!)
mutatedFlesh:=Misc.ItemCountEx(10308)
mutatedFleshValue:=50
VarMult(mutatedFlesh, !mutatedFleshValue!)
globOfMercury:=Misc.ItemCountEx(9053)
globOfMercuryValue:=20
VarMult(globOfMercury, !globOfMercuryValue!)
globOfAcidSlime:=Misc.ItemCountEx(9054)
globOfAcidSlimeValue:=25
VarMult(globOfAcidSlime, !globOfAcidSlimeValue!)
profitItems:=0
VarAdd(profitItems, !goldCoin!)
VarAdd(profitItems, !mutatedFlesh!)
VarAdd(profitItems, !globOfMercury!)
VarAdd(profitItems, !globOfAcidSlime!)
#POTIONS
manaPotion:=20
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(Simple HUD System by Kimoszin)
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(Mutated Flesh: !mutatedFlesh!)
HUD.Display(Glob Of Mercury: !globOfMercury!)
HUD.Display(Glob Of Acid Slime: !globOfAcidSlime!)
HUD.Setup(1, 0, 0, 255, 0)
HUD.Display(Total: !profitItems! 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))
HUD.Setup(1, 0, 0, 255, 0)
HUD.Display(Total: !profitPotions! gp)
#PRINT PROFIT TOTAL HUNT
profitTotal:=0
VarAdd(profitTotal, !profitItems!)
VarSub(profitTotal, !profitPotions!)
HUD.Display()
HUD.Display(PROFIT: !profitTotal! gp)
thnx sorry about epk was trying to make my own