Ir para conteúdo

Ahamaladha

Membro
  • Registro em

  • Última visita

  1. Ahamaladha alterou sua foto pessoal
  2. Ahamaladha postou uma resposta no tópico em Suporte Tibia OTServer
    Cara tente se expressar melhor porque assim fica difícil entender oque você quer.
  3. Striker Macabrus reagiu a uma resposta no tópico: Projeto Hasiatic - RPG Inovador
  4. Striker Macabrus reagiu a uma resposta no tópico: Como colocar group
  5. Striker Macabrus reagiu a uma resposta no tópico: Ajuda !! Acesso a locais liberados
  6. Striker Macabrus reagiu a uma resposta no tópico: Retirar potions infinitas.
  7. Apos terminar o storage "local sto = 5973" fica valendo 1, e na sua condição " if getGlobalStorageValue(sto) == 1 then " ( na qual você usa para não deixar 2 times entrarem juntos) permite apenas a entrada caso o storage seja diferente de 1 . Arrume o valor do storage caso o time não consiga completar a quest a tempo. Tente corrigir isso que provavelmente irá funcionar corretamente.
  8. Coloque uma que não está em uso e tambem coloque a mesmo no piso que você queira. Acho que com isso funciona perfeitamente.
  9. Tenta local config = { removeOnUse = "yes", 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 = {50, 100}}, -- small health potion [7618] = {empty = 7636, splash = 2, health = {200, 300}}, -- health potion [7588] = {empty = 7634, splash = 2, health = {300, 500}, level = 50, vocations = {3, 4, 7, 8}, vocStr = "knights and paladins"}, -- strong health potion [7591] = {empty = 7635, splash = 2, health = {600, 800}, level = 80, vocations = {4, 8}, vocStr = "knights"}, -- great health potion [8473] = {empty = 7635, splash = 2, health = {900, 1100}, level = 130, vocations = {4, 8}, vocStr = "knights"}, -- ultimate health potion [7620] = {empty = 7636, splash = 7, mana = {150, 250}}, -- mana potion [7589] = {empty = 7634, splash = 7, mana = {200, 300}, level = 50, vocations = {1, 2, 3, 5, 6, 7}, vocStr = "sorcerers, druids and paladins"}, -- strong mana potion [7590] = {empty = 7635, splash = 7, mana = {350, 450}, level = 80, vocations = {1, 2, 5, 6}, vocStr = "sorcerers and druids"}, -- great mana potion [8472] = {empty = 7635, splash = 3, health = {300, 400}, mana = {300, 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 doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_MAGIC_ORANGE) if(not realAnimation) then doCreatureSay(itemEx.uid, "Baiakziin...", TALKTYPE_ORANGE_1) else for i, tid in ipairs(getSpectators(getCreaturePosition(cid), 1, 1)) do if(isPlayer(tid)) then doCreatureSay(itemEx.uid, "Baiakziin...", TALKTYPE_ORANGE_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
  10. So usar os SAMPLE que tenham o acesso, ai os outros personagens criados apartir dele ja terão o acesso.
  11. Ja testou com outros char sem for o GOD?
  12. Acho que o certo é mudar o unique ID do piso. Se possível manda o link de onde você retirou o VIP que você esta usando.
  13. Fera insira seu código como code para que fique mais fácil a compreensão. Uma dúvida não acontece nada na primeira vez ou na segunda quando já tem gente dentro da quest?
  14. Ahamaladha reagiu a uma resposta no tópico: Pasta Data - Funções Em Lua
  15. pra facilitar em local percent = (exp*10)/100 deixe local percent = exp * 0.1
  16. Alexcpa reagiu a uma resposta no tópico: Criando 1 servidor OT Para iniciantes
  17. Cara para isso que você quer fazer primeiramente deve saber em qual versão você esta criando seu mapa. Depois disso você precisara de DATAPACK\Servidor e um executável da versão do seu mapa, caso queira um site também precisara de um WEBSITE compatível. Depois disso algumas configurações integrando mapa\servidor e tudo oks.
  18. Pelo jeito desse ser algum item causando o problema.
  19. Se gosta de mapa custom tem esse Baiak Roxv4 Se gostar de global Global 8.6 Se tiver duvida de como deixa on tem esse tópico que pode te ajudar Criando OTSV Qualquer coisa se ajudei deixa um REP+
  20. Cara olha em talkactions vê se tem algo errado lá, se tiver algo errado (ou não) avisa.
  21. Ahamaladha reagiu a uma resposta no tópico: Projeto Hasiatic - RPG Inovador
  22. Muito boa a ideia. Imagino que nesse contexto guerras de territórios (algo que ocorre muito em outros jogos) ficaria muito interessante. Ansioso por mais noticias.
  23. Magalhaes92 reagiu a uma resposta no tópico: Ajuda Desbloquear Modem
  24. Se não me engano quando, nesse modem seu quando você libera a porta pede o IP da maquina que você esta usando? Se pedir você coloca o IP do seu pc fixo e coloca o mesmo lá em NAT se der certo avisa ae.

Informação Importante

Confirmação de Termo