Ir para conteúdo

Stigal

Héroi
  • Registro em

  • Última visita

Tudo que Stigal postou

  1. Dúvida sanada, tag adicionada. Tópico movido!
  2. Dúvida sanada, tag adicionada. Tópico movido!
  3. Stigal postou uma resposta no tópico em Formação de Equipe
    Tópico referente na área errada já foi fechado e retirado. Membro prestar mais atenção. Este tópico ficara aberto para atender o pedido do usuário. Atenciosamente, Stigal.
  4. Dúvida sanada, tag adicionada. Tópico movido!
  5. 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 node1 = keywordHandler:addKeyword({'primeira bless'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to buy the first blessing for 2000 (plus level depending amount) gold?'}) node1:addChildKeyword({'yes'}, StdModule.bless, {npcHandler = npcHandler, number = 1, premium = true, baseCost = 2000, levelCost = 200, startLevel = 30, endLevel = 120}) node1:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'Too expensive, eh?'}) local node2 = keywordHandler:addKeyword({'segunda bless'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to buy the second blessing for 2000 (plus level depending amount) gold?'}) node2:addChildKeyword({'yes'}, StdModule.bless, {npcHandler = npcHandler, number = 2, premium = true, baseCost = 2000, levelCost = 200, startLevel = 30, endLevel = 120}) node2:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'Too expensive, eh?'}) local node3 = keywordHandler:addKeyword({'terceira bless'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to buy the third blessing for 2000 (plus level depending amount) gold?'}) node3:addChildKeyword({'yes'}, StdModule.bless, {npcHandler = npcHandler, number = 3, premium = true, baseCost = 2000, levelCost = 200, startLevel = 30, endLevel = 120}) node3:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'Too expensive, eh?'}) local node4 = keywordHandler:addKeyword({'quarta bless'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to buy the fourth blessing for 2000 (plus level depending amount) gold?'}) node4:addChildKeyword({'yes'}, StdModule.bless, {npcHandler = npcHandler, number = 4, premium = true, baseCost = 2000, levelCost = 200, startLevel = 30, endLevel = 120}) node4:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'Too expensive, eh?'}) local node5 = keywordHandler:addKeyword({'quinta bless'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to buy the fifth blessing for 2000 (plus level depending amount) gold?'}) node5:addChildKeyword({'yes'}, StdModule.bless, {npcHandler = npcHandler, number = 5, premium = true, baseCost = 2000, levelCost = 200, startLevel = 30, endLevel = 120}) node5:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'Too expensive, eh?'}) npcHandler:addModule(FocusModule:new()) Já tentou?
  6. hi, bless1 Se não funcioanr tente esse: 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 node1 = keywordHandler:addKeyword({'primeira bless'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to buy the first blessing for 2000 (plus level depending amount) gold?'}) node1:addChildKeyword({'yes'}, StdModule.bless, {npcHandler = npcHandler, number = 1, premium = true, baseCost = 2000, levelCost = 200, startLevel = 30, endLevel = 120}) node1:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'Too expensive, eh?'}) local node2 = keywordHandler:addKeyword({'segunda bless'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to buy the second blessing for 2000 (plus level depending amount) gold?'}) node2:addChildKeyword({'yes'}, StdModule.bless, {npcHandler = npcHandler, number = 2, premium = true, baseCost = 2000, levelCost = 200, startLevel = 30, endLevel = 120}) node2:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'Too expensive, eh?'}) local node3 = keywordHandler:addKeyword({'terceira bless'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to buy the third blessing for 2000 (plus level depending amount) gold?'}) node3:addChildKeyword({'yes'}, StdModule.bless, {npcHandler = npcHandler, number = 3, premium = true, baseCost = 2000, levelCost = 200, startLevel = 30, endLevel = 120}) node3:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'Too expensive, eh?'}) local node4 = keywordHandler:addKeyword({'quarta bless'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to buy the fourth blessing for 2000 (plus level depending amount) gold?'}) node4:addChildKeyword({'yes'}, StdModule.bless, {npcHandler = npcHandler, number = 4, premium = true, baseCost = 2000, levelCost = 200, startLevel = 30, endLevel = 120}) node4:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'Too expensive, eh?'}) local node5 = keywordHandler:addKeyword({'quinta bless'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to buy the fifth blessing for 2000 (plus level depending amount) gold?'}) node5:addChildKeyword({'yes'}, StdModule.bless, {npcHandler = npcHandler, number = 5, premium = true, baseCost = 2000, levelCost = 200, startLevel = 30, endLevel = 120}) node5:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'Too expensive, eh?'}) npcHandler:addModule(FocusModule:new())
  7. Dúvida sanada, tag adicionada. Tópico movido!
  8. Tenta esse aqui, diferente mas deve funcionar: -- start shit local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} local table = { [30] = {preco=2000,bless=1}, [31] = {preco=2200,bless=2}, [32] = {preco=2400,bless=3} } 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 --returns how many msgs he have said already function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end for k,v in pairs(table) do if msgcontains(msg,'bless1') and getPlayerLevel(cid) <= k then if doPlayerRemoveMoney(cid,v.preco) then doPlayerAddBlessing(cid, v.bless) npcHandler:say("Now you is safe",cid) else npcHandler:say("You dont have money",cid) end end end end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
  9. Stigal postou uma resposta no tópico em Suporte Tibia OTServer
    1° - Descobrindo seu Gateway padrão Você deve abrir o CMD: Win XP - vá em executar, digite CMD e de enter Win vista/7 - Abra o iniciar, digite CMD em pesquisar la em baixo e de enter Em seguida digite ipconfig no CMD e de Enter. Ficara assim: - Você pegara o seu gateway padarão (no meu caso 192.168.1.1) e digitara no seu browser(IE, mozzila, safari, google chrome...) Em seguida pedira uma senha. No meu caso a senha é admin/admin. - Após entrar, você vera isso: - 2° - Desbloqueando as portas Vá em Forwarding no canto direito, e na pagina que abrir clique em add new... Em Service Port você coloca a porta que quer liberar (7171) Em Ip Adress coloque o Ip do IPV4 (Volte ao cmd e veja) Em protocol coloque TCP Em Status deixe Enable Em Common Service Port deixe como está Clique em Save! Em seguida faça a mesma coisa, mas usando o Service Port 7172. Se você quer ter um site em seu ot faça novamente a mesma coisa pondo 8080 no Service Port. - Ficara assim: - - - Link's De Referencia Que Poderá Ajudar: 1- http://forum.clubedohardware.com.br/resolvido-tp-link/490856 2- http://forum.clubedohardware.com.br/abrir-portas-emule/550396 3- http://ajududandovoce.blogspot.com.br/p/redes.html 4- http://www.sodicas.org/como-abrir-portas-do-roteador-wifi-tp-link-tl-wr741nd 5- http://www.tp-link.com/sa/article/?faqid=419 Atenciosamente, Stigal.
  10. Stigal postou uma resposta no tópico em Suporte Tibia OTServer
    Tópico que possivelmente poderá ajudar: http://www.tibiaking.com/forum/topic/10421-action-key-door-system/ Atenciosamente, Stigal.
  11. Dúvida sanada, tag adicionada. Tópico movido!
  12. Tenta isso: 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 node1 = keywordHandler:addKeyword({'first bless'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to buy the first blessing for 10000 gold?'}) node1:addChildKeyword({'yes'}, StdModule.bless, {npcHandler = npcHandler, bless = 1, premium = true, cost = 10000}) node1:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'Too expensive, eh?'}) local node2 = keywordHandler:addKeyword({'second bless'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to buy the second blessing for 10000 gold?'}) node2:addChildKeyword({'yes'}, StdModule.bless, {npcHandler = npcHandler, bless = 2, premium = true, cost = 10000}) node2:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'Too expensive, eh?'}) local node3 = keywordHandler:addKeyword({'third bless'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to buy the third blessing for 10000 gold?'}) node3:addChildKeyword({'yes'}, StdModule.bless, {npcHandler = npcHandler, bless = 3, premium = true, cost = 10000}) node3:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'Too expensive, eh?'}) local node4 = keywordHandler:addKeyword({'fourth bless'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to buy the fourth blessing for 10000 gold?'}) node4:addChildKeyword({'yes'}, StdModule.bless, {npcHandler = npcHandler, bless = 4, premium = true, cost = 10000}) node4:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'Too expensive, eh?'}) local node5 = keywordHandler:addKeyword({'fifth bless'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to buy the fifth blessing for 10000 gold?'}) node5:addChildKeyword({'yes'}, StdModule.bless, {npcHandler = npcHandler, bless = 5, premium = true, cost = 10000}) node5:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'Too expensive, eh?'}) npcHandler:addModule(FocusModule:new())
  13. Dúvida sanada, tag adicionada. Tópico movido!
  14. Dúvida sanada, tag adicionada. Tópico movido!
  15. function onSay(cid, words, param) maximum = { player = getPlayerGUID(cid), lvlmax = 717218, -- Level que o player vai ficar apos usar o comando. } if getPlayerLevel(cid) == 717217 then doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..maximum.lvlmax..", `experience` = 10000 WHERE `id` = "..maximum.player) else doPlayerSendCancel(cid, 'You do not have the level max 717217.') doSendMagicEffect(getPlayerPosition(cid),37) end end Que eu me lembre era mais ou menos isso...
  16. Como citado, o website foi editado pela equipe do servidor, não há base para download no momento. Se as opções disponíveis não lhe agrada recomendo você mesmo editar o seu. Tópico movido!
  17. Dúvida sanada, tag adicionada. Tópico movido!
  18. Olá amigo, tente isso. NPC 1: NPC 2: Faça as modificações que achar necessário. Atenciosamente, Stigal.
  19. Dúvida sanada, tag adicionada. Tópico movido!
  20. Stigal postou uma resposta no tópico em Mapping Show Off
    Notável, Parabéns. Quero ver fazer uma cidade abandonada
  21. Dúvida sanada, tag adicionada. Tópico movido!
  22. Stigal postou uma resposta no tópico em Playground (Off-topic)
  23. Stigal postou uma resposta no tópico em Playground (Off-topic)
    Depois eu peguei meu caro gafanhoto. Daniel tentando me zuar, mas olha o fetiche dele... Baixinhas que usam dentaduras... HUM......
  24. Stigal postou uma resposta no tópico em Playground (Off-topic)
    Cara... que merda ein?
  25. Stigal postou uma resposta no tópico em Playground (Off-topic)

Informação Importante

Confirmação de Termo