Ir para conteúdo

Cat

Héroi
  • Registro em

  • Última visita

Solutions

  1. Cat's post in (Resolvido)HOUSE COM ERRO NA PORTA. was marked as the answer   
    coloca o house tile em cima da porta também, é esse o erro
  2. Cat's post in (Resolvido)Editar Hat do server was marked as the answer   
    pra editar a exp do monstro é em data/monsters/nomedomonstro.lua
    mas é bom configurar nessa parte no config.lua:
     
  3. Cat's post in (Resolvido)[Pedido] - Tibia Editor 8.60? was marked as the answer   
    o que você quer é um Tibia Dat editor, vou lhe passar o meu: 
     
    https://www.mediafire.com/?pib83ih80rrclpb
  4. Cat's post in (Resolvido)Remover ban por unjustified kill. was marked as the answer   
    pode e deve, creio que resolverá
    se eu não me engano também da pra mudar pra isso:
    dailyFragsToBanishment = dailyFragsToRedSkull weeklyFragsToBanishment = weeklyFragsToRedSkull monthlyFragsToBanishment = monthlyFragsToRedSkull pra
    dailyFragsToBanishment = false weeklyFragsToBanishment = false monthlyFragsToBanishment = false
  5. Cat's post in (Resolvido)[Pedido] Evolução was marked as the answer   
    Resolvido, MaXwEllDeN manja!!
    local amuletos = { [1] = 7887, [2] = 7888, [5] = 7889, [7] = 7890, [10] = 7891, [13] = 7882, [16] = 7883, [20] = 7885, } function onAdvance(cid, skill, oldlevel, newlevel) if skill == 8 and amuletos[newlevel] then doPlayerSendTextMessage(cid, 20, "You received "..getItemNameById(amuletos[newlevel]).." for reaching level ".. newlevel..".") doTransformItem(getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).uid, amuletos[newlevel]) end return true end function onLogin(cid) local lower_lvls = {} for level, id in pairs(amuletos) do if level <= getPlayerLevel(cid) then table.insert(lower_lvls, level) end end table.sort(lower_lvls, function(a, b) return a < b end) local amuleto_novo = amuletos[lower_lvls[#lower_lvls]] if amuleto_novo ~= getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid then doTransformItem(getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).uid, amuleto_novo) end return true end
  6. Cat's post in (Resolvido)Problema com creaturescripts was marked as the answer   
    muda o creaturescripts.xml pra isso:
    <?xml version="1.0" encoding="UTF-8"?> <creaturescripts> <event type="login" name="PlayerLogin" script="login.lua"/> <event type="login" name="viplogin" script="viplogin.lua"/> <event type="login" name="firstitem" script="firstitems.lua"/> <event type="login" name="OutfitVip" script="outfitvip.lua"/> <event type="login" name="ExpVip" script="vipexp.lua"/> <event type="login" name="BanLogin" event="script" value="BanLogin.lua"/> <event type="kill" name="Frags" event="script" value="frags.lua" /> <event type="advance" name="recompensa" event="script" value="recompensa.lua"/> <event type="login" name="playercheck" script="playercheck.lua"/> <event type="login" name="VocationVip" script="vocationvip.lua"/> <event type="death" name="ferumbrasoftower" event="script" value="ferumbrasoftower.lua"/> <event type="death" name="ushuriel" event="script" value="ushuriel.lua"/> <event type="joinchannel" name="GuildMotd" event="script" value="guildmotd.lua"/> <event type="receivemail" name="Mail" event="script" value="mail.lua"/> <event type="reportbug" name="SaveReportBug" script="reportbug.lua"/> <event type="think" name="SkullCheck" event="script" value="skullcheck.lua"/> <event type="death" name="PlayerDeath" event="script" value="playerdeath.lua"/> <event type="statschange" name="zombieevent" event="script" value="zombievent.lua"/> <event type="PrepareDeath" name="pvparena" script="pvparena.lua"/> <event type="attack" name="attackguild" script="attackguild.lua"/> <event type="kill" name="TopFrags" event="script" value="topfrags.lua"/> <event type="death" name="azerus" event="script" value="azerus.lua"/> <!-- Amulet Shop --> <event type="PrepareDeath" name="skullamulet" event="script" value="skullamulet.lua"/> <event type="PrepareDeath" name="chargeamulet" event="script" value="chargeamulet.lua"/> <event type="preparedeath" name="foreveramulet" event="script" value="foreveramulet.lua"/> <event type="death" name="thed" event="script" value="thed.lua"/> <!-- Potion Double Exp --> <event type="login" name="expRate" event="script" value="potionexp.lua"/> <event type="death" name="ga1" event="script" value="ga1.lua"/> <event type="death" name="ga2" event="script" value="ga2.lua"/> <event type="death" name="ga3" event="script" value="ga3.lua"/> <event type="death" name="gv1" event="script" value="gv1.lua"/> <event type="death" name="gv2" event="script" value="gv2.lua"/> <event type="death" name="gv3" event="script" value="gv3.lua"/> <!-- WoE --> <event type="death" name="empe_broken" event="script" value="empe_broken.lua"/> <event type="death" name="pre_empes" event="script" value="pre_empes.lua"/> <event type="statschange" name="empe_dmg" event="script" value="empe_dmg.lua"/> <event type="login" name="reg_vs_guard" event="script" value="vs_guard.lua"/> <event type="statschange" name="vs_guard" event="script" value="vs_guard.lua"/> <event type="think" name="idle" event="script" value="idle.lua"/> </creaturescripts> dica: nunca adicione nada depois de:
    </creaturescripts>
  7. Cat's post in (Resolvido)Como por pra Free poder usar os Addons? was marked as the answer   
    addonsOnlyPremium = true em config.lua, mude para:
    addonsOnlyPremium = false O tópico foi movido para a área correta, preste mais atenção da próxima vez!
    Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680

    Este tópico foi movido:
    De: "Bots para Tibia → Suporte Bots"
    Para: "OTServ → Suporte OTServ → Suporte de OTServ Geral"
  8. Cat's post in (Resolvido)Como colocar os Comando /attr was marked as the answer   
    Créditos: Matheus
     
    Opções para se usar em items:
    Citar
    Opções para se usar em players:
    Citar
     
     
    Créditos: lucasatak
    data/talkactions/scripts copie qualquer arquivo renomeio para attr e cole isto:
     
    Citar
    em talkactions.xml cole isto:
     
    Citar
     
    Pode acontecer de alguma função do matheus não funcionar ou ter a mais, porém as principais estão ai
  9. Cat's post in (Resolvido)Movements pegando em monster também ;s was marked as the answer   
    function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)  storage_guild = getGlobalStorageValue(123123)  local tpos,v = {x=1088,y=1062,z=7},getThingPos(cid) -- {x=1,y=1,z=1} is the position you teleport to, don't change getThingPos(cid).  local tpos1,v = {x=1170,y=1129,z=7},getThingPos(cid) -- {x=1,y=1,z=1} is the position you teleport to, don't change getThingPos(cid).  if isPlayer(cid) then  if getPlayerGuildId(cid) == storage_guild then  doTeleportThing(cid,position)  else  doTeleportThing(cid,tpos)  doCreatureSay(cid, "Sua Guild perdeu o castelo! :(", TALKTYPE_ORANGE_1)  doSendMagicEffect(getPlayerPosition(cid),6)  end   end return true  end
  10. Cat's post in (Resolvido)script de quando morre was marked as the answer   
    tenta:
    function onKill(cid, target, lastHit)   if not isPlayer(target) or not isPlayer(cid) then     return true end   doBroadcastMessage(""..getCreatureName(target).."["..getPlayerLevel(target).."] acabou de morrer para o jogador "..getCreatureName(cid).."["..getPlayerLevel(cid).."].", 18)     return true end ou
    function onKill(cid, target, lastHit) if not isPlayer(target) or not isPlayer(cid) then return true end doBroadcastMessage(""..getCreatureName(target).."["..getPlayerLevel(target).."] acabou de morrer para o jogador "..getCreatureName(cid).."["..getPlayerLevel(cid).."].", MESSAGE_STATUS_CONSOLE_ORANGE) return true end  Não testei.
  11. Cat's post in (Resolvido)Tirar "you may not attack immediately logging in" was marked as the answer   
    procura isso no seu config.lua
    pzLocked = 10 * 1000 Agora se tiver skul
    whiteSkullTime = 10 * 60 * 1000 É só diminuir o tempo
  12. Cat's post in (Resolvido)Sever Hardcore não ta dando exp was marked as the answer   
    faça essas modificações:   config.lua experienceStages = true rateExperience = 20 (maior que 1) data/creaturescripts/scripts/login.lua
     
    e na linha
    doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 1) coloque
    doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 0) agora é só mudar em data/xml/stages a exp para cada level
     
     
  13. Cat's post in (Resolvido)[DUVIDA] Item adicionando vida was marked as the answer   
    Créditos: Oneshot
     
    Em itens.xml, no id que você quer adicione essa linha:
    <attribute key="maxhealthpoints" value="2000"/> Por exemplo:
     
    <item id="2342" article="a" name="Ancient Helmt"> <attribute key="weight" value="8500"/> <attribute key="armor" value="17"/> <attribute key="maxhealthpoints" value="150"/> <attribute key="slotType" value="body"/> </item> Agora precisa ser adicionado em movements.xml as linhas:
     
    <movevent type="Equip" itemid="2342" slot="armor" event="function" value="onEquipItem"/> <movevent type="DeEquip" itemid="2342" slot="armor" event="function" value="onDeEquipItem"/>
  14. Cat's post in (Resolvido)Error distro was marked as the answer   
    Coloque em seu config.lua:
     



     
    Eu modifiquei, agora tem account manager, mas você precisará pegar outra database e modificar aqui:
     
    sqlType = "sqlite" sqlHost = "localhost" sqlPort = 3306 sqlUser = "root" sqlPass = "" sqlDatabase = "maelstrom" sqlFile = "crazy.s3db" sqlKeepAlive = 0 mysqlReadTimeout = 10 mysqlWriteTimeout = 10 encryptionType = "sha1"
  15. Cat's post in (Resolvido)BUG, Não é possivel dar look nos objetos. was marked as the answer   
    "Esse nome em verde não aparece, quando o comando é acionado"
    Não entendi direito colega, está se referindo ao Look, clicando com o botão direito e pressionando look para ve ro nome do objeto?
  16. Cat's post in (Resolvido).dat/.spr e client 10.31 was marked as the answer   
    Problema resolvido, quem estiver com o mesmo problema é só baixar:  https://www.mediafire.com/?j0cms5xguu77r6g
    e colocar dentro da pasta do tibia 10.31
  17. Cat's post in (Resolvido)sobre scripts was marked as the answer   
    Copie tudo e cole no chat aqui no tópico, depois copie o script colado aqui e substitua lá
  18. Cat's post in (Resolvido)Dúvida Atualizaçao Remeres 9.8 was marked as the answer   
    Você clica em fechar, depois salvar...
    Tente ir em files -> salvar, depois fecha.
    Talvez resolva, se não resolver fala que eu te ajudo.
     
    --------------------------------------------------------------------

    O tópico foi movido para a área correta, preste mais atenção da próxima vez!
    Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680

    Este tópico foi movido:
    De: "OTServ → Suporte OTServ → Suporte de OTServ Geral"
    Para: "OTServ → Suporte OTServ → Suporte de Mapping"
  19. Cat's post in (Resolvido)[Dúvida] items.otb was marked as the answer   
    Pelo que sei seu itens.otb é antigo para a versão do servidor, tente pegar algum mais atual compatível com 10.22
     
     
     

    O tópico foi movido para a área correta, preste mais atenção da próxima vez!
    Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680

    Este tópico foi movido:
    De: "OTServ → Suporte OTServ → Suporte de Programação"
    Para: "OTServ → Suporte OTServ → Suporte de OTServ Geral"
  20. Cat's post in (Resolvido)[PEDIDO] Mapa Baiak Com Donation was marked as the answer   
    http://www.tibiaking.com/forum/topic/29916-new-baiak-edited-by-daesung-zona-donate4itensdonate/
     
    só procurar na seção de downloads =p
  21. Cat's post in (Resolvido)[Resolvido] [URGENTE AJUDA] Script change Platinum Coin por Crystal Coin clicando ! was marked as the answer   
    O tópico foi movido para a área correta, preste mais atenção da próxima vez!
    Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680

    Este tópico foi movido:
    De: "OTServ → Scripting → Actions e TalkActions"
    Para: "OTServ → Suporte OTServ"

    actions\scripts\changegold.lua
    local coins = { [ITEM_GOLD_COIN] = { to = ITEM_PLATINUM_COIN, effect = TEXTCOLOR_YELLOW }, [ITEM_PLATINUM_COIN] = { from = ITEM_GOLD_COIN, to = ITEM_CRYSTAL_COIN, effect = TEXTCOLOR_LIGHTBLUE }, [ITEM_CRYSTAL_COIN] = { from = ITEM_PLATINUM_COIN, effect = TEXTCOLOR_TEAL } } function onUse(cid, item, fromPosition, itemEx, toPosition) if(getPlayerFlagValue(cid, PLAYERFLAG_CANNOTPICKUPITEM)) then return false end local coin = coins[item.itemid] if(not coin) then return false end if(coin.to ~= nil and item.type == ITEMCOUNT_MAX) then doChangeTypeItem(item.uid, item.type - item.type) doPlayerAddItem(cid, coin.to, 1) doSendAnimatedText(fromPosition, "$$", coins[coin.to].effect) elseif(coin.from ~= nil) then doChangeTypeItem(item.uid, item.type - 1) doPlayerAddItem(cid, coin.from, ITEMCOUNT_MAX) doSendAnimatedText(fromPosition, "$$", coins[coin.from].effect) end return true end actions.xml
    <!-- Change gold --> <action itemid="2148" event="script" value="other/changegold.lua"/> <action itemid="2152" event="script" value="other/changegold.lua"/> <action itemid="2160" event="script" value="other/changegold.lua"/> by: beddy
  22. Cat's post in (Resolvido)[Resolvido] ao-pegar-tal-level-player-ganha-algum-item was marked as the answer   
    Em data/creaturescripts/scripts crie um arquivo.lua nomeie para upgain e adicione:
    local vocationsItem = { [1] = 7759, [2] = 7760, [3] = 7761, [4] = 7762 } local lvlGain = 20 function onAdvance(cid, skill, oldLevel, newLevel) if (getPlayerLevel(cid) == lvlGain and getPlayerStorageValue(cid, 403245) ~= 1) then doPlayerAddItem(cid, vocationsItem[getPlayerVocation(cid)]) setPlayerStorageValue(cid, 403245, 1) end return true end Em creaturescripts.xml adicione: 
    <event type="advance" name="upgain" event="script" value="upgain.lua"/> Creaturescripts/scripts/login.lua 
     
    registerCreatureEvent(cid, "upgain")   
    créditos: Newtonnotwen
  23. Cat's post in Dúvida magebot lixo was marked as the answer   
    cara modere os palavrões, você deve editar lá no real onde tem UH e colocar a pot que você tem na bp
  24. Cat's post in (Resolvido)[Resolvido] Script de Vip was marked as the answer   
    local days = 10 local price = 1 local storage = 7777 local daysvalue = days * 24 * 60 * 60 local storageplayer = getPlayerStorageValue(cid, 13001) local timenow = os.time() function onSay(cid, words, param) if getPlayerStorageValue(cid, 13001) - os.time() <= 0 then time = timenow + daysvalue else time = storageplayer + daysvalue end if(words == "!buyvip") then if not doPlayerRemoveMoney(cid, price) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você precisa de "..price.." gp's para colocar vip.") doPlayerAddItem(cid,2145,1) return true end if getPlayerStorageValue(cid, storage) ~= 1 then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você precisa completar a quest para renovar sua vip.") return true end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Foram adicionados "..days.." dias de VIP no seu character.") setPlayerStorageValue(cid, 13001, time) end return true end
  25. Cat's post in (Resolvido)[Resolvido] (Poketibia)Bug Rme was marked as the answer   
    Já existe um tópico com a mesma duvida resolvida neste link.

    Dúvida sanada, tag adicionada.
    Tópico movido!

Informação Importante

Confirmação de Termo