Ir para conteúdo

LuanMattheus

Banido
  • Registro em

  • Última visita

Tudo que LuanMattheus postou

  1. LuanMattheus postou uma resposta no tópico em Suporte Tibia OTServer
    Chule sai do meu pé!
  2. LuanMattheus postou uma resposta no tópico em Suporte Tibia OTServer
    Vodkart vai ter trabalho kkkkkkkkkkkkkkkkkkkkkk
  3. LuanMattheus postou uma resposta no tópico em Suporte Tibia OTServer
    Muito bom!
  4. LuanMattheus postou uma resposta no tópico em Suporte Tibia OTServer
    Olá eu tenho esse script de death list normal, queria uma modificaçao nele, o player para ver a mortes dele ele precisa colocar !deathlist (nome), mas se ele colocar apenas o comando !deathlist sem nome nao funciona, eu queria que quando ele colocasse somente !deathlist sem nome aparecesse as mortes dele e quando ele colocar um nome aparecesse tbm as mortes de outros. @Vodkart local config = { deathAssistCount = getConfigValue('deathAssistCount') + 1, maxDeathRecords = getConfigValue('maxDeathRecords'), limit = "5" } if(config.deathAssistCount > 0) then config.limit = " LIMIT 0, " .. config.deathAssistCount end function onSay(cid, words, param, channel) local target = db.getResult("SELECT `name`, `id` FROM `players` WHERE `name` = " .. db.escapeString(param) .. ";") if(target:getID() == -1) then doPlayerSendCancel(cid, "") return true end local targetName, targetId = target:getDataString("name"), target:getDataInt("id") target:free() local str, deaths = "", db.getResult("SELECT `id`, `date`, `level` FROM `player_deaths` WHERE `player_id` = " .. targetId .." ORDER BY `date` DESC LIMIT 0, " .. config.maxDeathRecords) if(deaths:getID() ~= -1) then repeat local killers = db.getResult("SELECT environment_killers.name AS monster_name, players.name AS player_name FROM killers LEFT JOIN environment_killers ON killers.id = environment_killers.kill_id LEFT JOIN player_killers ON killers.id = player_killers.kill_id LEFT JOIN players ON players.id = player_killers.player_id WHERE killers.death_id = " .. deaths:getDataInt("id") .. " ORDER BY killers.final_hit DESC, killers.id ASC" .. config.limit) if(killers:getID() ~= -1) then if(str ~= "") then str = str .. "\n" .. os.date("%d %B %Y %X ", deaths:getDataLong("date")) else str = os.date("%d %B %Y %X ", deaths:getDataLong("date")) end local count, i = killers:getRows(false), 0 repeat local monster = killers:getDataString("monster_name") if(i == 0 or i == (count - 1)) then monster = string.gsub(monster:gsub("an ", ""), "a ", "") end if(killers:getDataString("player_name") ~= "") then if(i == 0) then str = str .. "Morto level: " .. deaths:getDataInt("level") .. " by:\n " elseif(i == count) then str = str .. " and by " elseif(i % 4 == 0) then str = str .. ",\n " else str = str .. ", " end if(monster ~= "") then str = str .. monster .. " summoned by " end str = str .. killers:getDataString("player_name") else if(i == 0) then str = str .. "Morto level: " .. deaths:getDataInt("level") .. " by:\n " elseif(i == count) then str = str .. " and by " elseif(i % 4 == 0) then str = str .. ",\n " else str = str .. ", " end str = str .. monster end i = i + 1 if(i == count) then str = str .. "." end until not(killers:next()) killers:free() end until not(deaths:next()) deaths:free() else str = "Nenhuma morte registrada." end doPlayerPopupFYI(cid, "Lista de mortes de: " .. targetName .. ".\n\n" .. str) return true end
  5. LuanMattheus postou uma resposta no tópico em Suporte Tibia OTServer
    PQ DEU MUITO VIEW NE! KKKK direçao orrivel!
  6. LuanMattheus postou uma resposta no tópico em Suporte Tibia OTServer
    Resolvido!
  7. Amigo voce hospeda seu servidor em casa?
  8. LuanMattheus postou uma resposta no tópico em Suporte Tibia OTServer
    @Vodkart Meu amigo meu camarada fico perfeito o script Muito Obrigado! desculpa o trabalho !
  9. LuanMattheus postou uma resposta no tópico em Suporte Tibia OTServer
    @Vodkart Seguinte o respaw nao repete mas nasce tudo de uma ves! tinha que nacer aleatorio 1 por vez ! eu vi que tinha nacido 1 e depois nao repetiu achei que tava tudo certo mas depois vi que ta nascendo os monsters tudo de uma vez"!
  10. LuanMattheus postou uma resposta no tópico em Suporte Tibia OTServer
    Nao vai adianta nada!
  11. LuanMattheus postou uma resposta no tópico em Suporte Tibia OTServer
    Nao funciona aparece um erro la! NEM O VODKART que ajuda ele que entende muito!
  12. LuanMattheus postou uma resposta no tópico em Suporte Tibia OTServer
    Da erro se tira esse 900 pq e a chance do monster nascer! Como fazer isso? tipo teria que remover o respaw primeiro de pois nascer o monster pq se tiver 1 la retira ele a nasce o outro! Deu erro!
  13. LuanMattheus postou uma resposta no tópico em Suporte Tibia OTServer
    Ajuda depois que os monster nasce tudo, tinha que para de nascer pra nao fica repetindo.
  14. LuanMattheus postou uma resposta no tópico em Suporte Tibia OTServer
    Me ajuda!
  15. @Vodkart entao esse script seu ele bloqueia a storage 1234 mas eu tenho que colocar no talkaction a palavra ir teria como ser sem colcoar no talkaction quero adicionar em um creaturescript!
  16. LuanMattheus postou uma resposta no tópico em Suporte Tibia OTServer
    @Vodkart, o script na hora de nascer nao esta repetindo mas quando nasce tudo ai começa repetir o mesmo respaw teria como para de nascer? tipo cancela o respaw depois de tudo nacido! se tiver ccomo tbm outro script sem global event que dar pra colocar pra nacser de tempo em tempo tbm pode!
  17. Resolvido!
  18. a skill nao sai e fala voce so poder usar em jogadores! Amigo conseguir editar aqui ta funcionando mas preciso agora de adicionar um shot effect asdasdsad
  19. LuanMattheus postou uma resposta no tópico em Suporte Tibia OTServer
    Amigo tem que ser 100% de chance de nacer so nao pode repetir o mesmo respaw!
  20. Ola eu tenho uma spell de attack que deveria ter uma chnce de falhar mas ela nao falha alguem pode editar pramin colocar a chance 50% de pegar! local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, FALSE) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_DEATH) function onCastSpell(cid, var) local target = getCreatureTarget(cid) if (isPlayer(target)) then if (getCreatureHealth(target) > getCreatureMaxHealth(target) * 0.20) then doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "O alvo tem que estar com menos de 20% da vida.") return false end else doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "Voce so pode usar em jogadores.") return false end doSendMagicEffect(getPlayerPosition(cid), 49) local storage = 23011 local spellname = "Execute" local hp = -10000 if exhaustion.check(cid, storage) == false then doCreatureAddHealth(target, hp) return doCombat(cid, combat, var) else doSendAnimatedText(getThingPos(cid), "MISS!", 180) end end
  21. Ola preciso de um script simples que bloqueia o player falar a palavra /ir se ele estiver com a storage 1234
  22. Amigo teria como colocar tbm se o player estiver com a storage 1234 ele nao conseguir teleportar? @Vodkart
  23. Ola eu tenho um script de wand of elements mas se o player estiver correndo o attack nao pega pq ele sai do sqm onde ia bate alguem pode revisar pramin. local min, max = 300,400 local w = { [1] = {ef = 36, sh = 3, dmg = COMBAT_FIREDAMAGE}, [2] = {ef = 42, sh = 36, dmg = COMBAT_ICEDAMAGE}, [3] = {ef = 45, sh = 29, dmg = COMBAT_POISONDAMAGE}, [4] = {ef = 17, sh = 31, dmg = COMBAT_DEATHDAMAGE}, [5] = {ef = 47, sh = 35, dmg = COMBAT_ENERGYDAMAGE}, [7] = {ef = 49, sh = 30, dmg = COMBAT_HOLYDAMAGE} } function onUseWeapon(cid, var) local effect = getPlayerStorageValue(cid, 4561) local target = getCreatureTarget(cid) if target ~= 0 then local wx = w[effect] or w[math.random(#w)] doSendDistanceShoot(getThingPos(cid), getThingPos(target), wx.sh) addEvent(doAreaCombatHealth, 100, cid, wx.dmg, getThingPos(target), 0, -min, -max, wx.ef) end return true end Resolvido!

Informação Importante

Confirmação de Termo