Ir para conteúdo

luccagomes

Membro
  • Registro em

  • Última visita

  1. Meu PC é uma bosta, então tenho que vir aqui pedir a vocês, não consigo abrir mapa global, alguem pode me cortar essa parte do mapa global (e um pouco mais em volta, não só onde ele morreu) ? Alguém sabe me dizer tbm onde fica isso no global?
  2. O que mais deve ter é gente com esse problema, essa é a melhor source pra 8.60 Vamo lá galera incentivar o pessoal que tem experiencia, dai se tiver alguem aqui no fórum que saiba resolver eles vão resolver Lá na OTLand tinha na area premmy, mas ela acabou, talvez alguem tenha ou alguem seja bom o suficiente pra resolver Qm quiser comenta ai, qlqr coisa q vcs souberem comentem, tbm quero mt isso
  3. luccagomes reagiu a uma resposta no tópico: (Resolvido)% de dano nos equips
  4. luccagomes reagiu a uma resposta no tópico: (Resolvido)% de dano nos equips
  5. luccagomes reagiu a uma resposta no tópico: Como diminuir a quantidade de monstros
  6. Creio que a melhor opção era adaptar os codigos que desbugam os monstros pra versão 3777 já que os criadores dizem que a 3777 é muito mais estavel em linux do que a 3884, a não ser q um louco queria usar windows como servidor Se for trocar esses 4 itens vai virar uma mistura alem de bugar tudo, pq são codigos totalmente diferentes To com esse maldito problema tbm, isso é a unica coisa q n deixa as 3777 perfeita
  7. luccagomes reagiu a uma resposta no tópico: (Resolvido)[Duvida] Healing Source
  8. luccagomes reagiu a uma resposta no tópico: (Resolvido)[Duvida] Healing Source
  9. luccagomes reagiu a uma resposta no tópico: (Resolvido)[Duvida] Healing Source
  10. luccagomes reagiu a uma resposta no tópico: (Resolvido)[Duvida] Healing Source
  11. luccagomes reagiu a uma resposta no tópico: (Resolvido)[Duvida] Healing Source
  12. Aeee parece que ta funfando!!! Luan arruma os BUGs da sua sources pelo amor!! 1- mata monstro ele vira obstaculo 2- http://www.tibiaking.com/forum/topic/61280-problema-fun%C3%A7%C3%A3o-channel-rev3777-luciano/ 3- http://www.tibiaking.com/forum/topic/61279-problema-channels-cast-system-luciano/
  13. Antes estava funcionando, quando eu usava a rev 3884, passei pra 3777 pq todo mundo fala que é mais estável em linux, então.. Acontece esse erro quando tento abrir o baú (e não vem mais o item)
  14. também quero saber, se souber me manda pm, se eu descobrir te aviso também, to usando 0.4 (3777) e você?
  15. Eu jurava que tinha colocado
  16. Antes estava funcionando, quando eu usava a rev 3884, passei pra 3777 pq todo mundo fala que é mais estável em linux, então.. Acontece esse erro quando tento abrir o baú (e não vem mais o item) <action actionid="8000-8100" script="quests.lua" /> function onUse(cid, item, fromPos, item2, toPos) local _ = { [1] = {aid = 8000, item = 2384}, -- rapier [2] = {aid = 8001, item = 2485}, -- doublet [3] = {aid = 8002, item = 2526}, -- studded shield [4] = {aid = 8003, item = 2530}, -- copper shield [5] = {aid = 8004, item = 2480}, -- legion helmet [6] = {aid = 8005, item = 2412}, -- katana [7] = {aid = 8006, item = 2460}, -- brass helmet [8] = {aid = 8007, item = 2464}, -- chain armor [9] = {aid = 8008, item = 2152}, -- 100gps no lugar da bag,arrow,40gps, bla bla bla chain armor [10] = {aid = 8009, item = 1987}, -- bag (4 Poison Arrows, 10 Arrows) [11] = {aid = 8010, item = 2580}, -- fishing rod [12] = {aid = 8011, item = 2395}, -- carlin sword [13] = {aid = 8012, item = 2668}, -- salmon [14] = {aid = 8013, item = 2668}, -- botei 2 salmons pq n sei como vem a carta [15] = {aid = 8014, item = 1990}, -- present [16] = {aid = 8015, item = 2404}, -- combat knife [17] = {aid = 8016, item = 2006}, -- vial, dps trocar pra vial of milk n sei o id [18] = {aid = 8017, item = 2563}, -- pain -- fim rookgaard lembrar de colocar essas quests no mapa de rook se pa fazer um novo -- island of peace: mages --[19] = {aid = 8018, item = 8820}, -- mage hat --[20] = {aid = 8019, item = 8819}, -- magician robe --[21] = {aid = 8020, item = 2175}, -- spellbook --[22] = {aid = 8021, item = 2190}, -- wand of vortex --[23] = {aid = 8022, item = 2182}, -- snakebit rod -- pally --[24] = {aid = 8023, item = 2389}, -- spear --[25] = {aid = 8024, item = 2456}, -- bow --[26] = {aid = 8025, item = 2544}, -- arrow --[27] = {aid = 8026, item = 2660}, -- range's clorak --[28] = {aid = 8027, item = 8923}, -- ranger legs -- kina --[29] = {aid = 8028, item = 2478}, -- brass legs --[30] = {aid = 8029, item = 2465}, -- brass armor [31] = {aid = 8030, item = 2439}, -- club [32] = {aid = 8031, item = 8602}, -- sword [33] = {aid = 8032, item = 8601}, -- axe --[34] = {aid = 8033, item = 2509}, -- steel shield --[35] = {aid = 8034, item = 2481}, -- soldier helmet -- fim island of peace [36] = {aid = 8038, item = 2497}, -- crusader helmet [37] = {aid = 8036, item = 2518}, -- bonelord shield [38] = {aid = 8037, item = 2490}, -- dark helmet [39] = {aid = 8039, item = 2487}, -- crown armor [40] = {aid = 8040, item = 2519}, -- crown shield -- cyc thais quest [41] = {aid = 8041, item = 2491}, -- crown helmet [42] = {aid = 8042, item = 2486}, -- noble armor -- im back [43] = {aid = 8043, item = 2476}, -- karmor OF [44] = {aid = 8044, item = 2430}, -- kaxe OF [45] = {aid = 8045, item = 2392}, -- firesword OF [46] = {aid = 8046, item = 2432}, -- fireaxe [47] = {aid = 8047, item = 2491}, -- crown helmet - quest cyc sul [48] = {aid = 8048, item = 2486}, -- noble armor - quest cyc sul [49] = {aid = 8049, item = 2520}, -- demon shield - behequest [50] = {aid = 8050, item = 2427}, -- demon shield - guardian halbert [51] = {aid = 8051, item = 2466}, -- golde armor - behequest [52] = {aid = 8052, item = 2171}, -- platinum amulet - behequest [53] = {aid = 8053, item = 2493}, -- DH [54] = {aid = 8054, item = 2520}, -- demon shield [55] = {aid = 8055, item = 2645}, -- steel boots [56] = {aid = 8056, item = 2407}, -- bright sword [57] = {aid = 8057, item = 2435}, -- dwarvewn axe [58] = {aid = 8058, item = 2407}, -- bright sword -- Deeper Fibula Quest [59] = {aid = 8059, item = 2475}, -- warrior helmet [60] = {aid = 8060, item = 2528}, -- tower shield [61] = {aid = 8061, item = 2430}, -- kina axe [62] = {aid = 8062, item = 2198}, -- elven amulet [63] = {aid = 8063, item = 2213}, -- dwarvewn ring -- antes da inqui [64] = {aid = 8064, item = 2414}, -- dragon lance [65] = {aid = 8065, item = 2534}, -- vampire shield [66] = {aid = 8066, item = 2476}, -- knight armor [67] = {aid = 8067, item = 2409}, -- serpent sword } -- Reservando os storages a partir de 202049 até o 202049 + número de baús nessa action for i = 1, #_ do _[i].storage = 202049 + i end for i, valor in ipairs(_) do if item.actionid == valor.aid then if getPlayerFreeCap(cid) >= getItemWeightById(valor.item, 1) then if getPlayerStorageValue(cid, valor.storage) == -1 then if doPlayerAddItem(cid, valor.item, 1, false) then doPlayerSendTextMessage(cid, 22, 'You have found a '..getItemNameById(valor.item)..'.') setPlayerStorageValue(cid, valor.storage, 1) else doPlayerSendTextMessage(cid, 22, 'You have found a '..getItemNameById(valor.item)..', but you need a free slot.') end else doPlayerSendTextMessage(cid, 22, 'It is empty.') end else doPlayerSendTextMessage(cid, 22, 'You have found a '..getItemNameById(valor.item)..'. It weighs '..getItemWeightById(valor.item, 1)..'.00 and it is too heavy.') end break end end return true end
  17. O script era simples, o player equipa a BP e ganha 1000 de CAP, não sei pq, mas não ta funcionado, alguem pode me dar uma luz? Tinha CAP 128, equipei a BP era pra ficar 1128 Mas ficou 821 e quando eu removi a BP ficou 0 O que tem de errado nesse script? <!-- sorcerer --> <movevent type="Equip" itemid="10518" slot="backpack" event="script" value="magevipbag.lua"> <vocation id="1"/> <vocation id="5" showInDescription="0"/> </movevent> <movevent type="DeEquip" itemid="10518" slot="backpack" event="script" value="magevipbag.lua"/> local block = 0 local capacidade = 1000 -- aqui coloca quanto que vai almentar function onEquip(cid, item, slot) block = block+1 if block == 3 then doPlayerSetMaxCapacity(cid,(getPlayerFreeCap(cid)+capacidade)) block = 0 end return true end function onDeEquip(cid, item, slot) doPlayerSetMaxCapacity(cid,(getPlayerFreeCap(cid)-capacidade)) return true end
  18. Já é assim olha:
  19. Tenho um item aqui e ele era pra ser uma BP, mas ele não funciona como BP, não da pra abrir ele, tentei adicionar ele no items.xml, mas continua sem abrir, é como se fosse uma arma, não tem os slots Como eu tentei? <item id="9076" article="a" name="mage backpack"> <attribute key="containerSize" value="20"/> <attribute key="slotType" value="backpack"/> </item>
  20. Desculpe a demora estive testando, seu script parece funcionar, eu fiz varios tipos de BPs, algumas estão zerando a cap do player outras diminuindo de 1 em 1 a cap do player e outras só diminuindo em outros valores isso acontece qnd tira e bota a bp, n faço ideia do que seja te dei 5 resp, mas ainda não solucionei isso
  21. Tipo vc mata o bixo ai aparece o loot dele normal e dps aparece outra msg de loot como se n tive-se caido nada e não cai nada (isso se vc tiver sem o amuleto, se tiver com amuleto funciona de boa)
  22. Queria um script que quando o jogador equipa-se a bag no lugar da bag ganharia 500 de CAP EXTRA se perde-se ou tira-se perdia os 500 de cap Queria com as bag ids: 9076, 9077, 9075
  23. Esse amuleto quando ta equipado ele vc ganha +999x de rates, ta funcionando da hora quando ta equipado, mas quando não está Vc mata um monstro, aparece loot dps aparece nothing e todo monstro q vc mata sem ta com esse amuleto equipado vc n consegue pegar loot nenhum, fica tudo nothing Uso ot 0.4 Pq? <?xml version="1.0" encoding="UTF-8"?> <mod name="Loot Ring" version="1.0" author="Cykotitan" contact="otland.net" enabled="yes"> <event type="kill" name="lootring" event="script"> <![CDATA[ local t = { item = 11393, slot = CONST_SLOT_NECKLACE, newRate = 999 } local rate = getConfigInfo('rateLoot') function getContentDescription(uid, comma) local ret, i, containers = '', 0, {} while i < getContainerSize(uid) do local v, s = getContainerItem(uid, i), '' local k = getItemInfo(v.itemid) if k.name ~= '' then if v.type > 1 and k.stackable and k.showCount then s = v.type .. ' ' .. getItemInfo(v.itemid).plural else local article = k.article s = (article == '' and '' or article .. ' ') .. k.name end ret = ret .. (i == 0 and not comma and '' or ', ') .. s if isContainer(v.uid) and getContainerSize(v.uid) > 0 then table.insert(containers, v.uid) end else ret = ret .. (i == 0 and not comma and '' or ', ') .. 'an item of type ' .. v.itemid .. ', please report it to gamemaster' end i = i + 1 end for i = 1, #containers do ret = ret .. getContentDescription(containers[i], true) end return ret end local function send(cid, pos, corpseid, monster, party) local corpse = getTileItemById(pos, corpseid).uid local ret = isContainer(corpse) and getContentDescription(corpse) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'Loot of ' .. monster .. ': ' .. (ret ~= '' and ret or 'nothing')) if party then for _, pid in ipairs(getPartyMembers(party)) do doPlayerSendChannelMessage(pid, '', 'Loot of ' .. monster .. ': ' .. (ret ~= '' and ret or 'nothing'), TALKTYPE_CHANNEL_W, CHANNEL_PARTY) end end end local function createLoot(i, ext) local item = type(i.id) == 'table' and i.id[math.random(#i.id)] or i.id local random = math.ceil(math.random(100000) / (ext and t.newRate or rate)) local tmpItem if random < i.chance then tmpItem = doCreateItemEx(item, getItemInfo(item).stackable and random % i.count + 1 or 1) end if not tmpItem then return end if i.subType ~= -1 then doItemSetAttribute(tmpItem, 'subType', i.subType) end if i.actionId ~= -1 then doItemSetAttribute(tmpItem, 'aid', i.actionId) end if i.uniqueId ~= -1 then doItemSetAttribute(tmpItem, 'uid', i.uniqueId) end if i.text ~= '' then doItemSetAttribute(tmpItem, 'text', i.text) end return tmpItem end local function createChildLoot(parent, i, ext) if #i == 0 then return true end local size, cap = 0, getContainerCap(parent) for k = 1, #i do if size == cap then break end local tmp = createLoot(i[k], ext) if tmp then if isContainer(tmp) then if createChildLoot(tmp, i[k].child, ext) then doAddContainerItemEx(parent, tmp) size = size + 1 else doRemoveItem(tmp) end else doAddContainerItemEx(parent, tmp) size = size + 1 end end end return size > 0 end local function dropLoot(pos, v, ext) local corpse = getTileItemById(pos, v.lookCorpse).uid if isContainer(corpse) then for i = 1, getContainerSize(corpse) do doRemoveItem(getContainerItem(corpse, 0).uid) end local size, cap = 0, getContainerCap(corpse) for i = 1, #v.loot do if size == cap then break end local tmp = createLoot(v.loot[i], ext) if tmp then if isContainer(tmp) then if createChildLoot(tmp, v.loot[i].child, ext) then doAddContainerItemEx(corpse, tmp) size = size + 1 else doRemoveItem(tmp) end else doAddContainerItemEx(corpse, tmp) size = size + 1 end end end end end function onKill(cid, target, lastHit) if lastHit and isMonster(target) then local v = getMonsterInfo(getCreatureName(target)) if v.lookCorpse > 0 then local master = getCreatureMaster(target) if not master or master == target then addEvent(dropLoot, 0, getThingPos(target), v, getPlayerSlotItem(cid, t.slot).itemid == t.item) end addEvent(send, 100, cid, getThingPos(target), v.lookCorpse, v.description, getPlayerParty(cid)) end end return true end ]]></event> <event type="login" name="Loot Ring" event="buffer"><![CDATA[ registerCreatureEvent(cid, "lootring") ]]></event> </mod>

Informação Importante

Confirmação de Termo