Ir para conteúdo

[Encerrado] [Pokemon] Dúvidas? - Pda


lucashgas

Posts Recomendados

@Slicer

Eles tem uma master ball e capturaram poke, não tem e não capturaram, acredito nisso que só aumenta o Boost

 

Jaja trago um video da quest até a Lorelei

 

@StyloMaldoso

Essa é a quest sim, AFF QUE COTOCO DO VIDEO NEM PASSOU DO PUZZLE MAIS FACIL! AFF

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

@zeref

eh sei la.. mas oq me deixa intrigado eh q se for do jeito q vc fla n muda nd pra nite, scizor, steelix e provalmente kingdra ;x q na real seriam os pokes q os caras iriam usar a master... fica meio inutil sei la..

 

e ja tem gente na lorelei? kk soh vi um q foi ate a 3* parte, onde vem 3 discípulos ^^

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

@stylo

eles usaram o ms funcionamento do electro field e petal tornado ;x

e os meus sao bem diferentes.. n sei se ficaria lgl...

 

edit: oq da pra fazer eh isso.. kk

wheelzv.jpg

 

@xisto

nao faça mais isso por favor... espere q alguem responda... se n, va na parte de pedidos e duvidas e peça la seu script...

anyway, teste esse aki..

 

focus = 0

talk_start = 0

target = 0

following = false

attacking = false

 

function onThingMove(creature, thing, oldpos, oldstackpos)

 

end

 

 

function onCreatureAppear(creature)

 

end

 

 

function onCreatureDisappear(cid, pos)

if focus == cid then

selfSay('See ya.')

focus = 0

talk_start = 0

end

end

 

 

function onCreatureTurn(creature)

 

end

 

function msgcontains(txt, str)

return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)'))

end

 

 

local extrastrength = 1.1

local pokestorage = 997623

local storagecity = 997624

----

local pokes = {"sunkern", "caterpie", "weedle", "rattata"}

local citys = {

["Viridian"] = 8,

["Pewter"] = 10,

["Cerulean"] = 4,

["Vermilion"] = 9,

["Saffron"] = 1,

["Celadon"] = 7,

["Lavender"] = 5,

["Fuchsia"] = 6,

["Cinnabar"] = 12,

}

---

 

function onCreatureSay(cid, type, msg)

msg = string.lower(msg)

 

if msgcontains(msg, 'hi') and focus == 0 and getDistanceToCreature(cid) <= 3 then

selfSay('Hello, Im Professor OAK. If are you the best trainer of Island i can let you go to your {journey}!',cid)

focus = cid

talk_start = os.clock()

conv = 0

end

 

if msgcontains(msg, 'journey') and conv == 0 and focus == cid then

selfSay('Okay. First, Choose you pokemon: {Caterpie}, {Weedle}, {Rattata}, {Sunkern}?',cid)

conv = 1

return true

end

 

if getPlayerStorageValue(cid, storagepoke) < 1 then

if isInArray(pokes, string.lower(msg)) and conv == 1 and focus == cid then

local pokemon = doCorrectString(msg)

local pokeinfo = getPokemonStatus(pokemon)

if not pokeinfo then return true end

local btype = "normal"

if not pokeballs[btype] then return true end

local gender = getRandomGenderByName(pokemon)

local level = 5

local offense = pokeinfo.off * level * extrastrength

local defense = pokeinfo.def * level * extrastrength

local agility = pokeinfo.agi * level * extrastrength

local spatk = pokeinfo.spatk * level * extrastrength

local vit = pokeinfo.vit * level * extrastrength

local happy = 180

local leveltable = getPokemonExperienceTable(pokemon)

local ball = 0

ball = doCreateItemEx(2219)

 

doItemSetAttribute(ball, "poke", pokemon)

doItemSetAttribute(ball, "hp", 1)

doItemSetAttribute(ball, "level", level)

doItemSetAttribute(ball, "exp", leveltable[level])

doItemSetAttribute(ball, "nextlevelexp", leveltable[level+1] - leveltable[level])

doItemSetAttribute(ball, "offense", offense)

doItemSetAttribute(ball, "defense", defense)

doItemSetAttribute(ball, "speed", agility)

doItemSetAttribute(ball, "vitality", vit)

doItemSetAttribute(ball, "specialattack", spatk)

doItemSetAttribute(ball, "happy", happy)

doItemSetAttribute(ball, "gender", gender)

doItemSetAttribute(ball, "description", "Contains a "..pokemon..".")

doItemSetAttribute(ball, "fakedesc", "Contains a "..pokemon..".")

 

doPlayerAddItemEx(cid, ball, true)

doTransformItem(ball, pokeballs[btype].on)

 

selfSay("Chose your City. {Viridian}, {Pewter}, {Cerulean}, {Vermilion}, {Saffron}, {Celadon}, {Lavender}, {Fuchsia}, {Cinnabar}.",cid)

conv = 2

focus = cid

setPlayerStorageValue(cid, storagepoke, 1)

end

elseif getPlayerStorageValue(cid, storagecity) < 1 then

selfSay("Chose your City. {Viridian}, {Pewter}, {Cerulean}, {Vermilion}, {Saffron}, {Celadon}, {Lavender}, {Fuchsia}, {Cinnabar}.",cid)

conv = 2

focus = cid

end

 

 

if citys[doCorrectString(msg)] and conv == 2 and focus == cid then

doPlayerSetTown(cid, citys[doCorrectString(msg)])

setPlayerStorageValue(cid, storagecity, 1)

doTeleportThing(cid, getTownTemplePosition(citys[doCorrectString(msg)]))

end

 

if msgcontains(msg, 'yes') and (focus ~= cid) and getDistanceToCreature(cid) < 3 then

selfSay('Sorry, Im busy at this moment.')

end

 

if msgcontains(msg, 'bye') and focus == cid and getDistanceToCreature(cid) < 3 then

selfSay('Good bye then.')

focus = 0

talk_start = 0

end

end

 

function onCreatureChangeOutfit(creature)

 

end

 

function onThink()

if (os.clock() - talk_start) > 30 then

if focus > 0 then

selfSay('See ya.')

end

focus = 0

end

end

 

se der aquele ms erro ali.. achu q eh pq tu n tem aquela funcion no teu serv... tas usando o meu serv? com lvl? sem lvl? ...

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

@xisto

entao vai da meuda ;x

esse script eh pra serv com lvl... ;x

 

tenta esse..

 

focus = 0

talk_start = 0

target = 0

following = false

attacking = false

 

function onThingMove(creature, thing, oldpos, oldstackpos)

 

end

 

 

function onCreatureAppear(creature)

 

end

 

 

function onCreatureDisappear(cid, pos)

if focus == cid then

selfSay('See ya.')

focus = 0

talk_start = 0

end

end

 

 

function onCreatureTurn(creature)

 

end

 

function msgcontains(txt, str)

return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)'))

end

 

 

local extrastrength = 1.1

local pokestorage = 997623

local storagecity = 997624

----

local pokes = {"sunkern", "caterpie", "weedle", "rattata"}

local citys = {

["Viridian"] = 8,

["Pewter"] = 10,

["Cerulean"] = 4,

["Vermilion"] = 9,

["Saffron"] = 1,

["Celadon"] = 7,

["Lavender"] = 5,

["Fuchsia"] = 6,

["Cinnabar"] = 12,

}

---

 

function onCreatureSay(cid, type, msg)

msg = string.lower(msg)

 

if msgcontains(msg, 'hi') and focus == 0 and getDistanceToCreature(cid) <= 3 then

selfSay('Hello, Im Professor OAK. If are you the best trainer of Island i can let you go to your {journey}!',cid)

focus = cid

talk_start = os.clock()

conv = 0

end

 

if msgcontains(msg, 'journey') and conv == 0 and focus == cid then

selfSay('Okay. First, Choose you pokemon: {Caterpie}, {Weedle}, {Rattata}, {Sunkern}?',cid)

conv = 1

return true

end

 

if getPlayerStorageValue(cid, storagepoke) < 1 then

if isInArray(pokes, string.lower(msg)) and conv == 1 and focus == cid then

 

local pokemon = doCorrectString(msg)

local btype = "normal"

if not pokeballs[btype] then return true end

local gender = getRandomGenderByName(pokemon)

local happy = 220

local ball = doCreateItemEx(2219)

 

doItemSetAttribute(item, "poke", pokemon)

doItemSetAttribute(item, "hp", 1)

doItemSetAttribute(item, "happy", happy)

doItemSetAttribute(item, "gender", gender)

doItemSetAttribute(item, "description", "Contains a "..pokemon..".")

doItemSetAttribute(item, "fakedesc", "Contains a "..pokemon..".")

 

doPlayerAddItemEx(cid, ball, true)

doTransformItem(ball, pokeballs[btype].on)

 

selfSay("Chose your City. {Viridian}, {Pewter}, {Cerulean}, {Vermilion}, {Saffron}, {Celadon}, {Lavender}, {Fuchsia}, {Cinnabar}.",cid)

conv = 2

focus = cid

setPlayerStorageValue(cid, storagepoke, 1)

end

elseif getPlayerStorageValue(cid, storagecity) < 1 then

selfSay("Chose your City. {Viridian}, {Pewter}, {Cerulean}, {Vermilion}, {Saffron}, {Celadon}, {Lavender}, {Fuchsia}, {Cinnabar}.",cid)

conv = 2

focus = cid

end

 

 

if citys[doCorrectString(msg)] and conv == 2 and focus == cid then

doPlayerSetTown(cid, citys[doCorrectString(msg)])

setPlayerStorageValue(cid, storagecity, 1)

doTeleportThing(cid, getTownTemplePosition(citys[doCorrectString(msg)]))

end

 

if msgcontains(msg, 'yes') and (focus ~= cid) and getDistanceToCreature(cid) < 3 then

selfSay('Sorry, Im busy at this moment.')

end

 

if msgcontains(msg, 'bye') and focus == cid and getDistanceToCreature(cid) < 3 then

selfSay('Good bye then.')

focus = 0

talk_start = 0

end

end

 

function onCreatureChangeOutfit(creature)

 

end

 

function onThink()

if (os.clock() - talk_start) > 30 then

if focus > 0 then

selfSay('See ya.')

end

focus = 0

end

end

 

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

Deu aquele erro dinovo.

 

 

@MOVE ( Flame Wheel )

 

Acho que devia ser assim.

 

Ele iria ter somente uma elice ( Tipo de ventilador, elicoptero a sei lah ) mais seria o electro field.

 

So que com uma unica linha...

 

------- <<<

\/ \/ \/ POKE .....

------- >>> .........

 

tenta esse..

 

focus = 0

talk_start = 0

target = 0

following = false

attacking = false

 

function onThingMove(creature, thing, oldpos, oldstackpos)

 

end

 

 

function onCreatureAppear(creature)

 

end

 

 

function onCreatureDisappear(cid, pos)

if focus == cid then

selfSay('See ya.')

focus = 0

talk_start = 0

end

end

 

 

function onCreatureTurn(creature)

 

end

 

function msgcontains(txt, str)

return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)'))

end

 

 

local extrastrength = 1.1

local pokestorage = 997623

local storagecity = 997624

----

local pokes = {"sunkern", "caterpie", "weedle", "rattata"}

local citys = {

["Viridian"] = 8,

["Pewter"] = 10,

["Cerulean"] = 4,

["Vermilion"] = 9,

["Saffron"] = 1,

["Celadon"] = 7,

["Lavender"] = 5,

["Fuchsia"] = 6,

["Cinnabar"] = 12,

}

---

 

function onCreatureSay(cid, type, msg)

msg = string.lower(msg)

 

if msgcontains(msg, 'hi') and focus == 0 and getDistanceToCreature(cid) <= 3 then

selfSay('Hello, Im Professor OAK. If are you the best trainer of Island i can let you go to your {journey}!',cid)

focus = cid

talk_start = os.clock()

conv = 0

end

 

if msgcontains(msg, 'journey') and conv == 0 and focus == cid then

selfSay('Okay. First, Choose you pokemon: {Caterpie}, {Weedle}, {Rattata}, {Sunkern}?',cid)

conv = 1

return true

end

 

if getPlayerStorageValue(cid, storagepoke) < 1 then

if isInArray(pokes, string.lower(msg)) and conv == 1 and focus == cid then

 

local pokemon = doCorrectString(msg)

local btype = "normal"

if not pokeballs[btype] then return true end

local gender = getRandomGenderByName(pokemon)

local happy = 220

local ball = doCreateItemEx(2219)

 

doItemSetAttribute(item, "poke", pokemon)

doItemSetAttribute(item, "hp", 1)

doItemSetAttribute(item, "happy", happy)

doItemSetAttribute(item, "gender", gender)

doItemSetAttribute(item, "description", "Contains a "..pokemon..".")

doItemSetAttribute(item, "fakedesc", "Contains a "..pokemon..".")

 

doPlayerAddItemEx(cid, ball, true)

doTransformItem(ball, pokeballs[btype].on)

 

selfSay("Chose your City. {Viridian}, {Pewter}, {Cerulean}, {Vermilion}, {Saffron}, {Celadon}, {Lavender}, {Fuchsia}, {Cinnabar}.",cid)

conv = 2

focus = cid

setPlayerStorageValue(cid, storagepoke, 1)

end

elseif getPlayerStorageValue(cid, storagecity) < 1 then

selfSay("Chose your City. {Viridian}, {Pewter}, {Cerulean}, {Vermilion}, {Saffron}, {Celadon}, {Lavender}, {Fuchsia}, {Cinnabar}.",cid)

conv = 2

focus = cid

end

 

 

if citys[doCorrectString(msg)] and conv == 2 and focus == cid then

doPlayerSetTown(cid, citys[doCorrectString(msg)])

setPlayerStorageValue(cid, storagecity, 1)

doTeleportThing(cid, getTownTemplePosition(citys[doCorrectString(msg)]))

end

 

if msgcontains(msg, 'yes') and (focus ~= cid) and getDistanceToCreature(cid) < 3 then

selfSay('Sorry, Im busy at this moment.')

end

 

if msgcontains(msg, 'bye') and focus == cid and getDistanceToCreature(cid) < 3 then

selfSay('Good bye then.')

focus = 0

talk_start = 0

end

end

 

function onCreatureChangeOutfit(creature)

 

end

 

function onThink()

if (os.clock() - talk_start) > 30 then

if focus > 0 then

selfSay('See ya.')

end

focus = 0

end

end

 

 

Funfo ate a parte de teleporta pra cidade. So que ele nao da o Pokemon ele da e uma pokebola ( que nao funfa, nen da look nen abre )

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

@off zeref

LOL LOL LOL LOL q epi 14 foi esse? uahauhauhau \O/

 

@xisto

 

focus = 0

talk_start = 0

target = 0

following = false

attacking = false

 

function onThingMove(creature, thing, oldpos, oldstackpos)

 

end

 

 

function onCreatureAppear(creature)

 

end

 

 

function onCreatureDisappear(cid, pos)

if focus == cid then

selfSay('See ya.')

focus = 0

talk_start = 0

end

end

 

 

function onCreatureTurn(creature)

 

end

 

function msgcontains(txt, str)

return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)'))

end

 

 

local extrastrength = 1.1

local pokestorage = 997623

local storagecity = 997624

----

local pokes = {"sunkern", "caterpie", "weedle", "rattata"}

local citys = {

["Viridian"] = 8,

["Pewter"] = 10,

["Cerulean"] = 4,

["Vermilion"] = 9,

["Saffron"] = 1,

["Celadon"] = 7,

["Lavender"] = 5,

["Fuchsia"] = 6,

["Cinnabar"] = 12,

}

---

 

function onCreatureSay(cid, type, msg)

msg = string.lower(msg)

 

if msgcontains(msg, 'hi') and focus == 0 and getDistanceToCreature(cid) <= 3 then

selfSay('Hello, Im Professor OAK. If are you the best trainer of Island i can let you go to your {journey}!',cid)

focus = cid

talk_start = os.clock()

conv = 0

end

 

if msgcontains(msg, 'journey') and conv == 0 and focus == cid then

selfSay('Okay. First, Choose you pokemon: {Caterpie}, {Weedle}, {Rattata}, {Sunkern}?',cid)

conv = 1

return true

end

 

if getPlayerStorageValue(cid, storagepoke) < 1 then

if isInArray(pokes, string.lower(msg)) and conv == 1 and focus == cid then

 

local pokemon = doCorrectString(msg)

local gender = getRandomGenderByName(pokemon)

local happy = 220

local ball = addItemInFreeBag(getPlayerSlotItem(cid, 3).uid, 11826, 1)

 

doItemSetAttribute(ball, "poke", pokemon)

doItemSetAttribute(ball, "hp", 1)

doItemSetAttribute(ball, "happy", happy)

doItemSetAttribute(ball, "gender", gender)

doItemSetAttribute(ball, "description", "Contains a "..pokemon..".")

doItemSetAttribute(ball, "fakedesc", "Contains a "..pokemon..".")

 

selfSay("Chose your City. {Viridian}, {Pewter}, {Cerulean}, {Vermilion}, {Saffron}, {Celadon}, {Lavender}, {Fuchsia}, {Cinnabar}.",cid)

conv = 2

focus = cid

setPlayerStorageValue(cid, storagepoke, 1)

end

elseif getPlayerStorageValue(cid, storagecity) < 1 then

selfSay("Chose your City. {Viridian}, {Pewter}, {Cerulean}, {Vermilion}, {Saffron}, {Celadon}, {Lavender}, {Fuchsia}, {Cinnabar}.",cid)

conv = 2

focus = cid

end

 

 

if citys[doCorrectString(msg)] and conv == 2 and focus == cid then

doPlayerSetTown(cid, citys[doCorrectString(msg)])

setPlayerStorageValue(cid, storagecity, 1)

doTeleportThing(cid, getTownTemplePosition(citys[doCorrectString(msg)]))

end

 

if msgcontains(msg, 'yes') and (focus ~= cid) and getDistanceToCreature(cid) < 3 then

selfSay('Sorry, Im busy at this moment.')

end

 

if msgcontains(msg, 'bye') and focus == cid and getDistanceToCreature(cid) < 3 then

selfSay('Good bye then.')

focus = 0

talk_start = 0

end

end

 

function onCreatureChangeOutfit(creature)

 

end

 

function onThink()

if (os.clock() - talk_start) > 30 then

if focus > 0 then

selfSay('See ya.')

end

focus = 0

end

end

 

malz burada minha, esse vai da!!!

Link para o comentário
Compartilhar em outros sites

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