Ir para conteúdo

zPerseu

Membro
  • Registro em

  • Última visita

Tudo que zPerseu postou

  1. Poderia me explicar um pouco Melhor REP se puder ajudar
  2. Galera Do tk eu vim pedir pra vcs que tiver essa scprits me manda PFV. Funciona assim o nome da spell e kokuangyo no jutsu que ele leva pra uma dimensao em que o player que ussar nao apareça tipo ele consegue atacar o cara na dimensao mais o cara que ta na dimensao nao ataca ele. bom tem + hsuhsu tipo o cara que tiver na dimensao ele nao pode se mecher e o player que tiver sumonado bixo tipo um clone etc esse clone vai junto com ele pra dimensao e o clone pode apareçer menos o cara que usso
  3. @UP @UP @UP
  4. [2160] = 100, [2152] = 100, [2148] = 100, [2525] = 1 vamos supor quero ganhe demon bp - raijin - kage - slayer e quero q ele ganhe 2 demon [10518] = 2, - Demon [7869] = 1, - Raijin [2659] = 1, - Kage [2388] = 1 - Slayer Fica assim
  5. [2160] = 100, [2152] = 100, [2148] = 100, [2525] = 1 ali o 2525 e o id =1 e quantos do item vc quer dar '=='
  6. o ID do Chest tipo 580 eu fiz aqui e deu certo!
  7. zPerseu postou uma resposta no tópico em Suporte OTServer Derivados
    ensina pra min man?
  8. zPerseu postou uma resposta no tópico em Suporte Tibia OTServer
    galera do tk tou com uma duvida com spell izanagi ela da um erro. vou mostrar creaturescripts/scripts/izanagi pos = {x=1026, y=915, z=6}, -- posição de onde ele vai ao morrer tempo = 1, -- tempo pra voltar effect1 = 66, -- efeito ao morrer effect2 = 10, -- efeito ao retornar a vida storage = 19332 } function onStatsChange(cid, attacker, type, combat, value) if type == STATSCHANGE_HEALTHLOSS and value >= getCreatureHealth(cid) then if getPlayerStorageValue(cid, config.storage) > 0 then doPlayerSetStorageValue(cid, config.storage, (getPlayerStorageValue(cid, config.storage)-1)) addEvent(doTeleportThing, 1000*config.tempo, cid, getThingPos(cid), true) addEvent(doSendMagicEffect, 1000*config.tempo, getThingPos(cid), config.effect2) doSendMagicEffect(getThingPos(cid), config.effect1) doCreatureAddHealth(cid, getCreatureMaxHealth(cid) - getCreatureHealth(cid)) doCreatureAddMana(cid, getCreatureMaxMana(cid) - getCreatureMana(cid)) doTeleportThing(cid, config.pos) if isCreature(attacker) then doPlayerSendTextMessage(cid, 27, "You were killed by ".. getCreatureName(attacker) ..". Now it's time to get your REVENGE!") end if isPlayer(attacker) and isCreature(cid) then doPlayerSendTextMessage(attacker, 27, "You killed ".. getCreatureName(cid) .."!") end for i = 1,config.tempo do addEvent(function() if isCreature(cid) then doPlayerSendTextMessage(cid,25,"You'll be back in " .. config.tempo -i +1 .. " second(s)") end end, 1000*i) end return false end end return true end creaturescripts/scripts/login.lua registerCreatureEvent(cid, "reborn") if getPlayerStorageValue(cid, 19332) == -1 then setPlayerStorageValue(cid, 19332, 0) end return true SPELL local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, 108) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, true) function onCastSpell(cid, var) local target = getCreatureTarget(cid) local waittime1 = 10 -- Tempo de exhaustion local storage1 = 115819 if exhaustion.check(cid, storage1) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Aguarde " .. exhaustion.get(cid, storage1) .. " segundos para usar a spell novamente.") return false end doPlayerSetStorageValue(cid, 19332, 1) doPlayerSendTextMessage(cid, 27, "Seu izanagi tem 40 segundos de efeito.") addEvent(doPlayerSetStorageValue, 40000, cid, 19332, 0) addEvent(doPlayerSendTextMessage, 40000, cid, 27, "Seu izanagi perdeu o efeito.") exhaustion.set(cid, storage1, waittime1) return true end ALGUEM PODE AJUDAR??TIRAM ESSA DUVIDA TEM OUTRA SCPRIT A DO KAMUI QUE MANDA KAMUI E VOCE SO SAI PELO PORTAO
  9. zPerseu postou uma resposta no tópico em Suporte & Pedidos
    coloca pra download se puder vlws
  10. Pra vc combar e facil nao precisa ser da propria spell com o exausted '==' da pra fazer pelo spell.xml eu faço assim '==' Atack Area = 1200 ou 1000 de exausted Atack de target = o mais forte tipo tira 50k ele e 2000 de exausted se vc quiser adc + 1 so vc colocar menos exausted se tiver 2000 - 1200 - 1000 Exemplo Katon sohenka no jutsu - 1 = 1200 Dai Katon Meteor - 2 = 1000 Katon Borukaki - 3 = 2000 Tipo assim se nao tendeu me chama la no Facebook '=='
  11. data/npc/melkrapo.xml:7: parser error : input is not proper UTF-8 ,indicate encoding ! bytes : 0xE9 ox20 ox60 ox61 <parameter key='message_farewell" value="Atu mais,nobre |PLAYERNAME|."/> [warning - npc : : loadfromXml] cannot load npc file (data/npc/melkrapo.xml).line: 7, info: input is not proper UTF-8 indicate encoding ! bytes: 0xE9 0x20 0x60 0x61 '==' ajuda ae '=='
  12. GALERA TOU COM UM PROBLEMA COM ESSA SCRIPT local config = { --[vocation id] = { level, nova voc, looktype, efeito} [1] = { 25, 2, 66, 208}, -- NARUTO [2] = { 50, 3, 91, 208}, -- NARUTO [3] = { 75, 4, 18, 208}, -- NARUTO [4] = { 100, 5, 31, 208}, -- NARUTO [5] = { 125, 6, 92, 208}, -- NARUTO [6] = { 150, 7, 40, 208}, -- NARUTO [7] = { 175, 8, 305, 208}, -- NARUTO [8] = { 200, 9, 320, 208}, -- NARUTO [9] = { 225, 10, 179, 208}, -- NARUTO [10] = { 250, 11, 394, 208}, -- NARUTO [11] = { 300, 12, 397, 208}, -- NARUTO [12] = { 400, 301, 551, 208}, -- NARUTO [13] = { 25, 14, 93, 108}, -- SASUKE [14] = { 50, 15, 6, 108}, -- SASUKE [15] = { 75, 16, 5, 108}, -- SASUKE [16] = { 100, 17, 306, 108}, -- SASUKE [17] = { 125, 18, 7, 108}, -- SASUKE [18] = { 150, 19, 94, 108}, -- SASUKE [19] = { 175, 20, 59, 108}, -- SASUKE [20] = { 200, 21, 8, 108}, -- SASUKE [21] = { 225, 22, 178, 110}, -- SASUKE [22] = { 250, 23, 95, 110}, -- SASUKE [23] = { 300, 24, 54, 110}, -- SASUKE [24] = { 400, 310, 552, 110}, -- SASUKE [25] = { 25, 26, 80, 87}, -- ROCK LEE [26] = { 50, 27, 190, 87}, -- ROCK LEE [27] = { 75, 28, 83, 87}, -- ROCK LEE [25] = { 25, 26, 80, 87}, -- ROCK LEE [26] = { 50, 27, 190, 87}, -- ROCK LEE [27] = { 75, 28, 83, 87}, -- ROCK LEE [28] = { 100, 29, 191, 87}, -- ROCK LEE [29] = { 150, 30, 192, 87}, -- ROCK LEE [30] = { 175, 31, 193, 87}, -- ROCK LEE [31] = { 200, 32, 392, 87}, -- ROCK LEE [32] = { 250, 33, 109, 87}, -- ROCK LEE [33] = { 300, 304, 330, 87}, -- ROCK LEE [304] = { 400, 305, 111, 87}, -- ROCK LEE [34] = { 25, 35, 194, 5}, -- SAKURA [35] = { 50, 36, 175, 5}, -- SAKURA [36] = { 75, 37, 169, 5}, -- SAKURA [37] = { 100, 38, 173, 5}, -- SAKURA [38] = { 150, 39, 172, 5}, -- SAKURA [39] = { 175, 40, 171, 5}, -- SAKURA [40] = { 225, 41, 174, 5}, -- SAKURA [41] = { 250, 42, 170, 5}, -- SAKURA [50] = { 25, 51, 67, 205}, -- GAARA [51] = { 50, 52, 72, 205}, -- GAARA [52] = { 75, 53, 158, 205}, -- GAARA [53] = { 100, 54, 65, 205}, -- GAARA [54] = { 125, 55, 329, 205}, -- GAARA [55] = { 150, 56, 188, 205}, -- GAARA [56] = { 175, 57, 62, 205}, -- GAARA [57] = { 200, 58, 189, 205}, -- GAARA [58] = { 225, 59, 335, 205}, -- GAARA [59] = { 250, 60, 57, 205}, -- GAARA [70] = { 25, 71, 102, 124}, -- NEJI [71] = { 50, 72, 103, 124}, -- NEJI [72] = { 75, 73, 105, 124}, -- NEJI [73] = { 100, 74, 107, 124}, -- NEJI [74] = { 150, 75, 108, 124}, -- NEJI [75] = { 175, 76, 314, 124}, -- NEJI [76] = { 225, 77, 315, 124}, -- NEJI [77] = { 250, 78, 333, 124}, -- NEJI [90] = { 25, 91, 331, 209}, -- KIBA [91] = { 50, 92, 69, 209}, -- KIBA [92] = { 75, 93, 70, 209}, -- KIBA [93] = { 100, 94, 199, 209}, -- KIBA [94] = { 150, 95, 196, 209}, -- KIBA [95] = { 175, 96, 197, 209}, -- KIBA [96] = { 225, 97, 198, 209}, -- KIBA [97] = { 250, 98, 332, 209}, -- KIBA [110] = { 50, 111, 88, 187}, -- SHIKAMARU [111] = { 100, 112, 341, 187}, -- SHIKAMARU [112] = { 150, 113, 343, 187}, -- SHIKAMARU [114] = { 200, 115, 344, 187}, -- SHIKAMARU [115] = { 250, 116, 345, 187}, -- SHIKAMARU [130] = { 25, 131, 296, 124}, -- HINATA [131] = { 75, 132, 297, 124}, -- HINATA [132] = { 150, 133, 298, 124}, -- HINATA [133] = { 200, 134, 299, 124}, -- HINATA [134] = { 250, 135, 300, 124}, -- HINATA [150] = { 25, 151, 384, 126}, -- TENTEN [151] = { 75, 152, 385, 126}, -- TENTEN [152] = { 150, 153, 386, 126}, -- TENTEN [153] = { 200, 154, 396, 126}, -- TENTEN [170] = { 25, 171, 97, 108}, -- ITACHI [171] = { 50, 172, 285, 108}, -- ITACHI [172] = { 75, 173, 282, 108}, -- ITACHI [173] = { 100, 174, 98, 108}, -- ITACHI [174] = { 125, 175, 284, 109}, -- ITACHI [175] = { 150, 176, 99, 109}, -- ITACHI [176] = { 200, 177, 283, 109}, -- ITACHI [190] = { 25, 191, 373, 4}, -- KILLER BEE [191] = { 75, 192, 374, 4}, -- KILLER BEE [192] = { 125, 193, 375, 4}, -- KILLER BEE [193] = { 150, 194, 376, 4}, -- KILLER BEE [194] = { 200, 195, 318, 4}, -- KILLER BEE [195] = { 250, 196, 377, 4}, -- KILLER BEE [200] = { 25, 201, 11, 10}, -- KAKASHI [201] = { 50, 202, 287, 10}, -- KAKASHI [202] = { 75, 203, 12, 10}, -- KAKASHI [203] = { 125, 204, 10, 10}, -- KAKASHI [204] = { 150, 205, 289, 10}, -- KAKASHI [205] = { 175, 206, 288, 10}, -- KAKASHI [206] = { 200, 207, 13, 10}, -- KAKASHI [207] = { 250, 208, 14, 10}, -- KAKASHI [620] = { 50, 621, 429, 110}, --YAMATO [621] = { 100, 622, 430, 110}, --YAMATO [622] = { 150, 623, 431, 110}, --YAMATO [623] = { 200, 624, 432, 110}, --YAMATO [624] = { 225, 625, 433, 110}, --YAMATO [625] = { 250, 626, 434, 110}, --YAMATO [626] = { 300, 627, 435, 110}, --YAMATO [627] = { 400, 628, 436, 110}, --YAMATO [220] = { 25, 221, 553, 30}, --TOBI [221] = { 50, 222, 554, 30}, --TOBI [222] = { 75, 223, 555, 30}, --TOBI [223] = { 100, 224, 556, 30}, --TOBI [224] = { 125, 225, 557, 30}, --TOBI [225] = { 150, 226, 558, 30}, --TOBI [226] = { 175, 227, 559, 30}, --TOBI [227] = { 200, 228, 560, 30}, --TOBI [228] = { 225, 229, 561, 30}, --TOBI [229] = { 250, 230, 562, 30}, --TOBI [230] = { 275, 231, 563, 30}, --TOBI [231] = { 300, 232, 564, 30}, --TOBI [232] = { 400, 233, 516, 30}, --TOBI [580] = { 50, 581, 465, 67}, --KAKUZU [581] = { 100, 582, 466, 67}, --KAKUZU [582] = { 150, 583, 467, 67}, --KAKUZU [583] = { 200, 584, 468, 67}, --KAKUZU [584] = { 250, 585, 469, 67}, --KAKUZU [585] = { 300, 586, 470, 67}, --KAKUZU [586] = { 400, 587, 471, 67}, --KAKUZU [550] = { 50, 551, 445, 67}, --HIDAN [551] = { 100, 552, 446, 67}, --HIDAN [552] = { 150, 553, 447, 67}, --HIDAN [553] = { 200, 554, 448, 67}, --HIDAN [554] = { 250, 555, 449, 67}, --HIDAN [555] = { 300, 556, 450, 67}, --HIDAN [556] = { 400, 557, 451, 67}, --HIDAN [520] = { 50, 521, 491, 13}, --RAIKAGE [521] = { 100, 522, 492, 13}, --RAIKAGE [522] = { 150, 523, 493, 13}, --RAIKAGE [523] = { 200, 524, 494, 13}, --RAIKAGE [524] = { 250, 525, 401, 13}, --RAIKAGE [525] = { 300, 526, 402, 13}, --RAIKAGE [526] = { 350, 527, 403, 13}, --RAIKAGE [527] = { 400, 528, 495, 13}, --RAIKAGE [235] = { 50, 236, 438, 242}, --MINATO [236] = { 100, 237, 439, 242}, --MINATO [237] = { 125, 238, 440, 242}, --MINATO [238] = { 150, 239, 407, 242}, --MINATO [239] = { 200, 240, 441, 242}, --MINATO [240] = { 250, 241, 410, 242}, --MINATO [241] = { 300, 242, 442, 242}, --MINATO [242] = { 400, 243, 443, 242}, --MINATO [500] = { 25, 501, 411, 34}, --TOBIRAMA [501] = { 50, 502, 412, 34}, --TOBIRAMA [502] = { 75, 503, 413, 34}, --TOBIRAMA [503] = { 100, 504, 414, 34}, --TOBIRAMA [504] = { 125, 505, 415, 34}, --TOBIRAMA [505] = { 150, 506, 416, 34}, --TOBIRAMA [506] = { 175, 507, 417, 34}, --TOBIRAMA [507] = { 200, 508, 418, 34}, --TOBIRAMA [508] = { 225, 509, 419, 34}, --TOBIRAMA [509] = { 250, 510, 420, 34}, --TOBIRAMA [510] = { 300, 511, 423, 34}, --TOBIRAMA [511] = { 400, 512, 426, 34}, --TOBIRAMA [600] = { 50, 601, 453, 30}, --MADARA [601] = { 100, 602, 454, 30}, --MADARA [602] = { 150, 603, 455, 30}, --MADARA [603] = { 200, 604, 456, 30}, --MADARA [604] = { 225, 605, 457, 30}, --MADARA [605] = { 250, 606, 458, 30}, --MADARA [606] = { 300, 607, 459, 30}, --MADARA [607] = { 400, 608, 460, 30}, --MADARA [650] = { 25, 651, 524, 108}, -- SHISUI [651] = { 50, 652, 525, 108}, -- SHISUI [652] = { 75, 653, 526, 108}, -- SHISUI [653] = { 100, 654, 527, 108}, -- SHISUI [654] = { 125, 655, 528, 109}, -- SHISUI [655] = { 150, 656, 529, 109}, -- SHISUI [656] = { 200, 657, 530, 109}, -- SHISUI [657] = { 200, 658, 531, 109}, -- SHISUI [658] = { 200, 659, 532, 109}, -- SHISUI [659] = { 200, 660, 533, 109}, -- SHISUI [660] = { 200, 661, 534, 109}, -- SHISUI [661] = { 200, 662, 535, 109}, -- SHISUI [662] = { 200, 663, 536, 109}, -- SHISUI [664] = { 200, 665, 537, 109}, -- SHISUI [665] = { 200, 666, 538, 109}, -- SHISUI [666] = { 200, 667, 539, 109}, -- SHISUI [667] = { 200, 668, 540, 109}, -- SHISUI [668] = { 200, 669, 540, 109}, -- SHISUI [669] = { 200, 670, 540, 109}, -- SHISUI [675] = { 200, 676, 543, 2}, -- MENMA [676] = { 200, 677, 544, 2}, -- MENMA [677] = { 200, 678, 545, 2}, -- MENMA [678] = { 200, 679, 546, 2}, -- MENMA [679] = { 200, 678, 547, 2}, -- MENMA } function onSay(cid, words, param, channel) local from,to = {x=1001, y=705, z=7},{x=1031, y=737, z=7} -- começo e final do mapa local from2,to2 = {x=1011, y=705, z=6},{x=1031, y=738, z=6} -- começo e final do mapa local from3,to3 = {x=1012, y=706, z=5},{x=1032, y=739, z=5} -- começo e final do mapa local from4,to4 = {x=985, y=598, z=7},{x=1044, y=652, z=7} -- começo e final do mapa local from5,to5 = {x=986, y=615, z=6},{x=1039, y=647, z=7} -- começo e final do mapa local from6,to6 = {x=990, y=616, z=5},{x=1040, y=647, z=5} -- começo e final do mapa if isInRange(getCreaturePosition(cid), from, to) or isInRange(getCreaturePosition(cid), from2, to2) or isInRange(getCreaturePosition(cid), from3, to3) or isInRange(getCreaturePosition(cid), from4, to4) or isInRange(getCreaturePosition(cid), from5, to5) or isInRange(getCreaturePosition(cid), from6, to6) then doPlayerSendCancel(cid, "Você não pode se Transformar nesta área!") return true end doPlayerSay(cid, "transformar") local voc = config[getPlayerVocation(cid)] if voc then if getPlayerLevel(cid) >= voc[1] then doPlayerSetVocation(cid, voc[2]) doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Você Transformou!") local outfit = {lookType = voc[3]} doCreatureChangeOutfit(cid, outfit) doSendMagicEffect(getCreaturePosition(cid), voc[4]) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Você precisa estar no level " .. voc[1] .. " para transformar.") end else doPlayerSendCancel(cid, "Você não pode se Transformar!") end return true end O problema e que quando tou AKATSUKI eu consigo transformar soque akatsuki eu queria que nao pudesse se transformar COMO VIRA AKATSUKI NO MEU SERVER ? -- Script Akatsuki System Advance 2.0 -- -- By Ruam -- -- Script Criada By Ruam -- local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end local level = 300 -- Level preciso pra entra para akatsuki local itemid = 5943 -- id do coração local quantidade = 20 -- quantos hearts e preciso local bonushp = 3000 -- quanto de bonus de life vai ganha local bonusmp = 3000 -- quanto de bonus de mana vai ganha local experience = 0 -- Experience rates no caso 2x a experiencia do seu servidor. local config = { --[Vocation] = ( Nova Vocation, New Outfit ) [11] = { 5, 405}, [23] = { 24, 556}, [32] = { 33, 429}, [41] = { 42, 540}, [59] = { 60, 518}, [77] = { 78, 541}, [97] = { 98, 543}, [115] = { 116, 557}, [134] = { 135, 557}, [153] = { 154, 561}, [176] = { 177, 558}, [195] = { 196, 420}, [207] = { 208, 555}, [214] = { 215, 560}, [227] = { 228, 552}, [95] = { 96, 420}, [306] = { 307, 549}, [403] = { 404, 554}, [504] = { 505, 504}, [527] = { 528, 559}, [534] = { 535, 534}, [541] = { 542, 533}, [661] = { 662, 542}, [663] = { 664, 542}, [664] = { 665, 531}, [665] = { 666, 542}, [666] = { 667, 542}, [667] = { 668, 542}, [679] = { 678, 548}, } function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid if msgcontains(msg, 'Akatsuki') then if getPlayerVocation(cid) ~= config then if getPlayerStorageValue(cid, 89745) == -1 then if getPlayerLevel(cid) >= level then selfSay('Tem certeza de que quer se juntar a Akatsuki?.', cid) talkState[talkUser] = 1 else selfSay('Você nem sabe o nível que é pra entrar na Anbu, suma da minha frente seu idiota.', cid) end else selfSay('Você já faz parte Da Akatsuki!', cid) end else selfSay('Você faz parte dos Anbu!', cid) end end if talkState[talkUser] == 1 and msgcontains(msg, 'yes') then selfSay('Para provar a sua lealdade, você tem que trazer '..quantidade..' {coraçao}.', cid) talkState[talkUser] = 2 end if talkState[talkUser] == 2 and msgcontains(msg, 'coraçao') then if getPlayerItemCount(cid, 5943) >= 6 then local voc = config[getPlayerVocation(cid)] doPlayerSetVocation(cid, voc[1]) local outfit = {lookType = voc[2]} doCreatureChangeOutfit(cid, outfit) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+bonushp) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+bonusmp) doCreatureAddHealth(cid, getCreatureMaxHealth(cid)) doPlayerRemoveItem(cid, 5943, 6) doCreatureAddMana(cid, getCreatureMaxMana(cid)) setPlayerStorageValue(cid,89745,6) setPlayerStorageValue(cid, 30105, 1) doPlayerSetExperienceRate(cid, experience) selfSay('Parabéns agora você faz parte da Akatsuki.', cid) talkState[talkUser] = 0 else selfSay('Não adianta me enganar, você não tem '..quantidade..' corações, vai atrás, e só volte com eles.', cid) end end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) ALGUEM PODERIA ME AJUDAR??
  13. zPerseu postou uma resposta no tópico em Suporte OTServer Derivados
    Putz kkkkkkkkkkkkkkkkkkkkkkkkk coloquei errado coloquei nos Sprites '===='
  14. zPerseu postou uma resposta no tópico em Suporte OTServer Derivados
    ALGUEM QUE PODE ME AJUDAR COM ESSA SPELL local config = { efeitoTele = 134, -- efeito q ira aparacer a cada teleport. efeitoDamage = 134, -- efeito q ira aparecer ao hitar no alvo hits = 2, -- quantos hits vai dar delay = 600, -- intervalo de tempo a cada hit mini = 11000, -- dano minimo maxi = 12000, -- dano maximo damage = COMBAT_PHYSICALDAMAGE -- tipo do dano } function isWalkable(pos, creature, pz, proj) -- nord if getTileThingByPos({x = pos.x, y = pos.y, z = pos.z, stackpos = 0}).itemid == 0 then return false end if getTopCreature(pos).uid > 0 and creature then return false end if getTileInfo(pos).protection and not pz then return false end local n = not proj and 3 or 2 for i = 0, 255 do pos.stackpos = i local tile = getTileThingByPos(pos) if tile.itemid ~= 0 and not isCreature(tile.uid) then if hasProperty(tile.uid, n) or hasProperty(tile.uid, 7) then return false end end end return true end function getPosDirs(p, dir) -- mkalo return dir == 1 and {x=p.x-1, y=p.y, z=p.z} or dir == 2 and {x=p.x-1, y=p.y+1, z=p.z} or dir == 3 and {x=p.x, y=p.y+1, z=p.z} or dir == 4 and {x=p.x+1, y=p.y+1, z=p.z} or dir == 5 and {x=p.x+1, y=p.y, z=p.z} or dir == 6 and {x=p.x+1, y=p.y-1, z=p.z} or dir == 7 and {x=p.x, y=p.y-1, z=p.z} or dir == 8 and {x=p.x-1, y=p.y-1, z=p.z} end function validPos(pos) tb = {} for i = 1, 8 do newpos = getPosDirs(pos, i) if isWalkable(newpos) then table.insert(tb, newpos) end end table.insert(tb, pos) return tb end spell1 = { start1 = function (cid, target, markpos, hits) if not isCreature(cid) then return true end if not isCreature(target) or hits < 1 then doTeleportThing(cid, markpos) doSendMagicEffect(getThingPos(cid), config.efeitoTele) return true end posAv = validPos(getThingPos(target)) rand = #posAv == 1 and 1 or #posAv - 1 doSendMagicEffect(getThingPos(cid), config.efeitoTele) doTeleportThing(cid, posAv[math.random(1, rand)]) doAreaCombatHealth(cid, config.damage, getThingPos(target), 0, -config.mini, -config.maxi, config.efeitoDamage) addEvent(spell1.start1, config.delay, cid, target, markpos, hits - 1) end } function onCastSpell(cid) local position1 = {x=getThingPosition(getCreatureTarget(cid)).x+1, y=getThingPosition(getCreatureTarget(cid)).y+1, z=getThingPosition(getCreatureTarget(cid)).z} local position2 = {x=getCreaturePosition(cid).x+1, y=getCreaturePosition(cid).y, z=getCreaturePosition(cid).z} target = getCreatureTarget(cid) if target then spell1.start1(cid, target, getThingPos(cid), config.hits) doSendMagicEffect(position1, 247) doSendMagicEffect(position2, 248) end return true end EU QUERIA COLOCAR TIPO 1 TEMPO NELA!MAS COMO ASSIM?ELA SOUTA 2 SPELL EU QUERIA QUE TIPO 1 VAI PRIMEIRO TIPO A 247 E DPS DE 1 SEGUNDA SAI OUTRA SPELL TIPO UM COMBO NUMA SPELL VLW QUEM PUDER AJUDAR REP+
  15. zPerseu postou uma resposta no tópico em Suporte Tibia OTServer
    GALERA DO TK JA VAZ MUITO TEMPO QUE EU TOU PROCURANDO ESSA SPELL MAS NAO ACHO. ESSA SPELL E DE TARGET!!VOU EXPLICAR,TIPO QUANDO VC TARGETA O ALVO APAREÇE 1 SPRITE QUE E A DO DEMONIO QUE DEIXA O CARINHA TRAPADO POR 6 SEGUNDOS E LOGICO TIRA UM POUCO DE DANO E TIRA SPEED DELE NAO MUITA MAIS SIGNIFICATIVA PARA ELE NAO FUJIR !! OBGD QUEM PUDER FAZER ISSO PRA MIN
  16. Como o nome da database ou o que vc escolhe pra iniciar o server?
  17. zPerseu postou uma resposta no tópico em Suporte Tibia OTServer
    https://mega.nz/#!2UlxnYqA chave: !RcxuboWK19GdHDORTtU3ZQJ4QCc6YY93-S6XFUwltz4 coloquei download
  18. zPerseu postou uma resposta no tópico em Suporte Tibia OTServer
    Source NTOShinobi
  19. Vlw pegou pode ajudar nisso > se vor complicado de mecher dps ensia
  20. zPerseu postou uma resposta no tópico em Suporte Tibia OTServer
    Galera alguem pode me ajudar numa coisa? eu queria colocar source pra colocar attack speed etc mas nao sei ussar como ligar etc alguem pode ajudar?
  21. Eae Galera do TK Blz? Peço ajuda a alguém meu server alem de tar dando erro em spell todas as vocaçoes do meu server estao com spell(jutsu) de vocaçoes vou mostrar nos prints e vou monstrar spell.xml Descupe pela imagem de fundo hushsu Vou explicar + esse 458 nao tem no meu server uma voc que possui esse id as vocs 458 do spell.xml <instant name="Zetsu follow" words="zetsufollowcode" lvl="40" mana="1400" aggressive="1" exhaustion="2000" needlearn="0" event="script" value="summons/zetsuteste.lua"> <vocation id="458"/> </instant> <instant name="Kisame Protect" words="kisameprotectcode" aggressive="0" selftarget="1" lvl="150" mana="1000" exhaustion="1000" script="summons/kisameprotect.lua"> <vocation id="458"/> <vocation id="227"/> </instant> <instant name="Kisame agua" words="kisameaguacode" allowfaruse="1" lvl="65" mana="120" needtarget="1" prem="0" exhaustion="3000" blocktype="all" enabled="0" script="summons/kisameagua.lua"> <vocation id="458"/> <vocation id="227"/> </instant> <instant name="Kisame dragon" words="kisamedragoncode" allowfaruse="1" lvl="65" mana="120" needtarget="1" prem="0" exhaustion="3000" blocktype="all" enabled="0" script="summons/kisamedragon.lua"> <vocation id="458"/> <vocation id="227"/> </instant> <instant name="Fogofogo" words="firefire" allowfaruse="1" lvl="65" mana="120" needtarget="1" prem="0" exhaustion="3000" blocktype="all" enabled="0" script="summons/fogofogo.lua"> <vocation id="458"/> </instant> <instant name="Venenodark" words="veneno dark" allowfaruse="1" lvl="65" mana="120" needtarget="1" prem="0" exhaustion="3000" blocktype="all" enabled="0" script="summons/venenodark.lua"> <vocation id="458"/> </instant> <instant name="SuitonBomba" words="suitonbomba" allowfaruse="1" lvl="65" mana="120" needtarget="1" prem="0" exhaustion="3000" blocktype="all" enabled="0" script="summons/suitonbomba.lua"> <vocation id="458"/> <vocation id="227"/> </instant> <instant name="Deidara Um" words="passaroum" allowfaruse="1" lvl="65" mana="120" needtarget="1" prem="0" exhaustion="3000" blocktype="all" enabled="0" script="summons/passaro.lua"> <vocation id="458"/> </instant> <instant name="Deidara Dois" words="passarodois" allowfaruse="1" lvl="65" mana="120" needtarget="1" prem="0" exhaustion="3000" blocktype="all" enabled="0" script="summons/passarodois.lua"> <vocation id="458"/> </instant> <instant name="Pain Missel" words="misselpain" allowfaruse="1" lvl="65" mana="120" needtarget="1" prem="0" exhaustion="3000" blocktype="all" enabled="0" script="summons/missel.lua"> <vocation id="458"/> </instant> <instant name="Hyuton" words="hyuton" allowfaruse="1" lvl="65" mana="120" needtarget="1" prem="0" exhaustion="3000" blocktype="all" enabled="0" script="summons/hyuton.lua"> <vocation id="458"/> </instant> <instant name="Dragon Blast" words="dragaodelama" allowfaruse="1" lvl="65" mana="120" needtarget="1" prem="0" exhaustion="3000" blocktype="all" enabled="0" script="summons/dragaodelama.lua"> <vocation id="458"/> </instant> <instant name="Dragon Fire" words="dragaodefogo" allowfaruse="1" lvl="65" mana="120" needtarget="1" prem="0" exhaustion="3000" blocktype="all" enabled="0" script="summons/dragaodefogo.lua"> <vocation id="458"/> </instant> <instant name="Great Ball" words="boladerocha" allowfaruse="1" lvl="65" mana="120" needtarget="1" prem="0" exhaustion="3000" blocktype="all" enabled="0" script="summons/boladerocha.lua"> <vocation id="458"/> </instant> <instant name="Mordida" words="mordidarocha" allowfaruse="1" lvl="65" mana="120" needtarget="1" prem="0" exhaustion="3000" blocktype="all" enabled="0" script="summons/mordida.lua"> <vocation id="458"/> </instant> <instant name="God Kill" words="god kill" allowfaruse="1" lvl="9965" mana="120" needtarget="1" prem="0" exhaustion="50000" script="summons/godkill.lua"> <vocation id="458"/> tem + <instant name="Hidan" words="hidanatki" allowfaruse="1" lvl="65" mana="120" needtarget="1" prem="0" exhaustion="3000" blocktype="all" enabled="0" script="summons/hidan.lua"> <vocation id="458"/> </instant> <instant name="Suitonagua" words="suitonatkagua" allowfaruse="1" lvl="65" mana="120" needtarget="1" prem="0" exhaustion="3000" blocktype="all" enabled="0" script="summons/suitonagua.lua"> <vocation id="458"/> <vocation id="227"/> </instant> <instant name="Tsuuga Kiba" words="tsuugakibacode" lvl="70" needtarget="1" range="5" mana="3600" aggressive="1" exhaustion="1000" needlearn="0" event="script" value="summons/tsuuga.lua"> <vocation id="458"/> </instant> <instant name="Temarivento" words="temariventocode" lvl="70" needtarget="1" range="5" mana="3600" aggressive="1" exhaustion="1000" needlearn="0" event="script" value="summons/temarivento.lua"> <vocation id="458"/> </instant> <instant name="Dual Tsuuga Kiba" words="dual tsuugakibacode" lvl="85" needtarget="1" range="5" mana="4200" aggressive="1" exhaustion="1500" needlearn="0" event="script" value="summons/dualtsuuga.lua"> <vocation id="458"/> </instant> <instant name="Wrath of Nature" words="exevo gran mas teradois" lvl="55" mana="770" prem="0" selftarget="1" exhaustion="2000" needlearn="0" event="script" value="summons/wrath of nature.lua"> <vocation id="458"/> </instant> <instant name="Wrath of Naturetres" words="exevo gran mas teratres" lvl="55" mana="770" prem="0" selftarget="1" exhaustion="2000" needlearn="0" event="script" value="summons/wrath of naturetres.lua"> <vocation id="458"/> </instant> <instant name="Kakashi Raikiri" words="kakashiraikiricode" lvl="55" mana="770" prem="0" selftarget="1" exhaustion="2000" needlearn="0" event="script" value="summons/kakashiraikiri.lua"> <vocation id="458"/> </instant> <instant name="Anko Cobras" words="ankocobrascode" lvl="55" mana="770" prem="0" selftarget="1" exhaustion="2000" needlearn="0" event="script" value="summons/ankocobras.lua"> <vocation id="458"/> </instant> <instant name="Garra Follow" words="garra follow" lvl="40" mana="1400" aggressive="1" exhaustion="2000" needlearn="0" event="script" value="naruto/garra.lua"> <vocation id="458"/> </instant> <instant name="Suna No Yoroicode" words="suna no yoroicode" aggressive="0" selftarget="1" lvl="50" mana="1000" exhaustion="1000" event="script" value="gaara/sunanoyoroi.lua"> <vocation id="458"/> </instant> <instant name="Suna Prision no Jutsu" words="suna prision" lvl="45" mana="4500" prem="0" blockwalls="1" exhaustion="2000" groups="3,2000" icon="127" needlearn="0" event="script" value="gaara/trap.lua"> <vocation id="458"/> </instant> <instant name="Suna no Yoroi" words="suna no yoroi" aggressive="0" lvl="130" mana="4000" needtarget="1" range="5" exhaustion="1000" event="script" value="gaara/protecao.lua"> <vocation id="458"/>

Informação Importante

Confirmação de Termo