Ir para conteúdo

Flvck0

Membro
  • Registro em

  • Última visita

Histórico de Curtidas

  1. Gostei
    Flvck0 deu reputação a Yamborghini em Distro impossibilitando criação de account!   
    então, achei um server num fórum muito maneiro, só que o dono bloqueou para outras pessoas criarem conta e só mandou as sources com o server... como não sei mexer em sources, alguem poderia me ajudar?
     
    vai ai as sources
    Sources.rar
  2. Gostei
    Flvck0 deu reputação a Yamborghini em Pokemon Dash v10.1 (Revolution)   
    Conseguindo voce irá liberar?
  3. Gostei
    Flvck0 deu reputação a Yamborghini em [tfs 0.3.6] Task System 2016   
    Galera do TibiaKing, esse sistema não é de autoria minha. Só estou trazendo esse sistema de outro Fórum.
    Acho que vai ajudar muito aos OT-ADMIN de poketibia, então Rep+ ai
     
    Olá! O sistema funciona com Poketibia e Tibia! Vamos deixar de enrolação e adicionar o sistema!
    Lembrando também que funciona com tfs 0.3.6 e tfs 0.4! Não testei com tfs 1.x mas acho que não funciona.
     
    Vá em creaturescripts.xml e adicione isso:
    <event type="kill" name="KillTask" event="script" value="task.lua"/> No login.lua adiciona isso com os demais:
     
    registerCreatureEvent(cid, "KillTask") Agora crie um arquivo chamado task.lua e adicione isso:
     
    local tasksss = { [1] = {name = "Blastoise", sto = 10212, count = 3, time_sto = 5457, time = 1*24*60*60, sto_count = 14129, money = 100, rewardid = 7621, rewardcount = 100, rewardexp = 10000, text = "Congratulations! You finished this task. In 24h, you will be able to do it again."}, [2] = {name = "Charizard", sto = 10213, count = 5, time_sto = 5458, time = 1*24*60*60, sto_count = 14130, money = 100, rewardid = 7621, rewardcount = 100, rewardexp = 10000, text = "Congratulations! You finished this task. In 24h, you will be able to do it again."}, } function onKill(cid, target) for _, t in ipairs(tasksss) do local total_count = t.count local m_sto = t.sto local count_sto = t.sto_count if getPlayerStorageValue(cid, m_sto) ~= -1 then if getCreatureName(target) == t.name then if (total_count - getPlayerStorageValue(cid, count_sto)) == 1 then setPlayerStorageValue(cid, count_sto, getPlayerStorageValue(cid, count_sto) + 1) doPlayerSendTextMessage(cid, 20, "You are killed ".. getPlayerStorageValue(cid, count_sto) .." " .. t.name .. " and finished the task!") return true elseif (total_count - getPlayerStorageValue(cid, count_sto)) >= 1 then setPlayerStorageValue(cid, count_sto, getPlayerStorageValue(cid, count_sto) + 1) doPlayerSendTextMessage(cid, 20, "You are killed ".. getPlayerStorageValue(cid, count_sto) .." of ".. total_count .." " .. t.name .. " kills to finish the task.") return true end end end end return true end Agora vá em npc/scripts e crie um arquivo chamado task.lua e adicione isso:
     
    local tasksss = { [1] = {name = "Blastoise", sto = 10212, count = 3, time_sto = 5457, time = 1*24*60*60, sto_count = 14129, money = 100, rewardid = 7621, rewardcount = 100, rewardexp = 10000, text = "Congratulations! You finished this task. In 24h, you will be able to do it again."}, [2] = {name = "Charizard", sto = 10213, count = 5, time_sto = 5458, time = 1*24*60*60, sto_count = 14130, money = 100, rewardid = 7621, rewardcount = 100, rewardexp = 10000, text = "Congratulations! You finished this task. In 24h, you will be able to do it again."}, } 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 value = -1 for i = 1, #tasksss do if msgcontains(msg, tasksss[i].name) and not value ~= -1 then value = i end end if value == -1 then selfSay('I don\'t have a this task!', cid) talkState[talkUser] = 0 return true end local configss = tasksss[value] local name = configss.name local m_sto = configss.sto local time_sto = configss.time_sto local count_sto = configss.sto_count local total_count = configss.count local rest = total_count - getPlayerStorageValue(cid, count_sto) if getPlayerStorageValue(cid, time_sto) < os.time() then -- verifica se o player ainda está no prazo if getPlayerStorageValue(cid, m_sto) <= 0 then -- verifica se o player não pegou está task selfSay('Ready! Now you need kill a '.. total_count .. ' '.. name .. '!', cid) setPlayerStorageValue(cid, m_sto, 1) setPlayerStorageValue(cid, total_count, 0) talkState[talkUser] = 0 else if rest <= 0 then -- Verifica se o player matou todos os monstros nescessários doPlayerAddItem(cid, configss.rewardid, configss.rewardcount) setPlayerStorageValue(cid, count_sto, 0) setPlayerStorageValue(cid, m_sto, -1) setPlayerStorageValue(cid, time_sto, os.time() + configss.time) doPlayerAddExperience(cid, configss.rewardexp) doSendAnimatedText(getCreaturePosition(cid), configss.rewardexp, 215) selfSay(configss.text, cid) talkState[talkUser] = 0 else selfSay('You need to kill '..rest..' '..name..' to gain a reward.', cid) talkState[talkUser] = 0 end end else selfSay('You already did this task, player. Wait '..math.ceil((getPlayerStorageValue(cid, time_sto) - os.time())/(60*60))..' hours to do it again.', cid) talkState[talkUser] = 0 end end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) Pronto, agora volte para a pasta npc e crie um novo arquivo .xml chamado de Task e adicione isso lá:
     
    <?xml version="1.0" encoding="UTF-8"?> <npc name="Npc Nome" script="task.lua" walkinterval="350000" floorchange="0" speed="0"> <health now="150" max="150"/> <look type="369" head="91" body="102" legs="83" feet="0"/> <parameters> <parameter key="message_greet" value="You want gain a task of {Blastoise}?"/> </parameters> </npc> Pronto, agora o sistema de task está funcionando, e para adicionar um novo monstro pra fazer a task? Basta editar a tabela, mas não esqueça que tem que atualizar a tabela nos 2 scripts .lua !!
     
    local tasksss = { [1] = {name = "Blastoise", sto = 10212, count = 3, time_sto = 5457, time = 1*24*60*60, sto_count = 14129, money = 100, rewardid = 7621, rewardcount = 100, rewardexp = 10000, text = "Congratulations! You finished this task. In 24h, you will be able to do it again."}, [2] = {name = "Charizard", sto = 10213, count = 5, time_sto = 5458, time = 1*24*60*60, sto_count = 14130, money = 100, rewardid = 7621, rewardcount = 100, rewardexp = 10000, text = "Congratulations! You finished this task. In 24h, you will be able to do it again."}, } Para configurar siga as seguintes instruções:
     
    Créditos pelo Sistema: 
    Criador: @miguel223
    Drazyn1291 -- Editou e reformulou muita coisa!
  4. Gostei
    Flvck0 deu reputação a Yamborghini em [tfs 0.3.6] Task System 2016   
    Deixei explícito que peguei de outro fórum!
  5. Gostei
    Flvck0 deu reputação a Yamborghini em Mapa Mundi para PokeTibia?!   
    upp
  6. Gostei
    Flvck0 deu reputação a Yamborghini em [8.54] Sistema de Recompensa Diaria!   
    Valeu, @Vodkart! A base seria para 8.54!
     
  7. Gostei
    Flvck0 deu reputação a Yamborghini em [8.54] Sistema de Recompensa Diaria!   
    Eai, pessoal!
    então, tive uma ideia de recompensa diaria!
     
    Precisaria também que tivesse uma função que o player precisaria estar online por 1 hora para ganhar a recompensa do dia!
     
    - Mas como funciona?
    R= Funciona assim: terá 30 dias e cada dia terá um item para receber diferente por ter logado no dia e a pessoa segue a tabela se continuar logando com frequencia. 
     
    - Mas o que acontece se a pessoa não logar por exemplo no 5° dia?
    R= Ela volta para o 1° dia!
     
    Valeu, galera! Só isso a minha ideia... Se voces conseguirem reproduzir vai ser ótimo para todos!
    up
  8. Gostei
    Flvck0 deu reputação a Yamborghini em Mapa Mundi para PokeTibia?!   
    @up
  9. Gostei
    Flvck0 deu reputação a Yamborghini em Mapa Mundi para PokeTibia?!   
    dnv, hahahaha valeu!!
  10. Gostei
    Flvck0 deu reputação a Yamborghini em Mapa Mundi para PokeTibia?!   
    Obrigado! hahaha
     
  11. Gostei
    Flvck0 deu reputação a Yamborghini em Pokemon Dash Evolution ~Open Source~   
    sim, não to conseguindo mexer no map editor com esse client
  12. Gostei
    Flvck0 deu reputação a Yamborghini em Pokemon Dash Evolution ~Open Source~   
    @Mauro Sérgio toma ai, mano! achei essa db em outro fórum! 
    DATABASE.rar
  13. Gostei
    Flvck0 deu reputação a Yamborghini em mapa   
    tem o minimap desse mapa ai?
  14. Gostei
    Flvck0 deu reputação a Yamborghini em Mapa Mundi para PokeTibia?!   
    Fala ai, pessoal do TK!!!
     
    Então, como o próprio titulo diz, o que voces achariam de um servidor de PokeTibia baseado no mapa mundi?!
    Mapa conteria diversas quests sobre o mundo pokemon e etc... 
    Aceito ideias!
    (IMAGEM ILUSTRATIVA)
     

     
    Então é isso... Espero que voces respondam meu tópico com total sinceridade!!
  15. Gostei
    Flvck0 deu reputação a Yamborghini em Distro impossibilitando criação de account!   
    então, achei um server num fórum muito maneiro, só que o dono bloqueou para outras pessoas criarem conta e só mandou as sources com o server... como não sei mexer em sources, alguem poderia me ajudar?
     
    vai ai as sources
    Sources.rar

Informação Importante

Confirmação de Termo