Ir para conteúdo

[8.54]Pokeserver Tfs 0.3.6 [V3.0]


thalia

Posts Recomendados

Coccon Stone - FAIL

Earth Stone - FAIL

Heart Stone - FAIL (na Clefairy)

Fire Stone - FAIL (no Vulpix)

Venon Stone - FAIL (no Venonat)

Water Stone - (no Poliwag, ele sumiu.)

Punch Stone - (falhou no Machop)

Cubone - Não evolui

 

IMPORTANTE: ARRUMEM OS NOMES DO POKÉMONS!

 

em data/actions/scripts/stones, HÁ TODAS AS STONES!

 

ALGUNS POKÉMONS ESTÃO ESCRITOS ERRADOS, E OUTROS SIMPLESMENTE NÃO EXISTEM!

 

CUBONE NÃO ESTÁ ESCRITO EM NENHUMA STONE!

 

ESTÁ ASSIM: (earth stone)

local evo = {

["Nidoranfe"] = "nidorina",

["Nidorina"] = "nidoqueen",

["Nidoranma"] = "nidorino",

["Nidorino"] = "nidoking",

["Clefairy"] = "clefable",

["Jigglypuff"] = "wigglytuff",

["Diglett"] = "dugtrio",

[""] = "",

[""] = "",

[""] = "",

 

DEIXE ASSIM:

local evo = {

["Nidoranfe"] = "nidorina",

["Nidorina"] = "nidoqueen",

["Nidoranma"] = "nidorino",

["Nidorino"] = "nidoking",

["Clefairy"] = "clefable",

["Jigglypuff"] = "wigglytuff",

["Diglett"] = "dugtrio",

["Cubone"] = "marowak",

[""] = "",

[""] = "",

E SEU CUBONE EVOLUIRÁ =)

 

SOBRE O POLIWAG:

ESTÁ ASSIM:

["Squirtle"] = "wartortle",

["Wartortle"] = "blastoise",

["Staryu"] = "starmie",

["Psyduck"] = "golduck",

["Goldeen"] = "seaking",

["Krabby"] = "kingler",

["Eevee"] = "vaporeon",

["Magikarp"] = "gyarados",

["Poliwag"] = "poliwhir", (está faltando o "l" de poliwhirL)

["Poliwhir"] = "poliwrath",

["Horsea"] = "seadra",

["Seel"] = "dewgong",

["Slowpoke"] = "slowbro",

["Tentacool"] = "tentacruel",

DEIXE ASSIM:

["Squirtle"] = "wartortle",

["Wartortle"] = "blastoise",

["Staryu"] = "starmie",

["Psyduck"] = "golduck",

["Goldeen"] = "seaking",

["Krabby"] = "kingler",

["Eevee"] = "vaporeon",

["Magikarp"] = "gyarados",

["Poliwag"] = "poliwhirl",

["Poliwhirl"] = "poliwrath",

["Horsea"] = "seadra",

["Seel"] = "dewgong",

["Slowpoke"] = "slowbro",

["Tentacool"] = "tentacruel",

 

NÃO HÁ SCRIPT PARA PUNCH STONE, POR ISSO O MACHOP SUMIU =)

VENOM STONE NÃO EVOLUI VENONAT, APENAS A COCCON STONE. A LEAF STONE TAMBÉM EVOLUIRIA, MAS TÁ ERRADO O NOME, AO INVÉS DE VENONAT, ESTÁ VENONATE.

VULPIX NÃO ESTÁ ESCRITO NA FIRE STONE, SÓ ARRUMÁ-LO. ENFIM, VASCULHEM TODAS AS STONES E ARRUMEM DO SEU JEITO.

Link para o comentário
Compartilhar em outros sites

Bom Seguinte, tem algum script BOM de pokedex, ID: 2382? eu usei um aqui do forum vizinho rs e num funfo se der pra da uma ajudinha rs!

 

e quests tem aguma no mapa?

 

Os lideres de ginasio é muito dificil de por?

 

e o sisteminha de fotinha, também é dificil?

 

BOm se me der o caminho certinho posso tenta ajuda também ^^! tenho aqui alguns txt de pokemons que posso por pra download , pra coloca na pokedex :)!

 

E as outfit, eu troko sempre no banco de dados, mais toda veis que logo, ta outfit do Snorlax de papai noel aushuahsuahsu.

 

E como faço pra edita o mapa? ta dando erro aqui :(!

 

vlws geral ae!

 

Galerinha postem mais bugs se acharem ae, to pegando geito pra arruma :)! vlws, geral ai que ta ajudando, amo vcs aushauhsuahsuahs

 

 

--------------------

 

 

Pokedex, ja to ageitando :) esqueci que um lek posto aqui no forum maus ^^!

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

pra quem pediu ae pra pedir lvl pra invoca os pokes...

 

para fazer isso va em data/actions/scripts e abra o arquivo goback.lua apague oq estiver dentro e cole isso...

 

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

function getPokemonMaxLife(name)

local file = io.open('data/monster/monsters.xml','r')

local arquivo = file:read(-1):lower():match('<monster name="'..name:lower()..'" file="(.-)"/>')

file:close()

local data = io.open('data/monster/'..(arquivo or ''),'r')

if not data then

return 100

end

local maximo = data:read(-1):match('max%s*=%s*"(%d+)"')

data:close()

return maximo

end

----- Config -----

local MaximoSummon = 1

local nome = getItemName(item.uid)

local poke_name = nome:match('(.-) Pokeball')

local storage = 9393

local exhaust = 3

local time = 3

local summons = getCreatureSummons(cid)

local action_id = getItemAttribute(item.uid, "aid")

local level = {

['abra'] = {15},

['kadabra'] = {45},

['alakazam'] = {80},

['machop'] = {20},

['machoke'] = {45},

['machamp'] = {70},

['bellsprout'] = {5},

['weepinbell'] = {25},

['victreebel'] = {50},

['tentacool'] = {15},

['tentacruel'] = {75},

['geodude'] = {15},

['graveler'] = {40},

['golem'] = {65},

['ponyta'] = {20},

['rapidash'] = {55},

['slowpoke'] = {15},

['slowbro'] = {45},

['magnemite'] = {15},

['magneton'] = {45},

['farfetchd'] = {40},

['duduo'] = {15},

['dodrio'] = {45},

['seel'] = {15},

['dewgong'] = {65},

['grimmer'] = {15},

['muk'] = {35},

['shellder'] = {15},

['cloyster'] = {65},

['gastly'] = {15},

['haunter'] = {45},

['gengar'] = {80},

['onix'] = {50},

['drownzee'] = {15},

['hypno'] = {40},

['krabby'] = {10},

['klinger'] = {40},

['voltorb'] = {15},

['electrode'] = {45},

['exeggcute'] = {10},

['exeggutor'] = {50},

['cubone'] = {20},

['marowak'] = {55},

['hitmonlee'] = {60},

['hitmonchan'] = {60},

['lickitung'] = {65},

['koffing'] = {15},

['weezing'] = {45},

['rhyhorn'] = {30},

['rhydon'] = {70},

['chansey'] = {60},

['tangela'] = {40},

['kangaskhan'] = {65},

['horsea'] = {10},

['seadra'] = {45},

['goldeen'] = {10},

['seaking'] = {45},

['staryu'] = {15},

['starmie'] = {45},

['mr.Mime'] = {60},

['scyther'] = {80},

['jynx'] = {65},

['electabuzz'] = {80},

['magmar'] = {80},

['pinsir'] = {40},

['tauros'] = {30},

['magikarp'] = {5},

['gyarados'] = {80},

['lapras'] = {70},

['ditto'] = {40},

['eevee'] = {20},

['vaporeon'] = {45},

['flareon'] = {45},

['jolteon'] = {45},

['porygon'] = {60},

['omanyte'] = {20},

['omastar'] = {70},

['kabuto'] = {20},

['kabutops'] = {70},

['snorlax'] = {80},

['articuno'] = {100},

['zapdos'] = {100},

['moltres'] = {100},

['dratini'] = {20},

['dragonair'] = {50},

['dragonite'] = {100},

['mew'] = {100},

['mewtwo'] = {100},

['beedrill'] = {40},

['bulbasaur'] = {20},

['ivysaur'] = {45},

['venusaur'] = {85},

['charmander'] = {20},

['charmeleon'] = {45},

['charizard'] = {85},

['squirtle'] = {20},

['wartortle'] = {45},

['blastoise'] = {85},

['caterpie'] = {5},

['metapod'] = {15},

['butterfree'] = {40},

['weedle'] = {5},

['kakuna'] = {15},

['pidgey'] = {5},

['pidgeotto'] = {20},

['pidgeot'] = {60},

['rattata'] = {5},

['raticate'] = {25},

['spearow'] = {5},

['fearow'] = {40},

['ekans'] = {15},

['arbok'] = {40},

['pikachu'] = {20},

['raichu'] = {55},

['sandshrew'] = {10},

['sandslash'] = {65},

['nidoranFE'] = {5},

['nidorina'] = {35},

['nidoqueen'] = {65},

['nidoranMA'] = {5},

['nidorino'] = {35},

['nidoking'] = {65},

['clefairy'] = {15},

['clefable'] = {40},

['vulpix'] = {15},

['ninetales'] = {65},

['jigglypuff'] = {15},

['wigglytuff'] = {40},

['zubat'] = {5},

['golbat'] = {40},

['oddish'] = {5},

['gloom'] = {25},

['vileplume'] = {65},

['paras'] = {5},

['parasect'] = {65},

['venonat'] = {15},

['venomoth'] = {55},

['diglett'] = {10},

['dugtrio'] = {35},

['meowth'] = {15},

['persian'] = {35},

['psyduck'] = {15},

['golduck'] = {55},

['mankey'] = {15},

['primeape'] = {55},

['growlithe'] = {15},

['arcanine'] = {65},

['poliwag'] = {5},

['poliwhirl'] = {20},

['poliwrath'] = {65},

}

 

local nome = getItemName(getPlayerSlotItem(cid,8).uid)

local monster = nome:match('(.*) Pokeball')

----- Config -----

if getItemAttribute(item.uid, "aid") == -1 then

return doPlayerSendCancel(cid, "Your Pokemon Is Dead.")

end

 

if getPlayerStorageValue(cid, 25000) == 5 then

return doPlayerSendCancel(cid, "You are riding.")

end

if getPlayerStorageValue(cid, 23000) == 5 then

return doPlayerSendCancel(cid, "You are flying.")

end

local summons = getCreatureSummons(cid)

if item.uid ~= getPlayerSlotItem(cid, CONST_SLOT_FEET).uid then

doPlayerSendCancel(cid, "Sorry, you must put your pokeball in the pokeball place.")

return TRUE

end

if getPlayerLevel(cid) >= level[monster][1] then

if (getPlayerStorageValue(cid, storage) <= os.time()) then

if(table.maxn(summons) < MaximoSummon) then -- no summons

creature = doSummonCreature(poke_name, getCreaturePosition(cid))

doConvinceCreature(cid, creature)

registerCreatureEvent(creature, "DiePoke")

registerCreatureEvent(cid, "PlayerPokeDeath")

registerCreatureEvent(cid, "LogoutPoke")

doPlayerSay(cid, poke_name .. " eu escolho você!!", TALKTYPE_ORANGE_1)

doSendMagicEffect(getCreaturePosition(creature), 188)

doTransformItem(getPlayerSlotItem(cid,8).uid, 2569, 1)

doItemSetAttribute(getPlayerSlotItem(cid,8).uid,"name", poke_name .." Pokeball")

if action_id ~= 0 then

doCreatureAddHealth(creature, -(tonumber(getPokemonMaxLife(poke_name) - action_id)))

else

doCreatureAddHealth(creature, getPokemonMaxLife(poke_name))

end

setPlayerStorageValue(cid, storage, os.time()+exhaust)

else

for _, pid in ipairs(summons) do

if getPlayerLevel(cid) >= level[monster][1] then

if (table.maxn(summons) >= 1) then

setPlayerStorageValue(cid, storage, os.time()+exhaust)

doItemSetAttribute(item.uid, "aid", getCreatureHealth(summons[1]))

doSendMagicEffect(getCreaturePosition(getCreatureSummons(cid)[1]), 188)

doPlayerSay(cid,"Back, "..poke_name.."", TALKTYPE_ORANGE_1)

doRemoveCreature(pid)

doTransformItem(getPlayerSlotItem(cid,8).uid, 2532, 1)

doItemSetAttribute(getPlayerSlotItem(cid,8).uid,"name", poke_name .." Pokeball")

end

else

doPlayerSendCancel(cid,"Você não tem level suficiente pra usar esse pokemon!")

end

end

end

end

else

doPlayerSendCancel(cid,"Você não tem level suficiente pra usar esse pokemon!")

end

return true

end

 

agora pra greatball vai na pasta data/actions/scripts e abra o arquivo greatball.lua apague oq tem dentro e coloque isso...

 

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

function getPokemonMaxLife(name)

local file = io.open('data/monster/monsters.xml','r')

local arquivo = file:read(-1):lower():match('<monster name="'..name:lower()..'" file="(.-)"/>')

file:close()

local data = io.open('data/monster/'..(arquivo or ''),'r')

if not data then

return 100

end

local maximo = data:read(-1):match('max%s*=%s*"(%d+)"')

data:close()

return maximo

end

----- Config -----

local MaximoSummon = 1

local nome = getItemName(item.uid)

local poke_name = nome:match('(.-) Greatball')

local storage = 9393

local exhaust = 3

local time = 3

local summons = getCreatureSummons(cid)

local action_id = getItemAttribute(item.uid, "aid")

local level = {

['abra'] = {15},

['kadabra'] = {45},

['alakazam'] = {80},

['machop'] = {20},

['machoke'] = {45},

['machamp'] = {70},

['bellsprout'] = {5},

['weepinbell'] = {25},

['victreebel'] = {50},

['tentacool'] = {15},

['tentacruel'] = {75},

['geodude'] = {15},

['graveler'] = {40},

['golem'] = {65},

['ponyta'] = {20},

['rapidash'] = {55},

['slowpoke'] = {15},

['slowbro'] = {45},

['magnemite'] = {15},

['magneton'] = {45},

['farfetchd'] = {40},

['duduo'] = {15},

['dodrio'] = {45},

['seel'] = {15},

['dewgong'] = {65},

['grimmer'] = {15},

['muk'] = {35},

['shellder'] = {15},

['cloyster'] = {65},

['gastly'] = {15},

['haunter'] = {45},

['gengar'] = {80},

['onix'] = {50},

['drownzee'] = {15},

['hypno'] = {40},

['krabby'] = {10},

['klinger'] = {40},

['voltorb'] = {15},

['electrode'] = {45},

['exeggcute'] = {10},

['exeggutor'] = {50},

['cubone'] = {20},

['marowak'] = {55},

['hitmonlee'] = {60},

['hitmonchan'] = {60},

['lickitung'] = {65},

['koffing'] = {15},

['weezing'] = {45},

['rhyhorn'] = {30},

['rhydon'] = {70},

['chansey'] = {60},

['tangela'] = {40},

['kangaskhan'] = {65},

['horsea'] = {10},

['seadra'] = {45},

['goldeen'] = {10},

['seaking'] = {45},

['staryu'] = {15},

['starmie'] = {45},

['mr.Mime'] = {60},

['scyther'] = {80},

['jynx'] = {65},

['electabuzz'] = {80},

['magmar'] = {80},

['pinsir'] = {40},

['tauros'] = {30},

['magikarp'] = {5},

['gyarados'] = {80},

['lapras'] = {70},

['ditto'] = {40},

['eevee'] = {20},

['vaporeon'] = {45},

['flareon'] = {45},

['jolteon'] = {45},

['porygon'] = {60},

['omanyte'] = {20},

['omastar'] = {70},

['kabuto'] = {20},

['kabutops'] = {70},

['snorlax'] = {80},

['articuno'] = {100},

['zapdos'] = {100},

['moltres'] = {100},

['dratini'] = {20},

['dragonair'] = {50},

['dragonite'] = {100},

['mew'] = {100},

['mewtwo'] = {100},

['beedrill'] = {40},

['bulbasaur'] = {20},

['ivysaur'] = {45},

['venusaur'] = {85},

['charmander'] = {20},

['charmeleon'] = {45},

['charizard'] = {85},

['squirtle'] = {20},

['wartortle'] = {45},

['blastoise'] = {85},

['caterpie'] = {5},

['metapod'] = {15},

['butterfree'] = {40},

['weedle'] = {5},

['kakuna'] = {15},

['pidgey'] = {5},

['pidgeotto'] = {20},

['pidgeot'] = {60},

['rattata'] = {5},

['raticate'] = {25},

['spearow'] = {5},

['fearow'] = {40},

['ekans'] = {15},

['arbok'] = {40},

['pikachu'] = {20},

['raichu'] = {55},

['sandshrew'] = {10},

['sandslash'] = {65},

['nidoranFE'] = {5},

['nidorina'] = {35},

['nidoqueen'] = {65},

['nidoranMA'] = {5},

['nidorino'] = {35},

['nidoking'] = {65},

['clefairy'] = {15},

['clefable'] = {40},

['vulpix'] = {15},

['ninetales'] = {65},

['jigglypuff'] = {15},

['wigglytuff'] = {40},

['zubat'] = {5},

['golbat'] = {40},

['oddish'] = {5},

['gloom'] = {25},

['vileplume'] = {65},

['paras'] = {5},

['parasect'] = {65},

['venonat'] = {15},

['venomoth'] = {55},

['diglett'] = {10},

['dugtrio'] = {35},

['meowth'] = {15},

['persian'] = {35},

['psyduck'] = {15},

['golduck'] = {55},

['mankey'] = {15},

['primeape'] = {55},

['growlithe'] = {15},

['arcanine'] = {65},

['poliwag'] = {5},

['poliwhirl'] = {20},

['poliwrath'] = {65},

}

 

local nome = getItemName(getPlayerSlotItem(cid,8).uid)

local monster = nome:match('(.*) Greatball')

----- Config -----

if getPlayerStorageValue(cid, 25000) == 5 then

return doPlayerSendCancel(cid, "You are riding.")

end

if getPlayerStorageValue(cid, 23000) == 5 then

return doPlayerSendCancel(cid, "You are flying.")

end

if getItemAttribute(item.uid, "aid") == -1 then

return doPlayerSendCancel(cid, "Your Pokemon Is Dead.")

end

local summons = getCreatureSummons(cid)

if item.uid ~= getPlayerSlotItem(cid, CONST_SLOT_FEET).uid then

doPlayerSendCancel(cid, "Sorry, you must put your pokeball in the pokeball place.")

return TRUE

end

if getPlayerLevel(cid) >= level[monster][1] then

if (getPlayerStorageValue(cid, storage) <= os.time()) then

if(table.maxn(summons) < MaximoSummon) then -- no summons

creature = doSummonCreature(poke_name, getCreaturePosition(cid))

doConvinceCreature(cid, creature)

registerCreatureEvent(creature, "Greatball")

registerCreatureEvent(cid, "PlayerPokeDeath")

registerCreatureEvent(cid, "LogoutPoke")

doPlayerSay(cid, "Go,"..poke_name.."!!", TALKTYPE_ORANGE_1)

doSendMagicEffect(getCreaturePosition(creature), 189)

doTransformItem(getPlayerSlotItem(cid,8).uid, 2524, 1)

doItemSetAttribute(getPlayerSlotItem(cid,8).uid,"name", poke_name .." Greatball")

if action_id ~= 0 then

doCreatureAddHealth(creature, -(tonumber(getPokemonMaxLife(poke_name) - action_id)))

else

doCreatureAddHealth(creature, getPokemonMaxLife(poke_name))

end

setPlayerStorageValue(cid, storage, os.time()+exhaust)

else

for _, pid in ipairs(summons) do

if getPlayerLevel(cid) >= level[monster][1] then

if (table.maxn(summons) >= 1) then

setPlayerStorageValue(cid, storage, os.time()+exhaust)

doItemSetAttribute(item.uid, "aid", getCreatureHealth(summons[1]))

doSendMagicEffect(getCreaturePosition(getCreatureSummons(cid)[1]), 189)

doPlayerSay(cid,"Back, "..poke_name.."", TALKTYPE_ORANGE_1)

doRemoveCreature(pid)

doTransformItem(getPlayerSlotItem(cid,8).uid, 2652, 1)

doItemSetAttribute(getPlayerSlotItem(cid,8).uid,"name", poke_name .." Greatball")

end

else

doPlayerSendCancel(cid,"Você não tem level suficiente pra usar esse pokemon!")

end

end

end

end

else

doPlayerSendCancel(cid,"Você não tem level suficiente pra usar esse pokemon!")

end

return true

end

 

pra superball va na ms pasta e apague tudo do superball.lua e adicione isso

 

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

function getPokemonMaxLife(name)

local file = io.open('data/monster/monsters.xml','r')

local arquivo = file:read(-1):lower():match('<monster name="'..name:lower()..'" file="(.-)"/>')

file:close()

local data = io.open('data/monster/'..(arquivo or ''),'r')

if not data then

return 100

end

local maximo = data:read(-1):match('max%s*=%s*"(%d+)"')

data:close()

return maximo

end

----- Config -----

local MaximoSummon = 1

local nome = getItemName(item.uid)

local poke_name = nome:match('(.-) Superball')

local storage = 9393

local exhaust = 3

local time = 3

local summons = getCreatureSummons(cid)

local action_id = getItemAttribute(item.uid, "aid")

local level = {

['abra'] = {15},

['kadabra'] = {45},

['alakazam'] = {80},

['machop'] = {20},

['machoke'] = {45},

['machamp'] = {70},

['bellsprout'] = {5},

['weepinbell'] = {25},

['victreebel'] = {50},

['tentacool'] = {15},

['tentacruel'] = {75},

['geodude'] = {15},

['graveler'] = {40},

['golem'] = {65},

['ponyta'] = {20},

['rapidash'] = {55},

['slowpoke'] = {15},

['slowbro'] = {45},

['magnemite'] = {15},

['magneton'] = {45},

['farfetchd'] = {40},

['duduo'] = {15},

['dodrio'] = {45},

['seel'] = {15},

['dewgong'] = {65},

['grimmer'] = {15},

['muk'] = {35},

['shellder'] = {15},

['cloyster'] = {65},

['gastly'] = {15},

['haunter'] = {45},

['gengar'] = {80},

['onix'] = {50},

['drownzee'] = {15},

['hypno'] = {40},

['krabby'] = {10},

['klinger'] = {40},

['voltorb'] = {15},

['electrode'] = {45},

['exeggcute'] = {10},

['exeggutor'] = {50},

['cubone'] = {20},

['marowak'] = {55},

['hitmonlee'] = {60},

['hitmonchan'] = {60},

['lickitung'] = {65},

['koffing'] = {15},

['weezing'] = {45},

['rhyhorn'] = {30},

['rhydon'] = {70},

['chansey'] = {60},

['tangela'] = {40},

['kangaskhan'] = {65},

['horsea'] = {10},

['seadra'] = {45},

['goldeen'] = {10},

['seaking'] = {45},

['staryu'] = {15},

['starmie'] = {45},

['mr.Mime'] = {60},

['scyther'] = {80},

['jynx'] = {65},

['electabuzz'] = {80},

['magmar'] = {80},

['pinsir'] = {40},

['tauros'] = {30},

['magikarp'] = {5},

['gyarados'] = {80},

['lapras'] = {70},

['ditto'] = {40},

['eevee'] = {20},

['vaporeon'] = {45},

['flareon'] = {45},

['jolteon'] = {45},

['porygon'] = {60},

['omanyte'] = {20},

['omastar'] = {70},

['kabuto'] = {20},

['kabutops'] = {70},

['snorlax'] = {80},

['articuno'] = {100},

['zapdos'] = {100},

['moltres'] = {100},

['dratini'] = {20},

['dragonair'] = {50},

['dragonite'] = {100},

['mew'] = {100},

['mewtwo'] = {100},

['beedrill'] = {40},

['bulbasaur'] = {20},

['ivysaur'] = {45},

['venusaur'] = {85},

['charmander'] = {20},

['charmeleon'] = {45},

['charizard'] = {85},

['squirtle'] = {20},

['wartortle'] = {45},

['blastoise'] = {85},

['caterpie'] = {5},

['metapod'] = {15},

['butterfree'] = {40},

['weedle'] = {5},

['kakuna'] = {15},

['pidgey'] = {5},

['pidgeotto'] = {20},

['pidgeot'] = {60},

['rattata'] = {5},

['raticate'] = {25},

['spearow'] = {5},

['fearow'] = {40},

['ekans'] = {15},

['arbok'] = {40},

['pikachu'] = {20},

['raichu'] = {55},

['sandshrew'] = {10},

['sandslash'] = {65},

['nidoranFE'] = {5},

['nidorina'] = {35},

['nidoqueen'] = {65},

['nidoranMA'] = {5},

['nidorino'] = {35},

['nidoking'] = {65},

['clefairy'] = {15},

['clefable'] = {40},

['vulpix'] = {15},

['ninetales'] = {65},

['jigglypuff'] = {15},

['wigglytuff'] = {40},

['zubat'] = {5},

['golbat'] = {40},

['oddish'] = {5},

['gloom'] = {25},

['vileplume'] = {65},

['paras'] = {5},

['parasect'] = {65},

['venonat'] = {15},

['venomoth'] = {55},

['diglett'] = {10},

['dugtrio'] = {35},

['meowth'] = {15},

['persian'] = {35},

['psyduck'] = {15},

['golduck'] = {55},

['mankey'] = {15},

['primeape'] = {55},

['growlithe'] = {15},

['arcanine'] = {65},

['poliwag'] = {5},

['poliwhirl'] = {20},

['poliwrath'] = {65},

}

 

local nome = getItemName(getPlayerSlotItem(cid,8).uid)

local monster = nome:match('(.*) Superball')

----- Config -----

if getPlayerStorageValue(cid, 25000) == 5 then

return doPlayerSendCancel(cid, "You are riding.")

end

if getPlayerStorageValue(cid, 23000) == 5 then

return doPlayerSendCancel(cid, "You are flying.")

end

if getItemAttribute(item.uid, "aid") == -1 then

return doPlayerSendCancel(cid, "Your Pokemon Is Dead.")

end

local summons = getCreatureSummons(cid)

if item.uid ~= getPlayerSlotItem(cid, CONST_SLOT_FEET).uid then

doPlayerSendCancel(cid, "Sorry, you must put your pokeball in the pokeball place.")

return TRUE

end

if getPlayerLevel(cid) >= level[monster][1] then

if (getPlayerStorageValue(cid, storage) <= os.time()) then

if(table.maxn(summons) < MaximoSummon) then -- no summons

creature = doSummonCreature(poke_name, getCreaturePosition(cid))

doConvinceCreature(cid, creature)

registerCreatureEvent(creature, "Superball")

registerCreatureEvent(cid, "PlayerPokeDeath")

registerCreatureEvent(cid, "LogoutPoke")

doPlayerSay(cid, "Go,"..poke_name.."!!", TALKTYPE_ORANGE_1)

doSendMagicEffect(getCreaturePosition(creature), 190)

doTransformItem(getPlayerSlotItem(cid,8).uid, 2557, 1)

doItemSetAttribute(getPlayerSlotItem(cid,8).uid,"name", poke_name .." Superball")

if action_id ~= 0 then

doCreatureAddHealth(creature, -(tonumber(getPokemonMaxLife(poke_name) - action_id)))

else

doCreatureAddHealth(creature, getPokemonMaxLife(poke_name))

end

setPlayerStorageValue(cid, storage, os.time()+exhaust)

else

for _, pid in ipairs(summons) do

if getPlayerLevel(cid) >= level[monster][1] then

if (table.maxn(summons) >= 1) then

setPlayerStorageValue(cid, storage, os.time()+exhaust)

doItemSetAttribute(item.uid, "aid", getCreatureHealth(summons[1]))

doSendMagicEffect(getCreaturePosition(getCreatureSummons(cid)[1]), 190)

doPlayerSay(cid,"Back, "..poke_name.."", TALKTYPE_ORANGE_1)

doRemoveCreature(pid)

doTransformItem(getPlayerSlotItem(cid,8).uid, 2653, 1)

doItemSetAttribute(getPlayerSlotItem(cid,8).uid,"name", poke_name .." Superball")

end

else

doPlayerSendCancel(cid,"Você não tem level suficiente pra usar esse pokemon!")

end

end

end

end

else

doPlayerSendCancel(cid,"Você não tem level suficiente pra usar esse pokemon!")

end

return true

end

 

para ultraball va na ms pasta e apague tudo do ultraball.lua e adicione isso

 

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

function getPokemonMaxLife(name)

local file = io.open('data/monster/monsters.xml','r')

local arquivo = file:read(-1):lower():match('<monster name="'..name:lower()..'" file="(.-)"/>')

file:close()

local data = io.open('data/monster/'..(arquivo or ''),'r')

if not data then

return 100

end

local maximo = data:read(-1):match('max%s*=%s*"(%d+)"')

data:close()

return maximo

end

----- Config -----

local MaximoSummon = 1

local nome = getItemName(item.uid)

local poke_name = nome:match('(.-) Ultraball')

local storage = 9393

local exhaust = 3

local time = 3

local summons = getCreatureSummons(cid)

local action_id = getItemAttribute(item.uid, "aid")

local level = {

['abra'] = {15},

['kadabra'] = {45},

['alakazam'] = {80},

['machop'] = {20},

['machoke'] = {45},

['machamp'] = {70},

['bellsprout'] = {5},

['weepinbell'] = {25},

['victreebel'] = {50},

['tentacool'] = {15},

['tentacruel'] = {75},

['geodude'] = {15},

['graveler'] = {40},

['golem'] = {65},

['ponyta'] = {20},

['rapidash'] = {55},

['slowpoke'] = {15},

['slowbro'] = {45},

['magnemite'] = {15},

['magneton'] = {45},

['farfetchd'] = {40},

['duduo'] = {15},

['dodrio'] = {45},

['seel'] = {15},

['dewgong'] = {65},

['grimmer'] = {15},

['muk'] = {35},

['shellder'] = {15},

['cloyster'] = {65},

['gastly'] = {15},

['haunter'] = {45},

['gengar'] = {80},

['onix'] = {50},

['drownzee'] = {15},

['hypno'] = {40},

['krabby'] = {10},

['klinger'] = {40},

['voltorb'] = {15},

['electrode'] = {45},

['exeggcute'] = {10},

['exeggutor'] = {50},

['cubone'] = {20},

['marowak'] = {55},

['hitmonlee'] = {60},

['hitmonchan'] = {60},

['lickitung'] = {65},

['koffing'] = {15},

['weezing'] = {45},

['rhyhorn'] = {30},

['rhydon'] = {70},

['chansey'] = {60},

['tangela'] = {40},

['kangaskhan'] = {65},

['horsea'] = {10},

['seadra'] = {45},

['goldeen'] = {10},

['seaking'] = {45},

['staryu'] = {15},

['starmie'] = {45},

['mr.Mime'] = {60},

['scyther'] = {80},

['jynx'] = {65},

['electabuzz'] = {80},

['magmar'] = {80},

['pinsir'] = {40},

['tauros'] = {30},

['magikarp'] = {5},

['gyarados'] = {80},

['lapras'] = {70},

['ditto'] = {40},

['eevee'] = {20},

['vaporeon'] = {45},

['flareon'] = {45},

['jolteon'] = {45},

['porygon'] = {60},

['omanyte'] = {20},

['omastar'] = {70},

['kabuto'] = {20},

['kabutops'] = {70},

['snorlax'] = {80},

['articuno'] = {100},

['zapdos'] = {100},

['moltres'] = {100},

['dratini'] = {20},

['dragonair'] = {50},

['dragonite'] = {100},

['mew'] = {100},

['mewtwo'] = {100},

['beedrill'] = {40},

['bulbasaur'] = {20},

['ivysaur'] = {45},

['venusaur'] = {85},

['charmander'] = {20},

['charmeleon'] = {45},

['charizard'] = {85},

['squirtle'] = {20},

['wartortle'] = {45},

['blastoise'] = {85},

['caterpie'] = {5},

['metapod'] = {15},

['butterfree'] = {40},

['weedle'] = {5},

['kakuna'] = {15},

['pidgey'] = {5},

['pidgeotto'] = {20},

['pidgeot'] = {60},

['rattata'] = {5},

['raticate'] = {25},

['spearow'] = {5},

['fearow'] = {40},

['ekans'] = {15},

['arbok'] = {40},

['pikachu'] = {20},

['raichu'] = {55},

['sandshrew'] = {10},

['sandslash'] = {65},

['nidoranFE'] = {5},

['nidorina'] = {35},

['nidoqueen'] = {65},

['nidoranMA'] = {5},

['nidorino'] = {35},

['nidoking'] = {65},

['clefairy'] = {15},

['clefable'] = {40},

['vulpix'] = {15},

['ninetales'] = {65},

['jigglypuff'] = {15},

['wigglytuff'] = {40},

['zubat'] = {5},

['golbat'] = {40},

['oddish'] = {5},

['gloom'] = {25},

['vileplume'] = {65},

['paras'] = {5},

['parasect'] = {65},

['venonat'] = {15},

['venomoth'] = {55},

['diglett'] = {10},

['dugtrio'] = {35},

['meowth'] = {15},

['persian'] = {35},

['psyduck'] = {15},

['golduck'] = {55},

['mankey'] = {15},

['primeape'] = {55},

['growlithe'] = {15},

['arcanine'] = {65},

['poliwag'] = {5},

['poliwhirl'] = {20},

['poliwrath'] = {65},

}

 

local nome = getItemName(getPlayerSlotItem(cid,8).uid)

local monster = nome:match('(.*) Ultraball')

----- Config -----

if getPlayerStorageValue(cid, 25000) == 5 then

return doPlayerSendCancel(cid, "You are riding.")

end

if getPlayerStorageValue(cid, 23000) == 5 then

return doPlayerSendCancel(cid, "You are flying.")

end

if getItemAttribute(item.uid, "aid") == -1 then

return doPlayerSendCancel(cid, "Your Pokemon Is Dead.")

end

local summons = getCreatureSummons(cid)

if item.uid ~= getPlayerSlotItem(cid, CONST_SLOT_FEET).uid then

doPlayerSendCancel(cid, "Sorry, you must put your pokeball in the pokeball place.")

return TRUE

end

if getPlayerLevel(cid) >= level[monster][1] then

if (getPlayerStorageValue(cid, storage) <= os.time()) then

if(table.maxn(summons) < MaximoSummon) then -- no summons

creature = doSummonCreature(poke_name, getCreaturePosition(cid))

doConvinceCreature(cid, creature)

registerCreatureEvent(creature, "Ultraball")

registerCreatureEvent(cid, "PlayerPokeDeath")

registerCreatureEvent(cid, "LogoutPoke")

doPlayerSay(cid, "Go,"..poke_name.."!!", TALKTYPE_ORANGE_1)

doSendMagicEffect(getCreaturePosition(creature), 191)

doTransformItem(getPlayerSlotItem(cid,8).uid, 2525, 1)

doItemSetAttribute(getPlayerSlotItem(cid,8).uid,"name", poke_name .." Ultraball")

if action_id ~= 0 then

doCreatureAddHealth(creature, -(tonumber(getPokemonMaxLife(poke_name) - action_id)))

else

doCreatureAddHealth(creature, getPokemonMaxLife(poke_name))

end

setPlayerStorageValue(cid, storage, os.time()+exhaust)

else

for _, pid in ipairs(summons) do

if getPlayerLevel(cid) >= level[monster][1] then

if (table.maxn(summons) >= 1) then

setPlayerStorageValue(cid, storage, os.time()+exhaust)

doItemSetAttribute(item.uid, "aid", getCreatureHealth(summons[1]))

doSendMagicEffect(getCreaturePosition(getCreatureSummons(cid)[1]), 191)

doPlayerSay(cid,"Back, "..poke_name.."", TALKTYPE_ORANGE_1)

doRemoveCreature(pid)

doTransformItem(getPlayerSlotItem(cid,8).uid, 2654, 1)

doItemSetAttribute(getPlayerSlotItem(cid,8).uid,"name", poke_name .." Ultraball")

end

else

doPlayerSendCancel(cid,"Você não tem level suficiente pra usar esse pokemon!")

end

end

end

end

else

doPlayerSendCancel(cid,"Você não tem level suficiente pra usar esse pokemon!")

end

return true

end

 

para masterball va na ms pasta e pague tudo do masterball.lua e adicione isso

 

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

function getPokemonMaxLife(name)

local file = io.open('data/monster/monsters.xml','r')

local arquivo = file:read(-1):lower():match('<monster name="'..name:lower()..'" file="(.-)"/>')

file:close()

local data = io.open('data/monster/'..(arquivo or ''),'r')

if not data then

return 100

end

local maximo = data:read(-1):match('max%s*=%s*"(%d+)"')

data:close()

return maximo

end

----- Config -----

local MaximoSummon = 1

local nome = getItemName(item.uid)

local poke_name = nome:match('(.-) Masterball')

local storage = 9393

local exhaust = 3

local time = 3

local summons = getCreatureSummons(cid)

local action_id = getItemAttribute(item.uid, "aid")

local level = {

['abra'] = {15},

['kadabra'] = {45},

['alakazam'] = {80},

['machop'] = {20},

['machoke'] = {45},

['machamp'] = {70},

['bellsprout'] = {5},

['weepinbell'] = {25},

['victreebel'] = {50},

['tentacool'] = {15},

['tentacruel'] = {75},

['geodude'] = {15},

['graveler'] = {40},

['golem'] = {65},

['ponyta'] = {20},

['rapidash'] = {55},

['slowpoke'] = {15},

['slowbro'] = {45},

['magnemite'] = {15},

['magneton'] = {45},

['farfetchd'] = {40},

['duduo'] = {15},

['dodrio'] = {45},

['seel'] = {15},

['dewgong'] = {65},

['grimmer'] = {15},

['muk'] = {35},

['shellder'] = {15},

['cloyster'] = {65},

['gastly'] = {15},

['haunter'] = {45},

['gengar'] = {80},

['onix'] = {50},

['drownzee'] = {15},

['hypno'] = {40},

['krabby'] = {10},

['klinger'] = {40},

['voltorb'] = {15},

['electrode'] = {45},

['exeggcute'] = {10},

['exeggutor'] = {50},

['cubone'] = {20},

['marowak'] = {55},

['hitmonlee'] = {60},

['hitmonchan'] = {60},

['lickitung'] = {65},

['koffing'] = {15},

['weezing'] = {45},

['rhyhorn'] = {30},

['rhydon'] = {70},

['chansey'] = {60},

['tangela'] = {40},

['kangaskhan'] = {65},

['horsea'] = {10},

['seadra'] = {45},

['goldeen'] = {10},

['seaking'] = {45},

['staryu'] = {15},

['starmie'] = {45},

['mr.Mime'] = {60},

['scyther'] = {80},

['jynx'] = {65},

['electabuzz'] = {80},

['magmar'] = {80},

['pinsir'] = {40},

['tauros'] = {30},

['magikarp'] = {5},

['gyarados'] = {80},

['lapras'] = {70},

['ditto'] = {40},

['eevee'] = {20},

['vaporeon'] = {45},

['flareon'] = {45},

['jolteon'] = {45},

['porygon'] = {60},

['omanyte'] = {20},

['omastar'] = {70},

['kabuto'] = {20},

['kabutops'] = {70},

['snorlax'] = {80},

['articuno'] = {100},

['zapdos'] = {100},

['moltres'] = {100},

['dratini'] = {20},

['dragonair'] = {50},

['dragonite'] = {100},

['mew'] = {100},

['mewtwo'] = {100},

['beedrill'] = {40},

['bulbasaur'] = {20},

['ivysaur'] = {45},

['venusaur'] = {85},

['charmander'] = {20},

['charmeleon'] = {45},

['charizard'] = {85},

['squirtle'] = {20},

['wartortle'] = {45},

['blastoise'] = {85},

['caterpie'] = {5},

['metapod'] = {15},

['butterfree'] = {40},

['weedle'] = {5},

['kakuna'] = {15},

['pidgey'] = {5},

['pidgeotto'] = {20},

['pidgeot'] = {60},

['rattata'] = {5},

['raticate'] = {25},

['spearow'] = {5},

['fearow'] = {40},

['ekans'] = {15},

['arbok'] = {40},

['pikachu'] = {20},

['raichu'] = {55},

['sandshrew'] = {10},

['sandslash'] = {65},

['nidoranFE'] = {5},

['nidorina'] = {35},

['nidoqueen'] = {65},

['nidoranMA'] = {5},

['nidorino'] = {35},

['nidoking'] = {65},

['clefairy'] = {15},

['clefable'] = {40},

['vulpix'] = {15},

['ninetales'] = {65},

['jigglypuff'] = {15},

['wigglytuff'] = {40},

['zubat'] = {5},

['golbat'] = {40},

['oddish'] = {5},

['gloom'] = {25},

['vileplume'] = {65},

['paras'] = {5},

['parasect'] = {65},

['venonat'] = {15},

['venomoth'] = {55},

['diglett'] = {10},

['dugtrio'] = {35},

['meowth'] = {15},

['persian'] = {35},

['psyduck'] = {15},

['golduck'] = {55},

['mankey'] = {15},

['primeape'] = {55},

['growlithe'] = {15},

['arcanine'] = {65},

['poliwag'] = {5},

['poliwhirl'] = {20},

['poliwrath'] = {65},

}

 

local nome = getItemName(getPlayerSlotItem(cid,8).uid)

local monster = nome:match('(.*) Masterball')

----- Config -----

if getPlayerStorageValue(cid, 25000) == 5 then

return doPlayerSendCancel(cid, "You are riding.")

end

if getPlayerStorageValue(cid, 23000) == 5 then

return doPlayerSendCancel(cid, "You are flying.")

end

if getItemAttribute(item.uid, "aid") == -1 then

return doPlayerSendCancel(cid, "Your Pokemon Is Dead.")

end

local summons = getCreatureSummons(cid)

if item.uid ~= getPlayerSlotItem(cid, CONST_SLOT_FEET).uid then

doPlayerSendCancel(cid, "Sorry, you must put your pokeball in the pokeball place.")

return TRUE

end

if getPlayerLevel(cid) >= level[monster][1] then

if (getPlayerStorageValue(cid, storage) <= os.time()) then

if(table.maxn(summons) < MaximoSummon) then -- no summons

creature = doSummonCreature(poke_name, getCreaturePosition(cid))

doConvinceCreature(cid, creature)

registerCreatureEvent(creature, "Masterball")

registerCreatureEvent(cid, "PlayerPokeDeath")

registerCreatureEvent(cid, "LogoutPoke")

doPlayerSay(cid, "Go,"..poke_name.."!!", TALKTYPE_ORANGE_1)

doSendMagicEffect(getCreaturePosition(creature), 188)

doTransformItem(getPlayerSlotItem(cid,8).uid, 2523, 1)

doItemSetAttribute(getPlayerSlotItem(cid,8).uid,"name", poke_name .." Masterball")

if action_id ~= 0 then

doCreatureAddHealth(creature, -(tonumber(getPokemonMaxLife(poke_name) - action_id)))

else

doCreatureAddHealth(creature, getPokemonMaxLife(poke_name))

end

setPlayerStorageValue(cid, storage, os.time()+exhaust)

else

for _, pid in ipairs(summons) do

if getPlayerLevel(cid) >= level[monster][1] then

if (table.maxn(summons) >= 1) then

setPlayerStorageValue(cid, storage, os.time()+exhaust)

doItemSetAttribute(item.uid, "aid", getCreatureHealth(summons[1]))

doSendMagicEffect(getCreaturePosition(getCreatureSummons(cid)[1]), 188)

doPlayerSay(cid,"Back, "..poke_name.."", TALKTYPE_ORANGE_1)

doRemoveCreature(pid)

doTransformItem(getPlayerSlotItem(cid,8).uid, 2195, 1)

doItemSetAttribute(getPlayerSlotItem(cid,8).uid,"name", poke_name .." Masterball")

end

else

doPlayerSendCancel(cid,"Você não tem level suficiente pra usar esse pokemon!")

end

end

end

end

else

doPlayerSendCancel(cid,"Você não tem level suficiente pra usar esse pokemon!")

end

return true

end

 

 

 

oq esta em vermelho sao os lvls requeridos... altere avontade... amanha se tudo der certo posto os corpos dos pokes arrumados... fuiz e so postem somente bugs, agradecimentos e ajudas... erros, bugs? post... gostou? agradeça!

 

 

Econtrei um Bug não sei se foi so comigo, com a pokebola normal ele buga você solta o pokemon mas não consegue retornar ele para a pokebola. Este bug so aconteceu com a Pokeball normal, com as outras balls funciona normal ele solta e recolhe o pokemon normal.

Temtei Colar o Codigo da Greatball na Pokeball, para ver se resolvia, mais não resolve.

 

Se você puder postar o codigo ou o reparo para funcionar 100% com a Pokeball Normal Eu Agradeço.

 

Resumindo Funcinou Com Todas as Balls Menos a Pokeball que não retorna o Pokemon na Pokebola.

Link para o comentário
Compartilhar em outros sites

Reizan

pra arruma a outfit do adm tens q mudar no banco de dados e tb na pasta data/XML e edita o arquivo groups.xml e mudar a outfit no groups 6

 

BattleForce

malz eh q meu goback ta diferente...

 

if getPlayerLevel(cid) >= level[monster][1] then

if (getPlayerStorageValue(cid, storage) <= os.time()) then

if(table.maxn(summons) < MaximoSummon) then -- no summons

creature = doSummonCreature(poke_name, getCreaturePosition(cid))

doConvinceCreature(cid, creature)

registerCreatureEvent(creature, "DiePoke")

registerCreatureEvent(cid, "PlayerPokeDeath")

registerCreatureEvent(cid, "LogoutPoke")

doPlayerSay(cid, poke_name .. " eu escolho você!!", TALKTYPE_ORANGE_1)

doSendMagicEffect(getCreaturePosition(creature), 188)

doTransformItem(getPlayerSlotItem(cid,8).uid, 2569, 1)

doItemSetAttribute(getPlayerSlotItem(cid,8).uid,"name", poke_name .." Pokeball")

 

va ate a essa parte do script goback na pasta data/actions/scripts e altere o numero em vermelho pra 2531 e pronto ja vo edita o post ;x

Link para o comentário
Compartilhar em outros sites

pequei um tele port sistem ake no x tibia

 

editei as cidades e vo posta para quem quiser ussar

 

n e igual a o da svke e + ou -

 

data talkactions script add isso

 

function getTime(s)

local n = math.floor(s / 60)

s = s - (60 * n)

return n, s

end

 

function onSay(cid, words, param)

local configs = {

needpa = TRUE,

needlvl = {TRUE, level = 0},

}

 

 

local cidades = {

["saffron"] = {x=1054,y=1053,z=7, pokenames = {"Alakazam", "Abra", "Kadabra","Hypno","Drowzee","Porygon"}, time = 30},

["celadon"] = {x=868,y=1036,z=7, pokenames = {"Alakazam", "Abra", "Kadabra","Hypno","Drowzee","Porygon"}, time = 30},

["pewter"] = {x=718,y=861,z=6, pokenames = {"Alakazam", "Abra", "Kadabra","Hypno","Drowzee","Porygon"}, time = 30},

["celadon"] = {x=1059,y=909,z=7, pokenames = {"Alakazam", "Abra", "Kadabra","Hypno","Drowzee","Porygon"}, time = 30},

["lavender"] = {x=1204,y=1049,z=7, pokenames = {"Alakazam", "Abra", "Kadabra","Hypno","Drowzee","Porygon"}, time = 30},

["fuschia"] = {x=1213,y=1329,z=7, pokenames = {"Alakazam", "Abra", "Kadabra","Hypno","Drowzee","Porygon"}, time = 30},

["viridian"] = {x=708,y=1092,z=7, pokenames = {"Alakazam", "Abra", "Kadabra","Hypno","Drowzee","Porygon"}, time = 30},

 

}

teleport = FALSE

 

if configs.needpa and not isPremium(cid) then

return doPlayerSendCancel(cid, "para teleporta vc precisa de ser vip")

end

 

if configs.needlvl[1] and getPlayerLevel(cid) < configs.needlvl.level then

return doPlayerSendCancel(cid, "You need to be level "..configs.needlvl.level.." or higher to use teleport.")

end

 

if #getCreatureSummons(cid) <= 0 then

return doPlayerSendCancel(cid, "vc precisa de um pokemon que tenha abilidade de teleporte")

end

 

for i,x in pairs(cidades) do

for _,z in pairs(getCreatureSummons(cid)) do

if isInArray(x.pokenames, getCreatureName(z)) then

if param:lower() == "\"" .. i:lower() then

if os.time()-getPlayerStorageValue(cid, 64231) <= x.time*60 then

minutes,seconds = getTime(x.time*60-(os.time()-getPlayerStorageValue(cid, 64231)))

return doPlayerSendCancel(cid, "You need wait " .. minutes .. " minutes and " .. seconds .. " seconds.")

else

doTeleportThing(cid, x)

doTeleportThing(z, x)

setPlayerStorageValue(cid, 64231, os.time())

teleport = TRUE

break

end

end

end

end

end

 

if not teleport then

return doPlayerSendCancel(cid, "This city don't exists or not is able to go in there with teleport or this monster don't able to use teleport.")

end

 

return TRUE

end

 

xml add isso <talkaction words="!teleport" event="script" value="poketeleport.lua"/>

 

creditos al dono do script ta faltando 2 cidades que ainda n tem no map ok vermilion cinanbar

 

PARA TP !teleport "nome cidade

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

Reizan

pra arruma a outfit do adm tens q mudar no banco de dados e tb na pasta data/XML e edita o arquivo groups.xml e mudar a outfit no groups 6

 

BattleForce

malz eh q meu goback ta diferente...

 

if getPlayerLevel(cid) >= level[monster][1] then

if (getPlayerStorageValue(cid, storage) <= os.time()) then

if(table.maxn(summons) < MaximoSummon) then -- no summons

creature = doSummonCreature(poke_name, getCreaturePosition(cid))

doConvinceCreature(cid, creature)

registerCreatureEvent(creature, "DiePoke")

registerCreatureEvent(cid, "PlayerPokeDeath")

registerCreatureEvent(cid, "LogoutPoke")

doPlayerSay(cid, poke_name .. " eu escolho você!!", TALKTYPE_ORANGE_1)

doSendMagicEffect(getCreaturePosition(creature), 188)

doTransformItem(getPlayerSlotItem(cid,8).uid, 2569, 1)

doItemSetAttribute(getPlayerSlotItem(cid,8).uid,"name", poke_name .." Pokeball")

 

va ate a essa parte do script goback na pasta data/actions/scripts e altere o numero em vermelho pra 2531 e pronto ja vo edita o post ;x

 

OK Muito Obrigado Mesmo! Ajudou! Tenho Um Pedido a Fazer ! Sabe Neste Serve Files que o Thalia Postou, não há o SQL do Banco De Dados so o Arquivo s3db que é Sqlite, eu converti ele para SQL Utilizo no meu o SQL Fiz um Site e Tudo Mais, Porem, Na Converção/Importação da Alguns Erro e Falta um das tabelas especificamente falando a tabalea bans, não é nada que impessa de jogar ou bugue o jogo, mas queria saber se pudesse disponiblizar o SQL assim como uma verção que vi no forum bem atiga tem, seria legal.

 

Mais uma Coisa! Existe Algum Script que proiba de alguem capturar o pokemon que você nocauteou assim como é feito no SKve, se houve e se souber posta pra nós.

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...