LU

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

Por lucashgas, 10 de jan. de 2012 em Tópicos Sem Resposta

brun123
pokemon
otserv
tibia
12.4k
2M
BrunooMaciellB
30 de abril de 2012 às 13:53

Alguem pode mi ajuda nos poekmons inicial o bau nao ta abrindo

 

eu ja arrumei starter mais nao vai o bau nao abri o minha starter

 

 

local starterpokes = {

["bulbasaur"] = {x = 53, y = 71, z = 7},

["squirtl"] = {x = 51, y = 71, z = 7},

["charmander"] = {x = 49, y = 71, z = 7},

}

local level = 5

local extrastr = 1.5

local btype = "normal"

function onUse(cid, item, frompos, item2, topos)

if getPlayerLevel(cid) > 1 then

return true

end

local pokemon = ""

for a, b in pairs (starterpokes) do

if isPosEqualPos(topos, b) then

pokemon = a

end

end

if pokemon == "" then return true end

local gender = getRandomGenderByName(pokemon)

local mypoke = getPokemonStatus(pokemon)

if not mypoke then return true end

local offense = mypoke.off * level * extrastr

local defense = mypoke.def * level * extrastr

local speed = mypoke.agi * level * extrastr

local vit = mypoke.vit * level * extrastr

local spatk = mypoke.spatk * level * extrastr

local happy = 180

local leveltable = getPokemonExperienceTable(pokemon)

doPlayerAddItem(cid, 2394, 10)

local item = doCreateItemEx(2219)

doItemSetAttribute(item, "poke", pokemon)

doItemSetAttribute(item, "hp", 1)

doItemSetAttribute(item, "level", level)

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

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

doItemSetAttribute(item, "offense", offense)

doItemSetAttribute(item, "defense", defense)

doItemSetAttribute(item, "speed", speed)

doItemSetAttribute(item, "vitality", vit)

doItemSetAttribute(item, "specialattack", spatk)

doItemSetAttribute(item, "happy", happy)

doItemSetAttribute(item, "gender", gender)

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

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

doItemSetAttribute(item, "firstpoke", getCreatureName(cid))

doPlayerAddItemEx(cid, item, true)

doTransformItem(item, pokeballs[btype].on)

doPlayerSendTextMessage(cid, 27, "You got your first pokemon! You also received some pokeballs to help you in your way.")

doPlayerSendTextMessage(cid, 27, "Don\'t forget to use your pokedex on every undiscovered pokemon!")

doSendMagicEffect(getThingPos(cid), 29)

doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid)))

doSendMagicEffect(getThingPos(cid), 27)

doSendMagicEffect(getThingPos(cid), 29)

return TRUE

end

 

 

 

Rep+++ pra quem ajuda ^^

HikigayaH
30 de abril de 2012 às 13:56

@Brunnoo

Voce Configurou as Posiçoes X Y Z? (cordenadas do bau)

e voce escreveu Squirtle Errado...

30 de abril de 2012 às 13:57

Olá Galera então eu sou meio novo sobre "OT" e estou precisando de uma ajuda eu baixei o do Slicer atualizado só que nao tem respaw dos pokes , so de caterpie , odish alguem poderia me dizer como faço para colocar os respaw ?

BrunooMaciellB
30 de abril de 2012 às 14:08

@Uchiha1madara

 

ss configurei mais o bau nao abre

 

mais eu acho qe eu tenho que coloka o id na bau mais nao sei na onde eu cato =X

Editado Abril 30 por Brunnoo

HikigayaH
30 de abril de 2012 às 14:11

@Brunno voce utiliza o mapa kpdo? com a area dos inicias embaixo do cp de saffron?

 

@Fecorona

Utilize o Rme

ou faza download do mapa kpdo compativel com Pokemon Dash

 

 

 

@Brunno

 

Va no Config.lua

 

E Substitua o Comeso Por

Esse

 

-- Account manager

accountManager = true

namelockManager = true

newPlayerChooseVoc = false

newPlayerSpawnPosX = 1054

newPlayerSpawnPosY = 1050

newPlayerSpawnPosZ = 10

newPlayerTownId = 1

newPlayerLevel = 1

newPlayerMagicLevel = 0

generateAccountNumber = false

 

 

Va no Forggotenserver.s3db

e Mude as possisoes do account manager para

 

X 1054

Y 1050

Z 10

 

Agora va em Data/Actions/Scripts Abra o Starter.lua

E Substitua Por Este

local starterpokes = {

["Bulbasaur"] = {x = 1052, y = 1047, z = 10},

["Squirtle"] = {x = 1054, y = 1047, z = 10},

["Charmander"] = {x = 1056, y = 1047, z = 10},

}

local level = 5

local extrastr = 1.5

local btype = "normal"

function onUse(cid, item, frompos, item2, topos)

if getPlayerLevel(cid) > 1 then

return true

end

local pokemon = ""

for a, b in pairs (starterpokes) do

if isPosEqualPos(topos, b) then

pokemon = a

end

end

if pokemon == "" then return true end

local gender = getRandomGenderByName(pokemon)

local mypoke = getPokemonStatus(pokemon)

if not mypoke then return true end

local offense = mypoke.off * level * extrastr

local defense = mypoke.def * level * extrastr

local speed = mypoke.agi * level * extrastr

local vit = mypoke.vit * level * extrastr

local spatk = mypoke.spatk * level * extrastr

local happy = 180

local leveltable = getPokemonExperienceTable(pokemon)

doPlayerAddItem(cid, 2394, 10)

local item = doCreateItemEx(2219)

doItemSetAttribute(item, "poke", pokemon)

doItemSetAttribute(item, "hp", 1)

doItemSetAttribute(item, "level", level)

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

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

doItemSetAttribute(item, "offense", offense)

doItemSetAttribute(item, "defense", defense)

doItemSetAttribute(item, "speed", speed)

doItemSetAttribute(item, "vitality", vit)

doItemSetAttribute(item, "specialattack", spatk)

doItemSetAttribute(item, "happy", happy)

doItemSetAttribute(item, "gender", gender)

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

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

doItemSetAttribute(item, "firstpoke", getCreatureName(cid))

doPlayerAddItemEx(cid, item, true)

doTransformItem(item, pokeballs[btype].on)

doPlayerSendTextMessage(cid, 27, "You got your first pokemon! You also received some pokeballs to help you in your way.")

doPlayerSendTextMessage(cid, 27, "Don\'t forget to use your pokedex on every undiscovered pokemon!")

doSendMagicEffect(getThingPos(cid), 29)

doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid)))

doSendMagicEffect(getThingPos(cid), 27)

doSendMagicEffect(getThingPos(cid), 29)

return TRUE

end

 

 

Editado Abril 30 por uchiha1madara

teziikT
30 de abril de 2012 às 14:31

alguem ae ja conseguiu arruma um erro dos move1?

JukaphJ
30 de abril de 2012 às 15:14

Pq nao to conseguindo abrir os spoiler? alguem sabe?

30 de abril de 2012 às 15:23

Galera alguem pode me informar o link de um mapa com todos os pokes , npcs tudo certinho ?

vudiV
30 de abril de 2012 às 15:51

@Slicer

 

 

Colocou system de aura novo?

 

se colocou como funciona?

HikigayaH
30 de abril de 2012 às 16:01

@Fercerona

 

Procure Aqui no Xtibia que tem...

 

@Vudi

Voce Fas /n namer

 

Escreve

 

HI

ELEMENTAL AURA

COR DA AURA EM INGLES

YES

 

(COM POKEMON DENTRO DA BALL)(SO FUNFA SE ELE FOR+50)

30 de abril de 2012 às 16:11

Mais todos estao com Link Invalido ¬¬ , se achar um psota ai pra mim . pf

HikigayaH
30 de abril de 2012 às 16:38

@Fecorona

 

 

Carai. pior do que postar uma coisa e pedir rep+ é o @LeoOliveirah que fez isso:

 

@haunteduser tae.

 

Arquivo(s) anexado(s)

Creditos: SoulOroshie

 

+REP ? mdr.gif

 

 

Bota os creditos do cara que fez e embaixo +REP omg.

30 de abril de 2012 às 16:46

Ultima duvida que eu tenho aonde eu coloco esses arquivos ?

Session StartS
30 de abril de 2012 às 17:10

Ultima duvida que eu tenho aonde eu coloco esses arquivos ?

 

Veio, tem um setor de iniciante.. acho que voce deveria ir la 1° depois vim aqui.. e começa des do inicio do topico que vc acha. Eu li todas as paginas antes de começar pedir coisas assim igual você, desculpa fala isso mas para de pedi vai busca 1 pouco sobre isso , :@

 

 

 

@ALL

 

Se alguem conseguiu arrumar o move1.lua fala ai pq to tentando aqui e nada.

Ja retirei a magia e a linha da spells.xml mas continua travando...

Se eu retirar essa magia de cada monster sera que resolve? tipo i em data/monsters/poke/ Venusaur.xml e retira a magia de la..

 

TY :*

Editado Abril 30 por Cleberadm

zesyZ
30 de abril de 2012 às 17:19

É foda... falam pra espera mas... acho q nem viram meu post...

 

minha duvida é o seguinte:

 

Tem como fazer shiny ball system... por exemplo, quando vc captura um poke shiny vem akela ball que fica brilhando...

 

Acho q tem q modifica o catch.LUA (data/actions/script)... como eu nao entendo mto de script eu ja tentei faze umas modificações mas nao consigo...

 

alguém pode me ajuda???