Ir para conteúdo

Fabio Leandro

Membro
  • Registro em

  • Última visita

Tudo que Fabio Leandro postou

  1. Então não adiciono nada no config.lua, e sim no login.lua, certo? entendi agora, perdoe a burrisse
  2. posso adicionar isso? meu tfs é 0.4 version 1.0.6 não achei essa linha "local hours", posso adicionar assim mesmo?
  3. Eu queria uma script em creaturescripts pra quando o player logar, ele ja logar com luz máxima, como se ele ja logasse de utevo vis lux, só que maior que a utevo vis lux, com luz na tela toda, eu tenho um ot que fica muito escuro e mesmo com a luz no full nas configurações do cliente não da pra ver nada, isso iria me ajudar muito! Entenderam né? quando o char logar ja vai logar com um creaturescripts que da ao player luz maxima, como se o ot tivesse sempre de dia. Obrigado.
  4. Quando o character pega um determinado level, não tenho certeza se é 400, fiz texte com um lvl 400 e um 200. o level 200 continua upando normal, e o 400 não sobe xp, continua com o mesmo numero de experiência. Porque ta acontecendo isso? rep+
  5. Fabio Leandro postou uma resposta no tópico em Suporte & Pedidos
    @Soldoran Cade o download? ou vc so ta apresentando? queria o download, n to achando
  6. tem como deixar sempre dia pra todo mundo? tipo, os players vão ver sempre dia igual o god
  7. @FlavioHulk Aceita testar via teamviewer com meu server aberto?
  8. Meu server quando fica a noite fica muuuito escuro e feio, Queria saber se tem como deixar claro 100% o tempo todo, como se fosse só dia no server, eu ja joguei um server assim, o BAIAK-ILUSION, e lá era sempre claro, e eles usavam cliente normal do tibia sem sprite. Desde já agradeço.
  9. Olá irmão, eu lembro que nessa tentativa flustrada eu acabei mudando a cor do healing (com potions) pra azul, ou seja, toda vez que uso qualquer potion, de mana potion a ultimate sai azul. E quando healo usando magia, por exemplo, um exura ou exana mort, sai verde e mostra o total que esta healando, vou deixa imagens. HEALANDO USANDO MAGIA: HEALANDO USANDO QUALQUER POTION (SAI EM AZUL) VOU DEMONSTRAR COM ULTIMATE HEAL: LUASCRIPT.CPP: A propósito, coloquei o seu game.cpp mas não mudou extremamente nada. A propósito, coloquei o seu game.cpp mas não mudou extremamente nada.
  10. actions/scripts/liquids/potions.lua local config = { removeOnUse = "no", usableOnTarget = "yes", -- can be used on target? (fe. healing friend) splashable = "no", realAnimation = "no", -- make text effect visible only for players in range 1x1 healthMultiplier = 1.0, manaMultiplier = 1.0 } config.removeOnUse = getBooleanFromString(config.removeOnUse) config.usableOnTarget = getBooleanFromString(config.usableOnTarget) config.splashable = getBooleanFromString(config.splashable) config.realAnimation = getBooleanFromString(config.realAnimation) 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 = {200, 400}, level = 50, vocations = {3, 4, 7, 8}, vocStr = "knights and paladins"}, -- strong health potion [7591] = {empty = 7635, splash = 2, health = {700, 900}, level = 80, vocations = {4, 8}, vocStr = "knights"}, -- great health potion [8473] = {empty = 7635, splash = 2, health = {1200, 1400}, level = 130, vocations = {4, 8}, vocStr = "knights"}, -- ultimate health potion [7620] = {empty = 7636, splash = 7, mana = {150, 350}}, -- mana potion [7589] = {empty = 7634, splash = 7, mana = {200, 400}, level = 50, vocations = {1, 2, 3, 5, 6, 7}, vocStr = "sorcerers, druids and paladins"}, -- strong mana potion [7590] = {empty = 7635, splash = 7, mana = {1000, 1200}, level = 80, vocations = {1, 2, 5, 6}, vocStr = "sorcerers and druids"}, -- great mana potion [8472] = {empty = 7635, splash = 3, health = {900, 1100}, mana = {400, 400}, 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_ORANGE_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 doAddCondition(cid, exhaust) doSendMagicEffect(getThingPos(itemEx.uid), 30) doSendAnimatedText(fromPosition, "Aaaah...", 17) 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 Em vez de deixar todas as potions *que seria mto trabalhoso* vou deixar apenas a great spirit pra tomar como base. /liquids/great_mana.lua: local MIN = 1050 local MAX = 1200 local EMPTY_POTION = 7635 local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100)) function onUse(cid, item, fromPosition, itemEx, toPosition) if isPlayer(itemEx.uid) == FALSE then return FALSE end if hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return TRUE end if((not(isSorcerer(itemEx.uid) or isDruid(itemEx.uid)) or getPlayerLevel(itemEx.uid) < 80) and getPlayerCustomFlagValue(itemEx.uid, PlayerCustomFlag_GamemasterPrivileges) == FALSE) then doCreatureSay(itemEx.uid, "Only sorcerers and druids of level 80 or above may drink this fluid.", TALKTYPE_ORANGE_1) return TRUE end if doPlayerAddMana(itemEx.uid, math.random(MIN, MAX)) == LUA_ERROR then return FALSE end doAddCondition(cid, exhaust) doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_MAGIC_BLUE) doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) doRemoveItem(item.uid, 0) doPlayerAddItem(cid, EMPTY_POTION, 0) return TRUE end vou deixar também o game.cpp que é um arquivo da source que mexe diretamente com as potions. /source/game.cpp: Acredito eu que vc vai conseguir mecher nisso pelo arquivo GAME.CPP, abraço.
  11. Eu atualizei meu remeres pra outra versão, daí eu não vi que os teleports estavam assim e dei save, agora todos os teleports estão com destino x-0, y-0, z-0 tudo 0, eu estou perplexo! o que devo fazer? como recuperar? eu tenho um backup do mapa mas é 2 meses antigo e eu iria perder muita coisa mesmo que fiz no mapa, por favor me ajuda gente, eu faço qlq coisa pra quem me ajudar! TFS 0.4
  12. valeu, tem como disponibilizar o mapa do evento?
  13. Faltou vc explicar mais sobre o evento, como funciona? ele usa algum mapa? vc deixou o mapa da área disponível? eu mesmo não entendi nada, como vou instalar algo no meu ot que eu n entendo? por favor explique. Desde já valeu pela iniciativa e parabéns pelo conteúdo novo.
  14. desculpa n ter olhado antes mano, funcionou certinho, perfeito! REPUTADO! VEJA se consegue resolve esse outro tópico que criei:
  15. Em meu ot quando eu healo ou uso potion, aparece na cor verde feia e mostra o valor total do heal, tipo eu healo 1000 com 1000 de life, mesmo acim aparece 1000 na cor verde Eu queria um igual ao do global qe vcs devem conhecer bem, na cor azul claro linda e que mostra a numeração apenas do que encheu do life, tipo tenho 1000 de life e falta 200 pra encher, ela mostra o numero 200. Grato.
  16. fiz isso mano, e nada apaguei e reconstrui denovo, poxa to chatiado com issp
  17. Não são as amazons brother, pois eu arrodeio o templo sem passar por aquele tile, não abre o battle, veja na imagem: MAS QUANDO EU PISO NA PORRA DO TILE, ABRE O BATTLE, IMPRESSIONANTE: to doido pra da um rep+ hoje ja olhei se tem uma action no tile, dei browse field, e n tem nada
  18. É só tirar o pé do templo que o battle abre, ja olhei no RME se tem alguma spawn, ou algum monstro escondido, nada, simplesmente abre, isso ta me irritando, vou deixar fotos. QUANDO O CHAR SAI DESSE LADO DO TEMPLO, O BATTLE NAO ABRE: MAS QUANDO ELE SAI DESSE LADO AQUI ABRE: VOU MOSTRAR FOTOS DO RME PRA VCS VEREM QUE NAO TEM NENHUM MONSTRO OU MONSTERSPAWN. POR FAVOR ME AJUDEM, OBRIGADO.

Informação Importante

Confirmação de Termo