Ir para conteúdo

ernaix69

Membro
  • Registro em

  • Última visita

  1. moleza reagiu a uma resposta no tópico: Senzu healando %vida e mana
  2. Maahzeera reagiu a uma resposta no tópico: Outfit Animada
  3. ernaix69 postou uma resposta no tópico em Suporte Tibia OTServer
    Você precisa compilar suas spr com essas opçoes e ativar essas features no otc g_game.enableFeature(GameSpritesAlphaChannel) g_game.enableFeature(GameIdleAnimations) g_game.enableFeature(GameEnhancedAnimations)
  4. ernaix69 postou uma resposta no tópico em Suporte Tibia OTServer
    Se vc estiver utilizando o otcv8 só precisa converter no objetic builder e ativar a função
  5. você quer q a magia cause dano no jogador q for atravessado?
  6. carloos reagiu a uma resposta no tópico: (Resolvido)exori com elemento da wepon
  7. carloos reagiu a uma resposta no tópico: Atributos novos
  8. me diz qual a magia vc ta tentando fazer isso q eu mando ja ela funcionando com a formula q eu mandei
  9. carloos reagiu a uma resposta no tópico: (Resolvido)exori com elemento da wepon
  10. 1: isso voce vai colocar no script da magia msm 2: tem opção melhor q é colocar um formular q calcule o dano elemental de acordo com o a quantidade de dano q va ter na arma formular: @Carlinhous1996
  11. molezinha reagiu a uma resposta no tópico: Atributos novos
  12. ernaix69 postou uma resposta no tópico em Suporte Tibia OTServer
    na verdade vc esta errando na %, se vc quiser adicionar 50% precisar ser assim: setConditionParam(condition,CONDITION_PARAM_STAT_MAGICLEVELPERCENT, 150) setConditionParam(condition,CONDITION_PARAM_SKILL_SWORDPERCENT, 150)
  13. ernaix69 alterou sua foto pessoal
  14. no script q vai na pasta talkactions vc vai encontrar a função relacionada ao gold, basta trocar pela função de points
  15. mas pra adicionar novas posições em outros cantos do mapa, ele falou q era só duplicar o for, mas não entendi direito
  16. desculpa, mas não entendi direito como adcionar novas areas, vc pode me explicar melhor?
  17. agora q vc falou lembrei de algo q é essa função q ja se encontra na source if(getPlayerOperatingSystem(cid) >= CLIENTOS_OTCLIENT_LINUX) then registerCreatureEvent(cid, "ExtendedOpcode") end
  18. poe a arma como club no items.xml e declara ela na weapons.xml com esse script.
  19. ernaix69 reagiu a uma resposta no tópico: Teleporte Summon tfs 0.3.6
  20. Doidodepeda reagiu a uma resposta no tópico: Pedido Anti Divulgacao + ban
  21. local CONFIG = { serverName = "", adminName = "Automatic Ban", blockedLinks = {"baiaksystem", "baiaksystem"}, action = "ban", actionTime = {1, "min"}, comment = "Sharing link: ", muteStorage = 79004 } local blockedLinksData = {} local separator = '[ !\t@%$%^%+%-%.%%_,<>?()3]*' for _, linkText in pairs(CONFIG.blockedLinks) do local data = {} data.link = linkText data.preg = '.*' for c in string.gmatch(linkText, '.') do if(c == '.') then data.preg = data.preg .. '.*' else data.preg = data.preg .. c .. separator end end data.preg = data.preg .. '.*' table.insert(blockedLinksData, data) end function isLegalMessage(words) for _, blockedLink in pairs(blockedLinksData) do if(string.match(words, blockedLink.preg) ~= nil) then return false, blockedLink.link end end return true, '' end function onSay(cid, words, param, channel) if getPlayerStorageValue(cid, 5253711) > os.time() then return false end local time = getPlayerStorageValue(cid, 455010) words = words .. " " .. param local legalMessage, forbiddenLink = isLegalMessage( string.lower(words)) if channel == 9 and time > os.time() then return doPlayerSendCancel(cid, 'You are muted for ' .. (time - os.time()).. ' second' .. ((time - os.time()) > 1 and 's' or '').. ' in this channel.') end local time = getPlayerStorageValue(cid, 455011) if channel == 6 and time > os.time() then return doPlayerSendCancel(cid, 'You are muted for ' .. (time - os.time()).. ' second' .. ((time - os.time()) > 1 and 's' or '').. ' in this channel.') end if(not legalMessage) then if CONFIG.action == "mute" then local muteStorageValue = getPlayerStorageValue(cid, CONFIG.muteStorage) if(muteStorageValue > os.time()) then doPlayerSendCancel(cid, "You are still muted for " .. muteStorageValue-os.time() .. " seconds.") return true end setPlayerStorageValue(cid, CONFIG.muteStorage, mathtime(CONFIG.actionTime)+os.time()) if(channel == CHANNEL_DEFAULT) then doCreatureSay(cid, CONFIG.serverName.." RULES!", TALKTYPE_SAY) end doAddCondition(cid, exhaust) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Link: " .. forbiddenLink .. " is forbidden.") else local accId = getPlayerAccountId(cid) doAddAccountBanishment(accId, getPlayerGUID(cid),mathtime(CONFIG.actionTime) + os.time(), 6, ACTION_BANISHMENT, CONFIG.comment..forbiddenLink, getPlayerGUIDByName(CONFIG.adminName), CONFIG.comment..forbiddenLink) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MAGIC_GREEN) doRemoveCreature(cid) end return true end setPlayerStorageValue(cid, 5253711, 5 + os.time()) end function mathtime(table) local unit = {"sec", "min", "hour", "day"} for i, v in pairs(unit) do if v == table[2] then return table[1]*(60^(v == unit[4] and 2 or i-1))*(v == unit[4] and 24 or 1) end end return error("Bad declaration in mathtime function.") end Tem isso na base do baiakpvp.
  22. ernaix69 reagiu a uma resposta no tópico: New Library v. 1.2
  23. Não, pq cada personagem vai ter seu buff mesmo, o importante é os 2 buff q o char for usar ter subid diferentes

Informação Importante

Confirmação de Termo