Ir para conteúdo

gahenna

Membro
  • Registro em

  • Última visita

Tudo que gahenna postou

  1. Alguém teria como disponibilizar algum script que mostre quanto de dodge e critical o char possui?
  2. Já tentei mudar o TALKTYPE_ORANGE_1 para TALKTYPE_BLUE_1 e sempre da debug brow..
  3. Tópico bem explicado, rep+! Depois de eu ter conseguido isso, eu estava querendo colocar o "Ahhhh" da mensagem das potions na COR azul, saberia me dizer onde faço isso nas sources?
  4. gahenna postou uma resposta no tópico em Suporte Tibia OTServer
    Galera alguém consegue me auxiliar, como eu faço para trocar aquela mensagenzinha em laranja das potions "AhhhH" e colocar em azul nas minhas sources para eu poder compilar, alguém sabe onde trocar isso?
  5. Consegui compilar e deu certo amigo, obrigado!
  6. http://www.mediafire.com/download/9eda9web874tx5q/trunk.r3884.rar
  7. Alguém possui alguma source tfs 0.4 sem salt para que eu possa compilar ou algum metódo que eu possa tirar o salt da distro?
  8. tfs 0.4 amigo, tem um baiak no otservlist que possui isso..
  9. No caso, eu gostaria apenas de trocar a COR da mensagenzinha em laranja por AZUL e a quantidade de mana que heala pra AZUL também, você saberia me dizer como que faço?
  10. Alguém pra ajudar?
  11. Ja substitui TALKTYPE_ORANGE_1 POR TALKTYPE_BLUE_1 conforme está ai no meu script, porém da debug, não sei o que estou fazendo de errado.. Alguém pra me auxiliar?
  12. Não estou conseguindo mudar a cor do heal das potions, quando mudo para BLUE da debug, alguém poderia ver o que estou fazendo de errado? local POTIONS = { [8704] = {empty = 7636, splash = 2, health = {150, 200}}, -- small health potion [7618] = {empty = 7636, splash = 2, health = {200, 300}}, -- health potion [7588] = {empty = 7634, splash = 2, health = {400, 800}, level = 50, vocations = {3, 4, 7, 8}, vocStr = "knights and paladins"}, -- strong health potion [7591] = {empty = 7635, splash = 2, health = {700, 1000}, level = 80, vocations = {4, 8}, vocStr = "knights"}, -- great health potion [8473] = {empty = 7635, splash = 2, health = {1250, 1600}, level = 130, vocations = {4, 8}, vocStr = "knights"}, -- ultimate health potion [7620] = {empty = 7636, splash = 7, mana = {300, 450}}, -- mana potion [7589] = {empty = 7634, splash = 7, mana = {510, 890}, level = 50, vocations = {1, 2, 3, 5, 6, 7}, vocStr = "sorcerers, druids and paladins"}, -- strong mana potion [7590] = {empty = 7635, splash = 7, mana = {1050, 1200}, level = 80, vocations = {1, 2, 5, 6}, vocStr = "sorcerers and druids"}, -- great mana potion [8472] = {empty = 7635, splash = 3, health = {600, 950}, mana = {430, 580}, level = 80, vocations = {3, 7}, vocStr = "paladins"}, -- great spirit potion } local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100)) function onUse(cid, item, fromPosition, itemEx, toPosition) local potion = POTIONS[item.itemid] if(not potion) then return false end if(not isPlayer(itemEx.uid) or (not config.usableOnTarget and cid ~= itemEx.uid)) then if(not config.splashable) then return false end if(toPosition.x == CONTAINER_POSITION) then toPosition = getThingPos(item.uid) end doDecayItem(doCreateItem(2016, potion.splash, toPosition)) doTransformItem(item.uid, potion.empty) return TRUE end if(hasCondition(cid, CONDITION_EXHAUST_HEAL)) then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return TRUE end if(((potion.level and getPlayerLevel(cid) < potion.level) or (potion.vocations and not isInArray(potion.vocations, getPlayerVocation(cid)))) and not getPlayerCustomFlagValue(cid, PLAYERCUSTOMFLAG_GAMEMASTERPRIVILEGES)) then doCreatureSay(itemEx.uid, "Only " .. potion.vocStr .. (potion.level and (" of level " .. potion.level) or "") .. " or above may drink this fluid.", TALKTYPE_BLUE_1) return TRUE end local health = potion.health if(health and not doCreatureAddHealth(itemEx.uid, math.ceil(math.random(health[1], health[2]) * config.healthMultiplier))) then return false end local mana = potion.mana if(mana and not doPlayerAddMana(itemEx.uid, math.ceil(math.random(mana[1], mana[2]) * config.manaMultiplier))) then return false end doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_MAGIC_BLUE) if(not realAnimation) then doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_BLUE_1) else for i, tid in ipairs(getSpectators(getCreaturePosition(cid), 1, 1)) do if(isPlayer(tid)) then doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_BLUE_1, false, tid) end end end doAddCondition(cid, exhaust) if(not potion.empty or config.removeOnUse) then doRemoveItem(item.uid, 1) return TRUE end doRemoveItem(item.uid, 0) doPlayerAddItem(cid, potion.empty, 0) doPlayerRemoveItem(cid, potion.empty, getPlayerItemCount(cid, potion.empty)) doPlayerAddItem(cid, potion.empty, getPlayerItemCount(cid, potion.empty)) return TRUE end
  13. Funcionando perfeitamente amigo, obrigado pela sua ajuda, abraço!
  14. Amigo, sua script está funcionamento perfeitamente, deixa eu só te fazer uma pergunta, você conseguiria por pra perder essa dodge SOMENTE quando o players estiver PK? não queria que perdesse quando morre pra bicho ou pra players pks, meu rep você já tem, obrigado!
  15. Consegui consertar a dodge amigo, em seguida fui testar seu script e ele está funcionando, porém quando o player por exemplo: morre com 30 dodges, zera todas as dodges, você saberia me dizer o motivo? abraço
  16. Alguém pode me ajudar com um sistema de dodger e critical que o efeito possa sair escrito DODGE msm com o cara estando com utamo vita? Já tentei adaptar de um outro server para o meu e não funciona, e também não consigo achar aqui algum sistema desses 100% funcional, agradeço se alguém puder me ajudar..
  17. Conferi sim, mas meu sistema eu não tenho certeza se está funcionando, pois quando ataca o player não sobe efeito de DODGE :/
  18. Boa noite death, você poderia me auxiliar em relação ao sistema de dodge e critical do baiak que você editou? Eu estou tentando tirar os scripts de dodge e critical pra passar pra outro mapa e quando passo não aparece o efeito AZUL DE DODGE subindo, vc saberia me auxiliar? Ficarei agradecido
  19. Amigo, não funcionou, porém acredito que meu sistema de dodge e critical esteja bugado, creio que não esteja funcionando o ataque e defesa..
  20. local limite = 100 -- limite de dodge local storagedodge = 98798644 -- storage do dodge function onUse(cid, item, fromPosition, itemEx, toPosition) if getPlayerStorageValue(cid, storagedodge) == -1 then doPlayerSetStorageValue(cid, storagedodge, (getPlayerStorageValue(cid, storagedodge)) + 2) doPlayerSendCancel(cid, " DodgeSKILL:["..getPlayerStorageValue(cid, storagedodge).."/"..limite.."].") elseif getPlayerStorageValue(cid, storagedodge) >= -1 and getPlayerStorageValue(cid, storagedodge) <= limite then doPlayerSetStorageValue(cid, storagedodge, (getPlayerStorageValue(cid, storagedodge)) + 1) doPlayerSendCancel(cid, " DodgeSKILL:["..getPlayerStorageValue(cid, storagedodge).."/"..limite.."].") doRemoveItem(item.uid, 1) else doPlayerSendCancel(cid, "Voce já chegou no máximo.DodgeSKILL:["..getPlayerStorageValue(cid, storagedodge).."/"..limite.."]") end return true end
  21. Boa noite, alguém poderia me dar um auxilio, eu estou tentando adaptar minha wand para que o DAMAGE dela saia igual WATER, tipo um "MANASHIELD(UTAMO)" o jeito dela é exatamente esse aqui que eu quero, porém o combat_param_type eu queria conforme o que disse, alguem poderia me ajudar? local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PARAM_AGGRESSIVE) setCombatParam(combat, COMBAT_PARAM_EFFECT, 1) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, 4) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, -495, 0, -500) function onUseWeapon(cid, var) return doCombat(cid, combat, var) end
  22. Não sei te dizer isso, como eu verificaria isso?
  23. gahenna postou uma resposta no tópico em Tutoriais sobre Scripting
    Amigo, eu estou procurando algo que possa me ajudar a colocar o parâmetro LOSEENERGY que consiga sair dano igual ao MAGICSHIELD, não consigo adaptar isso, você sabe de algo?

Informação Importante

Confirmação de Termo