Ir para conteúdo

Mlk Frozen

Membro
  • Registro em

  • Última visita

  1. Mlk Frozen postou uma resposta no tópico em Suporte Tibia OTServer
    nao queria que se transformaçe
  2. Mlk Frozen reagiu a uma resposta no tópico: [Erro] No Transform Effect
  3. essa Script aki do transform ?? 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 Si nao for me fala que vo caça
  4. Eae Galera Do Tk Blz Hj To Aki Para Pergunta Se Alguem Sabe Resolve esse erro Aki \ / Quem Souber Resolver Me fala Ai Isso me ajudara MT mt mt e Quem tambem Sabe Coloca efeito na vocation tipo quando ela transformar ela fica soltando ums raio ou o effeito que colocar quem souber me ajudara tbm obr por ler !!
  5. Mlk Frozen postou uma resposta no tópico em Suporte Tibia OTServer
    Nao Deu certo ainda pq ta pareçendo 3 goku na account manager olha http://prntscr.com/6hkx47Veja o print << si for ajudar mais Print Das Tranform >> http://prntscr.com/6hkxws Print Das Vocation =>> http://prntscr.com/6hkyl6 Aonde que eu axo q é o erro ==>> http://prntscr.com/6hkzfh Si for mais facil add skype vitinhopvp.mt ai tu pode explicar
  6. Mlk Frozen postou uma resposta no tópico em Suporte Tibia OTServer
    é que eu retirei todas e to fazendo do zero as vocations as o goku nao quer transforma e vi videos li topicos aki No Tk E Nao Consegui vo passa script completa local config = { --[vocation id] = { level, nova voc, looktype, efeito} [1] = { 1, 2, 3, 237} [1] = { 30, 3, 4, 237} } function trans(cid) if getPlayerVocation(cid) == 1 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 3) addEvent(trans,ext,cid) function onSay(cid, words, param, channel) local waittime = 10 -- Tempo de exhaustion local storage = 5812 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 if exhaustion.check(cid, storage) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "VOCE JA SE TRANSFORMOU, VOCE JA ESTA COM OUTFIT DA SUA ATUAL SAGA!") return false end doPlayerSendTextMessage(cid,27,'Voce Ja Esta Na Sua Atual Transformaçao.') local voc = config[getPlayerVocation(cid)] if voc then for i = 1, #voc do if getPlayerLevel(cid) >= voc.lvl[1] and getPlayerLevel(cid) <= voc.lvl[2] then doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Você Transformou!") exhaustion.set(cid, storage, waittime) local outfit = {lookType = voc.look} doCreatureChangeOutfit(cid, outfit) doSendMagicEffect(getCreaturePosition(cid), voc.eff) return true end end doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Você precisa de level 25 para usar sua primeira transformação e passar para a proxima saga!") else doPlayerSendCancel(cid, "Você não pode se Transformar!") end return true end Desculpa Daniel é primeira vez que crio um topico Vc axo erro ?
  7. Mlk Frozen postou uma resposta no tópico em Suporte Tibia OTServer
    Eae Galera do TK! Fiz esse topico porque nao to conseguindo coloca transforms no meu servidor olha ela ta assim as vocations \/ <?xml version="1.0" encoding="UTF-8"?> <vocations> <vocation id="0" name="None" description="none" needpremium="0" gaincap="5" gainhp="5" gainmana="5" gainhpticks="6" gainhpamount="1" gainmanaticks="6" gainmanaamount="1" manamultiplier="4.0" attackspeed="200" soulmax="100" gainsoulticks="120" fromvoc="0" attackable="no"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/> </vocation> <vocation id="1" name="Goku" description="a Goku" needpremium="0" gaincap="20" gainhp="350" gainmana="350" gainhpticks="1" gainhpamount="150" gainmanaticks="1" gainmanaamount="250" manamultiplier="1.2" attackspeed="1200" soulmax="300" gainsoulticks="60" fromvoc="1"> <formula meleeDamage="2.0" distDamage="2.0" wandDamage="2.0" magDamage="2.0" magHealingDamage="2.0" defense="2.0" magDefense="2.0" armor="2.0"/> <skill fist="2.0" club="2.0" sword="4.0" axe="2.0" distance="2.0" shielding="2.0" fishing="2.0" experience="2.0"/> </vocation> <vocation id="2" name="Goku" description="a Goku" needpremium="0" gaincap="20" gainhp="350" gainmana="350" gainhpticks="1" gainhpamount="150" gainmanaticks="1" gainmanaamount="250" manamultiplier="1.2" attackspeed="1200" soulmax="300" gainsoulticks="60" fromvoc="2"> <formula meleeDamage="2.0" distDamage="2.0" wandDamage="2.0" magDamage="2.0" magHealingDamage="2.0" defense="2.0" magDefense="2.0" armor="2.0"/> <skill fist="2.0" club="2.0" sword="4.0" axe="2.0" distance="2.0" shielding="2.0" fishing="2.0" experience="2.0"/> </vocation> <vocation id="3" name="Goku" description="a Goku" needpremium="0" gaincap="20" gainhp="350" gainmana="350" gainhpticks="1" gainhpamount="150" gainmanaticks="1" gainmanaamount="250" manamultiplier="1.2" attackspeed="1200" soulmax="300" gainsoulticks="60" fromvoc="3"> <formula meleeDamage="2.0" distDamage="2.0" wandDamage="2.0" magDamage="2.0" magHealingDamage="2.0" defense="2.0" magDefense="2.0" armor="2.0"/> <skill fist="2.0" club="2.0" sword="4.0" axe="2.0" distance="2.0" shielding="2.0" fishing="2.0" experience="2.0"/> </vocation> </vocations> Em Transform Ta Assim local config = { --[vocation id] = { level, nova voc, looktype, efeito} [1] = { 1, 2, 3, 237} [1] = { 30, 3, 4, 237} Tem Algo Errado ? Pq quando escrevo transformar nao vai! e tem 3 vocations com nome goku no account manager ,Quer puder Me ajuda agradeço Base Do Servidor é de NTO! Quiser Add Skype vitinhopvp.mt

Informação Importante

Confirmação de Termo