Results 1 to 1 of 1

Thread: Como Limpar Canal Server Log ?

  1. #1
    Premium User
    Join Date
    May 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Question Como Limpar Canal Server Log ?

    Existe alguma função para limpar server log ?

    Pois estou usando um contador de creaturas pelos server log, e quando renovar a task queria limpar o server log que assim automaticamente ele
    zera o contador.

    Se alguem puder Ajudar


    Segue Script Kill Counter HUD by Ropiderz
    Name: Kill Counter HUD by Ropiderz
    Version: v1.0.0
    Status: Works; TODO: ;]]--;;;
    local SCREEN_X, SCREEN_Y = 15, 500
    local CONSIDER_MONSTERS = {"Demon"}

    --[[ ENGINE ]]--
    setfontcolor("White")
    local SCRIPT_INFO = "Name: Task Helper\nVersion: 1.3.1\nAuthor: Ropiderz"
    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 == 19) 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('Killed Demons : ' .. KILLED_CREATURES .. '', SCREEN_X, SCREEN_Y)
    Last edited by rafaelcetara; 05-23-2013 at 10:20 AM.

Tags for this Thread

Posting Permissions

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