Ir para conteúdo

mostps

Membro
  • Registro em

  • Última visita

Tudo que mostps postou

  1. mostps postou uma resposta no tópico em Suporte Tibia OTServer
    sim teste também é deu msm erro console
  2. mostps postou uma resposta no tópico em Suporte Tibia OTServer
    L_Soul = { souls = { ["dark"] = {effects = {distance = 31, eff = 17}, combat = COMBAT_DEATHDAMAGE}, ["flame"] = {effects = {distance = 3, eff = 15}, combat = COMBAT_FIREDAMAGE}, ["frozen"] = {effects = {distance = 36, eff = 43}, combat = COMBAT_ICEDAMAGE}, ["holy"] = {effects = {distance = 37, eff = 39}, combat = COMBAT_HOLYDAMAGE}, ["electric"] = {effects = {distance = 35, eff = 11}, combat = COMBAT_ENERGYDAMAGE}, }, creatures = { ["Necromancer"] = {chance = 50, type = "dark", summ = { hp = {hpb = 50, maxb = 700}, needSoulPoints = 50, needMana = 0, needHealth = 20, minP = 50, }, enchant = {charges = 100, min = 10, max = 60, attack_speed = 150}, }, ["Dragon Lord"] = {chance = 100, type = "flame", summ = { hp = {hpb = 50, maxb = 700}, needSoulPoints = 50, needMana = 0, needHealth = 20, minP = 50, }, enchant = {charges = 200, min = 50, max = 150, attack_speed = 150}, }, ["Frost Dragon"] = {chance = 100, type = "frozen", summ = { hp = {hpb = 50, maxb = 700}, needSoulPoints = 50, needMana = 0, needHealth = 20, minP = 50, }, enchant = {charges = 200, min = 50, max = 160, attack_speed = 150}, }, ["Wyrm"] = {chance = 100, type = "electric", summ = { hp = {hpb = 50, maxb = 700}, needSoulPoints = 50, needMana = 0, needHealth = 20, minP = 50, }, enchant = {charges = 200, min = 50, max = 160, attack_speed = 150}, }, ["Monk"] = {chance = 150, type = "holy", summ = { hp = {hpb = 50, maxb = 700}, needSoulPoints = 50, needMana = 0, needHealth = 20, minP = 50, }, enchant = {charges = 200, min = 50, max = 160, attack_speed = 150}, }, }, ids = {8300}, max_distance = 5, language = "en", auras_sto = 77143, soul_t = 10, -- Em Minutos } ---------------------- A U R A S ---------------------------- L_Soul.auras = { ["dark"] = {stones_n = 7, damage = {25, 250}, interval = 1200, duration = 120, raio = 4, speed = 150}, ["flame"] = {stones_n = 5, damage = {250, 650}, interval = 500, duration = 60, raio = 7, speed = 150}, ["frozen"] = {stones_n = 2, damage = {150, 350}, interval = 750, duration = 60, raio = 2, speed = 150}, ["electric"] = {stones_n = 5, damage = {150, 350}, interval = 750, duration = 60, raio = 2, speed = 150}, ["holy"] = {stones_n = 0, damage = {150, 350}, interval = 750, duration = 60, raio = 7, speed = 150}, } ------------------- E N C A N T A M E N T O ----------------- L_Soul.enchant = { weapons = { [10720] = {"dark", "holy", "frozen", "flame", "electric"}, -- [2190] = {"dark", "holy", "frozen", "flame", "electric"}, -- [2456] = {"dark", "holy", "frozen", "flame", "electric"}, -- [2400] = {"dark", "holy", "frozen", "flame", "electric"}, -- Magic Sword(SOV) }, } ------------------ L I N G U A G E M ------------------------ L_Soul.lang = { ["en"] = { "This soul stone is filled with a %s's %s soul!", "This soul stone must be near the creature's corpse.", "There's no soul!", "Your soul stone didn't supported the soul and broke! This %s's %s soul escaped!", "Congratulations, you caught a %s's soul[%s]!", "Filled with a %s's %s soul.", "This item can't be enchanted.", "To summon a %s you must have at least %d soul points.", "You can't summon a %s there.", "To summon a %s you must have at least %d mana points.", "To summon a %s you must have at least %d health points.", "The soul stone broke and the corpse was possessed by %s's %s soul!", "This corpse doesn't support this %s's powerful %s soul. The soul has escaped and is roaming the world and tormenting people.", "A body can't have two souls.", "The %s's soul was aprisioned in weapon.", "This weapon is enchanted with a %s's soul. Charges: %d/%d.", "Your %s lost charm.", "This weapon already is enchanted with a soul!", -- 18 --> AURAS <-- "You haven't enought %s souls[%d].", "You need wait %d minutes to use an aura protection again.", "You can't use an aura protection on protected zones.", { "Alive again!? How!? AH! It doesn't matter, i just want to get my revenge! MUHAUHAUHUAUA!", "OH how is sweet live!", }, } } function isWeapon(uid) -- Function by Mock the bear. local uid = uid or 0 local f = getItemWeaponType(uid) return (f == 1 or f == 2 or f == 3) or false end function string:formal() local self = self:sub(1, 1):upper() .. self:sub(2, #self) while (self:find(" (%l)")) do local a = self:find(" (%l)") self = self:sub(1, a) .. self:sub(a + 1, a + 1):upper() .. self:sub(a + 2, #self) end return self end function getUidsInArea(ext1, ext2) local uids = {} for a = 0, ext2.x-ext1.x do for b = 0, ext2.y-ext1.y do local pos = {x = ext1.x+a, y = ext1.y+b, z = ext1.z, stackpos = 255} local cid = getTopCreature(pos).uid if (isCreature(cid)) then table.insert(uids, cid) end end end return uids end function getItemsInContainerById(container, itemid) -- Function By Kydrai local items = {} if isContainer(container) and getContainerSize(container) > 0 then for slot = 0, getContainerSize(container) - 1 do local item = getContainerItem(container, slot) if isContainer(item.uid) then for i, v in ipairs (getItemsInContainerById(item.uid, itemid)) do table.insert(items, v) end elseif itemid == item.itemid then table.insert(items, item) end end end return items end function getAllPlayerItemsById(uid, itemid) local items = {} for a = CONST_SLOT_FIRST, CONST_SLOT_LAST do local item = getPlayerSlotItem(uid, a) if ((item.uid > 0) and (item.itemid == itemid)) then table.insert(items, item) end if ((isContainer(item.uid)) and (getContainerSize(item.uid) > 0)) then for i, v in ipairs(getItemsInContainerById(item.uid, itemid)) do table.insert(items, v) end end end return items end function getAllPlayerSoulStones(uid, empty) local stones = {} for _, s in ipairs(L_Soul.ids) do for _, v in pairs(getAllPlayerItemsById(uid, s)) do if not ((empty) and (not getItemAttribute(v.uid, "Soul"))) then table.insert(stones, v) end end end return stones end function getPlayerSoulStonesByType(uid, type) local stones = {} for _, v in pairs(getAllPlayerSoulStones(uid)) do if ((getItemAttribute(v.uid, "Soul")) and (L_Soul.creatures[getItemAttribute(v.uid, "Soul")].type:lower() == type:lower())) then table.insert(stones, v) end end return stones end function doPlayerRemoveSoulStoneByType(uid, type, ammount) local stones = getPlayerSoulStonesByType(uid, type) local ammount = ammount or 1 if (#stones < ammount) then return false end local a = 0 for _, v in pairs(stones) do if (a ~= ammount) then a = a + 1 doRemoveItem(v.uid, 1) else break end end return true end function getPlayerSoulStonesCount(uid, type) return #getPlayerSoulStonesByType(uid, type) end [13:10:45.562] [Error - Action Interface] [13:10:45.562] mods/scripts/Soul System/Action.lua:onUse [13:10:45.562] Description: [13:10:45.562] (luaGetItemAttribute) Item not found pelo que eu entendi tem que pega a pedra "8300", é usar no bixo morto acho so que da esse erro. não tendi mt a parte dos items tipo o "2400" que eu teria que faze com esse item?
  3. mostps postou uma resposta no tópico em Suporte Tibia OTServer
    Preciso de um vps linux, alguem recomenda um? que aceite paypal.
  4. mostps postou uma resposta no tópico em Suporte Tibia OTServer
    é como edita isso?
  5. mostps postou uma resposta no tópico em Suporte Tibia OTServer
    up.
  6. mostps postou uma resposta no tópico em Suporte Tibia OTServer
    meu otserv ta com distro pra linux so que ta com limite de 156 de magic level ect queria almenta falaram que tem que edita a source alguem poderia faze um tutorial ajudando?
  7. titulo informa o que eu to precisando.
  8. vlw maxwe, obrigado lucas <3
  9. Alguem poderia me ajuda com script ? preciso de um npc que viaja pra um certo local mais ele verifica se o player tem uma storage e leva, se não tiver ele manda ele faze a quest que ganha a storage
  10. otimo distro !! sabe qnd vai coloca as source?
  11. mapa mt bem feito, da ate gosto de ver algo assim rep +
  12. defende com utamo vita? e defende magias,spells,sd?
  13. mostps postou uma resposta no tópico em Suporte Tibia OTServer
    Da algum erro no distro?
  14. mostps postou uma resposta no tópico em Suporte Tibia OTServer
    eu olhei alguns monstros, mais possiveis "dragon, dl, hydra. medusa, bosses, ect" é não encontrei nenhum desse killing queria deixa o distro limpo so falta isso :s
  15. mostps postou uma resposta no tópico em Suporte Tibia OTServer
    alguem sabe como tira erro?
  16. mostps postou uma resposta no tópico em Suporte Tibia OTServer
    eu tenho um aq que pode te ajuda qlq coisa msg
  17. mostps postou uma resposta no tópico em Suporte Tibia OTServer
    up
  18. mostps postou uma resposta no tópico em Suporte Tibia OTServer
    não ele ganha vip é sim ganha a xp? eu queria um script que qnd o a guild domina-se o castelo ele ganharia 20% a mais de xp com base nesse script que passei ai do castelo minha duvida e se podia usa aquele script ali de xp e por a storage do castelo
  19. mostps postou uma resposta no tópico em Suporte Tibia OTServer
    Tenho esse script em meu serve para vips e tals queria usa ele pra quem domina-se o castelo daria pra usa ele como base? function onLogin(cid) local rate = 1.2 local config = { welvip = "você tem "..((rate - 1)*100).."% de exp a mais agora!", not_vip = "Domine o castelo é ganhe "..((rate - 1)*100).."% a mais de experiencia!", s = 1755, -- storage } if getPlayerStorageValue(cid, config.s) - os.time() >= 1 then doPlayerSetExperienceRate(cid, rate) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.welvip) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.not_vip) end return TRUE end local storage = 1755 local emGuerra = 1756 function onUse(cid, item, frompos, item2, topos) if getPlayerGuildId(cid) == nil or getPlayerGuildId(cid) <= 0 or getPlayerGuildId(cid) == false then return doPlayerSendCancel(cid,"Voce precisa de uma guild para dominar o castelo!") end if getGlobalStorageValue(emGuerra) <= 0 then return doPlayerSendCancel(cid,"O Castelo nao está em guerra!") end if getPlayerGuildId(cid) == getGlobalStorageValue(storage) then return doPlayerSendCancel(cid,"Sua guild ja está dominando o castelo!") end setGlobalStorageValue(storage,getPlayerGuildId(cid)) doBroadcastMessage("A Guild ".. getPlayerGuildName(cid) .." dominou o castelo!",22) return true end ali em storage da xp poderia usa a storage 1755?
  20. eu coloquei account manager no meu otserv (1/1) não da pra loga na conta que cria no jogo no site (meu config.lua ta em sha1) e da pra loga 1/1 no site como resolvo isso?
  21. pode fexa o topico, so tive que muda o script que peguei de outro ot

Informação Importante

Confirmação de Termo