
Flvck0
Membro
-
Registro em
-
Última visita
Histórico de Curtidas
-
Flvck0 deu reputação a
Yamborghiniem 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
-
Flvck0 deu reputação a
Yamborghiniem Pokemon Dash v10.1 (Revolution)Conseguindo voce irá liberar?
-
Flvck0 deu reputação a
Yamborghiniem [tfs 0.3.6] Task System 2016Galera 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!
-
Flvck0 deu reputação a
Yamborghiniem [tfs 0.3.6] Task System 2016Deixei explícito que peguei de outro fórum!
-
Flvck0 deu reputação a
Yamborghiniem Mapa Mundi para PokeTibia?!upp
-
Flvck0 deu reputação a
Yamborghiniem [8.54] Sistema de Recompensa Diaria!Valeu, @Vodkart! A base seria para 8.54!
-
Flvck0 deu reputação a
Yamborghiniem [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
-
Flvck0 deu reputação a
Yamborghiniem Mapa Mundi para PokeTibia?!@up
-
Flvck0 deu reputação a
Yamborghiniem Mapa Mundi para PokeTibia?!dnv, hahahaha valeu!!
-
Flvck0 deu reputação a
Yamborghiniem Mapa Mundi para PokeTibia?!Obrigado! hahaha
-
Flvck0 deu reputação a
Yamborghiniem Pokemon Dash Evolution ~Open Source~sim, não to conseguindo mexer no map editor com esse client
-
Flvck0 deu reputação a
Yamborghiniem Pokemon Dash Evolution ~Open Source~@Mauro Sérgio toma ai, mano! achei essa db em outro fórum!
DATABASE.rar
-
Flvck0 deu reputação a
Yamborghiniem mapatem o minimap desse mapa ai?
-
Flvck0 deu reputação a
Yamborghiniem 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!!
-
Flvck0 deu reputação a
Yamborghiniem 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