Ir para conteúdo
  • advertisement_alt
  • advertisement_alt
  • advertisement_alt

TheAndB

Membro
  • Registro em

  • Última visita

  1. TheAndB alterou sua foto pessoal
  2. TheAndB postou uma resposta no tópico em Suporte Tibia OTServer
    Como colocar a função fly no NPC? Não consta e não sei pra onde vai. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end -- Travel local function addTravelKeyword(keyword, text, cost, destination) local travelKeyword = keywordHandler:addKeyword({keyword}, StdModule.say, {npcHandler = npcHandler, text = 'Do you seek a ride to ' .. text .. ' for |TRAVELCOST|?', cost = cost, discount = 'postman'}) travelKeyword:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = false, cost = cost, discount = 'postman', destination = destination}) travelKeyword:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, text = 'You shouldn\'t miss the experience.', reset = true}) end addTravelKeyword('darashia', 'Darashia on Darama', 60, Position(33270, 32441, 6)) addTravelKeyword('svargrond', 'Svargrond', 60, Position(32253, 31097, 4)) addTravelKeyword('femor hills', 'the Femor Hills', 60, Position(32536, 31837, 4)) addTravelKeyword('edron', 'Edron', 60, Position(33193, 31784, 3)) addTravelKeyword('kazordoon', 'Kazordoon', 70, Position(33193, 31784, 3)) npcHandler:setMessage(MESSAGE_GREET, "Ah, the wind brings in another visitor. Feel welcome |PLAYERNAME|. Where do you want me to {fly} you?") npcHandler:setMessage(MESSAGE_FAREWELL, "Daraman's blessings!") npcHandler:setMessage(MESSAGE_WALKAWAY, "Daraman's blessings!") npcHandler:addModule(FocusModule:new()) Se alguém poder me ajudar, agradeço desde já! :D
  3. .

    TheAndB respondeu ao post em um tópico de Jaurez em Tibia Global OTServer
    Muito bom @Jaurez, estou ansioso pela próxima atualização. Se você tiver o client 11.30 também tenho interesse @saiddias. Abraços.
  • advertisement_alt
  • advertisement_alt
  • advertisement_alt

Informação Importante

Confirmação de Termo