Results 1 to 7 of 7

Thread: HUD vengoth Castle

  1. #1
    Normal User
    Join Date
    Jun 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    HUD vengoth Castle

    Someone has a Monitor my hunt for Vengoth Castle? Thank you.

  2. #2
    Normal User RafiXWPT's Avatar
    Join Date
    Jun 2012
    Location
    (Poland) http://rafixwptscripts.com
    Posts
    1,602
    Mentioned
    31 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    128 Post(s)
    Reputation
    128
    Rep Power
    9
    You can create one by yourself much faster than asking someone to give xd

  3. #3
    Normal User
    Join Date
    Jun 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    If im asking, is cause idk how to do it. if i buy my scripts, is cause idk how to make one.

  4. #4
    iBot User Deepling [troll <3]'s Avatar
    Join Date
    May 2013
    Location
    Gray Island
    Posts
    673
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    54 Post(s)
    Reputation
    127
    Rep Power
    6
    here you are
    -- [[ General Info HUD by ToadZ (light version) v0.3 ]]

    -- [[ Supplies Wasted ]]
    local showSuppliesWasted = true
    local suppliesitems = {'mana potion'}
    local suppsvalue = {50}

    -- [[ Items looted ]]
    local showLoots = true
    local lootitems = {"Moonlight Rod", "gold coin", "platinum coin", "leather whip", "sweet smelling bait", "boots of haste", "relic sword", "vampire shield", "dreaded cleaver", "mercenary sword", "terra mantle", "bonebreaker", "blue robe", "shadow sceptre", "chaos mace", "war axe", "batwing hat", "haunted blade", "epee", "focus cape", "bonebeast trophy", "knight legs", "mysterious voodoo skull", "diamond sceptre", "hibiscus dress", "skeleton decoration", "hailstorm rod", "crown helmet", "platinum amulet", "crystal of focus", "ice rapier", "crystal of balance", "death ring", "spike sword", "bat wing", "berserk potion", "demonic essence", "hardened bone", "ancient shield", "black shield", "emerald bangle", "stone skin amulet", "scythe leg", "mutated bat ear", "werewolf fur", "essence of a bad dream", "hair of a banshee", "talon", "blood preservation", "small diamond", "black pearl", "vampire teeth", "petrified scream", "bony tail", "small amethyst", "white pearl", "time ring", "ring of healing", "life crystal", "strong mana potion", "blood goblet", "bar of chocolate", "red robe", "piggy bank", "velvet tapestry", "golden legs", "butchers axe", "vile axe", "gold ingot", "cats paw", "assassin star", "steel boots", "assassin dagger", "noble axe", "terra rod"}
    local lootsvalue = {200,1,100,20000,120000,30000,25000,15000,15000,12 000,11000,10000,10000,10000,9000,12000,8000,8000,8 000,8000,6000,5000,4000,3000,3000,3000,3000,2500,2 500,2000,1000,1000,1000,1000,50,500,1000,700,900,8 00,800,0,450,420,380,360,350,500,320,300,280,275,2 50,210,200,160,0,0,0,80,10000,0,15000,0,800,30000, 18000,30000,5000,2000,100,30000,20000,10000,2000}

    local myname = true -- DO NOT DISABLE, make your char stop healing :P

    local fontsize = 8
    local fontspacing = fontsize+2

    -- [[ ENGINE ]] -- do not change it below

    local cont = 0
    local x = 5
    local y = 0
    local z = 0
    local totals = 0
    local totall = 0
    local total = 0
    local sub = 17

    if clientwin.x ~= nil or clientwin.y ~= nil then
    setposition(clientwin.x+13, clientwin.y+50)
    else
    setposition(13, 30)
    end

    setfontstyle("Verdana", fontsize, "white")
    if showSuppliesWasted then
    setfontcolor("yellow")
    addtext('________________________', 0, y)
    setfontcolor("orange")
    y = y + 15
    addtext("Supplies", x, y)
    addtext(":", 120, y)
    addtext(totals.." GPs", 130, y)
    y = y + 15
    end
    local supps = getitems(unpack(suppliesitems))
    local qtds = supps.count-1
    for i=0,qtds do
    if string.len(supps[i].name) > 17 then
    addtext(string.sub((supps[i].name), 1, sub).."...", x, y)
    else
    addtext(supps[i].name, x, y)
    end
    addtext(": "..supps[i].usage.." ("..(math.floor(supps[i].usage*suppsvalue[i+1] / 100)/10).."k)", 120, y)
    totals = totals + supps[i].usage*suppsvalue[i+1]
    y = y + 7
    end

    -- [[ Loots ]]

    if showLoots then
    setfontcolor("yellow")
    addtext('________________________', 0, y)
    setfontcolor("white")
    y = y + 15
    local loots = getitems(unpack(lootitems))
    local qtdl = loots.count-1
    for i=0,qtdl do
    if loots[i].loot > 0 then
    if string.len(loots[i].name) > 17 then
    addtext(string.sub(loots[i].name, 1, sub).."..", x, y)
    else
    addtext(loots[i].name, x, y)
    end
    addtext(": "..loots[i].loot.." ("..(math.floor(loots[i].loot*lootsvalue[i+1] / 100)/10).."k)", 120, y)
    totall = totall + loots[i].loot*lootsvalue[i+1]
    y = y + 15
    end
    end
    addtext("Total", x, y)
    addtext(":", 120, y)
    addtext(totall.." GPs", 130, y)
    y = y + 10
    end

    if showSuppliesWasted and showLoots then
    setfontcolor("yellow")
    addtext('___________________________', 0, y)
    y = y + 15
    total = totall - totals
    if totall-totals > 0 then
    setfontcolor("green")
    addtext("PROFIT:", x, y)
    else
    setfontcolor("red")
    addtext("WASTE:", x, y)
    end
    setfontcolor("white")
    addtext(total.." GPs ("..(math.floor((total/(tosec(timehunt)/3600))/100)/10).."k/h)", x + 50, y)
    y = y + 7
    setfontcolor("yellow")
    addtext('___________________________', 0, y)
    y = y + 15
    end
    setfontcolor("blue")
    addtext(" ~ Made by Soul Team ~", x, y)
    setfontcolor("white")
    y = y + 7
    setfontcolor("yellow")
    addtext('___________________________', 0, y)

  5. #5
    Premium User Eldar's Avatar
    Join Date
    Apr 2013
    Location
    Poland
    Posts
    1,335
    Mentioned
    37 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    62 Post(s)
    Reputation
    159
    Rep Power
    7
    He asked about monitor my hunting, not ToadZ HUD... Loot here: http://www.tibiaibot.com/forum/showt...Generator-BETA

  6. #6
    Focus Group sunlips's Avatar
    Join Date
    Feb 2013
    Location
    WWA
    Posts
    644
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    47 Post(s)
    Reputation
    60
    Rep Power
    5
    -- [[ INIT START ]] --
    --
    -- 88
    -- "" ,d
    -- 88
    -- ,adPPYba, 88 8b,dPPYba, 88,dPYba,,adPYba, ,adPPYYba, MM88MMM ,adPPYba,
    -- I8[ "" 88 88P' "Y8 88P' "88" "8a "" `Y8 88 a8P_____88
    -- `"Y8ba, 88 88 88 88 88 ,adPPPPP88 88 8PP"""""""
    -- aa ]8I 88 88 88 88 88 88, ,88 88, "8b, ,aa
    -- Author: `"YbbdP"' 88 88 88 88 88 `"8bbdP"Y8 "Y888 `"Ybbd8"'
    --
    -- Monitor My Hunting!
    --
    -- Version: 1.0
    -- Created: 7.09.2012
    -- Last update: 18.09.2012
    --

    MONITOR_MY_HUNTING = MONITOR_MY_HUNTING or {
    SCRIPT_NAME = "Monitor My Hunting",
    SCRIPT_VERSION = "1.0",

    CLEARED_STATS = false,
    INITIALIZED = false,
    }

    MONITOR_MY_HUNTING.SHOW_ALL_ITEMS = false
    MONITOR_MY_HUNTING.ITEMS_LIST = {
    {NAME = "gold coin", VALUE = 1},
    {NAME = "platinum coin", VALUE = 100},
    {NAME = "leather whip", VALUE = 30000},
    {NAME = "boots of haste", VALUE = 30000},
    {NAME = "war axe", VALUE = 12000},
    {NAME = "shadow sceptre", VALUE = 10000},
    {NAME = "knight legs", VALUE = 5000},
    {NAME = "diamond sceptre", VALUE = 3000},
    {NAME = "crown helmet", VALUE = 2500},
    {NAME = "focus cape", VALUE = 6000},
    {NAME = "demonic essence", VALUE = 1000},
    {NAME = "crystal of focus", VALUE = 3000},
    {NAME = "death ring", VALUE = 1000},
    {NAME = "scythe leg", VALUE = 450},
    {NAME = "bar of chocolate", VALUE = 1000},
    {NAME = "strong health potion", VALUE = 100},
    {NAME = "soul orb", VALUE = 25},
    {NAME = "mysterious voodoo skull", VALUE = 4000},
    {NAME = "strong mana potion", VALUE = 80},
    {NAME = "essence of a bad dream", VALUE = 360},
    {NAME = "ancient shield", VALUE = 900},
    {NAME = "skeleton decoration", VALUE = 3000},
    {NAME = "concentrated demonic blood", VALUE = 80},
    {NAME = "sweet smelling bait", VALUE = 100000},
    {NAME = "golden legs", VALUE = 30000},
    {NAME = "assassin dagger", VALUE = 20000},
    {NAME = "relic sword", VALUE = 25000},
    {NAME = "steel boots", VALUE = 30000},
    {NAME = "paladin armor", VALUE = 15000},
    {NAME = "dreaded cleaver", VALUE = 15000},
    {NAME = "vampire shield", VALUE = 15000},
    {NAME = "mercenary sword", VALUE = 12000},
    {NAME = "terra mantle", VALUE = 11000},
    {NAME = "bonebreaker", VALUE = 10000},
    {NAME = "blue robe", VALUE = 10000},
    {NAME = "red piece of cloth", VALUE = 10000},
    {NAME = "red robe", VALUE = 10000},
    {NAME = "blood goblet", VALUE = 10000},
    {NAME = "broken key ring", VALUE = 8000},
    {NAME = "vile axe", VALUE = 30000},
    {NAME = "butcher's axe", VALUE = 18000},
    {NAME = "epee", VALUE = 8000},
    {NAME = "batwing hat", VALUE = 8000},
    {NAME = "noble axe", VALUE = 10000},
    {NAME = "haunted blade", VALUE = 8000},
    {NAME = "chaos mace", VALUE = 9000},
    {NAME = "tower shield", VALUE = 8000},
    {NAME = "springsprout rod", VALUE = 8000},
    {NAME = "spellbook of enlightnment", VALUE = 4000},
    {NAME = "gold ingot", VALUE = 5000},
    {NAME = "bonebeast trophy", VALUE = 6000},
    {NAME = "crystal of balance", VALUE = 1000},
    {NAME = "terra rod", VALUE = 2000},
    {NAME = "ice rapier", VALUE = 1000},
    {NAME = "hardened bone", VALUE = 70},
    {NAME = "cat's paw", VALUE = 2000},
    {NAME = "spike sword", VALUE = 1000},
    {NAME = "blood preservation", VALUE = 320},
    {NAME = "emerald bangle", VALUE = 800},
    {NAME = "mutated rat tail", VALUE = 420},
    {NAME = "stealth ring", VALUE = 200},
    {NAME = "dwarven ring", VALUE = 500},
    {NAME = "bullseye potion", VALUE = 500},
    {NAME = "haunted piece of wood", VALUE = 115},
    {NAME = "small emerald", VALUE = 250},
    {NAME = "black pearl", VALUE = 280},
    {NAME = "small amethyst", VALUE = 200},
    {NAME = "clay lump", VALUE = 500},
    {NAME = "great health potion ", VALUE = 190},
    {NAME = "boggy dreads", VALUE = 200},
    {NAME = "ultimate health potion", VALUE = 310},
    {NAME = "great spirit potion", VALUE = 190},
    {NAME = "small topaz", VALUE = 200},
    {NAME = "stone skin amulet", VALUE = 500},
    {NAME = "bony tail", VALUE = 210},
    {NAME = "hair of a banshee", VALUE = 350},
    {NAME = "ring of healing", VALUE = 600},
    {NAME = "mutated bat ear", VALUE = 420},
    {NAME = "small diamond", VALUE = 300},
    {NAME = "petrified scream", VALUE = 250},
    {NAME = "white pearl", VALUE = 160},
    {NAME = "life crystal", VALUE = 200},
    {NAME = "berserk potion", VALUE = 500},
    {NAME = "bat wing", VALUE = 50},
    {NAME = "wolf paw", VALUE = 70},
    {NAME = "brown mushroom", VALUE = 10},
    {NAME = "wereworlf fur", VALUE = 380},
    {NAME = "orichalcum pearl", VALUE = 80},
    {NAME = "vampire teeth", VALUE = 275},
    {NAME = "life ring", VALUE = 500},
    {NAME = "mana potion", VALUE = 50},
    {NAME = "hibiscus dress", VALUE = 3000},
    {NAME = "velvet tapestry", VALUE = 800},
    {NAME = "warrior helmet", VALUE = 5000},
    {NAME = "black skull", VALUE = 4000},
    {NAME = "dracoyle statue", VALUE = 5000},
    {NAME = "onyx flail", VALUE = 22000},
    {NAME = "hellspawn tail", VALUE = 475},
    {NAME = "platinum amulet", VALUE = 2500},
    }

    MONITOR_MY_HUNTING.SHOW_ALL_SUPPLIES = true
    MONITOR_MY_HUNTING.SUPPLIES_LIST = {
    {NAME = "mana potion", PRICE = 50},
    {NAME = "strong mana potion", PRICE = 80},
    {NAME = "great mana potion", PRICE = 120},
    {NAME = "health potion", PRICE = 45},
    {NAME = "strong health potion", PRICE = 100},
    {NAME = "great health potion", PRICE = 190},
    {NAME = "ultimate health potion", PRICE = 310},
    {NAME = "assassin star", PRICE = 100},
    {NAME = "prismatic bolt", PRICE = 20},
    {NAME = "crystalline arrow", PRICE = 20},
    {NAME = "great fireball rune", PRICE = 45},
    {NAME = "sudden death rune", PRICE = 108},
    {NAME = "avalanche rune", PRICE = 45},
    {NAME = "icicle rune", PRICE = 30},
    {NAME = "fireball rune", PRICE = 30},
    {NAME = "thunderstorm rune", PRICE = 37},
    }

    -- [[ DO NOT CHANGE ANYTHING BELOW THIS LINE. ]] --

    MONITOR_MY_HUNTING.TEMP_ITEMS_LIST = MONITOR_MY_HUNTING.TEMP_ITEMS_LIST or {}
    MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST = MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST or {}
    MONITOR_MY_HUNTING.COLORS = MONITOR_MY_HUNTING.COLORS or {
    BLACK = rgbcolor(1, 1, 1),
    ORANGE = rgbcolor(255, 165, 0),
    BLUE = rgbcolor(30, 144, 255),
    CORNSILK = rgbcolor(205, 200, 177),
    WHITE = rgbcolor(255, 255, 255),
    GREEN = rgbcolor(107, 142, 35),
    RED = rgbcolor(178, 34, 34),
    }

    local function CreateMessageObject(MESSAGE_DATA)
    if (type(MESSAGE_DATA) ~= "userdata") then
    return setmetatable({__data = {TYPE = -1, TIME_STAMP = -1, SENDER_NAME = "", SENDER_LEVEL = -1, CONTENT = ""}}, MessageMetaTable)
    else
    return setmetatable({__data = {TYPE = MESSAGE_DATA.type, TIME_STAMP = Misc.ConvertToSeconds(string.sub(MESSAGE_DATA.text , 1, 5)), SENDER_NAME = MESSAGE_DATA.sender, SENDER_LEVEL = tonumber((tostring(string.match(MESSAGE_DATA.text, ".+ (%b[]): .+")):gsub("[^%d]", ""))) or 0, CONTENT = string.sub(MESSAGE_DATA.text, 7)}}, MessageMetaTable)
    end
    end

    local function addtextshadow(DISPLAY_TEXT, X_OFFSET, Y_OFFSET, FONT_COLOR)
    setfontcolor(MONITOR_MY_HUNTING.COLORS.BLACK)
    addtext(DISPLAY_TEXT, X_OFFSET + 1, Y_OFFSET + 1)
    setfontcolor(FONT_COLOR)
    addtext(DISPLAY_TEXT, X_OFFSET, Y_OFFSET)
    end
    -- [[ INIT END ]] --

    if (not Stats.Update()) then
    local SERVER_LOG_MESSAGES = getnewmessages("Server Log")
    local SERVER_LOG_MESSAGES_COUNT = SERVER_LOG_MESSAGES.count - 1

    for INDEX = 0, SERVER_LOG_MESSAGES_COUNT do
    local MESSAGE_OBJECT = CreateMessageObject(SERVER_LOG_MESSAGES[SERVER_LOG_MESSAGES_COUNT - INDEX])

    if (MESSAGE_OBJECT:Type() == 19 and MESSAGE_OBJECT:Content():lower():match("^loot of")) then
    local LOOT_INFO = Message.ParseLootMessage(MESSAGE_OBJECT, true)

    if (#LOOT_INFO.NAME > 0) then
    Stats.__data.MONSTERS_KILLED[LOOT_INFO.NAME] = (Stats.__data.MONSTERS_KILLED[LOOT_INFO.NAME] or 0) + 1

    for _, LOOT_ITEM in ipairs(LOOT_INFO.ITEMS) do
    if (Stats.__data.ITEMS_LOOTED[LOOT_ITEM.ID]) then
    Stats.__data.ITEMS_LOOTED[LOOT_ITEM.ID].QUANTITY = Stats.__data.ITEMS_LOOTED[LOOT_ITEM.ID].QUANTITY + LOOT_ITEM.QUANTITY
    else
    Stats.__data.ITEMS_LOOTED[LOOT_ITEM.ID] = {ID = LOOT_ITEM.ID, NAME = LOOT_ITEM.NAME, QUANTITY = LOOT_ITEM.QUANTITY, VALUE = Item.GetValue(LOOT_ITEM.ID)}
    end
    end
    end
    end
    end
    end

    local RESET_ITEMS_AND_SUPPLIES = #MONITOR_MY_HUNTING.ITEMS_LIST ~= #MONITOR_MY_HUNTING.TEMP_ITEMS_LIST or #MONITOR_MY_HUNTING.SUPPLIES_LIST ~= #MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST

    if (not RESET_ITEMS_AND_SUPPLIES) then
    for INDEX, LOOT_ITEM in ipairs(MONITOR_MY_HUNTING.ITEMS_LIST) do
    if (LOOT_ITEM.NAME ~= MONITOR_MY_HUNTING.TEMP_ITEMS_LIST[INDEX].NAME or LOOT_ITEM.VALUE ~= MONITOR_MY_HUNTING.TEMP_ITEMS_LIST[INDEX].VALUE) then
    RESET_ITEMS_AND_SUPPLIES = true
    break
    end
    end
    end

    if (not RESET_ITEMS_AND_SUPPLIES) then
    for INDEX, SUPPLY_ITEM in ipairs(MONITOR_MY_HUNTING.SUPPLIES_LIST) do
    if (SUPPLY_ITEM.NAME ~= MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST[INDEX].NAME or SUPPLY_ITEM.PRICE ~= MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST[INDEX].PRICE) then
    RESET_ITEMS_AND_SUPPLIES = true
    break
    end
    end
    end

    if (not MONITOR_MY_HUNTING.INITIALIZED or RESET_ITEMS_AND_SUPPLIES) then
    if (not MONITOR_MY_HUNTING.CLEARED_STATS) then
    Stats.Clear(CLEAR_STATS_ALL)
    Stats.Update()

    MONITOR_MY_HUNTING.CLEARED_STATS = true
    end

    MONITOR_MY_HUNTING.TEMP_ITEMS_LIST, MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST = {}, {}

    for _, LOOT_ITEM in ipairs(MONITOR_MY_HUNTING.ITEMS_LIST) do
    local LOOT_ITEM_ID = Item.GetID(type(LOOT_ITEM.NAME) ~= "table" and LOOT_ITEM.NAME or unpack(LOOT_ITEM.NAME))

    Stats.AddItemsLooted(LOOT_ITEM_ID, 0, LOOT_ITEM.VALUE)
    table.insert(MONITOR_MY_HUNTING.TEMP_ITEMS_LIST, {ID = LOOT_ITEM_ID, NAME = LOOT_ITEM.NAME, VALUE = LOOT_ITEM.VALUE})
    end

    for _, SUPPLY_ITEM in ipairs(MONITOR_MY_HUNTING.SUPPLIES_LIST) do
    local SUPPLY_ITEM_ID = Item.GetID(type(SUPPLY_ITEM.NAME) ~= "table" and SUPPLY_ITEM.NAME or unpack(SUPPLY_ITEM.NAME))

    Stats.AddSuppliesUsed(SUPPLY_ITEM_ID, 0, SUPPLY_ITEM.PRICE)
    table.insert(MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST , {ID = SUPPLY_ITEM_ID, NAME = SUPPLY_ITEM.NAME, PRICE = SUPPLY_ITEM.PRICE})
    end

    MONITOR_MY_HUNTING.INITIALIZED = true
    end

    setposition(Client.ClientWindow().right - 434, Client.WorldWindow().top + 5)

    local Y_POSITION, INDEX, ITEMS_LOOTED_WORTH, SUPPLIES_USED_WORTH = 30, 0, 0, 0

    addtextshadow(sprintf("%s v%s", MONITOR_MY_HUNTING.SCRIPT_NAME:upper(), MONITOR_MY_HUNTING.SCRIPT_VERSION), 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.ORANGE)

    Y_POSITION = Y_POSITION + 20

    addtextshadow("ITEMS LOOTED", 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.BLUE)

    Y_POSITION = Y_POSITION + 20

    for _, LOOT_ITEM in pairs(Stats.GetItemsLooted()) do
    if ((MONITOR_MY_HUNTING.SHOW_ALL_ITEMS or table.find(MONITOR_MY_HUNTING.TEMP_ITEMS_LIST, LOOT_ITEM.ID, "ID")) and LOOT_ITEM.QUANTITY > 0) then
    addtextshadow(((#LOOT_ITEM.NAME > 17 and sprintf("%s...", string.match(string.sub(LOOT_ITEM.NAME, 1, 17), "(.-)%s?$"))) or LOOT_ITEM.NAME):ucwords(), 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.CORNSILK)
    addtextshadow(sprintf("%s (%sK)", Misc.FormatNumber(LOOT_ITEM.QUANTITY), tostring(math.floor(LOOT_ITEM.VALUE * LOOT_ITEM.QUANTITY / 100) / 10)), 140, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.WHITE)

    INDEX, ITEMS_LOOTED_WORTH = INDEX + 1, ITEMS_LOOTED_WORTH + (LOOT_ITEM.VALUE * LOOT_ITEM.QUANTITY)
    end
    end

    addtextshadow("Total:", 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.WHITE)
    addtextshadow(sprintf("%s GPs", Misc.FormatNumber(ITEMS_LOOTED_WORTH)), 10 + 35, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.ORANGE)

    Y_POSITION = Y_POSITION + 20

    addtextshadow("SUPPLIES USED", 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.BLUE)

    Y_POSITION = Y_POSITION + 20

    for _, SUPPLY_ITEM in pairs(Stats.GetSuppliesUsed()) do
    if ((MONITOR_MY_HUNTING.SHOW_ALL_SUPPLIES or table.find(MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST, SUPPLY_ITEM.ID, "ID")) and SUPPLY_ITEM.QUANTITY > 0) then
    addtextshadow(((#SUPPLY_ITEM.NAME > 17 and sprintf("%s...", string.match(string.sub(SUPPLY_ITEM.NAME, 1, 17), "(.-)%s?$"))) or SUPPLY_ITEM.NAME):ucwords(), 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.CORNSILK)
    addtextshadow(sprintf("%s (%sK)", Misc.FormatNumber(SUPPLY_ITEM.QUANTITY), tostring(math.floor(SUPPLY_ITEM.PRICE * SUPPLY_ITEM.QUANTITY / 100) / 10)), 140, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.WHITE)

    INDEX, SUPPLIES_USED_WORTH = INDEX + 1, SUPPLIES_USED_WORTH + (SUPPLY_ITEM.PRICE * SUPPLY_ITEM.QUANTITY)
    end
    end

    addtextshadow("Total:", 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.WHITE)
    addtextshadow(sprintf("%s GPs", Misc.FormatNumber(SUPPLIES_USED_WORTH)), 10 + 35, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.ORANGE)

    Y_POSITION = Y_POSITION + 20

    addtextshadow(sprintf("%s: %s GPs (%s K/H)", ((ITEMS_LOOTED_WORTH >= SUPPLIES_USED_WORTH and ("PROFIT")) or ("WASTE")), Misc.FormatNumber(ITEMS_LOOTED_WORTH - SUPPLIES_USED_WORTH), tostring(math.floor(((ITEMS_LOOTED_WORTH - SUPPLIES_USED_WORTH) * 3600) / (System.HuntingTime() / 1000) / 100) / 10)), 10, Y_POSITION + (INDEX * 16), ITEMS_LOOTED_WORTH >= SUPPLIES_USED_WORTH and MONITOR_MY_HUNTING.COLORS.GREEN or MONITOR_MY_HUNTING.COLORS.RED)
    Last edited by sunlips; 12-16-2013 at 03:46 PM.

  7. #7
    Normal User
    Join Date
    Jun 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Thank you very much all for the fast help. and sry for my terrible english

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •