Ir para conteúdo

roriscrave

Membro
  • Registro em

  • Última visita

Tudo que roriscrave postou

  1. linux em quesito proteção e estabilidade. em windows qualquer um com 1 programa baixado na net consegue derrubar seu server, a não ser que pague caro por um anti ddos no windows
  2. roriscrave postou uma resposta no tópico em Suporte Tibia OTServer
    poste o que é para quem tiver a msm dúvida saber
  3. roriscrave postou uma resposta no tópico em Suporte Tibia OTServer
    Tente usar assim e veja se resolveu local action = 12120 -- valor da storage da bomba local mana = 40 -- quantidade de mana para plantar function onCastSpell(cid, var) local waittime = 60 local storage = 34010 if exhaustion.check(cid, storage) then doPlayerSendTextMessage(cid, 27, "Voce tem que espera " .. exhaustion.get(cid, storage) .. " segundos.") return false end for a = 1, 8 do addEvent(onCastSpell, a * 100, cid, var) exhaustion.set(cid, storage, waittime) end local pos = getCreaturePosition(cid) local get = getTileInfo(pos).itemid if getCreatureMana(cid) >= mana then if getPlayerItemCount(cid, 2579) >= 1 then doCreatureAddMana(cid, -mana, false) doPlayerRemoveItem(cid, 2579, 1) doPlayerSendTextMessage(cid, 27, "Você armou uma armadilha escondida.") doItemSetAttribute(doCreateItem(get, 1, pos), "aid", action) else doPlayerSendCancel(cid, "Você não tem a armadilha em sua mochila.") end end return true end
  4. primeiro tenta mudar o storage, as vezes alguma quest já usa este storage queststatus = getPlayerStorageValue(cid,10005) mude o 10005 para um outro valor qualquer, exemplo: 919188
  5. qual ip ou site desse server que vc postou as fotos?
  6. parece um projeto bacana... boa sorte a quem for participar
  7. roriscrave postou uma resposta no tópico em Playground (Off-topic)
    gosto mais da ares de scripts
  8. function onLogin(cid) Acho que tem um bug nesse script, creio que se o player morre, ele vai logar sem nenhuma bless, quando ele comprar as 5 blessings de novo, e morrer ele vai dropar o loot, porque o script só vai rodar caso ele compre 5 bless e re-logue o char, se não relogar ele perderá loot eu acho
  9. posta o outro script, vai em data/actions abre o actions.xml la nesse arquivo procura qual arquivo ta executando o id 5468 depois disso abra o arquivo e poste aqui posta o outro script, vai em data/actions abre o actions.xml la nesse arquivo procura qual arquivo ta executando o id 5468 depois disso abra o arquivo e poste aqui
  10. cara, isso ai é uma coisa muito simples de fazer, só estudar um pouco lua que vc faz em 3 minutos ou menos, eu poderia te dar de mão beijada, mas acho que seria melhor você aprender. Primeiro faça um npc, que quando o player conversar com ele, o player ganhe um storage (por exemplo o storage 1000). Depois faça um action ID na porta, para checar se o player tem o storage 1000, caso não tenha, vc coloca para ele nao poder passar. Aqui você pode aprender bastante coisa: http://www.tibiaking.com/forum/forum/136-tutoriais-de-scripting/
  11. vlw rusherzin, era isso msm, muito obrigado
  12. acho que postei na area errada antes, mas a duvida é essa http://www.tibiaking.com/forum/topic/51933-letras-do-gesior/
  13. Alguem pode fazer umas palavras pra mim com as letras do gesior? as letras são desse estilo em anexo as palavras que eu queria sao as seguintes: Elementos Skill Fusão de Items Sellchar Buychar
  14. Muito top a entrevista, curti demais, otimas perguntas e o cara ai é bem humilde. esperando as proximas xD Muito top a entrevista, curti demais, otimas perguntas e o cara ai é bem humilde. esperando as proximas xD Muito top a entrevista, curti demais, otimas perguntas e o cara ai é bem humilde. esperando as proximas xD
  15. so por um storage na porta e depois em um npc para dar o tal storage
  16. roriscrave postou uma resposta no tópico em Suporte Tibia OTServer
    tente assim 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 = {50, 100}}, -- small health potion [7618] = {empty = 7636, splash = 2, health = {100, 200}}, -- 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 = {500, 700}, level = 80, vocations = {4, 8}, vocStr = "knights"}, -- great health potion [8473] = {empty = 7635, splash = 2, health = {800, 1000}, level = 130, vocations = {4, 8}, vocStr = "knights"}, -- ultimate health potion [7620] = {empty = 7636, splash = 7, mana = {70, 130}}, -- mana potion [7589] = {empty = 7634, splash = 7, mana = {110, 190}, level = 50, vocations = {1, 2, 3, 5, 6, 7}, vocStr = "sorcerers, druids and paladins"}, -- strong mana potion [7590] = {empty = 7635, splash = 7, mana = {200, 300}, level = 80, vocations = {1, 2, 5, 6}, vocStr = "sorcerers and druids"}, -- great mana potion [8472] = {empty = 7635, splash = 3, health = {200, 400}, mana = {110, 190}, 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_BLUE) if(not realAnimation) then doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) else for i, tid in ipairs(getSpectators(getCreaturePosition(cid), 1, 1)) do if(isPlayer(tid)) then doCreatureSay(itemEx.uid, "Aaaah...", 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 doAddCondition(cid, exhaust) doRemoveItem(item.uid, 1) doPlayerAddItem(cid, potion.empty, 1) return true end
  17. para ver os outfits use o programa chamado Tibia Dat, aqui no tibiaking tem download dele, so procurar
  18. Concordo com o que ele disse, e assino embaixo. Ficou bacana a entrevista, curti as perguntas e tudo, mas creio que seria mais interessante entrevistar pessoas que produzem/produziram conteúdos para o mundo open tibia.
  19. como seria esse jutsu de cura dele? poste fotos
  20. o primeiro erro de nao teleporta voce faz o seguinte 1) abre o arquivo config.lua 2) aperta f3 e procura por : teleportAllSummons = false teleportPlayerSummons = false mude as 2 linhas e coloque assim: teleportAllSummons = true teleportPlayerSummons = true
  21. roriscrave postou uma resposta no tópico em Suporte Tibia OTServer
    tente usar o meu e fala se arrumou 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 = {50, 100}}, -- small health potion [7618] = {empty = 7636, splash = 2, health = {100, 200}}, -- 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 = {500, 700}, level = 80, vocations = {4, 8}, vocStr = "knights"}, -- great health potion [8473] = {empty = 7635, splash = 2, health = {800, 1000}, level = 130, vocations = {4, 8}, vocStr = "knights"}, -- ultimate health potion [7620] = {empty = 7636, splash = 7, mana = {70, 130}}, -- mana potion [7589] = {empty = 7634, splash = 7, mana = {110, 190}, level = 50, vocations = {1, 2, 3, 5, 6, 7}, vocStr = "sorcerers, druids and paladins"}, -- strong mana potion [7590] = {empty = 7635, splash = 7, mana = {200, 300}, level = 80, vocations = {1, 2, 5, 6}, vocStr = "sorcerers and druids"}, -- great mana potion [8472] = {empty = 7635, splash = 3, health = {200, 400}, mana = {110, 190}, 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_BLUE) if(not realAnimation) then doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) else for i, tid in ipairs(getSpectators(getCreaturePosition(cid), 1, 1)) do if(isPlayer(tid)) then doCreatureSay(itemEx.uid, "Aaaah...", 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, 1) doPlayerAddItem(cid, potion.empty, 1) return true end
  22. nao testei, mas se alguem quiser testar, tente assim function onCombat(cid, target) if isPlayer(target) == TRUE then if ((isInParty(target) and isInParty(cid)) and (getPlayerParty(cid) == getPlayerParty(target))) then if(getConfigValue("noDamageToPartyMembers")) then return false end end end return true end
  23. o seu site eh o mesmo ip da sua net, entra em www.meuip.com.br e pega la

Informação Importante

Confirmação de Termo