Results 1 to 3 of 3

Thread: Server Log

  1. #1
    Banned
    Join Date
    Jul 2012
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    0

    Server Log

    Tem como usar o server log para ativar uma action/waypoint?

    "loot of mutated tiger, Angelic Axe" - Então ativa a action "go to label dp"

    ou, no caso o que eu gostaria de usar mesmo é:

    "You advanced from level 30 to level 31" - Então ir para label "hunt_sub_solo"

    Desculpa ai as perguntas, é que preciso para um script.

  2. #2
    Banned
    Join Date
    Jul 2012
    Location
    Santa Cruz do Sul - RS
    Posts
    867
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    21
    Rep Power
    0
    Tente essa, basta ali na mensagem de level você mudar para a que você quiser e no gotolabel também,

    Code:
    local index = 0 
    local msgs = getmessages("Server Log")
    local qtd = msgs.count-1
    for i=0,qtd do
       if msgs[qtd].sender == msgs[qtd].text:find('You advanced from level 30 to level 31') then
         gotolabel("hunt_sub_solo")
       end
    end
    Last edited by Sayildd; 08-17-2012 at 01:21 PM.

  3. #3
    Banned
    Join Date
    Jul 2012
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    0
    Vou testar, obrigado.

Posting Permissions

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