Tudo que MaXwEllDeN postou
- Biologia
-
Forja
- [Resolvido]Alguem faz um npc q da vocation por itens
Perdão, eu que tô me apressando muito e tô fazendo o bang sem cuidado, erros bestas esses que estão dando. local item1 = 107 local quant1 = 1 local vocation13 = 4 local pos = {x=1024, y=1027, z=7} 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 function santaNPC(cid, message, keywords, parameters, node) if(not npcHandler:isFocused(cid)) then return false end if getPlayerVocation(cid) ~= 0 then npcHandler:say('Vaza mano você não é vocation 0.',cid) return false end if(parameters.present == true) then if(doPlayerRemoveItem(cid,item1,quant1) == true) then doPlayerSetVocation(cid, 4) doTeleportThing(cid, pos) npcHandler:say('You changed your vocation to vocation of the Angel.',cid) else npcHandler:say('You have ever vocation is the Angel or do not have the necessary items .',cid) end npcHandler:resetNpc() return true end end npcHandler:setMessage(MESSAGE_GREET, "Hello |PLAYERNAME|. Do you want to be promoted to {angel}?.") local noNode = KeywordNode:new({'no'}, santaNPC, {present = false}) local yesNode = KeywordNode:new({'yes'}, santaNPC, {present = true}) local node = keywordHandler:addKeyword({'angel'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Bring me an enchanted wing !. Do you sure? it will be irreversible! {yes}'}) node:addChildKeywordNode(yesNode) node:addChildKeywordNode(noNode) npcHandler:addModule(FocusModule:new())- [Resolvido]Alguem faz um npc q da vocation por itens
Não não, não é problema no script, foi erro na hora que eu copiei. aí está: ocal item1 = 107 local quant1 = 1 local vocation13 = 4 local pos = {x=1024, y=1027, z=7} 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 function santaNPC(cid, message, keywords, parameters, node) if(not npcHandler:isFocused(cid)) then return false end if getPlayerVocation(cid) ~= 0 then npcHandler:say('Vaza mano você não é vocation 0.',cid) return false end if(parameters.present == true) then if(doPlayerRemoveItem(cid,item1,quant1) == true) then doSetPlayerVocation(cid, 4) doTeleportThing(cid, pos) npcHandler:say('You changed your vocation to vocation of the Angel.',cid) else npcHandler:say('You have ever vocation is the Angel or do not have the necessary items .',cid) end npcHandler:resetNpc() return true end end npcHandler:setMessage(MESSAGE_GREET, "Hello |PLAYERNAME|. Do you want to be promoted to {angel}?.") local noNode = KeywordNode:new({'no'}, santaNPC, {present = false}) local yesNode = KeywordNode:new({'yes'}, santaNPC, {present = true}) local node = keywordHandler:addKeyword({'angel'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Bring me an enchanted wing !. Do you sure? it will be irreversible! {yes}'}) node:addChildKeywordNode(yesNode) node:addChildKeywordNode(noNode) npcHandler:addModule(FocusModule:new())- Biologia
Física é dahora \õ/. Minhas disciplinas prediletas são as exatas *-*- [Resolvido] [Ajuda] Items da house não vai para o depot!
Mas no do Matheus não vai de jeito nenhum Kimos D:- Biologia
Sou monoteísta(aquele que crê em um único deus). Creio em Deus e Jesus.- Biologia
Protestante.- [Resolvido] [Ajuda] Items da house não vai para o depot!
Não, nesse caso aí ele não vai mais dar o clean na casa do cara, vai ficar os ítens lá entende, mas ele não vai ser mais o dono dela.- Biologia
Respeito sua opção.- Biologia
Tks, mas acho difícil fazer algo de bom na prova, o assunto é muito extenso e eu não sei 1/3 dele ._. \õ/ Não, biologia é mais chato.- Oque devo fazer...
Meu irmão queria comprar pra namorada dele .-.- [PROBLEMA] Evento rodando
Esse evento tem alguma lib? Se sim poste ela aqui por-favor!- Biologia
Existe disciplina mais chata que Biologia? Aff. Prova amanhã u.u- [Resolvido] Website par LINUX
Add msn, skype, qualquer canto pra convesarmos. Tá no meu perfil.- Oque devo fazer...
- [Resolvido] [Ajuda] Items da house não vai para o depot!
Eu e o Matheus encontramos o erro, o problema no método //setHouseOwner(houseId, owner[, clean = true]) Ele está limpando a casa. Alguém aí já mecheu com a estrutura dos ítens da casa no banco de dados?- [Resolvido] Website par LINUX
Não precisa upar , só é me arrumar o nome dele. Tipo Gesior 0.3.2- [Resolvido]Alguem faz um npc q da vocation por itens
local item1 = 107 local quant1 = 1 local vocation13 = 4 local pos = {x=1024, y=1027, z=7} 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 function santaNPC(cid, message, keywords, parameters, node) if(not npcHandler:isFocused(cid)) then return false end if getPlayerVocation(cid) ~= 0 then npcHandler:say('Tchau!',cid) return false end if(parameters.present == true) then if(doPlayerRemoveItem(cid,item1,quant1) == true) then doPlayerSetVocation(cid, 4) doTeleportThing(cid, pos) npcHandler:say('You changed your vocation to vocation of the Angel.',cid) els enpcHandler:say('You have ever vocation is the Angel or do not have the necessary items .',cid) end npcHandler:resetNpc() return true end end npcHandler:setMessage(MESSAGE_GREET, "Hello |PLAYERNAME|. Do you want to be promoted to {angel}?.") local noNode = KeywordNode:new({'no'}, santaNPC, {present = false}) local yesNode = KeywordNode:new({'yes'}, santaNPC, {present = true}) local node = keywordHandler:addKeyword({'angel'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Bring me an enchanted wing !. Do you sure? it will be irreversible! {yes}'}) node:addChildKeywordNode(yesNode) node:addChildKeywordNode(noNode) npcHandler:addModule(FocusModule:new())- [Resolvido]Alguem faz um npc q da vocation por itens
local item1 = 107 local quant1 = 1 local vocation13 = 4 local pos = {x=1024, y=1027, z=7} 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 function santaNPC(cid, message, keywords, parameters, node) if(not npcHandler:isFocused(cid)) then return false end if getPlayerVocation(cid) ~= 0 then npcHandler:say('Tchau!',cid) return false end if(parameters.present == true) thenif(doPlayerRemoveItem(cid,item1,quant1) == true) thendoPlayerSetVocation(cid, 4)doTeleportThing(cid, pos)npcHandler:say('You changed your vocation to vocation of the Angel.',cid)elsenpcHandler:say('You have ever vocation is the Angel or do not have the necessary items .',cid)endnpcHandler:resetNpc()return trueendendnpcHandler:setMessage(MESSAGE_GREET, "Hello |PLAYERNAME|. Do you want to be promoted to {angel}?.")local noNode = KeywordNode:new({'no'}, santaNPC, {present = false})local yesNode = KeywordNode:new({'yes'}, santaNPC, {present = true})local node = keywordHandler:addKeyword({'angel'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Bring me an enchanted wing !. Do you sure? it will be irreversible! {yes}'})node:addChildKeywordNode(yesNode)node:addChildKeywordNode(noNode)npcHandler:addModule(FocusModule:new())- [Resolvido]Alguem faz um npc q da vocation por itens
Dúvida sanada, tópico movido.- [Resolvido]Alguem faz um npc q da vocation por itens
Testa aí, substituí a função que ele dizia não existir. local item1 = 107 local quant1 = 1 local vocation13 = 4 local pos = {x=1024, y=1027, z=7} 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 function santaNPC(cid, message, keywords, parameters, node) if(not npcHandler:isFocused(cid)) then return false end if(parameters.present == true) then if(doPlayerRemoveItem(cid,item1,quant1) == true) then doPlayerSetVocation(cid, 4) doTeleportThing(cid, pos) npcHandler:say('You changed your vocation to vocation of the Angel.',cid) else npcHandler:say('You have ever vocation is the Angel or do not have the necessary items .',cid) end npcHandler:resetNpc() return true end end npcHandler:setMessage(MESSAGE_GREET, "Hello |PLAYERNAME|. Do you want to be promoted to {angel}?.") local noNode = KeywordNode:new({'no'}, santaNPC, {present = false}) local yesNode = KeywordNode:new({'yes'}, santaNPC, {present = true}) local node = keywordHandler:addKeyword({'angel'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Bring me an enchanted wing !. Do you sure? it will be irreversible! {yes}'}) node:addChildKeywordNode(yesNode) node:addChildKeywordNode(noNode) npcHandler:addModule(FocusModule:new())- [Resolvido] Algum script que fassa a posta feixar sozinha?
Olha cara, testei aqui e está funcionando certinho, provavelmente você está colocando alguma actionid na porta, ELA NÃO PODE TER NENHUMA ACTIONID.- [Resolvido] Website par LINUX
Sim, tenho o apache. Já posto mostrando como faz pra fechar o servidor.- [CTF] Capture The Flag
Vou corrigir e estarei postando ele novamente. Obrigado por Reportar! Qual a versão do teu servidor? - [Resolvido]Alguem faz um npc q da vocation por itens
Informação Importante
Confirmação de Termo