Ir para conteúdo

Featured Replies

Postado
  • Autor
13 horas atrás, pablobion disse:


da um google rapidao "gnomelvis script" que você acha, tem pra 1.1

consegui resolver ! xDD poréeem tem outro bug kkkkkk

 

o npc Gnomission, eu falo hi-warzones ou mission e ele não faz nada ... to procurando mas ta foda kk

 

esse npc serve para entrar nas warzones =/

  • Respostas 7
  • Visualizações 791
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

Postado
11 horas atrás, djoko disse:

consegui resolver ! xDD poréeem tem outro bug kkkkkk

 

o npc Gnomission, eu falo hi-warzones ou mission e ele não faz nada ... to procurando mas ta foda kk

 

esse npc serve para entrar nas warzones =/


você tem o .xml dele?

se tiver coloca isso na pasta npcs>script no gnomission e ve se da certo.

 

Spoiler

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 local function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local player = Player(cid) if(msgcontains(msg, "warzones")) then if player:getStorageValue(Storage.BigfootBurden.QuestLine) == 17 then npcHandler:say({ "There are three warzones. In each warzone you will find fearsome foes. At the end you'll find their mean master. The masters is well protected though. ...", "Make sure to talk to our gnomish agent in there for specifics of its' protection. ...", "Oh, and to be able to enter the second warzone you have to best the first. To enter the third you have to best the second. ...", "And you can enter each one only once every twenty hours. Your normal teleport crystals won't work on these teleporters. You will have to get mission crystals from Gnomally." }, cid) npcHandler.topic[cid] = 1 end elseif(msgcontains(msg, "job")) then if player:getStorageValue(Storage.BigfootBurden.QuestLine) == 17 then npcHandler:say("I am responsible for our war missions, to trade with seasoned soldiers and rewarding war heroes. You have to be rank 4 to enter the warzones.", cid) npcHandler.topic[cid] = 2 end elseif(msgcontains(msg, "heroes")) then if(npcHandler.topic[cid] == 2) then npcHandler:say({ "You can trade special spoils of war to get a permission to use the war teleporters to the area of the corresponding boss without need of mission crystals. ...", "Which one would you like to trade: the deathstrike's snippet, gnomevil's hat or the abyssador lash?" }, cid) npcHandler.topic[cid] = 3 end elseif(msgcontains(msg, "snippet")) then if(npcHandler.topic[cid] == 3) then if player:removeItem(18430, 1) then player:setStorageValue(Storage.BigfootBurden.Warzone1Access, 1) npcHandler:say("As a war hero you are allowed to use the warzone teleporter one for free!", cid) npcHandler.topic[cid] = 0 end end elseif(msgcontains(msg, "lash")) then if(npcHandler.topic[cid] == 3) then if player:removeItem(18496, 1) then player:setStorageValue(Storage.BigfootBurden.Warzone2Access, 1) npcHandler:say("As a war hero you are allowed to use the warzone teleporter two for free!", cid) npcHandler.topic[cid] = 0 end end elseif(msgcontains(msg, "hat")) then if(npcHandler.topic[cid] == 3) then if player:removeItem(18495, 1) then player:setStorageValue(Storage.BigfootBurden.Warzone3Access, 1) npcHandler:say("As a war hero you are allowed to use the warzone teleporter three for free!", cid) npcHandler.topic[cid] = 0 end end elseif(msgcontains(msg, "mission")) then if(npcHandler.topic[cid] == 1) then npcHandler:say("Fine, I grant you the permission to enter the warzones. Be warned though, this will be not a picnic. Better bring some friends with you. Bringing a lot of them sounds like a good idea.", cid) player:setStorageValue(Storage.BigfootBurden.QuestLine, 18) player:setStorageValue(Storage.BigfootBurden.WarzoneStatus, 1) npcHandler.topic[cid] = 0 end end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())

 

Scriptszinhos:

 

Não abandone seu tópico, quando você tiver a dúvida resolvida sozinho tente ensinar aos outros como resolve-la (você pode não ser o único com o problema) e quando ela for resolvida por outra pessoa não se esqueça de marcar como melhor resposta e deixar o gostei.

Postado
  • Autor
23 horas atrás, pablobion disse:


você tem o .xml dele?

se tiver coloca isso na pasta npcs>script no gnomission e ve se da certo.

 

  Ocultar conteúdo

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 local function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local player = Player(cid) if(msgcontains(msg, "warzones")) then if player:getStorageValue(Storage.BigfootBurden.QuestLine) == 17 then npcHandler:say({ "There are three warzones. In each warzone you will find fearsome foes. At the end you'll find their mean master. The masters is well protected though. ...", "Make sure to talk to our gnomish agent in there for specifics of its' protection. ...", "Oh, and to be able to enter the second warzone you have to best the first. To enter the third you have to best the second. ...", "And you can enter each one only once every twenty hours. Your normal teleport crystals won't work on these teleporters. You will have to get mission crystals from Gnomally." }, cid) npcHandler.topic[cid] = 1 end elseif(msgcontains(msg, "job")) then if player:getStorageValue(Storage.BigfootBurden.QuestLine) == 17 then npcHandler:say("I am responsible for our war missions, to trade with seasoned soldiers and rewarding war heroes. You have to be rank 4 to enter the warzones.", cid) npcHandler.topic[cid] = 2 end elseif(msgcontains(msg, "heroes")) then if(npcHandler.topic[cid] == 2) then npcHandler:say({ "You can trade special spoils of war to get a permission to use the war teleporters to the area of the corresponding boss without need of mission crystals. ...", "Which one would you like to trade: the deathstrike's snippet, gnomevil's hat or the abyssador lash?" }, cid) npcHandler.topic[cid] = 3 end elseif(msgcontains(msg, "snippet")) then if(npcHandler.topic[cid] == 3) then if player:removeItem(18430, 1) then player:setStorageValue(Storage.BigfootBurden.Warzone1Access, 1) npcHandler:say("As a war hero you are allowed to use the warzone teleporter one for free!", cid) npcHandler.topic[cid] = 0 end end elseif(msgcontains(msg, "lash")) then if(npcHandler.topic[cid] == 3) then if player:removeItem(18496, 1) then player:setStorageValue(Storage.BigfootBurden.Warzone2Access, 1) npcHandler:say("As a war hero you are allowed to use the warzone teleporter two for free!", cid) npcHandler.topic[cid] = 0 end end elseif(msgcontains(msg, "hat")) then if(npcHandler.topic[cid] == 3) then if player:removeItem(18495, 1) then player:setStorageValue(Storage.BigfootBurden.Warzone3Access, 1) npcHandler:say("As a war hero you are allowed to use the warzone teleporter three for free!", cid) npcHandler.topic[cid] = 0 end end elseif(msgcontains(msg, "mission")) then if(npcHandler.topic[cid] == 1) then npcHandler:say("Fine, I grant you the permission to enter the warzones. Be warned though, this will be not a picnic. Better bring some friends with you. Bringing a lot of them sounds like a good idea.", cid) player:setStorageValue(Storage.BigfootBurden.QuestLine, 18) player:setStorageValue(Storage.BigfootBurden.WarzoneStatus, 1) npcHandler.topic[cid] = 0 end end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())

 

o teu script nao muda nada do meu =/ e nao da certo... o teu dá ?

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.7k

Informação Importante

Confirmação de Termo