Ir para conteúdo

MaXwEllDeN

Héroi
  • Registro em

  • Última visita

Tudo que MaXwEllDeN postou

  1. MaXwEllDeN postou uma resposta no tópico em Playground (Off-topic)
    .NERD.
  2. 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())
  3. 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())
  4. MaXwEllDeN postou uma resposta no tópico em Playground (Off-topic)
    Física é dahora \õ/. Minhas disciplinas prediletas são as exatas *-*
  5. Mas no do Matheus não vai de jeito nenhum Kimos D:
  6. MaXwEllDeN postou uma resposta no tópico em Playground (Off-topic)
    Sou monoteísta(aquele que crê em um único deus). Creio em Deus e Jesus.
  7. MaXwEllDeN postou uma resposta no tópico em Playground (Off-topic)
    Protestante.
  8. 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.
  9. MaXwEllDeN postou uma resposta no tópico em Playground (Off-topic)
    Respeito sua opção.
  10. MaXwEllDeN postou uma resposta no tópico em Playground (Off-topic)
    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.
  11. MaXwEllDeN postou uma resposta no tópico em Playground (Off-topic)
    Meu irmão queria comprar pra namorada dele .-.
  12. Esse evento tem alguma lib? Se sim poste ela aqui por-favor!
  13. MaXwEllDeN postou uma resposta no tópico em Playground (Off-topic)
    Existe disciplina mais chata que Biologia? Aff. Prova amanhã u.u
  14. Add msn, skype, qualquer canto pra convesarmos. Tá no meu perfil.
  15. MaXwEllDeN postou uma resposta no tópico em Playground (Off-topic)
  16. 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?
  17. Não precisa upar , só é me arrumar o nome dele. Tipo Gesior 0.3.2
  18. 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())
  19. 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())
  20. Dúvida sanada, tópico movido.
  21. 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())
  22. Olha cara, testei aqui e está funcionando certinho, provavelmente você está colocando alguma actionid na porta, ELA NÃO PODE TER NENHUMA ACTIONID.
  23. Sim, tenho o apache. Já posto mostrando como faz pra fechar o servidor.
  24. Vou corrigir e estarei postando ele novamente. Obrigado por Reportar! Qual a versão do teu servidor?

Informação Importante

Confirmação de Termo