Ir para conteúdo

brunin86

Artesão
  • Total de itens

    101
  • Registro em

  • Última visita

Tudo que brunin86 postou

  1. Eu estava lendo um tutorial de lógica de programação do @Diogo em que nele falava sobre coisas que me interessei Eu queria pedir pra continuar o tutorial, trazendo + informações. Att, Bruno
  2. Também acho @topic Vou dar uma dica: Coloque um pouco mais de cor nos seus tutoriais e/ou textos pra deixar um tom mais alegre, e separar coisas de coisas.
  3. @Laaay Conhece sim ! '-', vc fica pedindo os script :S @Up (Laaay) Tenta colocar esse petSystemExhaustion = 0 --in secods, 0 = no exhausted. frases = {"Men, im still exhausted!", "Ok, in one momment", "afff, again?!", "meh, one second"} lenght = 39 -- maximun lenght the !petsay can have... manaGainTicks = 3000 -- --how fast the pet gains mana manaGainAmmount = 20 --// manaGainPerLevel = 30 -- mana that gains the pet for each level the player gain magicLevelRate = 10 -- how faster the pet will gain mlvl compared to real tibia,, base = 2000 --base storage. All storages will depend of this number storages = { petMag = base, petUid = base+1, petExha = base+2, petDamage = base+3, petManaSpent = base+4, petIsOnline = base+5, petMana = base+6, petIsHealing = base+7, petCap = base+8, petSystemExhaustion = base+9 } petItems = {} maxItems = 10 --Max items the pet can carry --lol V x = 0 y = function() x = x + 1 end table.foreach(storages, y) for i = 1, maxItems do petItems[i] = base+x+i end --Pets, dependiong on the level pets = { {vocations = {4, 8}, pets = {{level = 350, name = "Juggernaut"}, {level = 255, name = "Dark Torturer"}, {level = 190, name = "Hellfire Fighter"}, {level = 120, name = "Hydra"}, {level = 80, name = "Quara Hydromancer"}, {level = 50, name = "Cyclops Smith"}, {level = 40, name = "Demon Skeleton"}, {level = 30, name = "Barbarian Skullhunter"}, {level = 20, name = "Monk"}, {level = 10, name = "Bear"}, {level = 0, name = "Wolf"}} }, {vocations = {1, 5}, pets = {{level = 7, name = "Ferumbras"}, {level = 260, name = "Demon"}, {level = 180, name = "Betrayed Wraith"}, {level = 120, name = "Diabolic Imp"}, {level = 80, name = "Braindeath"}, {level = 50, name = "Ice Golem"}, {level = 40, name = "Acolyte Of The Cult"}, {level = 30, name = "Barbarian Headsplitter"}, {level = 20, name = "Dark Monk"}, {level = 10, name = "Polar Bear"}, {level = 0, name = "Cave Rat"}} }, {vocations = {2, 6}, pets = {{level = 7, name = "Ferumbras"}, {level = 260, name = "Hand of Cursed Fate"}, {level = 175, name = "Phantasm"}, {level = 120, name = "Frost Dragon"}, {level = 80, name = "Massive Water Elemental"}, {level = 50, name = "Water Elemental"}, {level = 40, name = "Dwarf Geomancer"}, {level = 30, name = "Barbarian Brutetamer"}, {level = 20, name = "Assassin"}, {level = 10, name = "Lion"}, {level = 0, name = "Rat"}} }, {vocations = {3, 7}, pets = {{level = 350, name = "Orshabaal"}, {level = 260, name = "Plaguesmith"}, {level = 185, name = "Destroyer"}, {level = 120, name = "Dragon Lord"}, {level = 80, name = "Quara Hydromancer Scout"}, {level = 50, name = "Orc Leader"}, {level = 40, name = "Elf Arcanist"}, {level = 30, name = "Barbarian Bloodwalker"}, {level = 20, name = "Hunter"}, {level = 10, name = "Panda"}, {level = 0, name = "Bat"}} } } --attacks of the pet. !petattack "param --It's pretty easy how to config, I think it doesn't need an extra explanation. attacks = {{param = "m1", theFunction = false, offensive = 1, needLevel = 1, self = 0, needMag = 0, manaSpent = 1, exhausted = 1, range = 6, combatType = COMBAT_ENERGYDAMAGE, combatAni = CONST_ME_ENERGYAREA, area = 2, formula = {maxb = 0.4, maxa = 30, minb = 0.2, mina = 0}, }, {param = "m2", theFunction = false, offensive = 1, needLevel = 1, self = 0, needMag = 0, manaSpent = 1, exhausted = 1, range = 0, combatType = COMBAT_PHYSICALDAMAGE, combatAni = CONST_ME_HITAREA, area = 2, formula = {maxb = 0.6, maxa = 30, minb = 1.2, mina = 0}, }, {param = "m3", theFunction = false, offensive = 1, needLevel = 1, self = 0, needMag = 0, manaSpent = 100, exhausted = 1, range = 3, combatType = COMBAT_FIREDAMAGE, combatAni = CONST_ME_FIREAREA, area = 1, formula = {maxb = 0.6, maxa = 30, minb = 1.2, mina = 0} }, {param = "m4", theFunction = false, offensive = 1, needLevel = 0, self = 0, needMag = 0, manaSpent = 1, exhausted = 1, range = 1, combatType = COMBAT_ENERGYDAMAGE, combatAni = CONST_ME_ENERGYAREA, area = 1, formula = {maxb = 0.13, maxa = 0, minb = 0.262, mina = 0} }, {param = "m5", theFunction = false, offensive = -1, needLevel = 1, self = 1, needMag = 0, manaSpent = 1, exhausted = 2, range = 0, combatType = COMBAT_HEALING, combatAni = CONST_ME_MAGIC_BLUE, area = 1, formula = {maxb = 0.4, maxa = 20, minb = 0.7, mina = 0} }, {param = "m6", theFunction = false, offensive = 1, needLevel = 1, self = 0, needMag = 0, manaSpent = 1, exhausted = 2, range = 0, combatType = COMBAT_ICEDAMAGE, combatAni = CONST_ANI_FIRE, area = 8, formula = {maxb = 1.0, maxa = 50, minb = 1.7, mina = 0} }, {param = "paralize", needLevel = 1, needMag = 0, manaSpent = 300, exhausted = 2, theFunction = function (parameters) daPet = getPlayerStorageValue(parameters.cid, storages.petUid) if getCreatureTarget(daPet) ~= 0 then doAddCondition(getCreatureTarget(parameters.cid), 4) end end }, {param = "speed", needLevel = 10, needMag = 4, manaSpent = 60, exhausted = 2, theFunction = function (parameters) doAddCondition(getPlayerStorageValue(parameters.cid, storages.petUid), 11) end }, {param = "double fire", needLevel = 1, needMag = 0, manaSpent = 220, exhausted = 2, theFunction = function (parameters) local myAttack = formulaAttack(getPlayerLevel(parameters.cid), getPlayerStorageValue(parameters.cid, storages.petMag), 0.7, 0, 1.0, 0) function doAreaCombatHealthEx(params) local randoms = {[1] = math.random(-2, 2), [2] = math.random(-2, 2) } local attackCreature = getPlayerStorageValue(parameters.cid, storages.petUid) if getCreatureTarget(getPlayerStorageValue(parameters.cid, storages.petUid)) ~= 0 then attackCreature = getCreatureTarget(getPlayerStorageValue(parameters.cid, storages.petUid)) end local posa = getCreaturePosition(attackCreature) doAreaCombatHealth(getPlayerStorageValue(parameters.cid, storages.petUid), COMBAT_FIREDAMAGE, {x = posa.x + randoms[1], y = posa.y + randoms[2], z = posa.z}, 1, -params.myAttack.minD, -params.myAttack.maxD, CONST_ME_FIREAREA) doSendDistanceShoot(getCreaturePosition(getPlayerStorageValue(parameters.cid, storages.petUid)), {x = posa.x + randoms[1], y = posa.y + randoms[2], z = posa.z}, CONST_ANI_FIRE) end doAreaCombatHealthEx({cid = parameters.cid, target = getCreaturePosition(attackCreature), myAttack = myAttack}) for i = 1, 7 do addEvent(doAreaCombatHealthEx, 200*i, {cid = parameters.cid, target = getCreaturePosition(attackCreature), myAttack = myAttack}) end end } } function setExhausted(cid) setPlayerStorageValue(cid, storages.petSystemExhaustion, os.clock()+1) end function formulaAttack(magicLevel, level, maxb, maxa, minb, mina) return {minD = (level * 2 + magicLevel * 3) * (1 + mina) + minb, maxD = (level * 2 + magicLevel * 3) * (1 + maxb) + maxa } end function isExhausted(cid) if isPlayer(cid) == 1 then local CRONOMETRO = getPlayerStorageValue(cid, storages.petSystemExhaustion) local CRONOMETRO2 = os.clock() local TIEMPO = os.difftime(CRONOMETRO2, CRONOMETRO) if petSystemExhaustion - TIEMPO > petSystemExhaustion or CRONOMETRO == -1 then setPlayerStorageValue(cid, storages.petSystemExhaustion, CRONOMETRO2+1) return 0 end if petSystemExhaustion - TIEMPO <= 0 then return 0 end end return 1 end function addMana(a) local cid = a.cid local petManaMax = getPlayerLevel(cid)*manaGainPerLevel if getPlayerStorageValue(cid, storages.petMana) < petManaMax then if petManaMax - getPlayerStorageValue(cid, storages.petMana) < 10 then setPlayerStorageValue(cid, storages.petMana, getPlayerStorageValue(cid, storages.petMana) + petManaMax - getPlayerStorageValue(cid, storages.petMana)) else setPlayerStorageValue(cid, storages.petMana, getPlayerStorageValue(cid, storages.petMana) + 10) end addEvent(addMana, manaGainTicks, {cid = cid}) else setPlayerStorageValue(cid, storages.petIsHealing, 0) end end Se não funcionar, posta aí, pq to cum preguiça de entrar no msn. ._. bYe.
  4. @Topic' Se vc tem o pet system, vc vai ver que no arquivo "petConfig.lua" tem tipo uma tabela de ataques. No original vai estar: !petattack "nome do poder ( que esta escrito lá ). ex: !petattack "mini exori aí o pet manda um mini exori. Se não der conta, posta aí q eu faço um tuto completo '
  5. equipe inteira vaga mano auhauhsuh acho q n progride
  6. Nossa, q foda '--'. seguinte, eu n peguei esse script no fórum, eu consegui com um colega, e postei, eu vi que ja tinha, refiz um tópico e adicione Go/Back. O Pet config vc acha nos tópicos de Pet System aqui no fórum . Mais como sou deboa vou postá-lo Petconfig.lua petSystemExhaustion = 0 --in secods, 0 = no exhausted. frases = {"Men, im still exhausted!", "Ok, in one momment", "afff, again?!", "meh, one second"} lenght = 39 -- maximun lenght the !petsay can have... manaGainTicks = 3000 -- --how fast the pet gains mana manaGainAmmount = 20 --// manaGainPerLevel = 30 -- mana that gains the pet for each level the player gain magicLevelRate = 10 -- how faster the pet will gain mlvl compared to real tibia,, base = 2000 --base storage. All storages will depend of this number storages = { petMag = base, petUid = base+1, petExha = base+2, petDamage = base+3, petManaSpent = base+4, petIsOnline = base+5, petMana = base+6, petIsHealing = base+7, petCap = base+8, petSystemExhaustion = base+9 } petItems = {} maxItems = 10 --Max items the pet can carry --lol V x = 0 y = function() x = x + 1 end table.foreach(storages, y) for i = 1, maxItems do petItems[i] = base+x+i end --Pets, dependiong on the level pets = { {vocations = {4, 8}, pets = {{level = 350, name = "Juggernaut"}, {level = 255, name = "Dark Torturer"}, {level = 190, name = "Hellfire Fighter"}, {level = 120, name = "Hydra"}, {level = 80, name = "Quara Hydromancer"}, {level = 50, name = "Cyclops Smith"}, {level = 40, name = "Demon Skeleton"}, {level = 30, name = "Barbarian Skullhunter"}, {level = 20, name = "Monk"}, {level = 10, name = "Bear"}, {level = 0, name = "Wolf"}} }, {vocations = {1, 5}, pets = {{level = 7, name = "Ferumbras"}, {level = 260, name = "Demon"}, {level = 180, name = "Betrayed Wraith"}, {level = 120, name = "Diabolic Imp"}, {level = 80, name = "Braindeath"}, {level = 50, name = "Ice Golem"}, {level = 40, name = "Acolyte Of The Cult"}, {level = 30, name = "Barbarian Headsplitter"}, {level = 20, name = "Dark Monk"}, {level = 10, name = "Polar Bear"}, {level = 0, name = "Cave Rat"}} }, {vocations = {2, 6}, pets = {{level = 7, name = "Ferumbras"}, {level = 260, name = "Hand of Cursed Fate"}, {level = 175, name = "Phantasm"}, {level = 120, name = "Frost Dragon"}, {level = 80, name = "Massive Water Elemental"}, {level = 50, name = "Water Elemental"}, {level = 40, name = "Dwarf Geomancer"}, {level = 30, name = "Barbarian Brutetamer"}, {level = 20, name = "Assassin"}, {level = 10, name = "Lion"}, {level = 0, name = "Rat"}} }, {vocations = {3, 7}, pets = {{level = 350, name = "Orshabaal"}, {level = 260, name = "Plaguesmith"}, {level = 185, name = "Destroyer"}, {level = 120, name = "Dragon Lord"}, {level = 80, name = "Quara Hydromancer Scout"}, {level = 50, name = "Orc Leader"}, {level = 40, name = "Elf Arcanist"}, {level = 30, name = "Barbarian Bloodwalker"}, {level = 20, name = "Hunter"}, {level = 10, name = "Panda"}, {level = 0, name = "Bat"}} } } --attacks of the pet. !petattack "param --It's pretty easy how to config, I think it doesn't need an extra explanation. attacks = {{param = "a1", theFunction = false, offensive = 1, needLevel = 1, self = 0, needMag = 0, manaSpent = 1, exhausted = 1, range = 6, combatType = COMBAT_ENERGYDAMAGE, combatAni = CONST_ME_ENERGYAREA, area = 2, formula = {maxb = 0.4, maxa = 30, minb = 0.2, mina = 0}, }, {param = "a2", theFunction = false, offensive = 1, needLevel = 1, self = 0, needMag = 0, manaSpent = 1, exhausted = 1, range = 0, combatType = COMBAT_PHYSICALDAMAGE, combatAni = CONST_ME_HITAREA, area = 2, formula = {maxb = 0.6, maxa = 30, minb = 1.2, mina = 0}, }, {param = "a3", theFunction = false, offensive = 1, needLevel = 1, self = 0, needMag = 0, manaSpent = 100, exhausted = 1, range = 3, combatType = COMBAT_FIREDAMAGE, combatAni = CONST_ME_FIREAREA, area = 1, formula = {maxb = 0.6, maxa = 30, minb = 1.2, mina = 0} }, {param = "a4", theFunction = false, offensive = 1, needLevel = 0, self = 0, needMag = 0, manaSpent = 1, exhausted = 1, range = 1, combatType = COMBAT_ENERGYDAMAGE, combatAni = CONST_ME_ENERGYAREA, area = 1, formula = {maxb = 0.13, maxa = 0, minb = 0.262, mina = 0} }, {param = "a5", theFunction = false, offensive = -1, needLevel = 1, self = 1, needMag = 0, manaSpent = 1, exhausted = 2, range = 0, combatType = COMBAT_HEALING, combatAni = CONST_ME_MAGIC_BLUE, area = 1, formula = {maxb = 0.4, maxa = 20, minb = 0.7, mina = 0} }, {param = "a6", theFunction = false, offensive = 1, needLevel = 1, self = 0, needMag = 0, manaSpent = 1, exhausted = 2, range = 0, combatType = COMBAT_ICEDAMAGE, combatAni = CONST_ANI_FIRE, area = 8, formula = {maxb = 1.0, maxa = 50, minb = 1.7, mina = 0} }, {param = "paralize", needLevel = 1, needMag = 0, manaSpent = 300, exhausted = 2, theFunction = function (parameters) daPet = getPlayerStorageValue(parameters.cid, storages.petUid) if getCreatureTarget(daPet) ~= 0 then doAddCondition(getCreatureTarget(parameters.cid), 4) end end }, {param = "speed", needLevel = 10, needMag = 4, manaSpent = 60, exhausted = 2, theFunction = function (parameters) doAddCondition(getPlayerStorageValue(parameters.cid, storages.petUid), 11) end }, {param = "double fire", needLevel = 1, needMag = 0, manaSpent = 220, exhausted = 2, theFunction = function (parameters) local myAttack = formulaAttack(getPlayerLevel(parameters.cid), getPlayerStorageValue(parameters.cid, storages.petMag), 0.7, 0, 1.0, 0) function doAreaCombatHealthEx(params) local randoms = {[1] = math.random(-2, 2), [2] = math.random(-2, 2) } local attackCreature = getPlayerStorageValue(parameters.cid, storages.petUid) if getCreatureTarget(getPlayerStorageValue(parameters.cid, storages.petUid)) ~= 0 then attackCreature = getCreatureTarget(getPlayerStorageValue(parameters.cid, storages.petUid)) end local posa = getCreaturePosition(attackCreature) doAreaCombatHealth(getPlayerStorageValue(parameters.cid, storages.petUid), COMBAT_FIREDAMAGE, {x = posa.x + randoms[1], y = posa.y + randoms[2], z = posa.z}, 1, -params.myAttack.minD, -params.myAttack.maxD, CONST_ME_FIREAREA) doSendDistanceShoot(getCreaturePosition(getPlayerStorageValue(parameters.cid, storages.petUid)), {x = posa.x + randoms[1], y = posa.y + randoms[2], z = posa.z}, CONST_ANI_FIRE) end doAreaCombatHealthEx({cid = parameters.cid, target = getCreaturePosition(attackCreature), myAttack = myAttack}) for i = 1, 7 do addEvent(doAreaCombatHealthEx, 200*i, {cid = parameters.cid, target = getCreaturePosition(attackCreature), myAttack = myAttack}) end end } } function setExhausted(cid) setPlayerStorageValue(cid, storages.petSystemExhaustion, os.clock()+1) end function formulaAttack(magicLevel, level, maxb, maxa, minb, mina) return {minD = (level * 2 + magicLevel * 3) * (1 + mina) + minb, maxD = (level * 2 + magicLevel * 3) * (1 + maxb) + maxa } end function isExhausted(cid) if isPlayer(cid) == 1 then local CRONOMETRO = getPlayerStorageValue(cid, storages.petSystemExhaustion) local CRONOMETRO2 = os.clock() local TIEMPO = os.difftime(CRONOMETRO2, CRONOMETRO) if petSystemExhaustion - TIEMPO > petSystemExhaustion or CRONOMETRO == -1 then setPlayerStorageValue(cid, storages.petSystemExhaustion, CRONOMETRO2+1) return 0 end if petSystemExhaustion - TIEMPO <= 0 then return 0 end end return 1 end function addMana(a) local cid = a.cid local petManaMax = getPlayerLevel(cid)*manaGainPerLevel if getPlayerStorageValue(cid, storages.petMana) < petManaMax then if petManaMax - getPlayerStorageValue(cid, storages.petMana) < 10 then setPlayerStorageValue(cid, storages.petMana, getPlayerStorageValue(cid, storages.petMana) + petManaMax - getPlayerStorageValue(cid, storages.petMana)) else setPlayerStorageValue(cid, storages.petMana, getPlayerStorageValue(cid, storages.petMana) + 10) end addEvent(addMana, manaGainTicks, {cid = cid}) else setPlayerStorageValue(cid, storages.petIsHealing, 0) end end Se continuar não dando certo, me avise !
  7. Bom galerinha, todo mundo que pretende criar um otserver de pokemon, com certeza procura muito pelo script do catch exatamente igual ao do server da SvkE. vi um colega que postou o mesmo script só que não postou o Go/Back, só o Catch. Agora vou disponibiliza-lo para vcs Testei com o .spr e o .dat do pokemon que eu achei aqui no fórum -----------------------------. Para contato : brunin.1420@hotmail.com Obs.: Adicione se ouver erros. -----------------------------. Primeiramente, para facilitar, download : Catch System ' bY: PnO ' TeaM Guia de Instalação: • Extraia na pasta onde o arquivo foi salvado, copie tudo que a dentro da pasta data\actions\SCRIPTS e cole na pasta data\actions\scripts do seu ot. • Depois abra o arquivo actions.xml, copie tudo que a dentro e cole la na actions.xml do seu ot. -----------------------------. Vamo lá . Catch System . Primeiramente, vá em PastaDoOt\data\actions\scripts Copie um arquivo .lua, renomeie-o para pokeball.lua Abra este arquivo e apague tudo que a dentro dele. E coloque isso: Legenda: E para adicionar para poder capturar mais monsters, pule uma linha e adicione isso: Legenda: Adicione isso para todos os monsters que poderão ser possíveis de capturar. Lembrando que tem sempre de mudar o ID do Corpse, o ID do Item que será adicionado ao player e de preferência, a Chance de Capturar. Quando terminar, adicione no final: end return TRUE end Ficando assim: function onUse(cid, item, fromPosition, itemEx, toPosition) if itemEx.itemid == 6008 then if math.random(1,100) >= 1 then doRemoveItem(itemEx.uid) doDecayItem(itemEx.uid) doSendMagicEffect(toPosition, 24) doRemoveItem(item.uid, 1) doPlayerAddItem(cid, 2147,1) else doRemoveItem(itemEx.uid) doRemoveItem(item.uid, 1) doSendMagicEffect(toPosition, 23) end elseif itemEx.itemid == 3013 then if math.random(1,100) >= 99 then doRemoveItem(itemEx.uid) doDecayItem(itemEx.uid) doSendMagicEffect(toPosition, 24) doRemoveItem(item.uid, 1) doPlayerAddItem(cid, 2487,1) else doRemoveItem(itemEx.uid) doRemoveItem(item.uid, 1) doSendMagicEffect(toPosition, 23) end end return TRUE end Depois de feito, fexe e salve. Volte a pasta: PastaDoOt\data\actions Clique com o direito no arquivo actions.xml > Abrir com... > Bloco de Notas, Adicione essa linha: Legenda: Fexe e Salve. -----------------------. Go/Back Bom, Agora o Go/Back Vá em PastaDoOt\data\actions\scripts e crie uma pasta chamada : pokes dentro dela, crie um arquivo .lua com o nome do pokemon e adicione isso dentro: Legenda: Depois volte a pasta actions abra o actions.xml como bloco de notas e adicione esta linha: Legenda: Adicione para quantos monsters vc quiser. Bom Galera, aconselho baixar o data pronto, porq se não vai demorar pra adicionar todos. ------------------------. Demorou para eu fazer este tutorial, então espero que tenham gostado ! Obs.: Não reclame que está mal arrumado, desorganizado, etc. pq era pra ser ' code ' e ' quote ', e com ' code ' não tem jeito de colorir, então coloquei só ' quote '. É isso ai, obrigado pela visualização. ------------------------. Credits :] brunin86 (eu) -> Catch System e Post Luiz (msn) -> Go/Back ------------------------. EnjoY. Att, Bruno.
  8. - Organizado - Bem explicado. Obrigado por compartilhar com a gente <; REP+
  9. Galera,peço pra vcs que me ajudem por favor. Vídeo Bom, peço que vcs editem um script para q quando eu executasse tal ação, no caso, dar use no corpse do pidgeot (como no video a cima), e o carinha mudasse de outfit e o pet desaparecesse. Abaixo, o script: -- Montaria system by Chain local function montar(parametros) cid = params[1] if getPlayerStorageValue(cid, 5555) == 1 then setPlayerStorageValue(cid,montado,-1) doPlayerSendTextMessage(cid,22,"Voce desceu da montaria.") if voc == 1 or voc == 5 then elseif voc == 2 or voc == 6 then elseif voc == 3 or voc == 7 then elseif voc == 4 or voc == 8 then end end end function onUse(cid, item, frompos, item2, itemEx, topos) --Configs-- local mount_creature = 3001-- id do corpo da criatura local vipstorage = 1111 -- id do storagevalue do vip local voc = getPlayerVocation(cid) local sex = getPlayerSex(cid) params = { [1]=cid, [2]=lvl, [3]=voc, [4]=ml } roupamontado1 = {lookType = 222} roupamontado2 = {lookType = 222} roupamontado3 = {lookType = 222} roupamontado4 = {lookType = 222} local speed = 40 getCreatureSpeed(cid) montado = getPlayerStorageValue(cid,5555) vip = getPlayerStorageValue(cid,vipstorage) --end of configs-- --ACTION TIME!-- if item.itemid == mount_creature then addEvent(montar, 120000, params) --Sorc if voc == 1 or voc == 5 then doCreatureSay(cid, "Pidgeot, Let's Fly!", TALKTYPE_SAY) setPlayerStorageValue(cid,montado,1) doChangeSpeed(cid, speed) doRemoveItem(item.uid, 1) doSendMagicEffect(roupamontado1, 14) doSetCreatureOutfit(cid,roupamontado1, 120000) --Druid elseif voc == 2 or voc == 6 then doCreatureSay(cid, "Pidgeot, Let's Fly!", TALKTYPE_SAY) setPlayerStorageValue(cid,montado,1) doChangeSpeed(cid, speed) doRemoveItem(item.uid, 1) doSendMagicEffect(roupamontado1, 14) doSetCreatureOutfit(cid,roupamontado2, 120000) --Pally elseif voc == 3 or voc == 7 then doCreatureSay(cid, "Pidgeot, Let's Fly!", TALKTYPE_SAY) setPlayerStorageValue(cid,montado,1) doChangeSpeed(cid, speed) doRemoveItem(item.uid, 1) doSendMagicEffect(roupamontado1, 14) doSetCreatureOutfit(cid,roupamontado3, 120000) --Kina elseif voc == 4 or voc == 8 then doCreatureSay(cid, "Pidgeot, Let's Fly!", TALKTYPE_SAY) setPlayerStorageValue(cid,montado,1) doChangeSpeed(cid, speed) doRemoveItem(item.uid, 1) doSendMagicEffect(roupamontado1, 14) doSetCreatureOutfit(cid,roupamontado4, 120000) --No Voc elseif voc == 0 then doPlayerSay(cid,"Eu nao tenho voc!", 17) --- else return 0 end end return TRUE end Acho que tem algo a ver com: setPlayerStorageValue(cid, storages.petIsOnline, 1) doRemoveCreature(daPet) mas isso /\ não sei onde ponho, me ajudem, por favor
  10. Claro que tem, é só vc baixar o SprEditor, Extrair todos os sprites do tibia normal, e depois baixar o tibia.spr do pokemon, extrair tudo denovo em outra pasta, e trocar os monstros. " Eu tinha feito um tutorial aqui pra responder a uns 5 dias, mas eu apertei F5 sem querer e apagou tudo, tava tudo bem explicado, com site de downloads, etc" . Tem jeito sim, mas para isso aconselho uma equipe ":S" só pra minha equipe achar o pokeball system igual o da SvkE deu trabalho, e ainda teve que editar algumas coisas, o ride nós não achamos até agora, e o fly ja ta pronto, por isso aconselho uma equipe completa pra ajudá-lo '--'. Crie uma equipe no site:xTibia - Formação de Equipes Só precisa trocar o tibia.spr do tibia normal com o tibia.spr do pokemon
  11. @Up Não é O script, são OS scripts '--' infelizmente são mais de 1, aqui estão PetConfig.lua !pet !petattack !petcarry !petgetitem !petinfo !petsay Só esses '--'. Tenta aew x)
  12. brunin86

    Spells Para Pet's

    Queria um script que fizesse com que o pet, executasse um Spell, no estilo de m1,m2,m3,m4,m5,m6,m7,m8. Igual a do Pokemon Online Desde Já, Thx att, Bruno
  13. " Pet Não Acompanha " ( anda junto ) com o dono Para o meu projeto de pokemon, preciso que o pet acompanhe o dono '--', se não vai ter que voltar e esperar ele chegar e depois andar de novo. Vídeo para verem melhor:
  14. Bom galera, para o andamento do projeto de pokemon da minha equipe, queria pedir para vocês um Ride System. Desse estilo : Explicando Exemplo, você "solta o pokemon ( que tem outfit de ride )", e depois da use em um item use with e clica no seu char, e imediatamente o pokemon que você soltou desaparece, e você muda pra um outfit do pokemon com o char montado em cima. Para saber que não é impossível fazer Olhem este vídeo >http://www.youtube.com/watch?v=Tw0vAxcFvhg É isso galera, espero que me ajudem, estou faz semanas procurando no xtibia e não achei. Por Favor, Me Ajudem. Atenciosamente, Bruno
  15. Vou testar a teoria d vcs, qualquer coisa eu edito aqui _ Edit _ Eu testei as 2 teorias, e somente a do @LeoPupin funcionou +REP por ter me ajudado, e tbm ( mas infelizmente só amanha, então amanha, +REP pro @Demonbholder por tentar me ajudar Obg. Att, Bruno
  16. MINHA DUVIDA JA FOI SANADA, MODERAÇÃO, POR FAVOR FEXEM TÓPICO
  17. brunin86

    [Npc] Healing Pet

    Tipo do script: NPC que Revive ou Heala pet Protocolo (versão do Tibia): Qualquer uma Servidor utilizado: TFS Nível de experiência: Nenhuma Adicionais/Informações: Eu tenho o pet system no meu ot, e queria que quando ele morresse eu ia lá no NPC e falava sómente HI ou Hi, Yes. e Restaurava toda a minha life e revivia o pet ou Healava ele. Como dito em Adicionais/Informações, Eu tenho o pet system no meu ot, e queria que quando ele morresse eu ia lá no NPC e falava sómente HI ou Hi, Yes. e Restaurava toda a minha life e revivia o pet ou Healava ele. Atenciosamente, [PNO] Bruno
  18. @caiocesar2 kkkk boa. põe lá, gay tbm tem q ser feliz neh verdade ?
  19. Vou editar com o script então chorão
  20. Galera preciso da ajuda de vcs. Estou com o script do up e down do flying system q eu acabei hoje, mas não sei como colocar todos pra executar em um só talk igual no do fly system do server da svke q fala h1, dai sobe pro floor 6, fala h1 dnovo sobe pro 5, ateh chegar no 0, preciso da ajuda de vocês para me ajudar a resolver, quem souber fala aí msm ou add msn: brunin.1420@hotmail.com
  21. Agora eh assim, eu tenho o tibia.spr, editado com os negocio do pokemon tudo, dpois eu copio ele, colo la na pasta do tibia, substituo pelo q ta la, e depois qdo vou entrar no ot da debug :x oq eu faço ?
  22. Estou com um problemão, vou contar a história, dias atras decidi a fazer um ot de pokemon, e o projeto foi cancelado por que o meus spriters e meus webdesigners vacilaram comigo, e tbm por motivos familiares meus. Então decidi refazer o projeto, estou com as sprites dos monsters e itens do pokemon mas não sei coloca-los no tibia, pois isso era trabalho dos meus spriters, então preciso da ajuda de vcs. Para o projeto terminar só falta colocar as sprites, arrumar o sistema da pokeball pq tem 2 bugs, e arrumar algumas outras coisas. Ajuda pls x)
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...