Ir para conteúdo

chriscarp

Membro
  • Registro em

  • Última visita

Histórico de Curtidas

  1. Gostei
    chriscarp deu reputação a MauroelBrizola em (Resolvido)[PEDIDO] MUSIC BOX [MONTARIAS] TFS 1.0   
    Esta ai... adaptei o script postado para funcionar como Music Box, doma todos os que estão configurados.
     
    Se precisar de ajuda para configurar alguma outra mount ( O script suporta domar itens, monstros e até NPCs... ) só pedir.
     
    No arquivo actions.xml adicione a seguinte tag:
    <action itemid="18511" script="musicbox.lua"/> Crie o arquivo musicbox.lua em otserver/data/actions/scripts e coloque nele:
    local ACTION_RUN, ACTION_BREAK, ACTION_NONE, ACTION_ALL = 1, 2, 3, 4 local TYPE_MONSTER, TYPE_NPC, TYPE_ACTION, TYPE_UNIQUE = 1, 2, 3, 4 local config = { ["Gnarlhound"] = {NAME = 'Gnarlhound', ID = 32, TYPE = TYPE_MONSTER, CHANCE = 100, FAIL_MSG = { {1, "The gnarlhound ran away."}, {2, "Oh no! The golem Wrench broke."}, {3, "The gnarlhound has fled."} }, SUCCESS_MSG = "You have tamed the gnarlhound."}, ["Magma Crawler"] = {NAME = 'Magma Crawler', ID = 30, TYPE = TYPE_MONSTER, CHANCE = 100, FAIL_MSG = { {1, "The magma crawler ran away."}, {2, "Oh no! The glow wine broke."}, {3, "The magma crawler has fled."} }, SUCCESS_MSG = "You have tamed the magma crawler."}, ["Dragonling"] = {NAME = 'Dragonling', ID = 31, TYPE = TYPE_MONSTER, CHANCE = 100, FAIL_MSG = { {1, "The dragonling ran away."}, {2, "Oh no! The decorative ribbon broke."}, {3, "The dragonling has fled."} }, SUCCESS_MSG = "You have tamed the dragonling."}, ["Ironblight"] = {NAME = 'Ironblight', ID = 29, TYPE = TYPE_MONSTER, CHANCE = 100, FAIL_MSG = { {1, "The ironblight ran away."}, {2, "Oh no! iron loadstone broke."}, {3, "The ironblight has fled."} }, SUCCESS_MSG = "You have tamed the ironblight."}, ["Shock Head"] = {NAME = 'Shock Head', ID = 42, TYPE = TYPE_MONSTER, CHANCE = 100, FAIL_MSG = { {1, "The shock head ran away."}, {2, "Oh no! The nightmare horn broke."}, {3, "The shock head has fled."} }, SUCCESS_MSG = "You have tamed the shock head."}, ["Bear"] = {NAME = 'Bear', ID = 3, TYPE = TYPE_MONSTER, CHANCE = 100, FAIL_MSG = { {1, "The bear ran away."}, {2, "Oh no! The slingshot broke."}, {3, "The bear is trying to hit you with its claws."} }, SUCCESS_MSG = "You have tamed the bear."}, ["Black Sheep"] = {NAME = 'Black Sheep', ID = 4, TYPE = TYPE_MONSTER, CHANCE = 100, FAIL_MSG = { {1, "The black sheep ran away."}, {2, "Oh no! The reins were torn."}, {3, "The black sheep is trying to run away."} }, SUCCESS_MSG = "You have tamed the sheep."}, ["Midnight Panther"] = {NAME = 'Midnight Panther', ID = 5, TYPE = TYPE_MONSTER, CHANCE = 100, FAIL_MSG = { {1, "The panther has escaped."}, {2, "The whip broke."} }, SUCCESS_MSG = "You have tamed the panther."}, ["Terror Bird"] = {NAME = 'Terror Bird', ID = 2, TYPE = TYPE_MONSTER, CHANCE = 100, FAIL_MSG = { {1, "The bird ran away."}, {3, "The terror bird is pecking you."} }, SUCCESS_MSG = "You have tamed the bird."}, ["Boar"] = {NAME = 'Boar', ID = 10, TYPE = TYPE_MONSTER, CHANCE = 100, FAIL_MSG = { {1, "The boar has run away"}, {3, "The boar attacks you."} }, SUCCESS_MSG = "You have tamed the boar."}, ["Crustacea Gigantica"] = {NAME = 'Crustacea Gigantica', ID = 7, TYPE = TYPE_MONSTER, CHANCE = 100, FAIL_MSG = { {1, "The crustacea has run away."}, {2, "The crustacea ate the shrimp."} }, SUCCESS_MSG = "You have tamed the crustacea."}, ["Undead Cavebear"] = {NAME = 'Undead Cavebear', ID = 12, TYPE = TYPE_MONSTER, CHANCE = 100, FAIL_MSG = { {1, "The undead bear has run away."} }, SUCCESS_MSG = "You have tamed the skeleton."}, ["Wailing Widow"] = {NAME = 'Wailing Widow', ID = 1, TYPE = TYPE_MONSTER, CHANCE = 100, FAIL_MSG = { {1, "The widow has run away."}, {2, "The widow has eaten the sweet bait."} }, SUCCESS_MSG = "You have tamed the widow."}, ["inoperative tin lizzard"] = {NAME = 'inoperative tin lizzard', ID = 8, TYPE = TYPE_ITEM, CHANCE = 100, FAIL_MSG = { {2, "The key broke inside."} }, SUCCESS_MSG = "You have started the Tin Lizzard!"}, ["Draptor"] = {NAME = 'Draptor', ID = 6, TYPE = TYPE_MONSTER, CHANCE = 100, FAIL_MSG = { {1, "The draptor has run away."}, {3, "The draptor has fled."} }, SUCCESS_MSG = "You have tamed the draptor."}, ["Crystal Wolf"] = {NAME = 'Crystal Wolf', ID = 16, TYPE = TYPE_MONSTER, CHANCE = 100, FAIL_MSG = { {1, "The wolf has run away."} }, SUCCESS_MSG = "You have tamed the wolf."}, ["Enraged White Deer"] = {NAME = 'Enraged White Deer', ID = 18, TYPE = TYPE_MONSTER, CHANCE = 100, FAIL_MSG = { {2, "The cone broke."}, {3, "The deer has fled in fear."} }, SUCCESS_MSG = "You have tamed the deer."}, ["Panda"] = {NAME = 'Panda', ID = 19, TYPE = TYPE_MONSTER, CHANCE = 100, FAIL_MSG = { {4, "Panda ate the leaves and ran away."} }, SUCCESS_MSG = "You have tamed the panda."}, ["Dromedary"] = {NAME = 'Dromedary', ID = 20, TYPE = TYPE_MONSTER, CHANCE = 100, FAIL_MSG = { {1, "Dromedary has run away."} }, SUCCESS_MSG = "You have tamed the dromedary."}, ["Sandstone Scorpion"] = {NAME = 'Sandstone Scorpion', ID = 21, TYPE = TYPE_MONSTER, CHANCE = 100, FAIL_MSG = { {1, "The scorpion has vanished."}, {2, "Scorpion broken the sceptre."} }, SUCCESS_MSG = "You have tamed the scorpion"}, ["Donkey"] = {NAME = 'Donkey', ID = 13, TYPE = TYPE_MONSTER, CHANCE = 100, FAIL_MSG = { {1, "The witch has escaped!"} }, SUCCESS_MSG = "You have tamed the mule."}, ["inoperative uniwheel"] = {NAME = 'inoperative uniwheel', ID = 15, TYPE = TYPE_ITEM, CHANCE = 100, FAIL_MSG = { {2, "The oil is having no effect."} }, SUCCESS_MSG = "You have found an Uniwheel."}, ["Slug"] = {NAME = 'Slug', ID = 14, TYPE = TYPE_MONSTER, CHANCE = 100, FAIL_MSG = { {1, "The slug has run away."}, {3, "The drug had no effect."} }, SUCCESS_MSG = "You have tamed the slug."}, ["Wild Horse"] = {NAME = 'Wild Horse', ID = 17, TYPE = TYPE_MONSTER, CHANCE = 100, FAIL_MSG = { {1, "The horse runs away."}, {2, "The horse ate the oats."} }, SUCCESS_MSG = "You have tamed the horse."}, ["Manta Ray"] = {NAME = 'Manta Ray', ID = 28, TYPE = TYPE_MONSTER, CHANCE = 100, FAIL_MSG = { {1, "The manta ray fled."}, {3, "The manta ray is trying to escape."} }, SUCCESS_MSG = "You have tamed the manta ray."}, ["Lady Bug"] = {NAME = 'Lady Bug', ID = 27, TYPE = TYPE_MONSTER, CHANCE = 100, FAIL_MSG = { {1, "The ladybug got scared and ran away."}, {3, "The ladybug is trying to nibble."} }, SUCCESS_MSG = "You tame a ladybug."}, ["Water Buffalo"] = {NAME = 'Water Buffalo', ID = 35, TYPE = TYPE_MONSTER, CHANCE = 100, FAIL_MSG = { {1, "The water buffalo got scared and ran away."}, {3, "The water buffalo is trying to nibble."} }, SUCCESS_MSG = "You tamed a water buffalo."} } local function doFailAction(cid, mount, pos, item, itemEx) local action, effect = mount.FAIL_MSG[math.random(1, table.maxn(mount.FAIL_MSG))], CONST_ME_POFF if(action[1] == ACTION_RUN) then Creature(itemEx.uid):remove() elseif(action[1] == ACTION_BREAK) then effect = CONST_ME_BLOCKHIT Item(item.uid):remove(1) elseif(action[1] == ACTION_ALL) then Creature(itemEx.uid):remove() Item(item.uid):remove(1) end Position(pos):sendMagicEffect(effect) Player(cid):say(action[2], TALKTYPE_ORANGE_1) return action end function onUse(cid, item, fromPosition, itemEx, toPosition) local player = Player(cid) if not Monster(itemEx.uid) then return true end local monster = Monster(itemEx.uid) local npc = Npc(itemEx.uid) local targetitem = Item(itemEx.uid) local mount = config[monster:getName()] if mount == nil then return false end if player:hasMount(mount.ID) then player:say("You already own this mount!", TALKTYPE_ORANGE_1) return false end local rand = math.random(1, 100) --Monster Mount if monster ~= nil and mount.TYPE == TYPE_MONSTER then if Creature(itemEx.uid):getMaster() then player:say("You cant tame a summon!", TALKTYPE_ORANGE_1) return true end if mount.NAME == monster:getName() then if rand > mount.CHANCE then doFailAction(cid, mount, toPosition, item, itemEx) return true end player:addMount(mount.ID) player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, mount.SUCCESS_MSG) player:say(mount.SUCCESS_MSG, TALKTYPE_ORANGE_1) monster:remove() toPosition:sendMagicEffect(CONST_ME_MAGIC_GREEN) Item(item.uid):remove(1) return true else toPosition:sendMagicEffect(CONST_ME_POFF) end --NPC Mount elseif npc ~= nil and mount.TYPE == TYPE_NPC then if mount.NAME == npc:getName() then if rand > mount.CHANCE then doFailAction(cid, mount, toPosition, item, itemEx) return true end player:addMount(mount.ID) player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, mount.SUCCESS_MSG) player:say(mount.SUCCESS_MSG, TALKTYPE_ORANGE_1) toPosition:sendMagicEffect(CONST_ME_MAGIC_GREEN) Item(item.uid):remove(1) return true end --Item Mount elseif targetitem ~= nil and mount.TYPE == TYPE_ITEM then if mount.NAME == targetitem:getName() then if rand > mount.CHANCE then doFailAction(cid, mount, toPosition, item, itemEx) return true end player:addMount(mount.ID) player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, mount.SUCCESS_MSG) player:say(mount.SUCCESS_MSG, TALKTYPE_ORANGE_1) toPosition:sendMagicEffect(CONST_ME_MAGIC_GREEN) Item(item.uid):remove(1) return true end --Action Mount elseif itemEx.actionid > 0 and mount.TYPE == TYPE_ACTION then if(mount.NAME == itemEx.actionid) then if rand > mount.CHANCE then doFailAction(cid, mount, toPosition, item, itemEx) return true end player:addMount(mount.ID) player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, mount.SUCCESS_MSG) player:say(mount.SUCCESS_MSG, TALKTYPE_ORANGE_1) toPosition:sendMagicEffect(CONST_ME_MAGIC_GREEN) Item(item.uid):remove(1) return true end --Unique Mount elseif itemEx.uid <= 65535 and mount.TYPE == TYPE_UNIQUE then if mount.NAME == itemEx.uid then if rand > mount.CHANCE then doFailAction(cid, mount, toPosition, item, itemEx) return true end player:addMount(mount.ID) player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, mount.SUCCESS_MSG) player:say(mount.SUCCESS_MSG, TALKTYPE_ORANGE_1) toPosition:sendMagicEffect(CONST_ME_MAGIC_GREEN) Item(item.uid):remove(1) return true end end return false end
  2. Gostei
    chriscarp deu reputação a kaals em [PEDIDO] Quests sem missões   
    Poderia compartilhar?
     
    Valeu!
  3. Gostei
    chriscarp deu reputação a Bruno Minervino em [10.90] Vanaheim Global Opensource - TFS 1.2   
    Um método diferente de agir. Escolhas diferentes, um projeto surpreendente, e o melhor é opensource. Sim, você pode ter acesso a este servidor que estou desenvolvendo em parceria com a Serversoft para você.

    Um servidor com uma mega estrutura para suportar seus jogadores online sem nenhum problema como: debug, bug de clonagem, instabilidade entre diversos outros dos servidores free's disponíveis para download nessa vasta internet tibiana.

    Uma inovação no ramo de OTservers, distribuindo não só a datapack como as sourcers e os sistemas, absolutamente tudo que você procura. Basta baixar, compilar... Mas eu não sei compilar. Não há problema nisso, o OTPanel da Serversoft faz tudo isso para você. Basta clicar num botão de "play" e ver a mágica acontecer.

    O projeto Vanaheim, foi criado com o intuito de ser inteiramente grátis para toda a comunidade. Um servidor no qual a diversão é o fator principal, um projeto com viabilidade absoluta por todos os tibianos.

    O projeto conta com uma área exclusiva no GitHub para que todos possam acompanhar a evolução do mesmo, dia a dia, diversas atualizações estarão disponíveis a todos. Desde uma action até uma modificação na source vocês terão acesso.

    O servidor conta com um mapa Global Full, quando eu digo full, quero dizer que está 99.99% do mapa completo, sem bugs entre outros.
    Um servidor que você escolhe a rate experience/skill que desejar, ele vai se adaptar! Você pode escolher se quer ou não que as quests tenham as missões originais 100%!

    E o melhor? Além do servidor estar disponível para download ele está online para quem quiser conhecer o projeto, ajudar de alguma forma e o melhor de tudo, se divertir.

    Venha se divertir: http://www.vanaheimglobal.com
     
    RATES
     
    Level 8 - 50: 300x
    Level 51 - 80: 200x
    Level 81 - 100: 150x
    Level 101 - 140: 90x
    Level 141 - 160: 70x
    Level 161 - 180: 60x
    Level 181 - 200: 50x
    Level 201 - 230: 40x
    Level 231 - 260: 30x
    Level 261 - 290: 20x
    Level 291 - 310: 15x
    Level 311 - 340: 10x
    Level 341 - 350: 8x
    Level 351 - 380: 6x
    Level 381 - 430: 4x
    Level 431 - 450: 2x
    Level 451+: 1x
     
     
    Skill: 40x
    Magic: 8x
    Loot: 3x
     
     
    EVENTOS
     
     
    Em Breve.
     
     
    IMAGENS
     
     
    Em Breve.
     
     
    GITHUB
     
     
    Para acompanhar e baixar o servidor atualizado, segue o link do nosso projeto no GitHub:
     

     
    DOWNLOADS
     
     
     
     
    Servidor
    Mapa
    Yasir
    Scan
     
    CRÉDITOS

    TFS Team
    Orts Project
    Bruno Minervino
     
  4. Gostei
    chriscarp recebeu reputação de Wolven em OTClient - 7.4 até 10.82   
    Obrigado, testei e não consegui, vi que tem que ser compilado novamente. Tem uma opção na source de bloqueio a bot.
     
    Valeu!!
  5. Gostei
    chriscarp deu reputação a Wolven em OTClient - 7.4 até 10.82   
    @chriscarp, não testei, mas acredito que funcione parcialmente.
  6. Gostei
    chriscarp deu reputação a runeraserver em Custom Cliente - Todas as versões - Qualquer IP   
    Fala galera,

    Vejo muita gente com dúvida de como fazer custom clients. Neste tutorial vou ensinar para vocês criar custom clients de todas as versões e com qualquer ip.

    1º Passo:
    • Baixe o programa NotePad http://notepad-plus-plus.org/repository/6.x/6.7.5/npp.6.7.5.Installer.exe

    2º Passo:
    • Vá no diretório onde está instalado o client que deseja editar, clique com o direito em Tibia.exe e selecione "Edit with Notepad++"

    3º Passo:
    • Pressione ctrl + f e busque por login01.tibia.com e substitua pelo seu ip, (exemplo.com.br).
    Perceba que login01.tibia.com + os 3 NUL que aparecem, somam 20 caracteres (NUL conta como 1).
    O seu IP deverá conter 20 caracteres ou menos.
    Exemplo:
    exemplo.com.br possui 14 caracteres
    Como o meu exemplo possui 14 caracteres e login01.tibia.comNULNULNUL possui 20, vou ter que preencher esses 6 caracteres que faltam com 6 NUL.
    Para isso, você deverá deixar o cursos de texto na frente do seu ip (exemplo.com.br"AQUI") e ir para Plugins>Converter>Conversion.


     
    Digite 0 em decimal e clique em (ASCII: Insert) 6 vezes, devendo ficar assim: exemplo.com.brNULNULNULNULNULNUL (Lembrando que acrescenta 6 NUL no caso do exemplo, o seu IP deverá completar os 20 caracteres podendo haver mais ou menos NULs).



    Procure por esses ips e faça os passos acima em todos:
    login01.tibia.com login02.tibia.com login03.tibia.com login04.tibia.com login05.tibia.com tibia01.cipsoft.com tibia02.cipsoft.com tibia03.cipsoft.com tibia04.cipsoft.com tibia05.cipsoft.com Feito isso, procure por:
    132127743205872284062295099082293384952776326496165507967876361843343953435544496682053323833394351797728954155097012103928360786959821132214473291575712138800495033169914814069637740318278150290733684032524174782740134357629699062987023311132821016569775488792221429527047321331896351555606801473202394175817 Substitue por:
    109120132967399429278860960508995541528237502902798129123468757937266291492576446330739696001110603907230888610072655818825358503429057592827629436413108566029093628212635953836686562675849720620786279431090218017681061521755056710823876476444260558147179707119674283982419152118103759076030616683978566631413 Créditos: Gesior
  7. Gostei
    chriscarp deu reputação a Wolven em OTClient - 7.4 até 10.82   
    Olá pessoal!
    Compilei o OTClient para Windows e estou disponibilizando para download.
    Esta versão é compatível da versão 7.4 até a 10.82. 

    Imagem OTClient:
     


    Download OTClient
    Scan Download Source
  8. Gostei
    Global 11/12x [v32]
     

     
     
    - New Falcons
    - New Asuras
    - Warzone 4,5,6
    - Exercise Training
    - Raids 100%
    - Monstros 100%
    - Trainer Offline 100%
    - Trainer Online 100%
    - Taming system funcionando 100%;
    - Database completa
    - War System 100%
    - Global MAP Full
    - Store 100%
    - Imbuement
    - Prey System
    - Entre outros sistemas.
     
    Projeto no: GITHUB

    Scan Vírus Total
     
    IMAGES
     
    Créditos:
     
     











  9. Gostei
    chriscarp deu reputação a diegosilva em Npc Addoner (10.76)   
    Script NPC Addoner
     
     
     
    Ola Pessoa to postando um Script atualizado do NPC Addoner Para Servidores TFS 1.0 - 10.76
    Pesquisei muito pra arruma o Bug Dele espero que Gostem,<
     
    ps. Isso não é um Tutorial, Por isso se vc n sabe o que esta fazendo não prossiga.
     
     



     
    Bug que não deixava a script rodar Ficava na linha:33 e estava assim.
    "                items_list = items_list .. item[2] .. ' ' .. getItemNameId(item[1])"
     
    O que eu Fiz foi retirar o "ID" no GetItemName(item[1]) e fico assim,
    "                items_list = items_list .. item[2] .. ' ' .. getItemName(item[1])"
     
    Bom peguei a Script de outro forum, e configurei para rodar na Versão 10.76
     
     
     
     
     
     
    Esta ai Zero Bala.
    Se gosto comenta, se não Comenta TBM, estarei Feliz em ajudar no que puder.
  10. Gostei
    chriscarp deu reputação a neykos em Resolvendo bug no tfs 1.0 Container.   
    Bom galera a poucos dias pedi um suporte para a comunidade, pois estava com um problema que é o seguinte.

    Toda vez que o player fosse abrir qualquer tipo de objeto ou corpo se ele anda-se 5 sqm pra frente o mesmo
    ainda ficava aberto, de tanta pesquisa e fuçar acabei conseguindo resolver o problema, embora a mesma solução pro meu problema achei aqui mais faltou 1 detalhe importante.
     
    Foto do problema:

     
    Solução:
    procure na pasta: /src/player.cpp
     
    isso:
    if (container->isRemoved() || !Position::areInRange<3, 3, 0>(getPosition(), container->getPosition())) { autoCloseContainers(container); onde o valor estiver <3, 3, 0>
    mude para 1

     
    if (container->isRemoved() || !Position::areInRange<1, 1, 0>(getPosition(), container->getPosition())) { autoCloseContainers(container); Agora vem o detalhe que ninguém explicou, bom para essa alteração ser aceita é necessário compilar novamente o servidor e trocar o executável,  pois a alteração é feita na source e eu tive esse problema com o servidor do Mitsuig, e estou rodando o servidor no ubuntu, se servir para alguém essa solução sinta-se a vontade. 
     Essa alteração esta presente apenas no tfs 1.0

Informação Importante

Confirmação de Termo