Ir para conteúdo

Featured Replies

Postado

BOM GALERA ESTOU COM UM PROBLEMA EU CRIO O POKEMON TUDO NORMAL , MAIS QUANDO LIGO O SERVIDO E VOU TESTA EM /CB O POKEMON FALA QUE NÃO EXISTE . E PDA,

AKI EM BAIXO VOU DEIXAR AS CONF DO POKEMON SE ALGUEM VER O ERRO ME INFORMA AI AONDE ESTOU ERRADO , REP++

 

script do pokemon

Spoiler

<?xml version="1.0" encoding="UTF-8"?>
<monster name="King Altaria" nameDescription="a King Altaria" race="flying" experience="196" speed="145" manacost="0">
    <health now="280" max="280"/>
    <look type="2902" head="15" body="30" legs="95" feet="113" corpse="11939"/>
    <targetchange interval="10000" chance="0"/>
    <strategy attack="100" defense="0"/>
    <flags>
        <flag summonable="1"/>
        <flag attackable="1"/>
        <flag hostile="1"/>
        <flag illusionable="1"/>
        <flag convinceable="1"/>
        <flag pushable="1"/>
        <flag canpushitems="0"/>
        <flag canpushcreatures="0"/>
        <flag targetdistance="1"/>
        <flag staticattack="97"/>
        <flag runonhealth="0"/>
        <flag hungerdelay="22"/>
    </flags>
    <attacks>
        <attack name="melee" interval="2000" chance="100" range="1" min="-50" max="-100"/>
        <attack name="Quick Attack" interval="2617" chance="30" range="1"/>
        <attack name="Sand Attack" interval="2476" chance="31" range="3"/>
        <attack name="Whirlwind" interval="2758" chance="20" range="5"/>
        <attack name="Drill Peck" interval="2852" chance="25" range="1"/>
        <attack name="Wing Attack" interval="2852" chance="20" range="5"/>
        <attack name="Tornado" interval="4852" chance="20" range="4"/>
    </attacks>
    <defenses armor="0" defense="0"/>
    <voices interval="5000" chance="10">
        <voice sentence="King Altaria"/>
    </voices>
    <loot>
        <item id="12200" chance="4000" count="1" countmax="1"/>
        <item id="11453" chance="100" count="1" countmax="1"/>
    </loot>
    <script>
        <event name="Spawn"/>
    </script>
</monster>
 

ATAQUES DO MESMO

Spoiler

          ["King Altaria"] =    {move1 = {name = "Quick Attack", level = 4, cd = 12, dist = 2, target = 1, f = 100, t = "normal"},
          move2 = {name = "Sand Attack", level = 4, cd = 12, dist = 1, target = 0, f = 100, t = "ground"},
          move3 = {name = "Whirlwind", level = 8, cd = 12, dist = 1, target = 0, f = 100, t = "flying"},
          move4 = {name = "Drill Peck", level = 10, cd = 12, dist = 1, target = 1, f = 120, t = "flying"},
          move5 = {name = "Wing Attack", level = 19, cd = 12, dist = 1, target = 0, f = 100, t = "flying"},
          move6 = {name = "Hurricane", level = 24, cd = 15, dist = 1, target = 0, f = 100, t = "flying"},
          move7 = {name = "Tornado", level = 24, cd = 20, dist = 1, target = 0, f = 100, t = "flying"},
          move8 = {name = "Agility", level = 42, cd = 40, dist = 1, target = 0, f = 0, t = "flying"},
          move9 = {name = "Roost", level = 42, cd = 40, dist = 1, target = 0, f = 0, t = "flying"},
          move10 = {name = "Flare Blitz", level = 12, cd = 12, dist = 1, target = 0, f = 100, t = "fire"},
         },

FLY

Spoiler

["King Altaria"] = {2554, 80000},

FORÇA ATTK SPEED ETC.

Spoiler

["King Altaria"] = {offense = 180, defense = 250, specialattack = 250, vitality = 50, agility = 240, exp = 300, level = 200, wildLvl = 200, type = "fly", type2 = "no type"},

FOTO

Spoiler

["King Altaria"] = 0,     < TA 0 pq to sem a foto dela ai to usando 0 pois a 0 é um imagem preta, ja usei em outros pokemon e não bugaram

New Pokedex

Spoiler

["King Altaria"] = {gender = 500, level = 100, storage = 9000223, stoCatch = 900965},

Old Pokedex

Spoiler

{"King Altaria", 100, 40221},

FLY COMANDOS

Spoiler


["fly"] = {"King Altaria", "Obscure Dragonite", "Red Togekiss", "Shiny Flygon", "Shiny Togekiss", "Ancient Zekrom", "Squad Flygon", "Togekiss", "Xatu", "Black Mega Aerodactyl",  "Heracross", "Farfetchd", "Power Farfetchd", "Mega Charizard X", "Shiny Tropius", "Shiny Farfetchd", "Noctowl", "Dragonair", "Shiny Dragonair", "Porygon", "Aerodactyl", "Dragonite", "Charizard", "Pidgeot", "Fearow", "Zapdos", "Moltres", "Articuno", "Thunder Zapdos", "Burned Moltres", "Frozen Articuno", "Mew", "Mewtwo", "Power Mewtwo", "Shiny Dragonite", "Shiny Charizard", "Shiny Pidgeot", "Shiny Fearow", "Porygon2", "Skarmory", "Crobat", "Shiny Mew", "Shiny Mewtwo", "Shiny Zapdos", "Shiny Moltres", "Shiny Articuno", "Shiny Zekrom", "Black Articuno","Tropius","Salamence","Red Salamence","Mega Mewtwo","Mega Charizard"},

 

Editado por iury alves potter (veja o histórico de edições)

  • Respostas 7
  • Visualizações 617
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • Amigo, mande por favor o script de dentro da pasta de Talkactions !

  • Envie data/talkactions/createpokeball.lua

  • Bom amigo, eu vejo aqui que parece que você está adicionando o pokemon errado :x Tente seguir esse tutorial:  

Postado
19 minutos atrás, iury alves potter disse:

BOM GALERA ESTOU COM UM PROBLEMA EU CRIO O POKEMON TUDO NORMAL , MAIS QUANDO LIGO O SERVIDO E VOU TESTA EM /CB O POKEMON FALA QUE NÃO EXISTE . E PDA,

AKI EM BAIXO VOU DEIXAR AS CONF DO POKEMON SE ALGUEM VER O ERRO ME INFORMA AI AONDE ESTOU ERRADO , REP++

 

script do pokemon

  Mostrar conteúdo oculto

<?xml version="1.0" encoding="UTF-8"?>
<monster name="King Altaria" nameDescription="a King Altaria" race="flying" experience="196" speed="145" manacost="0">
    <health now="280" max="280"/>
    <look type="2902" head="15" body="30" legs="95" feet="113" corpse="11939"/>
    <targetchange interval="10000" chance="0"/>
    <strategy attack="100" defense="0"/>
    <flags>
        <flag summonable="1"/>
        <flag attackable="1"/>
        <flag hostile="1"/>
        <flag illusionable="1"/>
        <flag convinceable="1"/>
        <flag pushable="1"/>
        <flag canpushitems="0"/>
        <flag canpushcreatures="0"/>
        <flag targetdistance="1"/>
        <flag staticattack="97"/>
        <flag runonhealth="0"/>
        <flag hungerdelay="22"/>
    </flags>
    <attacks>
        <attack name="melee" interval="2000" chance="100" range="1" min="-50" max="-100"/>
        <attack name="Quick Attack" interval="2617" chance="30" range="1"/>
        <attack name="Sand Attack" interval="2476" chance="31" range="3"/>
        <attack name="Whirlwind" interval="2758" chance="20" range="5"/>
        <attack name="Drill Peck" interval="2852" chance="25" range="1"/>
        <attack name="Wing Attack" interval="2852" chance="20" range="5"/>
        <attack name="Tornado" interval="4852" chance="20" range="4"/>
    </attacks>
    <defenses armor="0" defense="0"/>
    <voices interval="5000" chance="10">
        <voice sentence="King Altaria"/>
    </voices>
    <loot>
        <item id="12200" chance="4000" count="1" countmax="1"/>
        <item id="11453" chance="100" count="1" countmax="1"/>
    </loot>
    <script>
        <event name="Spawn"/>
    </script>
</monster>
 

ATAQUES DO MESMO

  Mostrar conteúdo oculto

          ["King Altaria"] =    {move1 = {name = "Quick Attack", level = 4, cd = 12, dist = 2, target = 1, f = 100, t = "normal"},
          move2 = {name = "Sand Attack", level = 4, cd = 12, dist = 1, target = 0, f = 100, t = "ground"},
          move3 = {name = "Whirlwind", level = 8, cd = 12, dist = 1, target = 0, f = 100, t = "flying"},
          move4 = {name = "Drill Peck", level = 10, cd = 12, dist = 1, target = 1, f = 120, t = "flying"},
          move5 = {name = "Wing Attack", level = 19, cd = 12, dist = 1, target = 0, f = 100, t = "flying"},
          move6 = {name = "Hurricane", level = 24, cd = 15, dist = 1, target = 0, f = 100, t = "flying"},
          move7 = {name = "Tornado", level = 24, cd = 20, dist = 1, target = 0, f = 100, t = "flying"},
          move8 = {name = "Agility", level = 42, cd = 40, dist = 1, target = 0, f = 0, t = "flying"},
          move9 = {name = "Roost", level = 42, cd = 40, dist = 1, target = 0, f = 0, t = "flying"},
          move10 = {name = "Flare Blitz", level = 12, cd = 12, dist = 1, target = 0, f = 100, t = "fire"},
         },

FLY

  Mostrar conteúdo oculto

["King Altaria"] = {2554, 80000},

FORÇA ATTK SPEED ETC.

  Mostrar conteúdo oculto

["King Altaria"] = {offense = 180, defense = 250, specialattack = 250, vitality = 50, agility = 240, exp = 300, level = 200, wildLvl = 200, type = "fly", type2 = "no type"},

FOTO

  Mostrar conteúdo oculto

["King Altaria"] = 0,     < TA 0 pq to sem a foto dela ai to usando 0 pois a 0 é um imagem preta, ja usei em outros pokemon e não bugaram

New Pokedex

  Mostrar conteúdo oculto

["King Altaria"] = {gender = 500, level = 100, storage = 9000223, stoCatch = 900965},

Old Pokedex

  Mostrar conteúdo oculto

{"King Altaria", 100, 40221},

FLY COMANDOS

  Mostrar conteúdo oculto


["fly"] = {"King Altaria", "Obscure Dragonite", "Red Togekiss", "Shiny Flygon", "Shiny Togekiss", "Ancient Zekrom", "Squad Flygon", "Togekiss", "Xatu", "Black Mega Aerodactyl",  "Heracross", "Farfetchd", "Power Farfetchd", "Mega Charizard X", "Shiny Tropius", "Shiny Farfetchd", "Noctowl", "Dragonair", "Shiny Dragonair", "Porygon", "Aerodactyl", "Dragonite", "Charizard", "Pidgeot", "Fearow", "Zapdos", "Moltres", "Articuno", "Thunder Zapdos", "Burned Moltres", "Frozen Articuno", "Mew", "Mewtwo", "Power Mewtwo", "Shiny Dragonite", "Shiny Charizard", "Shiny Pidgeot", "Shiny Fearow", "Porygon2", "Skarmory", "Crobat", "Shiny Mew", "Shiny Mewtwo", "Shiny Zapdos", "Shiny Moltres", "Shiny Articuno", "Shiny Zekrom", "Black Articuno","Tropius","Salamence","Red Salamence","Mega Mewtwo","Mega Charizard"},

 

Amigo, mande por favor o script de dentro da pasta de Talkactions !

Postado
  • Autor
1 minuto atrás, tataboy67 disse:

Amigo, mande por favor o script de dentro da pasta de Talkactions !

Qual script ? de fly ?

 

FLYUP

Spoiler

function onSay(cid, words, param)

if param ~= "" then
return false
end

if getPlayerStorageValue(cid, 17000) <= 0 then
return true
end

if getThingPos(cid).z == 0 then
doPlayerSendCancel(cid, "You can\'t go higher!")
return true
end

local pos = getThingPos(cid)
pos.z = pos.z-1
pos.stackpos = 0


if getTileThingByPos(pos).itemid >= 1 or getTileItemById(getThingPos(cid), 1386).itemid >= 1 then
if getTileThingByPos(pos).itemid ~= 460 then
doPlayerSendCancel(cid, "You can\'t fly through constructions.")
return true
end
end

for x=-1,1 do
        for y=-1,1 do
            posa = {x=pos.x+x,y=pos.y+y,z=pos.z}
            if(getTileThingByPos(posa).itemid == 460) then
            if(getItemAttribute(getTileThingByPos(posa).uid, "criadopor") == getCreatureName(cid)) then
            doRemoveItem(getTileThingByPos(posa).uid, 1)
            end
            end
end
end
doCombatAreaHealth(cid, 0, pos, 0, 0, 0, CONST_ME_NONE)
itemex1 = doCreateItem(460, 1, pos)
            doItemSetAttribute(itemex1, "criadopor", getCreatureName(cid))

doTeleportThing(cid, pos)
if getCreatureOutfit(cid).lookType == 667 or getCreatureOutfit(cid).lookType == 999 then
   markPosEff(cid, getThingPos(cid))                           --edited porygon fly sistem 
end


return true
end

FLYDOWN

Spoiler

local lower = {'460', '11675', '11676'}

local houses = {'919', '1015', '1590', '1591', '1592', '1593', '1582', '1584', '1586', '1588', '5248', '5189'}

function onSay(cid, words, param)

if param ~= "" then
return false
end

if getPlayerStorageValue(cid, 17000) <= 0 then
return true
end

if getThingPos(cid).z == 7 then
doPlayerSendCancel(cid, "You can\'t go lower!")
return true
end

if getTileInfo(getThingPos(cid)).itemid == 11677 then
doPlayerSendCancel(cid, "Sorry, it's not possible to go lower.")
return true
end

if not isInArray(lower, getTileInfo(getThingPos(cid)).itemid) and getTileInfo(getThingPos(cid)).itemid >= 2 then
doPlayerSendCancel(cid, "You can\'t go lower.")
return true
end

local pos = getThingPos(cid)
pos.z = pos.z+1
pos.stackpos = 0

if getTileThingByPos(pos).itemid >= 1 then

if getTilePzInfo(pos) == true then
doPlayerSendCancel(cid, "You can\'t go down here.")
return true
end

if not canWalkOnPos(pos, true, true, false, false, true) then
doPlayerSendCancel(cid, "You can't go down here.")
return true
end

doTeleportThing(cid, pos)
if getCreatureOutfit(cid).lookType == 667 or getCreatureOutfit(cid).lookType == 999 then
   markPosEff(cid, getThingPos(cid))
end

else

for x=-1,1 do
        for y=-1,1 do
            posa = {x=pos.x+x,y=pos.y+y,z=pos.z}
            if isInArray(lower, getTileThingByPos(posa).itemid) then
            if(getTileThingByPos(posa).itemid == 460) then
            if(getItemAttribute(getTileThingByPos(posa).uid, "criadopor") == getCreatureName(cid)) then
            doRemoveItem(getTileThingByPos(posa).uid, 1)
            end
            end
            end
end
end
            
doCombatAreaHealth(cid, 0, pos, 0, 0, 0, CONST_ME_NONE)
itemex1 = doCreateItem(460, 1, pos)
            doItemSetAttribute(itemex1, "criadopor", getCreatureName(cid))

doTeleportThing(cid, pos)
if getCreatureOutfit(cid).lookType == 667 or getCreatureOutfit(cid).lookType == 999 then
   markPosEff(cid, getThingPos(cid))                                  --edited porygon fly sistem
end

return true
end
return true
end

 

Postado
1 minuto atrás, iury alves potter disse:

Qual script ? de fly ?

 

FLYUP

  Mostrar conteúdo oculto

function onSay(cid, words, param)

if param ~= "" then
return false
end

if getPlayerStorageValue(cid, 17000) <= 0 then
return true
end

if getThingPos(cid).z == 0 then
doPlayerSendCancel(cid, "You can\'t go higher!")
return true
end

local pos = getThingPos(cid)
pos.z = pos.z-1
pos.stackpos = 0


if getTileThingByPos(pos).itemid >= 1 or getTileItemById(getThingPos(cid), 1386).itemid >= 1 then
if getTileThingByPos(pos).itemid ~= 460 then
doPlayerSendCancel(cid, "You can\'t fly through constructions.")
return true
end
end

for x=-1,1 do
        for y=-1,1 do
            posa = {x=pos.x+x,y=pos.y+y,z=pos.z}
            if(getTileThingByPos(posa).itemid == 460) then
            if(getItemAttribute(getTileThingByPos(posa).uid, "criadopor") == getCreatureName(cid)) then
            doRemoveItem(getTileThingByPos(posa).uid, 1)
            end
            end
end
end
doCombatAreaHealth(cid, 0, pos, 0, 0, 0, CONST_ME_NONE)
itemex1 = doCreateItem(460, 1, pos)
            doItemSetAttribute(itemex1, "criadopor", getCreatureName(cid))

doTeleportThing(cid, pos)
if getCreatureOutfit(cid).lookType == 667 or getCreatureOutfit(cid).lookType == 999 then
   markPosEff(cid, getThingPos(cid))                           --edited porygon fly sistem 
end


return true
end

FLYDOWN

  Mostrar conteúdo oculto

local lower = {'460', '11675', '11676'}

local houses = {'919', '1015', '1590', '1591', '1592', '1593', '1582', '1584', '1586', '1588', '5248', '5189'}

function onSay(cid, words, param)

if param ~= "" then
return false
end

if getPlayerStorageValue(cid, 17000) <= 0 then
return true
end

if getThingPos(cid).z == 7 then
doPlayerSendCancel(cid, "You can\'t go lower!")
return true
end

if getTileInfo(getThingPos(cid)).itemid == 11677 then
doPlayerSendCancel(cid, "Sorry, it's not possible to go lower.")
return true
end

if not isInArray(lower, getTileInfo(getThingPos(cid)).itemid) and getTileInfo(getThingPos(cid)).itemid >= 2 then
doPlayerSendCancel(cid, "You can\'t go lower.")
return true
end

local pos = getThingPos(cid)
pos.z = pos.z+1
pos.stackpos = 0

if getTileThingByPos(pos).itemid >= 1 then

if getTilePzInfo(pos) == true then
doPlayerSendCancel(cid, "You can\'t go down here.")
return true
end

if not canWalkOnPos(pos, true, true, false, false, true) then
doPlayerSendCancel(cid, "You can't go down here.")
return true
end

doTeleportThing(cid, pos)
if getCreatureOutfit(cid).lookType == 667 or getCreatureOutfit(cid).lookType == 999 then
   markPosEff(cid, getThingPos(cid))
end

else

for x=-1,1 do
        for y=-1,1 do
            posa = {x=pos.x+x,y=pos.y+y,z=pos.z}
            if isInArray(lower, getTileThingByPos(posa).itemid) then
            if(getTileThingByPos(posa).itemid == 460) then
            if(getItemAttribute(getTileThingByPos(posa).uid, "criadopor") == getCreatureName(cid)) then
            doRemoveItem(getTileThingByPos(posa).uid, 1)
            end
            end
            end
end
end
            
doCombatAreaHealth(cid, 0, pos, 0, 0, 0, CONST_ME_NONE)
itemex1 = doCreateItem(460, 1, pos)
            doItemSetAttribute(itemex1, "criadopor", getCreatureName(cid))

doTeleportThing(cid, pos)
if getCreatureOutfit(cid).lookType == 667 or getCreatureOutfit(cid).lookType == 999 then
   markPosEff(cid, getThingPos(cid))                                  --edited porygon fly sistem
end

return true
end
return true
end

 

Envie data/talkactions/createpokeball.lua

Cada escolha, uma oportunidade.
Cada queda, um aprendizado.
Cada atitude, uma consequência

 

.tumblr_nw2mfl0ut01r3aoszo1_400.gif

Postado
  • Autor
2 minutos atrás, RathBR disse:

Envie data/talkactions/createpokeball.lua

5 minutos atrás, tataboy67 disse:

Amigo, mande por favor o script de dentro da pasta de Talkactions !

local typess = {       --alterado v2.9 \/  TUDO!!
[1] = "normal",
[2] = "great",
[3] = "super",
[4] = "ultra",
[5] = "saffari",
}
function onSay(cid, words, param)

if param == "" or param == " " then
   doPlayerSendCancel(cid, 'Command needs parameters, function structure: "/cb [Pokemon Name], [boost], [Gender], [ball type], [cp only go pokemons]".')
   return true
end

local t = string.explode(param, ",")
--
local name = ""
local btype = (tostring(t[4]) and pokeballs[t[4]]) and t[4] or typess[math.random(1, #typess)] 
local gender = (t[3] and tonumber(t[3])) and tonumber(t[3]) or t[3] and t[3] or nil    

if tostring(t[1]) then
    name = doCorrectString(t[1])   
    if not pokes[name] then
       doPlayerSendCancel(cid, "Sorry, a pokemon with the name "..name.." doesn't exists.")
       return true
    end
print(""..name.." ball has been created by "..getPlayerName(cid)..".")
doWriteLogFile("data/logs/createpokeball.txt", "[".. os.date('%d %B %y - %H:%M') .."] ".. getCreatureName(cid) .." Criou um ".. name .." (BOOST: ".. (t[2] and tonumber(t[2]) or 0) ..")")
end

addPokeToPlayer(cid, name, (t[2] and tonumber(t[2]) or 0), gender, btype, false) 

return true
end

3 minutos atrás, RathBR disse:

Envie data/talkactions/createpokeball.lua

MAIS TIPO EM TODOS OS OUTROS POKEMON FUNCIONA DE BOA , so esses que não ta pegando ,eu adicionei ele recentemente ,E tipo no /s e /m eles aparece , mais no /cb ele n aparece 

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Conteúdo Similar

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.7k

Informação Importante

Confirmação de Termo