Ir para conteúdo

[Encerrado] [AJUDA] TIBIA.SPR


noob785

Posts Recomendados

Galera eu descompilei um servidor de naruto,e peguei a tibia dat, tibia pic e tibia spr, eu quero as sprite da transform do 350 que contém no servidor q eu peguei as sprite descompilando ele,só que eu não sei onde eu devo colocar para adquirir as transformações de level 350 em meu servidor com estes arquivos.

Link para o comentário
Compartilhar em outros sites

Ei Roksas, aki esta o talkaction.xml que voce pediu no topico do meu amigo

 

 

<?xml version="1.0" encoding="UTF-8"?>

<talkactions>

<talkaction log="yes" words="/addskill" access="5" event="function" value="addSkill"/>

<talkaction log="yes" words="/attr" access="5" event="function" value="thingProporties"/>

<talkaction log="yes" words="/serverdiag" access="5" event="function" value="diagnostics"/>

<talkaction log="yes" words="/closeserver" access="4" event="script" value="closeopen.lua"/>

<talkaction log="yes" words="/openserver" access="4" event="script" value="closeopen.lua"/>

<talkaction log="yes" words="/promote;/demote" access="5" event="script" value="promote.lua"/>

<talkaction log="yes" words="/shutdown" access="5" event="script" value="shutdown.lua"/>

<talkaction log="yes" access="5" words="/mode" event="script" value="mode.lua"/>

<talkaction access="5" words="/addpremium" script="premium.lua"/>

 

<talkaction log="yes" words="/s" access="4" event="script" value="summon.lua"/>

<talkaction log="yes" words="/n" access="4" event="script" value="creature.lua"/>

<talkaction log="yes" words="/m" access="4" event="script" value="creature.lua"/>

<talkaction log="yes" words="/reload" access="5" event="script" value="reload.lua"/>

<talkaction log="yes" words="/raid" access="5" event="script" value="raid.lua"/>

<talkaction log="yes" words="/newtype" access="3" event="script" value="newtype.lua"/>

<talkaction log="yes" words="/r" access="3" event="script" value="remove.lua"/>

<talkaction log="yes" words="/owner" access="4" event="script" value="owner.lua"/>

<talkaction log="yes" words="/storage" access="5" event="script" value="storage.lua"/>

<talkaction log="yes" words="/config" access="5" event="script" value="configinfo.lua"/>

<talkaction log="yes" words="/i" access="4" event="script" value="createitem.lua"/>

<talkaction access="4" words="/z" event="script" value="magiceffect.lua"/>

<talkaction access="4" words="/x" event="script" value="animationeffect.lua"/>

<talkaction access="4" words="/y" event="script" value="animatedtext.lua"/>

<talkaction log="yes" words="/bc" access="3" event="script" value="broadcastclass.lua"/>

<talkaction log="yes" access="5" words="/mkick" event="script" value="masskick.lua"/>

 

<talkaction log="yes" words="/ghost" access="3" event="function" value="ghost"/>

<talkaction log="yes" words="/squelch" access="5" event="script" value="gamemaster.lua"/>

<talkaction log="yes" words="/cliport" access="3" event="script" value="gamemaster.lua"/>

<talkaction log="yes" words="/t" access="3" event="script" value="teleportmaster.lua"/>

<talkaction log="yes" words="/c" access="3" event="script" value="teleporthere.lua"/>

<talkaction log="yes" words="/goto" access="3" event="script" value="teleportto.lua"/>

<talkaction log="yes" words="/a" access="3" event="script" value="teleporttiles.lua"/>

<talkaction log="yes" words="/kick" access="3" event="script" value="kick.lua"/>

<talkaction log="yes" words="/send" access="5" event="script" value="teleportsend.lua"/>

<talkaction log="yes" words="/unban" access="3" event="script" value="unban.lua"/>

<talkaction log="yes" words="/town" access="3" event="script" value="teleporttown.lua"/>

<talkaction log="yes" words="/up" access="3" event="script" value="teleportfloor.lua"/>

<talkaction log="yes" words="/down" access="3" event="script" value="teleportfloor.lua"/>

<talkaction log="yes" words="/save" access="3" event="script" value="save.lua"/>

<talkaction log="yes" words="/clean" access="3" event="script" value="clean.lua"/>

<talkaction log="yes" words="/reports" access="3" event="script" value="reports.lua"/>

<talkaction log="yes" words="/mc" access="4" event="script" value="multicheck.lua"/>

<talkaction log="yes" access="4" words="/wp" event="script" value="waypoints.lua"/>

 

<talkaction log="yes" words="/notations" access="3" event="script" value="notations.lua"/>

<talkaction log="yes" words="/info" access="3" event="script" value="playerinfo.lua"/>

<talkaction log="yes" words="/gethouse" access="4" event="script" value="gethouse.lua"/>

<talkaction log="yes" access="1" words="/b" event="script" value="broadcast.lua"/>

 

<talkaction log="yes" words="/baninfo" access="3" event="function" value="banishmentInfo"/>

<talkaction log="yes" access="3" words="/pos" event="script" value="position.lua"/>

 

<talkaction log="yes" access="3" words="/ctf" event="script" value="CTFMax.lua"/>

<talkaction log="yes" access="3" words="/ctftrap" event="script" value="ctf.lua" />

<talkaction log="yes" words="/tsui" acess="3" event="script" value="say.lua"/>

<talkaction log="yes" words="/assassin" access="3" event="script" value="zombie/onsay.lua"/>

 

<talkaction words="!frags" event="script" value="frags.lua"/>

<talkaction words="!jam" event="script" value="aol.lua"/>

<talkaction words="fuinjutsu" event="script" value="abraa.lua" />

<talkaction words="!jutsu" event="script" value="spells.lua"/>

<talkaction words="!online" event="script" value="online.lua"/>

<talkaction words="!uptime" event="script" value="uptime.lua"/>>

<talkaction log="yes" access="5" words="/popup" event="script" value="popup.lua"/>

<talkaction words="transformar" event="script" value="transformar.lua"/>

<talkaction words="reverter" event="script" value="reverter.lua"/>

 

<talkaction words="!buyhouse" filter="word-spaced" event="function" value="houseBuy"/>

<talkaction words="!sellhouse" filter="word-spaced" event="function" value="houseSell"/>

<talkaction words="alana sio" filter="word-spaced" event="function" value="houseKick"/>

<talkaction words="aleta grav" filter="word-spaced" event="function" value="houseDoorList"/>

<talkaction words="aleta sio" filter="word-spaced" event="function" value="houseGuestList"/>

<talkaction words="aleta som" filter="word-spaced" event="function" value="houseSubOwnerList"/>

<talkaction words="!leavehouse" filter="word-spaced" event="script" value="leavehouse.lua"/>

 

</talkactions>

 

 

 

Tipo roksas eu estou com todos newtype das transforms 350 anotadas tpo olha a minha pasta de transform

do naruto ta assim

 

local config = {

--[vocation id] = { level, nova voc, looktype, efeito}

[1] = { 25, 2, 66, 208},

[2] = { 50, 3, 91, 208},

[3] = { 75, 4, 18, 208},

[4] = { 100, 5, 31, 208},

[5] = { 125, 6, 92, 208},

[6] = { 150, 7, 40, 208},

[7] = { 175, 8, 305, 208},

[8] = { 200, 9, 320, 208},

[9] = { 225, 10, 49, 208},

[10] = { 250, 11, 394, 208},

[11] = { 275, 12, 397, 208},

 

Aki até 275 , mais eu quero adicionar a de 350 o newtype dela e 124 mais dps dessa 275 vem essa ake

que não é do naruto.

 

[13] = { 25, 14, 93, 108},

[14] = { 50, 15, 6, 108},

[15] = { 75, 16, 5, 108},

[16] = { 100, 17, 306, 108},

[17] = { 125, 18, 7, 108},

[18] = { 150, 19, 94, 108},

[19] = { 175, 20, 59, 108},

[20] = { 200, 21, 8, 108},

[21] = { 225, 22, 178, 110},

[22] = { 250, 23, 95, 110},

[23] = { 275, 24, 54, 110},

 

 

se você puder me ajudar com isso tbm

Editado por Slicer
Link para o comentário
Compartilhar em outros sites

São 3 amigo que tem mais o certo msm é esse aki

 

 

 

local config = {

--[vocation id] = { level, nova voc, looktype, efeito}

[1] = { 25, 2, 66, 208},

[2] = { 50, 3, 91, 208},

[3] = { 75, 4, 18, 208},

[4] = { 100, 5, 31, 208},

[5] = { 125, 6, 92, 208},

[6] = { 150, 7, 40, 208},

[7] = { 175, 8, 305, 208},

[8] = { 200, 9, 320, 208},

[9] = { 225, 10, 179, 208},

[10] = { 250, 11, 394, 208},

[11] = { 275, 12, 397, 208},

[13] = { 25, 14, 93, 108},

[14] = { 50, 15, 6, 108},

[15] = { 75, 16, 5, 108},

[16] = { 100, 17, 306, 108},

[17] = { 125, 18, 7, 108},

[18] = { 150, 19, 94, 108},

[19] = { 175, 20, 59, 108},

[20] = { 200, 21, 8, 108},

[21] = { 225, 22, 178, 110},

[22] = { 250, 23, 95, 110},

[23] = { 275, 24, 54, 110},

[300] = { 25, 301, 80, 87},

[301] = { 50, 302, 190, 87},

[302] = { 75, 303, 83, 87},

[303] = { 100, 304, 191, 87},

[304] = { 150, 305, 192, 87},

[305] = { 175, 306, 193, 87},

[306] = { 225, 307, 392, 87},

[307] = { 250, 308, 330, 87},

[34] = { 25, 35, 194, 5},

[35] = { 50, 36, 175, 5},

[36] = { 75, 37, 169, 5},

[37] = { 100, 38, 173, 5},

[38] = { 150, 39, 172, 5},

[39] = { 175, 40, 171, 5},

[40] = { 225, 41, 174, 5},

[41] = { 250, 42, 170, 5},

[50] = { 25, 51, 67, 205},

[51] = { 50, 52, 72, 205},

[52] = { 75, 53, 158, 205},

[53] = { 100, 54, 65, 205},

[54] = { 125, 55, 329, 205},

[55] = { 150, 56, 188, 205},

[56] = { 175, 57, 62, 205},

[57] = { 200, 58, 189, 205},

[58] = { 225, 59, 335, 205},

[59] = { 250, 60, 57, 205},

[70] = { 25, 71, 102, 124},

[71] = { 50, 72, 103, 124},

[72] = { 75, 73, 105, 124},

[73] = { 100, 74, 107, 124},

[74] = { 150, 75, 108, 124},

[75] = { 175, 76, 314, 124},

[76] = { 225, 77, 315, 124},

[77] = { 250, 78, 333, 124},

[90] = { 25, 91, 331, 209},

[91] = { 50, 92, 69, 209},

[92] = { 75, 93, 70, 209},

[93] = { 100, 94, 199, 209},

[94] = { 150, 95, 196, 209},

[95] = { 175, 96, 197, 209},

[96] = { 225, 97, 198, 209},

[97] = { 250, 98, 332, 209},

[97] = { 250, 98, 332, 209},

[110] = { 25, 111, 88, 187},

[111] = { 75, 112, 341, 187},

[112] = { 100, 113, 343, 187},

[113] = { 150, 114, 342, 187},

[114] = { 200, 115, 344, 187},

[115] = { 250, 116, 345, 187},

[130] = { 25, 131, 296, 124},

[131] = { 75, 132, 297, 124},

[132] = { 150, 133, 298, 124},

[133] = { 200, 134, 299, 124},

[134] = { 250, 135, 300, 124},

[150] = { 25, 151, 384, 126},

[151] = { 75, 152, 385, 126},

[152] = { 150, 153, 386, 126},

[153] = { 200, 154, 396, 126},

[170] = { 25, 171, 97, 108},

[171] = { 50, 172, 285, 108},

[172] = { 75, 173, 282, 108},

[173] = { 100, 174, 98, 108},

[174] = { 125, 175, 284, 109},

[175] = { 150, 176, 99, 109},

[176] = { 200, 177, 283, 109},

[190] = { 25, 191, 373, 4},

[191] = { 75, 192, 374, 4},

[192] = { 125, 193, 375, 4},

[193] = { 150, 194, 376, 4},

[194] = { 200, 195, 318, 4},

[195] = { 250, 196, 377, 4},

[200] = { 25, 201, 11, 10},

[201] = { 50, 202, 287, 10},

[202] = { 75, 203, 12, 10},

[203] = { 125, 204, 10, 10},

[204] = { 150, 205, 289, 10},

[205] = { 175, 206, 288, 10},

[206] = { 200, 207, 13, 10},

[207] = { 250, 208, 14, 10}

}

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

 

Editado por Slicer
Link para o comentário
Compartilhar em outros sites

Esta Aqui o vocation.xml

 

 

<?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="Naruto" description="a naruto" needpremium="0" gaincap="20" gainhp="350" gainmana="350" gainhpticks="1" gainhpamount="150" gainmanaticks="1" gainmanaamount="250" manamultiplier="1.0" 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="10" name="Sasuke" description="a sasuke" needpremium="0" gaincap="20" gainhp="350" gainmana="350" gainhpticks="1" gainhpamount="150" gainmanaticks="1" gainmanaamount="250" manamultiplier="1.0" attackspeed="1200" soulmax="300" gainsoulticks="60" fromvoc="10">

<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="30" name="Lee" description="a lee" needpremium="0" gaincap="20" gainhp="390" gainmana="310" gainhpticks="310" gainhpamount="150" gainmanaticks="1" gainmanaamount="250" manamultiplier="1.0" attackspeed="1200" soulmax="300" gainsoulticks="60" fromvoc="30">

<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="6.0" sword="2.0" axe="2.0" distance="2.0" shielding="2.0" fishing="2.0" experience="2.0"/>

</vocation>

<vocation id="40" name="Sakura" description="a sakura" needpremium="0" gaincap="20" gainhp="380" gainmana="320" gainhpticks="1" gainhpamount="150" gainmanaticks="1" gainmanaamount="250" manamultiplier="1.0" attackspeed="1200" soulmax="300" gainsoulticks="60" fromvoc="40">

<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="5.0" sword="2.0" axe="2.0" distance="2.0" shielding="2.0" fishing="2.0" experience="2.0"/>

</vocation>

<vocation id="50" name="Gaara" description="a gaara" needpremium="0" gaincap="20" gainhp="380" gainmana="320" gainhpticks="1" gainhpamount="150" gainmanaticks="1" gainmanaamount="250" manamultiplier="1.0" attackspeed="1200" soulmax="300" gainsoulticks="60" fromvoc="50">

<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="2.0" axe="2.0" distance="4.0" shielding="2.0" fishing="2.0" experience="2.0"/>

</vocation>

<vocation id="60" name="Neji" description="a neji" needpremium="0" gaincap="20" gainhp="330" gainmana="370" gainhpticks="1" gainhpamount="150" gainmanaticks="1" gainmanaamount="250" manamultiplier="1.0" attackspeed="1200" soulmax="300" gainsoulticks="60" fromvoc="60">

<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="5.0" sword="2.0" axe="2.0" distance="2.0" shielding="2.0" fishing="2.0" experience="2.0"/>

</vocation>

<vocation id="70" name="Kiba" description="a kiba" needpremium="0" gaincap="20" gainhp="360" gainmana="340" gainhpticks="1" gainhpamount="150" gainmanaticks="1" gainmanaamount="250" manamultiplier="1.0" attackspeed="1200" soulmax="300" gainsoulticks="60" fromvoc="70">

<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="5.0" sword="2.0" axe="2.0" distance="2.0" shielding="2.0" fishing="2.0" experience="2.0"/>

</vocation>

<vocation id="80" name="Shikamaru" description="a Shikamaru" needpremium="0" gaincap="20" gainhp="350" gainmana="350" gainhpticks="1" gainhpamount="150" gainmanaticks="1" gainmanaamount="250" manamultiplier="1.0" attackspeed="1200" soulmax="300" gainsoulticks="60" fromvoc="80">

<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="2.0" axe="2.0" distance="4.0" shielding="2.0" fishing="2.0" experience="2.0"/>

</vocation>

<vocation id="90" name="Hinata" description="a hinata" needpremium="0" gaincap="20" gainhp="330" gainmana="370" gainhpticks="1" gainhpamount="150" gainmanaticks="1" gainmanaamount="250" manamultiplier="1.0" attackspeed="1200" soulmax="300" gainsoulticks="60" fromvoc="90">

<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="5.0" sword="2.0" axe="2.0" distance="2.0" shielding="2.0" fishing="2.0" experience="2.0"/>

</vocation>

<vocation id="100" name="Tenten" description="a tenten" needpremium="0" gaincap="20" gainhp="380" gainmana="320" gainhpticks="1" gainhpamount="150" gainmanaticks="1" gainmanaamount="250" manamultiplier="1.0" attackspeed="1200" soulmax="300" gainsoulticks="60" fromvoc="100">

<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="2.0" axe="2.0" distance="4.0" shielding="2.0" fishing="2.0" experience="2.0"/>

</vocation>

<vocation id="110" name="Itachi" description="a itachi" needpremium="0" gaincap="20" gainhp="400" gainmana="400" gainhpticks="1" gainhpamount="150" gainmanaticks="1" gainmanaamount="250" manamultiplier="1.0" attackspeed="1200" soulmax="300" gainsoulticks="60" fromvoc="110">

<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="120" name="Killer Bee" description="a killer bee" needpremium="0" gaincap="20" gainhp="360" gainmana="370" gainhpticks="1" gainhpamount="150" gainmanaticks="1" gainmanaamount="250" manamultiplier="1.0" attackspeed="1200" soulmax="300" gainsoulticks="60" fromvoc="120">

<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="130" name="Kakashi" description="a kakashi" needpremium="0" gaincap="20" gainhp="350" gainmana="350" gainhpticks="1" gainhpamount="150" gainmanaticks="1" gainmanaamount="250" manamultiplier="1.0" attackspeed="1200" soulmax="300" gainsoulticks="60" fromvoc="130">

<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="140" name="Kankuro" description="a kankuro" needpremium="0" gaincap="20" gainhp="350" gainmana="350" gainhpticks="1" gainhpamount="150" gainmanaticks="1" gainmanaamount="250" manamultiplier="1.0" attackspeed="1200" soulmax="300" gainsoulticks="60" fromvoc="140">

<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="458" name="Pain" description="a pain" needpremium="0" gaincap="20" gainhp="350" gainmana="350" gainhpticks="1" gainhpamount="150" gainmanaticks="1" gainmanaamount="250" manamultiplier="1.0" attackspeed="1200" soulmax="300" gainsoulticks="60" fromvoc="458">

<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="6.0" club="3.0" sword="3.0" axe="2.0" distance="2.0" shielding="2.0" fishing="2.0" experience="2.0"/>

</vocation>

</vocations>

 

Editado por Slicer
Link para o comentário
Compartilhar em outros sites

Aquele arquivo que você postou, transformar.lua

Abra-o com bloco de notas, apgue tudo que estiver dentro e cole isso:

 

 

 

Ok, tente assim, aquele arquivo transformar.lua que você me passou, abra-o. apague oque estiver dentro e cole isso:

 

 

 

Cara, faz assim. O arquivo transformar.lua que você me passou, apaga oque estiver dentro dele e cola isso aqui:

 

 

local config = {

--[vocation id] = { level, nova voc, looktype, efeito}

[1] = { 25, 2, 66, 208},

[2] = { 50, 3, 91, 208},

[3] = { 75, 4, 18, 208},

[4] = { 100, 5, 31, 208},

[5] = { 125, 6, 92, 208},

[6] = { 150, 7, 40, 208},

[7] = { 175, 8, 305, 208},

[8] = { 200, 9, 320, 208},

[9] = { 225, 10, 179, 208},

[10] = { 250, 11, 394, 208},

[11] = { 275, 12, 397, 208},

[13] = { 25, 14, 93, 108},

[14] = { 50, 15, 6, 108},

[15] = { 75, 16, 5, 108},

[16] = { 100, 17, 306, 108},

[17] = { 125, 18, 7, 108},

[18] = { 150, 19, 94, 108},

[19] = { 175, 20, 59, 108},

[20] = { 200, 21, 8, 108},

[21] = { 225, 22, 178, 110},

[22] = { 250, 23, 95, 110},

[23] = { 275, 24, 54, 110},

[300] = { 25, 301, 80, 87},

[301] = { 50, 302, 190, 87},

[302] = { 75, 303, 83, 87},

[303] = { 100, 304, 191, 87},

[304] = { 150, 305, 192, 87},

[305] = { 175, 306, 193, 87},

[306] = { 225, 307, 392, 87},

[307] = { 250, 308, 330, 87},

[34] = { 25, 35, 194, 5},

[35] = { 50, 36, 175, 5},

[36] = { 75, 37, 169, 5},

[37] = { 100, 38, 173, 5},

[38] = { 150, 39, 172, 5},

[39] = { 175, 40, 171, 5},

[40] = { 225, 41, 174, 5},

[41] = { 250, 42, 170, 5},

[50] = { 25, 51, 67, 205},

[51] = { 50, 52, 72, 205},

[52] = { 75, 53, 158, 205},

[53] = { 100, 54, 65, 205},

[54] = { 125, 55, 329, 205},

[55] = { 150, 56, 188, 205},

[56] = { 175, 57, 62, 205},

[57] = { 200, 58, 189, 205},

[58] = { 225, 59, 335, 205},

[59] = { 250, 60, 57, 205},

[70] = { 25, 71, 102, 124},

[71] = { 50, 72, 103, 124},

[72] = { 75, 73, 105, 124},

[73] = { 100, 74, 107, 124},

[74] = { 150, 75, 108, 124},

[75] = { 175, 76, 314, 124},

[76] = { 225, 77, 315, 124},

[77] = { 250, 78, 333, 124},

[90] = { 25, 91, 331, 209},

[91] = { 50, 92, 69, 209},

[92] = { 75, 93, 70, 209},

[93] = { 100, 94, 199, 209},

[94] = { 150, 95, 196, 209},

[95] = { 175, 96, 197, 209},

[96] = { 225, 97, 198, 209},

[97] = { 250, 98, 332, 209},

[97] = { 250, 98, 332, 209},

[110] = { 25, 111, 88, 187},

[111] = { 75, 112, 341, 187},

[112] = { 100, 113, 343, 187},

[113] = { 150, 114, 342, 187},

[114] = { 200, 115, 344, 187},

[115] = { 250, 116, 345, 187},

[130] = { 25, 131, 296, 124},

[131] = { 75, 132, 297, 124},

[132] = { 150, 133, 298, 124},

[133] = { 200, 134, 299, 124},

[134] = { 250, 135, 300, 124},

[150] = { 25, 151, 384, 126},

[151] = { 75, 152, 385, 126},

[152] = { 150, 153, 386, 126},

[153] = { 200, 154, 396, 126},

[170] = { 25, 171, 97, 108},

[171] = { 50, 172, 285, 108},

[172] = { 75, 173, 282, 108},

[173] = { 100, 174, 98, 108},

[174] = { 125, 175, 284, 109},

[175] = { 150, 176, 99, 109},

[176] = { 200, 177, 283, 109},

[190] = { 25, 191, 373, 4},

[191] = { 75, 192, 374, 4},

[192] = { 125, 193, 375, 4},

[193] = { 150, 194, 376, 4},

[194] = { 200, 195, 318, 4},

[195] = { 250, 196, 377, 4},

[200] = { 25, 201, 11, 10},

[201] = { 50, 202, 287, 10},

[202] = { 75, 203, 12, 10},

[203] = { 125, 204, 10, 10},

[204] = { 150, 205, 289, 10},

[205] = { 175, 206, 288, 10},

[206] = { 200, 207, 13, 10},

[207] = { 250, 208, 14, 10},

[208] = { 350, 1, 124, 10},

}

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

 

 

 

Espero que funcione!

 

 

 

 

 

Espero que funcione!

Link para o comentário
Compartilhar em outros sites

Certo Roksas, Mais Olha agora eu quero adiciona tipo assim, pro mlk qd chegar lv 350

e dizer transformar fica com a proxima roupa que eu vo colocar no do naruto tpo no caso

do naruto a que eu quero por do 350 e a newtype 124, do sasuke 37 e assim vai indo entende?

como eu faço isso

Link para o comentário
Compartilhar em outros sites

cara tpo assim eu tenho as sprite certo das transform do 350, so que eu quero colocar elas no server

no caso dakela pasta la da transform so tem até o 275

eu quero adiciona uma nova que é do 350 entende?

eu quero saber como fazer isso, eu ja tenhu as newtype ou seja as outfit, a sprite delas.

Link para o comentário
Compartilhar em outros sites

Eu ja adicionei as sprite manow, agora eu quero adicionar a transformação ou seja voce não ta entendendo

olha é assim

na pasta transformar.lua as transforms só vai até 275 então dai eu quero criar uma outra embaixo

no caso do personagem naruto eu quero criar uma nova transform pra ele 350 eu ja adicionei as sprite.

eu tenho ela no jogo, tenhu o numero da outfit

só quero saber o que fazer para colocar as transform pq la diz que precisa do level,nova voc, looktype, e o efeito

eu ja sei o level,looktype, e o efeito falta o tal de id da nova voc.

 

Eu ja adicionei as sprite manow, agora eu quero adicionar a transformação ou seja voce não ta entendendo

olha é assim

na pasta transformar.lua as transforms só vai até 275 então dai eu quero criar uma outra embaixo

no caso do personagem naruto eu quero criar uma nova transform pra ele 350 eu ja adicionei as sprite.

eu tenho ela no jogo, tenhu o numero da outfit

só quero saber o que fazer para colocar as transform pq la diz que precisa do level,nova voc, looktype, e o efeito

eu ja sei o level,looktype, e o efeito falta o tal de id da nova voc.

 

As Sprites eu consegui fazer ontem msm, O Caso agora é a transformação para colocar no servidor com as sprite entende

ja tem skill td só falta colocar a sprite como transformação

Link para o comentário
Compartilhar em outros sites

Bom, Entrei No Meu Server meu amigo crio um naruto eu upei ele até o 275 ai td bem a transform, ai upei

ate o 350 e nm tem a transformação de 350 ele diz que ja ta na transformação da sua atual saga

entende cara agente tem que colocar aqui óh.

 

 

[1] = { 25, 2, 66, 208},

[2] = { 50, 3, 91, 208},

[3] = { 75, 4, 18, 208},

[4] = { 100, 5, 31, 208},

[5] = { 125, 6, 92, 208},

[6] = { 150, 7, 40, 208},

[7] = { 175, 8, 305, 208},

[8] = { 200, 9, 320, 208},

[9] = { 225, 10, 179, 208},

[10] = { 250, 11, 394, 208},

[11] = { 275, 12, 397, 208},

 

o naruto só tem isso

 

até o lv 275 ta faltando incluir a do 350 seria mais ou menos assim axo

 

[12] = {350, 13, 124, 208},

 

entende? eu só sei q os q tá certo é o 350, o 124 e o 208 o 13 eu nm tenhu ctz pq nn sei oq é

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...