Tudo que Tricoder postou
-
[VIDEO AULA] Colocando OT online nas versões atuais 10.x
Nossa, tendo milhares ou não, seu tutorial é completamente essencial no fórum. Qualquer tutorial em forma de vídeo aula é essencial porque sempre ajuda MUITA gente e evita dúvidas. Seus tutoriais são totalmente bem-vindos aqui, qualquer coisa pode falar comigo, obrigada por esse tutorial, me ajudou muito e ajudou outras pessoas também. Espero que quando tiver tempo e se quiser e puder, faça mais tutoriais assim, porque são realmente muito bons!!!!
-
NPC
@brendoonh http://www.tibiaking.com/forum/topic/65860-npc-que-troque-3-itens-por-uma-chave/#comment-375394
-
(Resolvido)Erro NPC distro
Problema resolvido? @Sekk
- divulgador
-
[Pedido] Held system
@Silkyee http://www.tibiaking.com/forum/search/?&q=Held%20system&page=1
- Abaixar a velocidade dos players
-
(Resolvido)[ERRO] erro item novo narutibia!!
@Xurumela Você não registrou no movements.xml, né? <movevent event="DeEquip" itemid="11394" slot="body" function="onDeEquipItem"/> <movevent event="Equip" itemid="11394" slot="body" function="onEquipItem"/>
-
Bolt e arrows infinita
@markimbozi Em weapons.xml, procure e remova: action="removecount"
- (Resolvido)Sempre pega red battle!
- (Resolvido)Não aparece o Dead human!
-
Abaixar a velocidade dos players
<?xml version="1.0" encoding="UTF-8"?> <mod name="player_speed" version="1.0" author="Hopus" enabled="yes"> <event type="login" name="player_speed" event="script"> <![CDATA[ function onLogin(cid) local valor = 250 -----Coloque a velocidade desejada cid = isPlayer(cid) and doChangeSpeed(cid, valor) return true end ]]></event> </mod> Ou em vocations.xml e player.h, procure por: vocation's speed + (2 * (level - 1)) @Henrique Rezende
-
NPC Bless
NPC Bless Informações Nome: NPC Bless Categoria: NPCs Código e créditos gerais: Marco Oliveira Descrição Esse NPC tem um diferencial, ele tem um sistema de Healing, tira poison e etc. Para comprar todas as blessings basta dizer "ALL" que ele te vende todas de uma vez. Tutorial data/npcs/scripts/BlessMan.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 onPlayerEndTrade(cid) npcHandler:onPlayerEndTrade(cid) end function onPlayerCloseChannel(cid) npcHandler:onPlayerCloseChannel(cid) end function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = cid local p = Player(cid) local heal = false local hp = p:getHealth() if msgcontains(msg, "heal") then if getCreatureCondition(cid, CONDITION_FIRE) then selfSay("You are burning. I will help you.", cid) doRemoveCondition(cid, CONDITION_FIRE) heal = true elseif getCreatureCondition(cid, CONDITION_POISON) then selfSay("You are poisoned. I will cure you.", cid) doRemoveCondition(cid, CONDITION_POISON) heal = true elseif getCreatureCondition(cid, CONDITION_ENERGY) then selfSay("You are electrificed. I will help you.", cid) doRemoveCondition(cid, CONDITION_ENERGY) heal = true elseif getCreatureCondition(cid, CONDITION_PARALYZE) then selfSay("You are paralyzed. I will cure you.", cid) doRemoveCondition(cid, CONDITION_PARALYZE) heal = true elseif getCreatureCondition(cid, CONDITION_DROWN) then selfSay("You are drowing. I will help you.", cid) doRemoveCondition(cid, CONDITION_DROWN) heal = true elseif getCreatureCondition(cid, CONDITION_FREEZING) then selfSay("You are cold! I will help you.", cid) doRemoveCondition(cid, CONDITION_FREEZING) heal = true elseif getCreatureCondition(cid, CONDITION_BLEEDING) then selfSay("You are bleeding! I will help you.", cid) doRemoveCondition(cid, CONDITION_BLEEDING) heal = true elseif getCreatureCondition(cid, CONDITION_DAZZLED) then selfSay("You are dazzled! Do not mess with holy creatures anymore!", cid) doRemoveCondition(cid, CONDITION_DAZZLED) heal = true elseif getCreatureCondition(cid, CONDITION_CURSED) then selfSay("You are cursed! I will remove it.", cid) doRemoveCondition(cid, CONDITION_CURSED) heal = true elseif hp < 65 then selfSay("You are looking really bad. Let me heal your wounds.", cid) p:addHealth(65 - hp) heal = true elseif hp < 2000 then selfSay("I did my best to fix your wounds.", cid) p:addHealth(2000 - hp) heal = true end if heal then p:getPosition():sendMagicEffect(CONST_ME_MAGIC_BLUE) else local msgheal = { "You aren't looking really bad, " .. getCreatureName(cid) .. ". I only help in cases of real emergencies. Raise your health simply by eating {food}.", "Seriously? It's just a scratch", "Don't be a child. You don't need any help with your health.", "I'm not an expert. If you need help find a medic.", "Don't even waste my time, I have bigger problems than your scratched armor." } selfSay("" .. msgheal[math.random(1, #msgheal)] .. "", cid) end return true end if msgcontains(msg, "yes") and talkState[talkUser] > 90 and talkState[talkUser] < 96 then if getPlayerBlessing(cid, talkState[talkUser] - 90) then selfSay("You already have this blessing!", cid) else b_price = (2000 + ((math.min(130, getPlayerLevel(cid)) - 30) * 200)) if b_price < 2000 then b_price = 2000 end if doPlayerRemoveMoney(cid, b_price) then selfSay("You have been blessed by one of the five gods!", cid) doPlayerAddBlessing(cid, talkState[talkUser] - 90) doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE) else selfSay("I'm sorry. We need money to keep this temple up.", cid) end end talkState[talkUser] = 0 return true end if msgcontains(msg, "yes") and talkState[talkUser] == 96 then havebless = {} for i = 1, 5 do if(getPlayerBlessing(cid, i)) then table.insert(havebless,i) end end if #havebless == 5 then selfSay('You already have all available blessings.',cid) talkState[talkUser] = 0 return true end b_price = (2000 + ((math.min(130, getPlayerLevel(cid)) - 30) * 200)) if b_price < 2000 then b_price = 2000 end b_price = ((5 - #havebless) * b_price) if doPlayerRemoveMoney(cid, b_price) then selfSay("You have been blessed by the five gods!", cid) for i = 1, 5 do doPlayerAddBlessing(cid, i) end doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE) else selfSay("I'm sorry. We need money to keep this temple up.", cid) end talkState[talkUser] = 0 return true end if msgcontains(msg, "all") then havebless = {} b_price = (2000 + ((math.min(130, getPlayerLevel(cid)) - 30) * 200)) if b_price < 2000 then b_price = 2000 end for i = 1, 5 do if(getPlayerBlessing(cid, i)) then table.insert(havebless,i) end end b_price = ((5 - #havebless) * b_price) if b_price == 0 then selfSay('You already have all available blessings.',cid) talkState[talkUser] = 0 return true end selfSay('Do you want to receive all blessings for ' .. b_price .. ' gold?',cid) talkState[talkUser] = 96 return true end local blesskeywords = {'wisdom', 'spark', 'fire', 'spiritual', 'embrace'} local blessnames = {'Wisdom of Solitude', 'Spark of The Phoenix', 'Fire of Two Suns', 'Spiritual Shielding', 'The Embrace'} for i = 1, #blesskeywords do if msgcontains(msg, blesskeywords[i]) then b_price = (2000 + ((math.min(130, getPlayerLevel(cid)) - 30) * 200)) if b_price < 2000 then b_price = 2000 end selfSay('Do you want me to grant you ' .. blessnames[i] .. ' blessing for ' .. b_price .. ' gold?',cid) talkState[talkUser] = 90 + i return true end end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) data/npcs/BlessMan.xml <?xml version="1.0" encoding="UTF-8"?> <npc name="Willian" script="BlessMan.lua" walkinterval="2000" floorchange="0" speechbubble="1"> <health now="100" max="100"/> <look type="134" head="58" body="114" legs="87" addons="3"/> <parameters> <parameter key="module_keywords" value="1" /> <parameter key="keywords" value="bless;blessings" /> <parameter key="keyword_reply1" value="I can grant you blessings such as {Wisdom} {of} {Solitude}, {Spark} {of} {The} {Phoenix}, our {Fire} {of} {Two} {Suns}, {Spiritual} {Shielding} and {The Embrace}. I can also grant you {all} of these blessings, just ask me." /> <parameter key="keyword_reply2" value="I can grant you blessings such as {Wisdom} {of} {Solitude}, {Spark} {of} {The} {Phoenix}, our {Fire} {of} {Two} {Suns}, {Spiritual} {Shielding} and {The Embrace}. I can also grant you {all} of these blessings, just ask me." /> </parameters> </npc>
-
Limite de characters por conta (Account Manager)
Limite de characters por conta Informações Nome: Limite de characters por conta (Account Manager) Versão: 1.0 Código: AdminGabriel, Darkhaos Descrição Quando o servidor é por Account Manager/Sqlite, não tem como você colocar um limite de characters por conta, então esse código faz com que passa a ter limite. Tutorial Em configmanager.cpp, abaixo de: m_confBool[ADDONS_PREMIUM] = getGlobalBool("addonsOnlyPremium", true); Adicione: m_confNumber[ACCOUNT_SIZE] = getGlobalNumber("accountSize", 15); Em configmanager.h, abaixo de: HOUSE_CLEAN_OLD, Adicione: ACCOUNT_SIZE, Em player.cpp, substitua: if(account.charList.size() <= 15) Por: if(account.charList.size() <= g_config.getNumber(ConfigManager::ACCOUNT_SIZE)) E substitua: msg << "Your account reach the limit of 15 players, you can 'delete' a character if you want to create a new one."; Por: msg << "Your account reach the limit of " << g_config.getNumber(ConfigManager::ACCOUNT_SIZE) << " players, you can 'delete' a character if you want to create a new one."; Agora, adicione isso no seu config.lua accountSize = 15
-
Compre com até 90% de desconto...
Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680 Este tópico foi movido: De: Diversos > Playground Para: Diversos > Playground
-
Compre com até 90% de desconto...
Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680 Este tópico foi movido: De: Diversos > Playground Para: Diversos > Playground
-
(Resolvido)A corpose ea foto esta bugada
@xdrainmachin Provavelmente deve aparecer algum erro em sua distro (.exe do servidor), verifique e poste aqui qual erro aparece.
-
Erro Move1.lua
2.6 - Reviver tópicos antigos:Qualquer membro pode reviver qualquer tipo de tópico, porém o membro só poderá reviver um tópico desde que ele faça uma postagem relacionada ao assunto do tópico ou ele faça um agradecimento/crítica construtiva em relação ao conteúdo do tópico, afinal, se o tópico foi bom pra ti ou não te ajudou e você continua em dúvida, por exemplo, você tem o direito de comentar. O que não é permitido, é reviver um tópico apenas para obter postagens (flood), como por exemplo postar : "legal", "gostei", "reputado", etc... 2.4 - Mensagens inúteis:Não poste mensagens sem conteúdo, que não contribuem em nada ou que não estejam relacionadas ao assunto do tópico. Mensagens assim são chamadas de Floods. Postar coisas como "haha", "lol", "me add no msn aí", entre outras, é o que considera-se completamente inútil. Postar várias mensagens iguais, mesmo que em tópicos diferentes, também pode ser considerado Flood. Leia as regras para evitar de ser punido: http://www.tibiaking.com/forum/topic/1281-regras-gerais/
- Erros No Console
-
[AJUDA] COMO MUDAR O NOME DO CLIENT DE POKETIBIA !
@clayltonralph modules\client\client.lua, procura por: g_window.setTitle Estará ao lado disso o nome do client. Poste caso foi resolvido para o tópico não ficar sem respostas.
- [Exclusivo]Baiak ZIK VIP 15 Editado DeathRocks
- FIELDS X MONSTROS
-
Crise no Brasil
- [VIDEO AULA] Colocando OT online nas versões atuais 10.x
- (Resolvido)ERRO OT SERVER foto bugada (resolvido)
- I--Sprites pra OTServ--I
@Romarix Adorei, faz escudos também!
Informação Importante
Confirmação de Termo