Results 1 to 4 of 4

Thread: Task Counter

  1. #1
    iBot User
    Join Date
    Aug 2014
    Posts
    13
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    14
    Rep Power
    3

    Task Counter

    Hello Guys,

    i Tried to find one hud to count how many monster ive killed but no sucess.

    Anyone have it to share? good one please xD

    thanks

  2. #2
    iBot User
    Join Date
    Jan 2014
    Posts
    118
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    30 Post(s)
    Reputation
    14
    Rep Power
    3
    local SCREEN_X, SCREEN_Y = 0, 550
    local CONSIDER_MONSTERS = {"wasp"} -- pode adicionar mais

    --[[ ENGINE ]]--
    local SERVER_LOG_MSG = getmessages("Server Log")
    local SERVER_LOG_MSG_COUNT, KILLED_CREATURES = SERVER_LOG_MSG.count - 1, 0
    for INDEX = 0, SERVER_LOG_MSG_COUNT do
    if (SERVER_LOG_MSG[SERVER_LOG_MSG_COUNT - INDEX].text:find('Loot of a') and SERVER_LOG_MSG[SERVER_LOG_MSG_COUNT - INDEX].type == 20) then
    for _, MONSTER in ipairs(CONSIDER_MONSTERS) do
    if (SERVER_LOG_MSG[SERVER_LOG_MSG_COUNT - INDEX].text:find(MONSTER:lower())) then
    KILLED_CREATURES = KILLED_CREATURES + 1
    end
    end
    end
    end
    addtext(' Eu acabei de', SCREEN_X, SCREEN_Y-15)
    addtext(' matar ' .. KILLED_CREATURES .. ' Monstros', SCREEN_X, SCREEN_Y)
    by manuu

  3. #3
    iScripter Eli's Avatar
    Join Date
    Mar 2012
    Posts
    3,764
    Mentioned
    492 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    956 Post(s)
    Reputation
    586
    Rep Power
    10
    Quote Originally Posted by Gurox View Post
    Hello Guys,

    i Tried to find one hud to count how many monster ive killed but no sucess.

    Anyone have it to share? good one please xD

    thanks
    if you're using iBot+ just import hud, it's built-in already

  4. #4
    iBot User
    Join Date
    Aug 2014
    Posts
    13
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    14
    Rep Power
    3
    Thanks!!

Posting Permissions

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