Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Waste/profit hud for dragons!

  1. #1
    Normal User
    Join Date
    Sep 2012
    Posts
    131
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    18
    Rep Power
    5

    Exori if 3 or more creatures around ?

    i also need a script for exori when more than 3 mobs around!
    Last edited by Xudam; 12-08-2013 at 11:42 AM.

  2. #2
    iScripter Eli's Avatar
    Join Date
    Mar 2012
    Posts
    3,764
    Mentioned
    492 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    955 Post(s)
    Reputation
    586
    Rep Power
    10
    This HUD requires sirmate's library, you can find the LUA file in scripts section, don't forget to edit item list and prices for your own.


    Lua Code:
     
    -- [[ 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 = "mastermind potion", VALUE = 500},
    		{NAME = "spitter nose", VALUE = 340},
    		{NAME = "small amethyst", VALUE = 200},
    		{NAME = "dung ball", VALUE = 130},
    		{NAME = "emerald bangle", VALUE = 800},
    		{NAME = "waspoid claw", VALUE = 320},
    		{NAME = "black pearl", VALUE = 280},
    		{NAME = "small emerald", VALUE = 250},
    		{NAME = "small topaz", VALUE = 200},
    		{NAME = "crawler head plating", VALUE = 210},
    		{NAME = "great health potion", VALUE = 190},
    		{NAME = "waspoid wing", VALUE = 190},
    		{NAME = "compound eye", VALUE = 150},
    		{NAME = "swarmer antenna", VALUE = 130},
    		{NAME = "great mana potion", VALUE = 120},
    		{NAME = "carapace shield", VALUE = 32000},
    		{NAME = "hive scythe", VALUE = 17000},
    		{NAME = "grasshopper legs", VALUE = 50000},
    		{NAME = "epee", VALUE = 8000},
    		{NAME = "springsprout rod", VALUE = 3600},
    		{NAME = "war hammer", VALUE = 1200},
    		{NAME = "yellow gem", VALUE = 1000},
    		{NAME = "calopteryx cape", VALUE = 15000},
    		{NAME = "crusader helmet", VALUE = 8000},
    		{NAME = "platinum amulet", VALUE = 2500},
    		{NAME = "green gem", VALUE = 5000},
    		{NAME = "crystal sword", VALUE = 600},
    		{NAME = "time ring", VALUE = 1000},
    	}
     
    	MONITOR_MY_HUNTING.SHOW_ALL_SUPPLIES = false
    	MONITOR_MY_HUNTING.SUPPLIES_LIST = {
    		{NAME = "mana potion", PRICE = 50},
    		{NAME = "great health potion", PRICE = 190},
    		{NAME = "ultimate health potion", PRICE = 310},
    	}
     
    	-- [[ 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.Client****ow().right - 434, Client.World****ow().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)

  3. #3
    Normal User
    Join Date
    Sep 2012
    Posts
    131
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    18
    Rep Power
    5
    I have installed the LUA correctly but your HUD wont show when i copy paste it into my script.
    Everything is on true.
    Last edited by Xudam; 12-08-2013 at 11:51 AM.

  4. #4
    Banned
    Join Date
    Jan 2013
    Posts
    1,792
    Mentioned
    37 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    76 Post(s)
    Reputation
    191
    Rep Power
    0
    Quote Originally Posted by Xudam View Post
    i also need a script for exori when more than 3 mobs around!
    Lua Code:
     
    local PVP = false
    local AMOUNT = 3
    local MONSTERS_CONSIDER = {"demon", "dragon lord", "dragon"}
     
    if (maround(1, false, unpack(MONSTERS_CONSIDER)) >= AMOUNT) then
              if cancast("exori") and (mp >= 115) then
                           if (PVP) then
                                        if (paround(7, true) == 0) and (lasttimeplayeronscreen > 10000) then
                                                          cast("exori")
                                                          wait(300,700)
                                        end
                           else
                                        cast("exori")
                                        wait(300,700)
                           end
              end
    end


    at the place "local MONSTERS_CONSIDER" wirte names of monster how you are hunting.

  5. #5
    Normal User
    Join Date
    Sep 2012
    Posts
    131
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    18
    Rep Power
    5
    Quote Originally Posted by ampegox View Post
    Lua Code:
     
    local PVP = false
    local AMOUNT = 3
    local MONSTERS_CONSIDER = {"demon", "dragon lord", "dragon"}
     
    if (maround(1, false, unpack(MONSTERS_CONSIDER)) >= AMOUNT) then
              if cancast("exori") and (mp >= 115) then
                           if (PVP) then
                                        if (paround(7, true) == 0) and (lasttimeplayeronscreen > 10000) then
                                                          cast("exori")
                                                          wait(300,700)
                                        end
                           else
                                        cast("exori")
                                        wait(300,700)
                           end
              end
    end


    at the place "local MONSTERS_CONSIDER" wirte names of monster how you are hunting.

    Thanks, where do i put it ?

  6. #6
    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
    Quote Originally Posted by Xudam View Post
    Thanks, where do i put it ?
    Make new action and put it into this action

  7. #7
    Normal User AcidAlchamy's Avatar
    Join Date
    Jul 2012
    Location
    The Labratory
    Posts
    749
    Mentioned
    16 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    10 Post(s)
    Reputation
    180
    Rep Power
    7
    Quote Originally Posted by Xudam View Post
    I have installed the LUA correctly but your HUD wont show when i copy paste it into my script.
    Everything is on true.

    You need sirmates library downloadable here

    http://www.tibiaibot.com/forum/showt...Library-v1-1-1


    //Use this link please.

    Greetings Gryllz
    Last edited by Gryllz; 12-09-2013 at 09:38 AM.

    Follow my Activity on Facebook?
    https://www.facebook.com/AcidAlchamyPage
    Download iBot : iBot v2.3.6 - Released
    My Free Scripts :
    ★Free Scripts★ By Acid Alchamy
    Acid Alchamy Updates :
    Updates About Acid Alchamy
    All Scripts by Acid Alchamy :
    All My Posted Scripts
    Latest Thread by Acid Alchamy:
    [Tutorial] Sellers - Avoid Getting Scammed

    +Rep Everyone That Helps You, I'll ALWAYS Return A +Rep.





  8. #8
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    These don't require any custom libraries:

    HUD (Add this to a new Hud Action):

    PHP Code:
    -- [ -ModifiedGeneral Info HUD by ToadZ v0.4 ] --   http://www.tibiaibot.com/forum/showthread.php?8212-General-Info-HUD-by-ToadZ


    -- Supply Settings

    local suppliesitems 
    = {"Great Spirit Potion""Strong Mana Potion"}
    local suppsvalue = {19080}


    local showSuppliesWasted true
    local showLoots 
    true

    local lootitems 
    = {"dragon scale mail""royal helmet""dragon slayer""dragon lord trophy""tower shield""dragon shield""fire sword""wand of inferno""dragonbone staff""dragon hammer""serpent sword""red dragon scale""small diamond""golden mug""small sapphire""red dragon leather""green dragon leather""dragon's tail""green dragon scale""strong health potion""life crystal""health potion""gold coin""green mushroom"}

    local lootsvalue = {4000030000150001000080004000400030003000200090040030025025020010010010010085451100}

    local fontsize 10
    local fontspacing 
    fontsize+2

    local cont 
    0
    local y 
    45
    local x 
    10
    local z 
    0
    local totals 
    0
    local totall 
    0
    local total 
    0
    local sub 
    17

    local 
    function captalizeAll(firstrest)
      return 
    first:upper()..rest:lower()
    end


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

    if showSuppliesWasted then
    setfontcolor
    ("white"addtext('-----------------------------------------'0y10 
    setfontcolor
    ("yellow"addtext('       [ Supplies wasted ]'15y10 
    setfontcolor
    ("white"addtext('-----------------------------------------'0y10 

    local supps 
    getitems(unpack(suppliesitems)) 
    local qtds supps.count-

    for i=0,qtds do 

    if 
    string.len(supps[i].name) > 17 then 
    addtext
    (string.sub((supps[i].name), 1sub).."..."xy
    else 
    addtext(supps[i].namexy
    end 

    addtext
    ("- "..supps[i].usage.." ("..(math.floor(supps[i].usage*suppsvalue[i+1] / 100)/10).."k)"120ytotals totals supps[i].usage*suppsvalue[i+115 
    end 
    10 
    addtext
    ("Total"xy
    addtext("-"120y
    addtext(totals.." GPs"130y10 
    end 

    if showLoots then 
    setfontcolor
    ("white"addtext('-----------------------------------------'0y
    setfontcolor("yellow"10 addtext('         [ Items looted ]'15y10 
    setfontcolor
    ("white"addtext('-----------------------------------------'0y10 

    local loots 
    getitems(unpack(lootitems)) 
    local qtdl loots.count-

    for i=0,qtdl do 

    if 
    loots[i].loot 0 then 
    lootname 
    loots[i].name:gsub("(%a)([%w_']*)"captalizeAll
    if 
    string.len(loots[i].name) > 17 then 
    addtext
    (string.sub(lootname1sub)..".."xy
    else 
    addtext(lootnamexy
    end 

    addtext
    ("- "..loots[i].loot.." ("..(math.floor(loots[i].loot*lootsvalue[i+1] / 100)/10).."k)"120ytotall totall loots[i].loot*lootsvalue[i+115 
    end 
    end 

    10 
    addtext
    ("Total"xy
    addtext("-"120y
    addtext(totall.." GPs"130y10 
    end 

    if showSuppliesWasted and showLoots then
    setfontcolor
    ("white"addtext('-----------------------------------------'0y10 total totall totals 

    if totall-totals 0 then 
    setfontcolor
    ("green"addtext("PROFIT:"xy
    else 
    setfontcolor("red"addtext("WASTE:"xy
    end 

    setfontcolor
    ("white"addtext(total.." GPs ("..(math.floor((total/(tosec(timehunt)/3600))/100)/10).."k/h)"50y10 
    end 

    And here's an AOE Action, which also doesnt require anything (add this to a new Action):

    PHP Code:
    local pvpServer false
    local creaturesToHit 
    = {"Dragon""Dragon Lord"}
    local aoeCount 3

    if pvpServer and maround(3unpack(creaturesToHit)) >= aoeCount and paround(7true) == 0 then cast("exori")
    elseif 
    not pvpServer and maround(3unpack(creaturesToHit)) >= aoeCount then cast("exori"end 

  9. #9
    Normal User
    Join Date
    Sep 2012
    Posts
    131
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    18
    Rep Power
    5
    Quote Originally Posted by Eldar View Post
    Make new action and put it into this action
    How do i make a new action ?

  10. #10
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Quote Originally Posted by Xudam View Post
    How do i make a new action ?
    Amazing.

    http://www.tibiaibot.com/forum/showt...l=1#post364407

    You are a very special person.

    TL;DR (Which you obviously haven't and wont) - Click Actions > List. Then Click Options > New.
    Last edited by pink_panther; 12-09-2013 at 09:16 AM.

Posting Permissions

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