Script Poke Tibia

PsyDragon
em Lixeira Pública

PsyDragon

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 22/11/10Posts: 4

Eae Reis Dos Scripts Presiso de uma ajuda no meu server de pokemon

Um Script De Shiny Stone

quem puder ajuda

Agradeço

Vlw ae

 

edit

 

Poke Tibia 8.54

Eu Te ajudei ? Não Custa Nda Dar R++

 

Mais se te Ajudei De Verdade Upa ae Meu Pet plz

 

4395074.png

ALLan162

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 13/06/07Posts: 20

Bom... "rei" scripts... devo ta bemmmm longe disso mas... o da shiny stone é esse:

Data/Actions/Scripts/Stones/shiny.lua

local evo = {

       ["Venusaur"] = "shiny venusaur",
       ["Charizard"] = "elder charizard",
       ["Farfetchd"] = "shiny farfetchd",
       ["Arcanine"] = "shiny arcanine",
       ["Parasect"] = "shiny parasect",
       ["Tentacruel"] = "shiny tentacruel",
       ["Tentacool"] = "shiny tentacool",
       ["Muk"] = "shiny muk",
       ["Venomoth"] = "shiny venomoth",
       ["Electabuzz"] = "shiny electabuzz",
       ["Blastoise"] = "shiny blastoise",
       ["Magikarp"] = "shiny magikarp",
       ["Jynx"] = "shiny jynx",
       ["Kingler"] = "shiny kingler",
       ["Krabby"] = "shiny krabby",
       ["Oddish"] = "shiny oddish",
       ["Rattata"] = "shiny rattata",
       ["Raticate"] = "shiny raticate",
       ["Voltorb"] = "shiny voltorb",
       ["Eletrode"] = "shiny electrode",
       ["Raichu"] = "shiny raichu",
       ["Seadra"] = "shiny seadra",
       ["Paras"] = "shiny paras",
       ["Zubat"] = "shiny zubat",
       ["Horsea"] = "shiny horsea",
       ["Growlithe"] = "shiny growlithe",
       ["Grimer"] = "shiny grimer",
       ["Dratini"] = "shiny dratini",
       ["Butterfree"] = "shiny butterfree",
       ["Beedrill"] = "shiny beedrill",
       ["Scyther"] = "shiny scyther",
       ["Hitmonchan"] = "shiny hitmonchan",
       ["Hitmonlee"] = "shiny hitmonlee",             


}

local pokeballs = {
[2531] = {"Pokeball"},
[2557] = {"Superball"},
[2524] = {"Greatball"},
[2525] = {"Ultraball"},
[2523] = {"Masterball"},
}

function onUse(cid, item, fromPosition, itemEx, toPosition)
       if isMonster(itemEx.uid) and getCreatureMaster(itemEx.uid) == cid then
               local monster  = getCreatureName(itemEx.uid)
               if evo[monster] then
                       local health, maxHealth = getCreatureHealth(itemEx.uid), getCreatureMaxHealth(itemEx.uid)
                       doRemoveCreature(itemEx.uid)
                       doRemoveItem(item.uid)
                       local summon = doCreateMonster(evo[monster], toPosition)
                       doConvinceCreature(cid, summon)
			local balls = pokeballs[getPlayerSlotItem(cid,8).itemid]
                       doItemSetAttribute(getPlayerSlotItem(cid, 8).uid, "name", ""..evo[monster].." "..balls[1])
                       doCreatureAddHealth(summon, health-maxHealth)
                       doSendMagicEffect(getThingPos(summon), 18)
                       return TRUE
               end
       end
       return FALSE
end

E em Data/Actions/Actions.xml

<action itemid="[color="#FF0000"]IDSHINYSTONE[/color]" event="script" allowfaruse="10" value="stones/shiny.lua"/>

Apenas troque o que está em vermelho pelo id da sua shiny stone =D

digod2

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 31/01/11Posts: 1

como assim colocar o id da shybe stone .. se eu ainda nem tenho ela nos meus itens!!

 

como eu adiciono ela aos itens??

 

esplica melhor ae mano !

casulo1

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 07/06/09Posts: 2

eu fiz tudo ai colokei como shiny stone nao deu ai tentei coloka mind stone , quando eu coloka /i 2178 pra cria a mind stone ela cria so q n aparece sei la alguem ema juda nao consigo coloka Shiny stone no meu Sv por favor

betinhowz666

Manipulatorsz
avatar
Barão
Barão

INFOS

Grupo: BarãoRegistrado: 30/09/10Posts: 223Char no Tibia: Sorcerer Manipulator

Velho imforme que server pokemon você está utilizando ? flash ? dash ?

Mesmo voce nunca ter usado você tem ela no sprits, eu recomento voce colocar o id /i 2163

:thumbsupsmiley2:

 

Data/ Actions/Actions.xml e adicione isso:

 

<action itemid="2361" event="script" allowfaruse="10" value="stones/shiny.lua"/>

 

Agora vá Data/Actions/Scripts/Stones e crie um arquivo lua chamano shiny

 

local evo = {

 

["Abra"] = "Shiny Abra",

["Arcanine"] = "Shiny Arcanine",

["Beedrill"] = "Shiny Bedrill",

["Blastoise"] = "Shiny Blastoise",

["Butterfree"] = "Shiny Butterfree",

["Caterpie"] = "Shiny Caterpie",

["Cubone"] = "Shiny Cubone",

["Dratini"] = "Shiny Dratini",

["Dragonair"] = "Shiny Dragonair",

["Dragonite"] = "Shiny Dragonite",

["Electabuzz"] = "Shiny Electabuzz",

["Electrode"] = "Shiny Electrode",

["Farfetchd"] = "Shiny Farfetchd",

["Flareon"] = "Shiny Flareon",

["Gengar"] = "Shiny Gengar",

["Golbat"] = "Shiny Golbat",

["Grimer"] = "Shiny Grimer",

["Growlithe"] = "Shiny Growlithe",

["Hypno"] = "Shiny Hypno",

["Jolteon"] = "Shiny Jolteon",

["Marowak"] = "Shiny Marowak",

["Metapod"] = "Shiny Metapod",

["Pidgeot"] = "Shiny Pidgeot",

["Pinsir"] = "Shiny Pinsir",

["Gyarados"] = "Shiny Gyarados",

["Hitmonchan"] = "Shiny Hitmonchan",

["Hitmonlee"] = "Shiny Hitmonlee",

["Horsea"] = "Shiny Horsea",

["Jynx"] = "Shiny Jynx",

["Tangela"] = "Shiny Tangela",

["Vaporeon"] = "Shiny Vaporeon",

["Kingler"] = "Shiny Kingler",

["Krabby"] = "Shiny Krabby",

["Magikarp"] = "Shiny Magikarp",

["Muk"] = "Shiny Muk",

["Oddish"] = "Shiny Oddish",

["Paras"] = "Shiny Paras",

["Parasect"] = "Shiny Parasect",

["Raichu"] = "Shiny Raichu",

["Rattata"] = "Shiny Rattata",

["Raticate"] = "Shiny Raticate",

["Scyther"] = "Shiny Scyther",

["Seadra"] = "Shiny Seadra",

["Tentacool"] = "Shiny Tentacruel",

["Venomoth"] = "Shiny Venomoth",

["Venusaur"] = "Shiny Venusaur",

["Voltorb"] = "Shiny Voltorb",

["Zubat"] = "Shiny Zubat",

["Snorlax"] = "Big Snorlax",

["Alakazam"] = "Shiny Alakazam",

["Charizard"] = "Elder Charizard",

["Onix"] = "Crystal Onix",

 

}

 

local pokeballs = {

[2531] = {"Pokeball"},

[2557] = {"Superball"},

[2524] = {"Greatball"},

[2525] = {"Ultraball"},

[2523] = {"Masterball"},

}

 

function onUse(cid, item, fromPosition, itemEx, toPosition)

if isMonster(itemEx.uid) and getCreatureMaster(itemEx.uid) == cid then

local monster = getCreatureName(itemEx.uid)

if evo[monster] then

local health, maxHealth = getCreatureHealth(itemEx.uid), getCreatureMaxHealth(itemEx.uid)

doRemoveCreature(itemEx.uid)

doRemoveItem(item.uid)

local summon = doCreateMonster(evo[monster], toPosition)

doConvinceCreature(cid, summon)

local balls = pokeballs[getPlayerSlotItem(cid,8).itemid]

doItemSetAttribute(getPlayerSlotItem(cid, 8).uid, "name", ""..evo[monster].." "..balls[1])

doCreatureAddHealth(summon, health-maxHealth)

doSendMagicEffect(getThingPos(summon), 18)

return TRUE

end

end

return FALSE

end

 

 

Obs: se nao houver alum shiny no seu ot remova e se houver adicione igual os outros !

:XTibia_smile:

9krscy.png

 

 

 

@Rep + for me

RaafaFarhat

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 18/10/11Posts: 1Char no Tibia: Farhat Knight

Ela funciona certinho, transforma o poke em shiny, as o problema, é que quando voce chama ele de volta para a poke, ele volta com pokemon normal, e nao o shiny, então fica como se fosse uma shiny stone "instantanea"

 

se tiver como ajudar!

pizicks

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 21/10/11Posts: 5Char no Tibia: Pizicks

cara quando eu abro a bag com shiny stone da erro ajuda ai :wacko: