Ir para conteúdo
Banner com Efeitos

.HuRRiKaNe

Membro
  • Registro em

  • Última visita

Tudo que .HuRRiKaNe postou

  1. Bom a unica maneira que achei de criar um client próprio até agora foi pelo vapus, mas toda hora que eu crio um client lá quando vou executar o exe da debug e não abre.. alguém saberia como eu faço pra criar um client próprio pelo vapus ou de outra maneira mais fácil?
  2. Beleza, entendi obrigado!
  3. Agora funcionou, deixe eu aproveitar o tópico para te perguntar uma coisa, caso eu queria adicionar mais itens para ele vender, o que eu preciso fazer para não dar esse erro de ele oferecer 2 itens ao mesmo tempo?
  4. Eu substitui pelo que você passou mas quando eu tento falar com o npc ele não responde e fica dando esse erro no console:
  5. Points Lua: local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} 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 creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid local file = "data/logs/Donater Shop.txt" local text = io.open(file, "a+") if msgcontains(msg, "items") or msgcontains(msg, "itens") then npcHandler:say("Voce pode comprar os items:", cid) npcHandler:say("Vocations VIPS:\n-{vocation minato} por 20 points.\n-{vocation itachi} por 15 points.\n-{vocation kisame} por 15 points.\n-{vocation raikage} por 25 points.\n-{vocation tsunade} por 10 points.\n-{vocation madara} por 20 points.", cid) npcHandler:say("Itens VIPS:\n-{kurama helmet} por 10 points.\n-{kurama armor} por 20 points.\n-{kurama boots} por 10 points.\n-{kurama legs} por 10 points.\n-{obito ring} por 20 points.\n-{amaterasu element} por 15 points.\n-{gunbai} por 20 points.\n-{shuriken} por 15 nto points.", cid) end if msgcontains(msg, "como pagar") then npcHandler:say("Acesse www.nto-server.weebly.com!}", cid) end --------------------------minato vocation-------------------------------- if msgcontains(msg, "vocation minato") or msgcontains(msg, "minato") then npcHandler:say("Voce tem certeza que deseja trocar 20 nto points por vocation minato? {yes} or {no}.", cid) talkState[talkUser] = 1 elseif msgcontains(msg, "no") and talkState[talkUser] == 1 then npcHandler:say("Esta bem, quando decidir fale comigo novamente.", cid) talkState[talkUser] = 0 elseif msgcontains(msg, "yes") and talkState[talkUser] == 1 then if doPlayerRemoveItem(cid, 9970, 20) == TRUE then npcHandler:say("Obrigado! Aqui esta o item comprado.", cid) doPlayerAddItem(cid, 5957, 1) text:write("["..os.date("%d/%m/%Y %X", os.time()).."] "..getPlayerName(cid).." ["..getPlayerLevel(cid).."]: Comprou 1 "..getItemNameById(5957).."\n") text:close() else npcHandler:say("Voce nao tem points suficientes! para adquirir points entre no blog de nosso server para saber como pagar: {http://nto-server.weebly.com/}", cid) end end --------------------------itachi vocation-------------------------------- if msgcontains(msg, "vocation itachi") or msgcontains(msg, "itachi") then npcHandler:say("Voce tem certeza que deseja trocar 15 nto points por vocation itachi? {yes} or {no}.", cid) talkState[talkUser] = 2 elseif msgcontains(msg, "no") and talkState[talkUser] == 2 then npcHandler:say("Esta bem, quando decidir fale comigo novamente.", cid) talkState[talkUser] = 0 elseif msgcontains(msg, "yes") and talkState[talkUser] == 2 then if doPlayerRemoveItem(cid, 9970, 15) == TRUE then npcHandler:say("Obrigado! Aqui esta o item comprado.", cid) doPlayerAddItem(cid, 5952, 1) text:write("["..os.date("%d/%m/%Y %X", os.time()).."] "..getPlayerName(cid).." ["..getPlayerLevel(cid).."]: Comprou 1 "..getItemNameById(5952)..". -15 points.\n") text:close() else npcHandler:say("Voce nao tem points suficientes! para adquirir points entre no blog de nosso server para saber como pagar: {http://nto-server.weebly.com/}", cid) end end --------------------------kisame vocation-------------------------------- if msgcontains(msg, "vocation kisame") or msgcontains(msg, "kisame") then npcHandler:say("Voce tem certeza que deseja trocar 15 nto points por vocation kisame? {yes} or {no}.", cid) talkState[talkUser] = 10 elseif msgcontains(msg, "no") and talkState[talkUser] == 10 then npcHandler:say("Esta bem, quando decidir fale comigo novamente.", cid) talkState[talkUser] = 0 elseif msgcontains(msg, "yes") and talkState[talkUser] == 10 then if doPlayerRemoveItem(cid, 9970, 15) == TRUE then npcHandler:say("Obrigado! Aqui esta o item comprado.", cid) doPlayerAddItem(cid, 6119, 1) text:write("["..os.date("%d/%m/%Y %X", os.time()).."] "..getPlayerName(cid).." ["..getPlayerLevel(cid).."]: Comprou 1 "..getItemNameById(6119)..". -15 points.\n") text:close() else npcHandler:say("Voce nao tem points suficientes! para adquirir points entre no blog de nosso server para saber como pagar: {http://nto-server.weebly.com/}", cid) end end --------------------------raikage vocation------------------------------- if msgcontains(msg, "vocation raikage") or msgcontains(msg, "raikage") then npcHandler:say("Voce tem certeza que deseja trocar 25 nto points por vocation raikage? {yes} or {no}.", cid) talkState[talkUser] = 11 elseif msgcontains(msg, "no") and talkState[talkUser] == 11 then npcHandler:say("Esta bem, quando decidir fale comigo novamente.", cid) talkState[talkUser] = 0 elseif msgcontains(msg, "yes") and talkState[talkUser] == 11 then if doPlayerRemoveItem(cid, 9970, 25) == TRUE then npcHandler:say("Obrigado! Aqui esta o item comprado.", cid) doPlayerAddItem(cid, 8189, 1) text:write("["..os.date("%d/%m/%Y %X", os.time()).."] "..getPlayerName(cid).." ["..getPlayerLevel(cid).."]: Comprou 1 "..getItemNameById(8189)..". -25 points.\n") text:close() else npcHandler:say("Voce nao tem points suficientes! para adquirir points entre no blog de nosso server para saber como pagar: {http://nto-server.weebly.com/}", cid) end end -----------------------------tsunade vocation---------------------------- if msgcontains(msg, "vocation tsunade") or msgcontains(msg, "tsunade") then npcHandler:say("Voce tem certeza que deseja trocar 10 nto points por vocation tsunade? {yes} or {no}.", cid) talkState[talkUser] = 18 elseif msgcontains(msg, "no") and talkState[talkUser] == 18 then npcHandler:say("Esta bem, quando decidir fale comigo novamente.", cid) talkState[talkUser] = 0 elseif msgcontains(msg, "yes") and talkState[talkUser] == 18 then if doPlayerRemoveItem(cid, 9970, 10) == TRUE then npcHandler:say("Obrigado! Aqui esta o item comprado.", cid) doPlayerAddItem(cid, 11407, 1) text:write("["..os.date("%d/%m/%Y %X", os.time()).."] "..getPlayerName(cid).." ["..getPlayerLevel(cid).."]: Comprou 1 "..getItemNameById(11407)..". -10 points.\n") text:close() else npcHandler:say("Voce nao tem points suficientes! para adquirir points entre no blog de nosso server para saber como pagar: {http://nto-server.weebly.com/}", cid) end end -----------------------------madara vocation----------------------------- if msgcontains(msg, "vocation madara") then npcHandler:say("Voce tem certeza que deseja trocar 20 nto points por vocation madara? {yes} or {no}.", cid) talkState[talkUser] = 19 elseif msgcontains(msg, "no") and talkState[talkUser] == 19 then npcHandler:say("Esta bem, quando decidir fale comigo novamente.", cid) talkState[talkUser] = 0 elseif msgcontains(msg, "yes") and talkState[talkUser] == 19 then if doPlayerRemoveItem(cid, 9970, 20) == TRUE then npcHandler:say("Obrigado! Aqui esta o item comprado.", cid) doPlayerAddItem(cid, 11408, 1) text:write("["..os.date("%d/%m/%Y %X", os.time()).."] "..getPlayerName(cid).." ["..getPlayerLevel(cid).."]: Comprou 1 "..getItemNameById(11408)..". -20 points.\n") text:close() else npcHandler:say("Voce nao tem points suficientes! para adquirir points entre no blog de nosso server para saber como pagar: {http://nto-server.weebly.com/}", cid) end end --------------------------------gunbai------------------------------------ if msgcontains(msg, "gunbai") then npcHandler:say("Voce tem certeza que deseja trocar 20 nto points por uma gunbai? {yes} or {no}.", cid) talkState[talkUser] = 17 elseif msgcontains(msg, "no") and talkState[talkUser] == 17 then npcHandler:say("Esta bem, quando decidir fale comigo novamente.", cid) talkState[talkUser] = 0 elseif msgcontains(msg, "yes") and talkState[talkUser] == 17 then if doPlayerRemoveItem(cid, 9970, 20) == TRUE then npcHandler:say("Obrigado! Aqui esta o item comprado.", cid) doPlayerAddItem(cid, 11395, 1) text:write("["..os.date("%d/%m/%Y %X", os.time()).."] "..getPlayerName(cid).." ["..getPlayerLevel(cid).."]: Comprou 1 "..getItemNameById(11395)..". -20 points.\n") text:close() else npcHandler:say("Voce nao tem points suficientes! para adquirir points entre no blog de nosso server para saber como pagar: {http://nto-server.weebly.com/}", cid) end end ---------------------------kurama helmet-------------------------------- if msgcontains(msg, "kurama helmet") then npcHandler:say("Voce tem certeza que deseja trocar 10 nto points por uma kurama helmet? {yes} or {no}.", cid) talkState[talkUser] = 3 elseif msgcontains(msg, "no") and talkState[talkUser] == 3 then npcHandler:say("Esta bem, quando decidir fale comigo novamente.", cid) talkState[talkUser] = 0 elseif msgcontains(msg, "yes") and talkState[talkUser] == 3 then if doPlayerRemoveItem(cid, 9970, 10) == TRUE then npcHandler:say("Obrigado! Aqui esta o item comprado.", cid) doPlayerAddItem(cid, 11444, 1) text:write("["..os.date("%d/%m/%Y %X", os.time()).."] "..getPlayerName(cid).." ["..getPlayerLevel(cid).."]: Comprou 1 "..getItemNameById(7380)..". -5 points.\n") text:close() else npcHandler:say("Voce nao tem points suficientes! para adquirir points entre no blog de nosso server para saber como pagar: {http://nto-server.weebly.com/}", cid) end return TRUE end ---------------------------kurama armor-------------------------------- if msgcontains(msg, "kurama armor") then npcHandler:say("Voce tem certeza que deseja trocar 20 nto points por uma kurama armor? {yes} or {no}.", cid) talkState[talkUser] = 4 elseif msgcontains(msg, "no") and talkState[talkUser] == 4 then npcHandler:say("Esta bem, quando decidir fale comigo novamente.", cid) talkState[talkUser] = 0 elseif msgcontains(msg, "yes") and talkState[talkUser] == 4 then if doPlayerRemoveItem(cid, 9970, 20) == TRUE then npcHandler:say("Obrigado! Aqui esta o item comprado.", cid) doPlayerAddItem(cid, 11436, 1) text:write("["..os.date("%d/%m/%Y %X", os.time()).."] "..getPlayerName(cid).." ["..getPlayerLevel(cid).."]: Comprou 1 "..getItemNameById(2523)..". -5 points.\n") text:close() else npcHandler:say("Voce nao tem points suficientes! para adquirir points entre no blog de nosso server para saber como pagar: {http://nto-server.weebly.com/}", cid) end end ---------------------------kurama legs-------------------------------- if msgcontains(msg, "kurama") then npcHandler:say("Voce tem certeza que deseja trocar 10 nto points por uma kurama legs? {yes} or {no}.", cid) talkState[talkUser] = 6 elseif msgcontains(msg, "no") and talkState[talkUser] == 6 then npcHandler:say("Esta bem, quando decidir fale comigo novamente.", cid) talkState[talkUser] = 0 elseif msgcontains(msg, "yes") and talkState[talkUser] == 6 then if doPlayerRemoveItem(cid, 9970, 10) == TRUE then npcHandler:say("Obrigado! Aqui esta o item comprado.", cid) doPlayerAddItem(cid, 11445, 1) text:write("["..os.date("%d/%m/%Y %X", os.time()).."] "..getPlayerName(cid).." ["..getPlayerLevel(cid).."]: Comprou 1 "..getItemNameById(2432)..". -5 points.\n") text:close() else npcHandler:say("Voce nao tem points suficientes! para adquirir points entre no blog de nosso server para saber como pagar: {http://nto-server.weebly.com/}", cid) end end ---------------------------kurama boots-------------------------------- if msgcontains(msg, "kurama boots") then npcHandler:say("Voce tem certeza que deseja trocar 10 nto points por uma kurama boots? {yes} or {no}.", cid) talkState[talkUser] = 5 elseif msgcontains(msg, "no") and talkState[talkUser] == 5 then npcHandler:say("Esta bem, quando decidir fale comigo novamente.", cid) talkState[talkUser] = 0 elseif msgcontains(msg, "yes") and talkState[talkUser] == 5 then if doPlayerRemoveItem(cid, 9970, 10) == TRUE then npcHandler:say("Obrigado! Aqui esta o item comprado.", cid) doPlayerAddItem(cid, 11446, 1) text:write("["..os.date("%d/%m/%Y %X", os.time()).."] "..getPlayerName(cid).." ["..getPlayerLevel(cid).."]: Comprou 1 "..getItemNameById(11446)..". -10 points.\n") text:close() else npcHandler:say("Voce nao tem points suficientes! para adquirir points entre no blog de nosso server para saber como pagar: {http://nto-server.weebly.com/}", cid) end end ---------------------------obito ring------------------------------- if msgcontains(msg, "obito ring") then npcHandler:say("Voce tem certeza que deseja trocar 20 nto points por um obito ring? {yes} or {no}.", cid) talkState[talkUser] = 7 elseif msgcontains(msg, "no") and talkState[talkUser] == 7 then npcHandler:say("Esta bem, quando decidir fale comigo novamente.", cid) talkState[talkUser] = 0 elseif msgcontains(msg, "yes") and talkState[talkUser] == 7 then if doPlayerRemoveItem(cid, 9970, 20) == TRUE then npcHandler:say("Obrigado! Aqui esta o item comprado.", cid) doPlayerAddItem(cid, 11437, 1) text:write("["..os.date("%d/%m/%Y %X", os.time()).."] "..getPlayerName(cid).." ["..getPlayerLevel(cid).."]: Comprou 1 "..getItemNameById(7408)..". -10 points.\n") text:close() else npcHandler:say("Voce nao tem points suficientes! para adquirir points entre no blog de nosso server para saber como pagar: {http://nto-server.weebly.com/}", cid) end end ---------------------------amaterasu element------------------------------- if msgcontains(msg, "amaterasu element") then npcHandler:say("Voce tem certeza que deseja trocar 15 nto points por um amaterasu element? {yes} or {no}.", cid) talkState[talkUser] = 8 elseif msgcontains(msg, "no") and talkState[talkUser] == 8 then npcHandler:say("Esta bem, quando decidir fale comigo novamente.", cid) talkState[talkUser] = 0 elseif msgcontains(msg, "yes") and talkState[talkUser] == 8 then if doPlayerRemoveItem(cid, 9970, 15) == TRUE then npcHandler:say("Obrigado! Aqui esta o item comprado.", cid) doPlayerAddItem(cid, 11435, 1) text:write("["..os.date("%d/%m/%Y %X", os.time()).."] "..getPlayerName(cid).." ["..getPlayerLevel(cid).."]: Comprou 1 "..getItemNameById(2474)..". -10 points.\n") text:close() else npcHandler:say("Voce nao tem points suficientes! para adquirir points entre no blog de nosso server para saber como pagar: {http://nto-server.weebly.com/}", cid) end end ----------------------------shuriken-------------------------------- if msgcontains(msg, "shuriken") then npcHandler:say("Voce tem certeza que deseja trocar 15 nto points por uma shuriken vip {yes} or {no}.", cid) talkState[talkUser] = 9 elseif msgcontains(msg, "no") and talkState[talkUser] == 9 then npcHandler:say("Esta bem, quando decidir fale comigo novamente.", cid) talkState[talkUser] = 0 elseif msgcontains(msg, "yes") and talkState[talkUser] == 9 then if doPlayerRemoveItem(cid, 9970, 15) == TRUE then npcHandler:say("Obrigado! Aqui esta o item comprado.", cid) doPlayerAddItem(cid, 11443, 1) text:write("["..os.date("%d/%m/%Y %X", os.time()).."] "..getPlayerName(cid).." ["..getPlayerLevel(cid).."]: Comprou 1 "..getItemNameById(7859)..". -15 points.\n") text:close() else npcHandler:say("Voce nao tem points suficientes! para adquirir points entre no blog de nosso server para saber como pagar: {http://nto-server.weebly.com/}", cid) end end end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) Xml <?xml version="1.0" encoding="UTF-8"?> <npc name="Donater Shop" script="data/npc/scripts/points.lua" walkinterval="0" speed="0" floorchange="0"> <health now="100" max="100"/> <look type="495"/> <parameters> <parameter key="message_greet" value="Ola |PLAYERNAME|, voce pode comprar items Vips com Nto Points para saber os items que voce pode comprar diga {items}, caso queira saber como adquirir nto points diga {como pagar}." /> </parameters> </npc>
  6. Meu npc donator shop está oferecendo dois itens vip quando você tenta comprar apenas um: 14:30 {DONO} [5061]: kurama boots 14:30 Donater Shop: Voce tem certeza que deseja trocar 10 nto points por uma kurama legs? yes or no. 14:30 Donater Shop: Voce tem certeza que deseja trocar 10 nto points por uma kurama boots? yes or no. Alguém sabe como arrumar?
  7. Mesmo tendo essa tag continua dando pra colocar mais dois rings um no weapon e outro no shield..
  8. Eu gostaria de saber se tem como colocar para o player usar um certo ring apenas no slot de ring, não podendo colocar no lugar do shield ou do weapon, desde já agradeço!
  9. Olha como está o meu: -- private variables local background local clientVersionLabel -- public functions function init() background = g_ui.displayUI('background') background:lower() clientVersionLabel = background:getChildById('clientVersionLabel') clientVersionLabel:setText(g_app.getName() .. ' ' .. g_app.getVersion() .. '\n' .. 'Rev ' .. g_app.getBuildRevision() .. ' ('.. g_app.getBuildCommit() .. ')\n' .. 'Built on ' .. g_app.getBuildDate()) if not g_game.isOnline() then addEvent(function() g_effects.fadeIn(clientVersionLabel, 1500) end) end connect(g_game, { onGameStart = hide }) connect(g_game, { onGameEnd = show }) end function terminate() disconnect(g_game, { onGameStart = hide }) disconnect(g_game, { onGameEnd = show }) g_effects.cancelFade(background:getChildById('clientVersionLabel')) background:destroy() Background = nil end function hide() background:hide() end function show() background:show() end function hideVersionLabel() background:getChildById('clientVersionLabel'):hide() end function setVersionText(text) clientVersionLabel:setText(text) end
  10. Bom eu gostaria de saber como eu posso trocar essa mensagem inicial do Otclient como mostra a imagem:
  11. Eu baixei a ultima versão mas não aparece a opção Sprite Optimizer!
  12. Mesma coisa, elas continuam lá só que vazias, eu não sei se é possível remover completamente.. porque se eu for substituir uma por uma eu vou ficar 1 ano pra substituir todas..
  13. Mesmo apertando dell elas continuam lá, só que vazias ocupando espaço..
  14. Boa tarde, eu estou com uma dúvida, eu uso o Object Builder para adcionar scripts no meu otclient, no total tenho 67250 sprites, e quando eu tento remover alguma elas continuam lá, ou seja não consigo remove-las, eu preciso remover cerca de 2500 sprites para usar o old client, alguém saberia como remover? olha como fica:
  15. .HuRRiKaNe postou uma resposta no tópico em Playground (Off-topic)
    Só passei aqui pra dizer que hoje meu bilau vai cantar!
  16. .HuRRiKaNe postou uma resposta no tópico em Scripts tfs 0.4 (OLD)
    Isso que eu achei estranho não aparece nenhum erro no console, e sim eu testei com player normal rs
  17. .HuRRiKaNe postou uma resposta no tópico em Scripts tfs 0.4 (OLD)
    Wolf continua a mesma coisa, ele teleporta pra dentro da house dos players...
  18. .HuRRiKaNe postou uma resposta no tópico em Scripts tfs 0.4 (OLD)
    Obrigado, ainda bem que é possível ajeitar porque é um ótimo script.
  19. .HuRRiKaNe postou uma resposta no tópico em Scripts tfs 0.4 (OLD)
    No meu servidor se eu marcar uma pessoa com o minato e ela entrar dentro da house eu vou para dentro da house da pessoa mesmo não estando invitado, tem como evitar isso? porque a vocação que usa essa magia no meu servidor é vip e não quero ter problemas com roubos e etc..
  20. Foram removidos diversos bug's, e as algumas quests arrumadas, adicionadas sprites e scripts e as imagens e créditos estão ai amigo!
  21. Esse servidor é o Skyfall editado pelo El Askan! e infelizmente não tem source..
  22. Informações: TM 80% Catch 100% Fly 100% Surf % Ride 100% PVP ONE 100% Novas Sprites PXG 100% Hoen 100% Jhoto 100% Kanto 100% Quests PokeAdventures 100% E mais! Imagens Download Server https://mega.co.nz/#!vBoxFaYC!U5ucsHAaVfgauOiZT_uWqAjGRj025gsFAUOPwxEmbIw Download Client https://mega.co.nz/#!SJgGyagI!MmxCOiYPhCQElJIkXapFMRwJ54cAa2ubNrXjYXyReFo Créditos GabrielTxu Zeref Shirou LekoDs Guidark21 Equipe Pokemon Galaxy pelo mapa de Kanto betinhownz666 pelo Mapa de Sinooh + Hoen Glauber por edições no mapa El aska por remoção 85% dos bugs
  23. O servidor que você está procurando é esse aqui: http://www.tibiaking.com/forum/topic/9629-854naruto-open-wings/
  24. .HuRRiKaNe postou uma resposta no tópico em OTServer Derivados
    Informações: Enchant System 100%; Todos as armas configuradas; Todas as armaduras configuradas; Mapa dbko; Todas as vocações com transform até level 400; Vocações balanceadas; Reborn quest; Sistema de party com experiencia dividida; Radar 100%; E mais! Imagens: Download Server + Client + Site: https://mega.co.nz/#!0NwkAL6C!uXy0gHSlNd2RnRGs3c7DGQClAEUQU3d8xWbyF8NgHHQ Scan: Créditos: GuuhTorres Neto009 SmallVille Portagas
  25. Cara você acha que eu não sei que double post é contra as regras? eu cliquei uma vez e deu internal server error e criou 4 tópicos..

Informação Importante

Confirmação de Termo