Ir para conteúdo

Pacera

Membro
  • Registro em

  • Última visita

Tudo que Pacera postou

  1. Resolveu? to com mesmo problema.
  2. Qual a posição do mapa?
  3. Nao funciona pra mim. Ele remove a skull, porem nao remove os frags. O player mata mais uma vez e ja pega skull black ou red denovo. Pod eme ajudar? To usando em revscript
  4. Aqui nao funciona. ele fala ./backup.sh: line 4: ---: No such file or directory ./backup.sh: line 5: ---: No such file or directory ./backup.sh: line 6: ---: No such file or directory ./backup.sh: line 7: ---: No such file or directory ./backup.sh: line 8: ---: No such file or directory Por favor preencha o usuário, senha e banco de dados nas configurações.
  5. Pacera respondeu ao post em um tópico de marcoshps11 em Outros Clients
    funciona em 12x?
  6. Como faz pra versao 12x que nao tem spr/dat?
  7. Olá, o script rodou sem erros, porem nao alterou nada.
  8. .Qual servidor ou website você utiliza como base? revscript canary Qual o motivo deste tópico? Está surgindo algum erro? Se sim coloque-o aqui. Você tem o código disponível? Se tiver publique-o aqui: local charms = { -- Wound charm [1] = { name = "Wound", description = "Triggers on a creature with a certain chance and deals 5% \z of its initial hit points as physical damage once.", type = CHARM_OFFENSIVE, damageType = COMBAT_PHYSICALDAMAGE, percent = 10, chance = 20, messageCancel = "You wounded the monster.", messageServerLog = "[Wound charm]", effect = CONST_ME_HITAREA, points = 600 }, -- Enflame charm [2] = { name = "Enflame", description = "Triggers on a creature with a certain chance and deals 5% \z of its initial hit points as fire damage once.", type = CHARM_OFFENSIVE, damageType = COMBAT_FIREDAMAGE, percent = 10, chance = 20, messageCancel = "You enflamed the monster.", messageServerLog = "[Enflame charm]", effect = CONST_ME_HITBYFIRE, points = 1000 }, -- Poison charm [3] = { name = "Poison", description = "Triggers on a creature with a certain chance and deals 5% \z of its initial hit points as earth damage once.", type = CHARM_OFFENSIVE, damageType = COMBAT_EARTHDAMAGE, percent = 10, chance = 20, messageCancel = "You poisoned the monster.", messageServerLog = "[Poison charm]", effect = CONST_ME_GREEN_RINGS, points = 600 }, -- Freeze charm [4] = { name = "Freeze", description = "Triggers on a creature with a certain chance and deals 5% \z of its initial hit points as ice damage once.", type = CHARM_OFFENSIVE, damageType = COMBAT_ICEDAMAGE, percent = 10, chance = 20, messageCancel = "You frozen the monster.", messageServerLog = "[Freeze charm]", effect = CONST_ME_ICEATTACK, points = 800 }, --Zap charm [5] = { name = "Zap", description = "Triggers on a creature with a certain chance and deals 5% \z of its initial hit points as energy damage once.", type = CHARM_OFFENSIVE, damageType = COMBAT_ENERGYDAMAGE, percent = 10, chance = 20, messageCancel = "You eletrocuted the monster.", messageServerLog = "[Zap charm]", effect = CONST_ME_ENERGYHIT, points = 800 }, --Curse charm [6] = { name = "Curse", description = "Triggers on a creature with a certain chance and deals 5% \z of its initial hit points as death damage once.", type = CHARM_OFFENSIVE, damageType = COMBAT_DEATHDAMAGE, percent = 10, chance = 20, messageCancel = "You curse the monster.", messageServerLog = "[Curse charm]", effect = CONST_ME_SMALLCLOUDS, points = 900 }, -- Cripple charm [7] = { name = "Cripple", description = "Cripples the creature with a certain chance and paralyzes it for 10 seconds.", type = CHARM_OFFENSIVE, chance = 20, messageCancel = "You cripple the monster.", points = 500 }, -- Parry charm [8] = { name = "Parry", description = "Any damage taken is reflected to the aggressor with a certain chance.", type = CHARM_DEFENSIVE, damageType = COMBAT_PHYSICALDAMAGE, chance = 10, messageCancel = "You parry the attack.", messageServerLog = "[Parry charm]", effect = CONST_ME_EXPLOSIONAREA, points = 1000 }, -- Dodge charm [9] = { name = "Dodge", description = "Dodges an attack with a certain chance without taking any damage at all.", type = CHARM_DEFENSIVE, chance = 20, messageCancel = "You dodge the attack.", effect = CONST_ME_POFF, points = 600 }, -- Adrenaline burst charm [10] = { name = "Adrenaline Burst", description = "Bursts of adrenaline enhance your reflexes with a certain chance \z after you get hit and let you move faster for 10 seconds.", type = CHARM_DEFENSIVE, chance = 20, messageCancel = "Your movements where bursted.", points = 500 }, -- Numb charm [11] = { name = "Numb", description = "Numbs the creature with a certain chance after its attack and paralyzes the creature for 10 seconds.", type = CHARM_DEFENSIVE, chance = 20, messageCancel = "You numb the monster.", points = 500 }, -- Cleanse charm [12] = { name = "Cleanse", description = "Cleanses you from within with a certain chance after you get hit and \z removes one random active negative status effect and temporarily makes you immune against it.", type = CHARM_DEFENSIVE, chance = 20, messageCancel = "You purified the attack.", points = 700 }, -- Bless charm [13] = { name = "Bless", description = "Blesses you and reduces skill and xp loss by 10% when killed by the chosen creature.", type = CHARM_PASSIVE, percent = 10, chance = 100, points = 800 }, -- Scavenge charm [14] = { name = "Scavenge", description = "Enhances your chances to successfully skin/dust a skinnable/dustable creature.", type = CHARM_PASSIVE, percent = 10, points = 800 }, -- Gut charm [15] = { name = "Gut", description = "Gutting the creature yields 20% more creature products.", type = CHARM_PASSIVE, percent = 20, points = 800, }, -- Low blow charm [16] = { name = "Low Blow", description = "Adds 8% critical hit chance to attacks with critical hit weapons.", type = CHARM_PASSIVE, percent = 8, chance = 0, points = 2000 }, -- Divine wrath charm [17] = { name = "Divine Wrath", description = "Triggers on a creature with a certain chance and deals 5% \z of its initial hit points as holy damage once.", type = CHARM_OFFENSIVE, damageType = COMBAT_HOLYDAMAGE, percent = 10, chance = 1, messageCancel = "You divine the monster.", messageServerLog = "[Divine charm]", effect = CONST_ME_HOLYDAMAGE, points = 1500 }, -- Vampiric embrace charm [18] = { name = "Vampiric Embrace", description = "Adds 4% Life Leech to attacks if wearing equipment that provides life leech.", type = CHARM_PASSIVE, percent = 4, chance = 0, points = 1500 }, -- Void's call charm [19] = { name = "Void's Call", description = "Adds 2% Mana Leech to attacks if wearing equipment that provides mana leech.", type = CHARM_PASSIVE, percent = 2, chance = 0, points = 1500 } } for charmId, chamsTable in ipairs(charms) do local charm = Game.createBestiaryCharm(charmId - 1) local charmConfig = {} if chamsTable.name then charmConfig.name = chamsTable.name end if chamsTable.description then charmConfig.description = chamsTable.description end if chamsTable.type then charmConfig.type = chamsTable.type end if chamsTable.damageType then charmConfig.damageType = chamsTable.damageType end if chamsTable.percent then charmConfig.percent = chamsTable.percent end if chamsTable.messageCancel then charmConfig.messageCancel = chamsTable.messageCancel end if chamsTable.messageServerLog then charmConfig.messageServerLog = chamsTable.messageServerLog end if chamsTable.effect then charmConfig.effect = chamsTable.effect end if chamsTable.points then charmConfig.points = chamsTable.points end if player:hasCharmUpgradeBonus() then if chamsTable.chance then charmConfig.chance = chamsTable.chance + 5 end else if chamsTable.chance then charmConfig.chance = chamsTable.chance end end -- Create charm and egister charmConfig table charm:register(charmConfig) end Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
  9. Pacera respondeu ao post em um tópico de Pacera em Suporte Tibia OTServer
    Opa obrigado, acabei fazendo um eu mesmo rrsrs. Porem demorei 2 dias fazendo. Mas só fiz igual vc até o yalahar. voce tem pra todos os addons de quest?
  10. Pacera respondeu ao post em um tópico de Pacera em Suporte Tibia OTServer
    tfs 1.3 revscripts em lua sem xml
  11. Pacera postou uma resposta no tópico em Suporte Tibia OTServer
    .Qual servidor ou website você utiliza como base? OPENTIBIABR CANARY Qual o motivo deste tópico? Alguem tem npc de addon que trocar items por addons? No caso seria em lua revscript. Está surgindo algum erro? Se sim coloque-o aqui. Você tem o código disponível? Se tiver publique-o aqui: Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
  12. Olá, fiz o script abaixo, porem nao consigo encontrar a função de adicionar tempo e a função de adicionar chance de critico. O script abaixo executa sem erros, porem nada acontece ao clicar no item, ele apenas mostra a mensagem e remove o item, porem nenhuma chance de critico é adicionada ao player.
  13. .Qual servidor ou website você utiliza como base? Opentibiabr REVSCRIPT Qual o motivo deste tópico? Estou tentando criar as potions do tibia drome que dão x atributos por x tempo, porem nao sei as funções de atributos e função de tempo para atributos. Alguem poderia me ajudar por favor? Obrigado Está surgindo algum erro? Se sim coloque-o aqui. Você tem o código disponível? Se tiver publique-o aqui: Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
  14. Pacera respondeu ao post em um tópico de Pacera em Suporte Tibia OTServer
    deboa. muito obrigado. já ajudou muito
  15. Pacera respondeu ao post em um tópico de Pacera em Suporte Tibia OTServer
    Obrigado, deu certo. Unico problema agora é que ele forja até gold coin, potion, rsrs qualquer item
  16. Pacera respondeu ao post em um tópico de Pacera em Suporte Tibia OTServer
    Bom dia, ele retorna mesmo erro ainda:
  17. Pacera respondeu ao post em um tópico de Pacera em Suporte Tibia OTServer
    Eu uso esse talkactions pra criar item. talvez por ele voce consiga achar a solução.
  18. Pacera respondeu ao post em um tópico de Pacera em Suporte Tibia OTServer
    Obrigado Ola, estou tendo erro na source ao usar em items como: potions, runas, gold coin ou items nao forjaveis. qd o item é tier 0 da o mesmo erro. [error] Lua script error: scriptInterface: [Scripts Interface] scriptId: [C:\Program Files (x86)\canary-global-windows-x64-full\data\scripts\custom\forja.lua:callback] timerEvent: [] callbackId:[] function: [] error [...ry-global-windows-x64-full\data\scripts\custom\forja.lua:49: attempt to compare nil with number stack traceback: [C]: in function '__lt' ...ry-global-windows-x64-full\data\scripts\custom\forja.lua:49: in function <...ry-global-windows-x64-full\data\scripts\custom\forja.lua:18>]
  19. Pacera respondeu ao post em um tópico de Pacera em Suporte Tibia OTServer
    Bom dia, poderia dar uma olhada pra mim se tem algo errado por favor? Nao consegui achar a função de alterar item, coloquei de adicionar, mas acho que esta errado e nao vai dar certo.
  20. Pacera respondeu ao post em um tópico de Pacera em Suporte Tibia OTServer
    A source faz a verificação se ele te 0 tier. todos os item forjaveis tem tier 0. os nao forjaveis nao tem tier
  21. Pacera respondeu ao post em um tópico de Pacera em Suporte Tibia OTServer
    Me ajuda ae por favor. Consegui fazer algumas coisas, só que o script é bem extenso e utiliza algumas funções que nunca utilizei. Falta: 1-Alterar o onuse pro item dar use no item que vai ser forjado. exemplo, clica com direito no item 37110 e usa no item que vai forjar. Ou se possível ser feito por actionID. o cara coloca o item que sera forjado em cima de algum tile e puxa uma alavanca. 2-Depois, verificar se o item é tier=0 ou maior que 0 e menor que 10(tier maximo). Caso nao seja ele mostra a mensagem que este nao é um item forjável. 3-Fazer um random da porcentagem de acerto conforme o tier do item. tier=0 sera 100% acerto. a cada tier a porcentagem cai 15% ate o tier maximo que é 10. 4-se o random por favorável, verificar o nível Tier do item target e somar 1 nível
  22. Pacera postou uma resposta no tópico em Suporte Tibia OTServer
    .Qual servidor ou website você utiliza como base? Qual o motivo deste tópico? Olá, tudo bem? Eu tenho um sistema de forja no meu servidor global 12.86. Porem a criação do item forja tier 1,2....10 só pode ser criado com o comando de GOD: "/testtier falcon coif,10" Eu gostaria de criar um script que se o player tiver 100 de qualquer item"ID DO ITEM" e ele clicar no item e depois usar no item que sera forjado, o item tem 50% de receber +1 de forja, ou ele pode ter 50% de chance de falahar e nao acontecer nada. Poderia me ajudar? Obrigado Está surgindo algum erro? Se sim coloque-o aqui. Você tem o código disponível? Se tiver publique-o aqui: local tier = TalkAction("/testtier") -- usage: /testtier item id or name, tier -- example: /testtier falcon coif, 8 -- make sure to move the item at least 1 time to refresh item tier icon function tier.onSay(player, words, param) local split = param:split(",") local itemType = ItemType(split[1]) if itemType:getId() == 0 then itemType = ItemType(tonumber(split[1])) if not tonumber(split[1]) or itemType:getId() == 0 then player:sendCancelMessage("There is no item with that id or name.") return false end end local tier = tonumber(split[2]) if tier <= 0 or tier == nil or tier > 10 then player:sendCancelMessage("Invalid tier count.") return false end player:addItem(itemType:getId(), 1):setTier(tier) return false end tier:separator(" ") tier:register()
  23. Funcionou, só nao ta mostrando a mensagem e é aquilo que te falei, se ficar apertando enter e insistindo, ele deixa o char logar.
  24. Deu esse erro: Mano. coloquei o primeiro script que funciona que vc fez mesmo. Mas qd o 5 player e recusado se ficar dando enter ele consegue entrar e o sistema de bloqueio falha. existe alguma correção pra nao falhar?
  25. Entendi. Muito Obrigado. É possivel enviar uma mensagem quando o jogador logar 3 players? E no 4 ele dar erro e nao deixar mesmo.

Informação Importante

Confirmação de Termo