Ir para conteúdo

Crypter

Membro
  • Registro em

  • Última visita

Tudo que Crypter postou

  1. <vocation id="4" name="Knight" description="a knight" needpremium="0" gaincap="25" gainhp="15" gainmana="5" gainhpticks="6" gainhpamount="1" gainmanaticks="6" gainmanaamount="2" manamultiplier="3.0" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="4"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/> </vocation> <vocation id="8" name="Elite Knight" description="an elite knight" needpremium="1" gaincap="25" gainhp="15" gainmana="5" gainhpticks="4" gainhpamount="1" gainmanaticks="6" gainmanaamount="2" manamultiplier="3.0" attackspeed="2000" soulmax="200" gainsoulticks="15" fromvoc="8" lessloss="30"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/> </vocation> <vocation id="12" name="Epic Elite Knight" description="an epic elite knight" needpremium="0" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="1" gainmanaticks="6" gainmanaamount="2" manamultiplier="3.0" attackspeed="2000" soulmax="200" gainsoulticks="15" fromvoc="12" lessloss="50"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="2.0" magDefense="1.8" armor="1.9"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/> </vocation>
  2. local items = { {type= "Rare", id = 2160, sendEffect = true, effectId = 20}, {type= "Normal", id = 2161, sendEffect = false}, } function checkMonsterLoot(cid, position, corpseId, name) if not isPlayer(cid) then return end local corpse = getTileItemById(position, corpseId) if corpse.uid == 0 or not isContainer(corpse.uid) then return end for slot = 0, getContainerSize(corpse.uid) - 1 do local corpseItem = getContainerItem(corpse.uid, slot) if corpseItem.uid == 0 then return end for _, item in pairs (items) do if item.id == corpseItem.itemid then doBroadcastMessage("O Jogador " .. getCreatureName(cid) .. " dropou o item " .. getItemNameById(corpseItem.itemid) .. "[".. item.type .."] do monstro ".. name .."." , 19) if item.sendEffect and item.effectId ~= nil then doSendMagicEffect(position, item.effectId) end break end end end return end function onKill(cid, target) if not isMonster(target) then return true end local targetName = getCreatureName(target) local targetPosition = getCreaturePosition(target) local corpseId = getMonsterInfo(targetName).lookCorpse addEvent(checkMonsterLoot, 5, cid, targetPosition, corpseId, targetName) return true end
  3. Esse cara manja de C++, puta que pariu.
  4. Recomendo entrar no discord do projeto, lá tem todos os links que você vai precisar, ob, item editor e etc. https://discord.gg/XTrZGpy Object builder que suporte o dat e spr https://mega.nz/#!A8Z0yIQK!_CmjhJ56vEzkkedVFUQjw9LKBIp-tcZScIJB1-2PNlY
  5. Você tem algum exemplo de spell para poketibia do seu servidor? Visto que normalmente as configurações de poketibia são diferentes dos outros tibias.
  6. Abre o globalevents.xml e adicionar três zeros (000) no tempo de todos eventos, é utilizado ms nessa source, e na sua src antiga é utilizado segundo
  7. Se você trocou a source do servidor, terá que copiar também o config.lua pois o Fir3element fez diversas alterações...
  8. Crypter postou uma resposta no tópico em Formação de Equipe
    Quando o jogador criar sua conta terá alguns personagens pra ele escolher, estamos decidindo se pra usar outro personagem será necessário criar outro char ou então apenas trocar e todos os personagens ficarem salvos na conta e quando for trocar mantém o mesmo nome e os itens que estão conta.
  9. Abre o arquivo com o notepad++ e converte pra ANSI
  10. Crypter postou uma resposta no tópico em Formação de Equipe
    tópico atualizado, adicionado o servidor de discord ( https://discord.gg/Zf8tCHQ )
  11. .. Seu erro foi checar a storage na creature morta e não nos jogador que a mataram, assim nunca contabilizava o valor da storage +1, isso aqui que você fez está correto só faltaria coloca no lugar do cid os players que mataram. setPlayerStorageValue(cid, Storage, getPlayerStorageValue(cid, Storage) +1)
  12. Crypter postou uma resposta no tópico em Formação de Equipe
    Tópico atualizado, adicionado algumas das Sprites que foram feitas.
  13. manda a talkations dos moves
  14. Qual é a base do servidor que tu quer que tenha cd bar?
  15. Abre o arquivo data/lib/config.lua e deixe essas duas variáveis como true useOTClient = true useKpdoDlls = true
  16. Crypter postou uma resposta no tópico em Ouvidoria
    Pode ir na justiça, sem pena.
  17. Crypter postou uma resposta no tópico em Ouvidoria
    Normalmente quando a formatação do arquivo está em UTF-8 o símbolo não aparece e da o erro, porém se mudar a formatação para ANSI aparece esse caractere que acaba dando erro quando executa a script.
  18. Arrumei o bug que tinha e alguns que dariam problema no stats do pokemon local evo = { --nome do shiny, qnts stones precisa ["Snorlax"] = {"Shiny Snorlax", 5}, ["Gengar"] = {"Shiny Gengar", 7}, ["Ninetales"] = {"Shiny Ninetales", 4}, ["Raichu"] = {"Shiny Raichu", 5}, ["Alakazam"] = {"Shiny Alakazam", 7}, } local pokeballs = { [2531] = {"Pokeball"}, [2557] = {"Superball"}, [2524] = {"Greatball"}, [2525] = {"Ultraball"}, [2523] = {"Masterball"}, } function onUse(cid, item, fromPosition, itemEx, toPosition) if isCreature(itemEx.uid) and isMonster(itemEx.uid) and getCreatureMaster(itemEx.uid) == cid then local monster = getCreatureName(itemEx.uid) if evo[monster] then if getPlayerItemCount(cid, item.itemid) >= evo[monster][2] then doPlayerSendTextMessage(cid, 27, "Congratulations! Your "..getPokeName(itemEx.uid).." evolved into a "..evo[monster][1].."!") local health, maxHealth = getCreatureHealth(itemEx.uid), getCreatureMaxHealth(itemEx.uid) doSendMagicEffect(getThingPos(itemEx.uid), 18) doRemoveCreature(itemEx.uid) doPlayerRemoveItem(cid, item.itemid, evo[monster][2]-1) doRemoveItem(item.uid, 1) doSummonMonster(cid,evo[monster][1]) local pokeball = getPlayerSlotItem(cid, 8) if not pokeball then return false end doItemSetAttribute(pokeball.uid, "poke", evo[monster][1]) doItemSetAttribute(pokeball.uid, "level", pokes[evo[monster][1]].level) doItemSetAttribute(pokeball.uid, "happy", 110) local pk = getCreatureSummons(cid)[1] local getShinyPokeballs = balls[pokeball.itemid] doTransformItem(pokeball.uid, getShinyPokeballs.newBall) adjustStatus(pk, pokeball.uid, true, false, true) return true else return doPlayerSendTextMessage(cid, 27, "You need atleast ".. evo[monster][2] .." stones to do it!") end end end return false end
  19. function onStepIn(cid, item, position, fromPosition) if not (isCreature(cid) and isPlayer(cid)) then return false end local tileConfig = { kickPos = fromPosition, kickEffect = CONST_ME_POFF, kickMsg = "You need to be a vip player to access this area.", enterMsg = "Welcome to vip area!", enterEffect = CONST_ME_MAGIC_RED, } if not vip.hasVip(cid) then doTeleportThing(cid, tileConfig.kickPos) doSendMagicEffect(tileConfig.kickPos, tileConfig.kickEffect) doPlayerSendCancel(cid, tileConfig.kickMsg) return false end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, tileConfig.enterMsg) doSendMagicEffect(position, tileConfig.enterEffect) return true end
  20. @Navegante verifica se o id do bau é 16049 como consta na script if item.itemid ~= 16049 then

Informação Importante

Confirmação de Termo