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
27 de março de 2012 às 18:27

Affz, alguem poderia postar aê uma Experiencia para Pokemon Online [DA]

 

Tipo magikarp ta dando 72 de experiencia --'

 

Aonde eu possa mudar?

SlicerS
27 de março de 2012 às 18:39

@Dudu08267

achu q isso soh com uma function de source... ;x onMoveItem.. ou algu assim... ;/ dai soh com o brun.. e como ele sumiu...

 

@ElderZard

nenhuma.. o brun sumiu entao... hehe

 

@FlamesAdmin

qual spell? todas as skills dos pokes estao no lib/pokemon moves.lua.. soh acha o nome da spell q queres editar e se divertir hehe

 

@isoseles

is hard to explain how fix that... ;x but plz.. stop with floods... ;/ by the way, try to follow this "tutorial"...

 

http://www.xtibia.com/forum/topic/177592-pokemon-duvidas-no-servidor-pokemon-dash-advanced/page__view__findpost__p__1194446

 

sorry bad english ^^

Editado Março 27 por Slicer

27 de março de 2012 às 18:42

@Dudu08267

achu q isso soh com uma function de source... ;x onMoveItem.. ou algu assim... ;/ dai soh com o brun.. e como ele sumiu...

 

@ElderZard

nenhuma.. o brun sumiu entao... hehe

 

@FlamesAdmin

qual spell? todas as skills dos pokes estao no lib/pokemon moves.lua.. soh acha o nome da spell q queres editar e se divertir hehe

 

@isoseles

is hard to explain how fix that... ;x but plz.. stop with floods... ;/ wait until some one explain for you... sorry bad english ^^

a Leech Seed, pra colocar pra arrancar mais conforme maior o lvl do poke

teria como vc fazer isso para mim?

rep

Editado Março 27 por FlamesAdmin

Dudu08267D
27 de março de 2012 às 18:44

@Dudu08267

achu q isso soh com uma function de source... ;x onMoveItem.. ou algu assim... ;/ dai soh com o brun.. e como ele sumiu...

 

@ElderZard

nenhuma.. o brun sumiu entao... hehe

 

@FlamesAdmin

qual spell? todas as skills dos pokes estao no lib/pokemon moves.lua.. soh acha o nome da spell q queres editar e se divertir hehe

 

@isoseles

is hard to explain how fix that... ;x but plz.. stop with floods... ;/ wait until some one explain for you... sorry bad english ^^

 

Thanks :|

 

Alguem ai tem pokédex que abra arquivo txt(com cada coisa escrita pra tal pokémon '-')?????

Alguem sabe como tira ou Minimiza '-' o Shiny dos pokés shinys???

Alguem sabe como faz pra n jogar a pokeball unique item e as pokeballs que ganha no inicio tbm ficar com unique item??

GabrielzxzxG
27 de março de 2012 às 18:46

Alguem ai sabe como faz pra edita o texto q aparece na dex??(qro por pra ter 1 certo texto pra cada pokémon).

 

Alguem ai sabe como faz pro pokémon shiny n aparecer o shiny no nome??

 

Vá no Xml Do shiny

 

<monster name="Shiny Dratini" nameDescription="a Shiny Dratini" race="undead" experience="110" speed="340" manacost="0">

 

e nesta linha quando acha-la

Simplesmente coloque somente dratini

Ficando:

<monster name="Dratini" nameDescription="a Shiny Dratini" race="undead" experience="110" speed="340" manacost="0">

Editado Março 27 por Gabrielzxzx

SlicerS
27 de março de 2012 às 19:37

@Dudu08267 e Gabrielzxzx

pra pokedex.. achu q pegando o script da do dash original deve dar.. n sei.. ;x

e sobre tirar o "shiny" do nome.. 1* tens q ter certeza q nenhum script pegue o nome do poke pelo "getCreatureName" pq se n os shinys vao ficar como os originais.. n sei como functiona os status dos pokes selvagens.. mas se for como to pensando os pokes shinys selvagens ficariam com a ms força dos normais... alguem me corrija se eu tiver errado ;p

RalphHeavenR
27 de março de 2012 às 20:14

Daew alguem me ajuda no bau inicial??

MSN : ralphlhp@hotmail.com

 

 

 

<a href="http://www.fodey.com/generators/animated/ninjatext.asp"><img src="http://r9.fodey.com/2203/b5b8962462ba4257aaea0fd29cd9d260.0.gif" border=0 width="379" height="99" alt=""></a>

Editado Março 27 por RalphHeaven

Dudu08267D
27 de março de 2012 às 20:18

@Dudu08267 e Gabrielzxzx

pra pokedex.. achu q pegando o script da do dash original deve dar.. n sei.. ;x

e sobre tirar o "shiny" do nome.. 1* tens q ter certeza q nenhum script pegue o nome do poke pelo "getCreatureName" pq se n os shinys vao ficar como os originais.. n sei como functiona os status dos pokes selvagens.. mas se for como to pensando os pokes shinys selvagens ficariam com a ms força dos normais... alguem me corrija se eu tiver errado ;p

 

ss mas tbm pensei nisso soq axo q foi zeref q postou 1 treco pra esconder o boost dos pokés ai eu qria sabe se tem como o script seu de shiny aleatorio transformasse o shiny e dps escondesse o shiny ai talvez ainda tivesse o status do shiny :|.

 

Sobre a pokedex eu tentei soq dava 1 erro :| porisso qro 1 pokedex feita pro PDA :| q abra o txt do poke q esta dentro de uma pasta :|. igual no Pokémon Dash v5 v6 sei la '-'.

 

Slicer se sabe como faz pra adicionar novas stones??eu adicionei moon stone soq n funciona n evolui adicionei no configuration.lua

 

moon = 12611

 

12611(id da stone)

 

e no evolution.lua(actions)

 

adicionei [moon] = {'Pokes', 'Pokes', 'Pokes'}

 

soq n funcionou :|

Editado Março 27 por Dudu08267

SlicerS
27 de março de 2012 às 20:46

@Dudu08267

xi mano essas stones devem ter variaveis em varios scripts.. como o boost.lua, configuration.lua, evolution.lua, level system.lua, some functions.lua e afins...

Edited...

mano testei aki e parece ta tudo 100%.. ;x se quiser.. segue oq fazer pra da certo...

System Retirar "Shiny" do nome dos pokes...

 

 

 

1* va no spawn.lua e faça um backup... depois apague oq tiver dentro do original e cole isso la..

 

 

local shinys = {

"Bulbasaur", "Ivysaur", "Venusaur", "Charmander", "Charmeleon", "Charizard", "Squirtle", "Wartortle", "Blastoise",

"Caterpie", "Metapod", "Butterfree", "Weedle", "Kakuna", "Beedrill", "Pidgey", "Pidgeotto", "Pidgeot", "Rattata",

"Raticate", "Spearow", "Fearow", "Ekans", "Arbok", "Pikachu", "Raichu", "Sandshrew", "Sandslash", "Nidoran Female",

"Nidorina", "Nidoqueen", "Nidoran Male", "Nidorino", "Nidoking", "Clefairy", "Clefable", "Vulpix", "Ninetales",

"Jigglytuff", "Wigglytuff", "Zubat", "Golbat", "Odish", "Gloom", "Vileplume", "Paras", "Parasect", "Venonat", "Venomoth",

"Diglett", "Dugtrio", "Mewoth", "Persian", "Psyduck", "Golduck", "Mankey", "Primeape", "Growlithe", "Arcanine",

"Poliwag", "Poliwhirl", "Poliwrath", "Abra", "Kadabra", "Alakazam", "Machop", "Machoke", "Machamp", "Bellsprout",

"Weepinbell", "Victreebel", "Tentacool", "Tentacruel", "Geodude", "Graveler", "Golem", "Ponyta", "Rapidash", "Slowpoke",

"Slowbro", "Magnamite", "Magneton", "Farfetch'd", "Doduo", "Dodrio", "Seel", "Dewgong", "Grimer", "Muk", "Shellder",

"Cloyster", "Gastly", "Haunter", "Gengar", "Onix", "Drowzee", "Hypno", "Krabby", "Kingler", "Voltorb", "Electrode",

"Exeggcute", "Exeggutor", "Cubone", "Marowak", "Hitmonlee", "Hitmonchan", "Lickitung", "Koffing", "Weezing", "Rhyhorn",

"Rhydon", "Chansey", "Tangela", "Kangaskhan", "Horsea", "Seadra", "Goldeen", "Seaking", "Staryu", "Starmie", "Mr. Mime",

"Scyther", "Jynx", "Electabuzz", "Magmar", "Pinsir", "Tauros", "Magikarp", "Gyarados", "Lapras", "Ditto", "Eevee", "Vaporeon",

"Jolteon", "Flareon", "Porygon", "Omanyte", "Omastar", "Kabuto", "Kabutops", "Snorlax", "Dragonair", "Dratini"

}

local raros = {"Articuno", "Zapdos", "Moltreas", "Mew", "Mewtwo", "Dragonite", "Aerodactyl"}

 

local function ShinyName(cid)

if isCreature(cid) then

if string.find(tostring(getCreatureName(cid)), "Shiny") then

local newName = tostring(getCreatureName(cid)):match("Shiny (.*)")

local newNamed = newName.." ["..getPokemonLevel(cid).."]"

doCreatureSetNick(cid, newNamed)

end

end

end

 

 

local function doPokemonRegisterLevel(cid)

if not isCreature(cid) then return true end

if getWildPokemonLevel(cid) == -1 then

setWildPokemonLevel(cid)

end

end

 

local function doSetRandomGender(cid)

if not isCreature(cid) then return true end

local gender = 0

local name = getCreatureName(cid)

if not newpokedex[name] then return true end

local rate = newpokedex[name].gender

if rate == 0 then

gender = 3

elseif rate == 1000 then

gender = 4

elseif rate == -1 then

gender = 0

elseif math.random(1, 1000) <= rate then

gender = 4

else

gender = 3

end

doCreatureSetSkullType(cid, gender)

end

 

local function doShiny(cid)

if isCreature(cid) then

if isSummon(cid) then return true end

if getPlayerStorageValue(cid, 74469) >= 1 then return true end

if isNpcSummon(cid) then return true end

if isInArray(shinys, getCreatureName(cid)) then

transform = math.random(1, 100) --1% chance

elseif isInArray(raros, getCreatureName(cid)) then

transform = math.random(1, 1000) --0.1% chance

elseif not isInArray(raros, getCreatureName(cid)) and not isInArray(shinys, getCreatureName(cid)) then

return true

end

if transform == 10 then

doSendMagicEffect(getThingPos(cid), 18)

local shi = doCreateMonster("Shiny ".. getCreatureName(cid) .."", getThingPos(cid))

setPlayerStorageValue(shi, 74469, 1)

setPlayerStorageValue(cid, 74469, 1)

doRemoveCreature(cid)

else

setPlayerStorageValue(cid, 74469, 1)

end

else

return true

end

end

 

function onSpawn(cid)

 

registerCreatureEvent(cid, "Experience")

registerCreatureEvent(cid, "GeneralConfiguration")

registerCreatureEvent(cid, "DirectionSystem")

registerCreatureEvent(cid, "CastSystem")

 

if isSummon(cid) then

registerCreatureEvent(cid, "SummonDeath")

return true

end

 

addEvent(doPokemonRegisterLevel, 5, cid)

addEvent(doSetRandomGender, 5, cid)

addEvent(doShiny, 10, cid)

addEvent(ShinyName, 15, cid)

 

return true

end

 

 

2* va no lib/level system.lua, faça um backup, e no original ache essa parte..

local nick = getItemAttribute(item, "poke")

 

e logo abaixo disso coloque isso..

if string.find(tostring(nick), "Shiny") then
nick = tostring(nick):match("Shiny (.*)")
end

 

ficando assim...

local nick = getItemAttribute(item, "poke")

if string.find(tostring(nick), "Shiny") then
nick = tostring(nick):match("Shiny (.*)")
end

 

 

Editado Março 27 por Slicer

Dudu08267D
27 de março de 2012 às 20:58

Thanks slicer agr foi :D.

 

Alguem ai tem npc paint??? peguei 1 de n sei onde soq n ta colocando os stats e só esta mundando ball, pokémon e level até da pra tirar o pokémon pra fora soq n tem stats e n tem como volta com ele pra pokeball.

Editado Março 27 por Dudu08267

27 de março de 2012 às 22:15

@Dudu08267

xi mano essas stones devem ter variaveis em varios scripts.. como o boost.lua, configuration.lua, evolution.lua, level system.lua, some functions.lua e afins...

Edited...

mano testei aki e parece ta tudo 100%.. ;x se quiser.. segue oq fazer pra da certo...

System Retirar "Shiny" do nome dos pokes...

 

 

 

1* va no spawn.lua e faça um backup... depois apague oq tiver dentro do original e cole isso la..

 

 

local shinys = {

"Bulbasaur", "Ivysaur", "Venusaur", "Charmander", "Charmeleon", "Charizard", "Squirtle", "Wartortle", "Blastoise",

"Caterpie", "Metapod", "Butterfree", "Weedle", "Kakuna", "Beedrill", "Pidgey", "Pidgeotto", "Pidgeot", "Rattata",

"Raticate", "Spearow", "Fearow", "Ekans", "Arbok", "Pikachu", "Raichu", "Sandshrew", "Sandslash", "Nidoran Female",

"Nidorina", "Nidoqueen", "Nidoran Male", "Nidorino", "Nidoking", "Clefairy", "Clefable", "Vulpix", "Ninetales",

"Jigglytuff", "Wigglytuff", "Zubat", "Golbat", "Odish", "Gloom", "Vileplume", "Paras", "Parasect", "Venonat", "Venomoth",

"Diglett", "Dugtrio", "Mewoth", "Persian", "Psyduck", "Golduck", "Mankey", "Primeape", "Growlithe", "Arcanine",

"Poliwag", "Poliwhirl", "Poliwrath", "Abra", "Kadabra", "Alakazam", "Machop", "Machoke", "Machamp", "Bellsprout",

"Weepinbell", "Victreebel", "Tentacool", "Tentacruel", "Geodude", "Graveler", "Golem", "Ponyta", "Rapidash", "Slowpoke",

"Slowbro", "Magnamite", "Magneton", "Farfetch'd", "Doduo", "Dodrio", "Seel", "Dewgong", "Grimer", "Muk", "Shellder",

"Cloyster", "Gastly", "Haunter", "Gengar", "Onix", "Drowzee", "Hypno", "Krabby", "Kingler", "Voltorb", "Electrode",

"Exeggcute", "Exeggutor", "Cubone", "Marowak", "Hitmonlee", "Hitmonchan", "Lickitung", "Koffing", "Weezing", "Rhyhorn",

"Rhydon", "Chansey", "Tangela", "Kangaskhan", "Horsea", "Seadra", "Goldeen", "Seaking", "Staryu", "Starmie", "Mr. Mime",

"Scyther", "Jynx", "Electabuzz", "Magmar", "Pinsir", "Tauros", "Magikarp", "Gyarados", "Lapras", "Ditto", "Eevee", "Vaporeon",

"Jolteon", "Flareon", "Porygon", "Omanyte", "Omastar", "Kabuto", "Kabutops", "Snorlax", "Dragonair", "Dratini"

}

local raros = {"Articuno", "Zapdos", "Moltreas", "Mew", "Mewtwo", "Dragonite", "Aerodactyl"}

 

local function ShinyName(cid)

if isCreature(cid) then

if string.find(tostring(getCreatureName(cid)), "Shiny") then

local newName = tostring(getCreatureName(cid)):match("Shiny (.*)")

local newNamed = newName.." ["..getPokemonLevel(cid).."]"

doCreatureSetNick(cid, newNamed)

end

end

end

 

 

local function doPokemonRegisterLevel(cid)

if not isCreature(cid) then return true end

if getWildPokemonLevel(cid) == -1 then

setWildPokemonLevel(cid)

end

end

 

local function doSetRandomGender(cid)

if not isCreature(cid) then return true end

local gender = 0

local name = getCreatureName(cid)

if not newpokedex[name] then return true end

local rate = newpokedex[name].gender

if rate == 0 then

gender = 3

elseif rate == 1000 then

gender = 4

elseif rate == -1 then

gender = 0

elseif math.random(1, 1000) <= rate then

gender = 4

else

gender = 3

end

doCreatureSetSkullType(cid, gender)

end

 

local function doShiny(cid)

if isCreature(cid) then

if isSummon(cid) then return true end

if getPlayerStorageValue(cid, 74469) >= 1 then return true end

if isNpcSummon(cid) then return true end

if isInArray(shinys, getCreatureName(cid)) then

transform = math.random(1, 100) --1% chance

elseif isInArray(raros, getCreatureName(cid)) then

transform = math.random(1, 1000) --0.1% chance

elseif not isInArray(raros, getCreatureName(cid)) and not isInArray(shinys, getCreatureName(cid)) then

return true

end

if transform == 10 then

doSendMagicEffect(getThingPos(cid), 18)

local shi = doCreateMonster("Shiny ".. getCreatureName(cid) .."", getThingPos(cid))

setPlayerStorageValue(shi, 74469, 1)

setPlayerStorageValue(cid, 74469, 1)

doRemoveCreature(cid)

else

setPlayerStorageValue(cid, 74469, 1)

end

else

return true

end

end

 

function onSpawn(cid)

 

registerCreatureEvent(cid, "Experience")

registerCreatureEvent(cid, "GeneralConfiguration")

registerCreatureEvent(cid, "DirectionSystem")

registerCreatureEvent(cid, "CastSystem")

 

if isSummon(cid) then

registerCreatureEvent(cid, "SummonDeath")

return true

end

 

addEvent(doPokemonRegisterLevel, 5, cid)

addEvent(doSetRandomGender, 5, cid)

addEvent(doShiny, 10, cid)

addEvent(ShinyName, 15, cid)

 

return true

end

 

 

2* va no lib/level system.lua, faça um backup, e no original ache essa parte..

local nick = getItemAttribute(item, "poke")

 

e logo abaixo disso coloque isso..

if string.find(tostring(nick), "Shiny") then
nick = tostring(nick):match("Shiny (.*)")
end

 

ficando assim...

local nick = getItemAttribute(item, "poke")

if string.find(tostring(nick), "Shiny") then
nick = tostring(nick):match("Shiny (.*)")
end

 

 

Vlew Slicer Tu é o Kra

Dudu08267D
27 de março de 2012 às 22:27

Slicer naquele script de npc da box 3 n está funcionando eu tenho 30 pokes diferentes capturados soq eu vou no npc e ele n fala q n tenho:

catch.png

SlicerS
27 de março de 2012 às 22:33

@Dudu08267

mano arrumase la o lib/catch system.lua na parte do soul? criase outro char pra testar? pegase ms 30 diferentes? e n mudase nd no sistema de catch?

 

Edit... como flei.. testei aki.. dei catch em 30 pokes, johtos e kantos... e... \/\/\/

 

 

23:11 Alberto: You need catch atleast 30 pokemons, can you do it?

23:11 Testbox [100]: yes

23:11 Alberto: Thank you very much, let me know if you want another mission...

 

 

Editado Março 27 por Slicer

27 de março de 2012 às 22:38

Ninguem Quer Me Ajudar A Fazer Essas Citys Nao?( Pewter, Lavender, Viridian, Pallet, Fuchsia)

Postarei o Mapa Ake Para Quem Quiser Ajudar...

isoselesI
27 de março de 2012 às 22:42

553722_3571339566877_1374657661_3218933_323748950_n.jpg

 

se precisar de ajuda me add adicionar em johto:

fb: facebook.com/isoneko

msn: iso._.neko@hotmail.com