- Forums
- OTServ
- Suporte
- Tópicos Sem Resposta
- [Encerrado] [Pokemon] Dúvidas? - Pda
[Encerrado] [Pokemon] Dúvidas? - Pda
By lucashgas, 10 de jan. de 2012 in Tópicos Sem Resposta
info
Group: Conde
Joined: 30/04/11
Posts: 658
Reputation: +71
Gender: Masculino
Tibia Character: ExTibiano

@lucashgas Mano num tem nada de mão beijada naum! Eu ajudo o topico como posso até pq eu já ajudei muita gente com coisas simples mais uteis, se qiser ajudar bem se naum finge qe nem viiiu rapá agora vem critica os outros, quem é você pra fazer isso? pió tem gente aki que numca colaboro com nada e ainda reclama!
cara eu ja falei como meche nas rates e vc ainda pergunta se nao deu tudo bem agr se vc nem tento ngm tem q ter ajudar.
info
Group: Conde
Joined: 30/04/11
Posts: 658
Reputation: +71
Gender: Masculino
Tibia Character: ExTibiano

@lucashgas Mano num tem nada de mão beijada naum! Eu ajudo o topico como posso até pq eu já ajudei muita gente com coisas simples mais uteis, se qiser ajudar bem se naum finge qe nem viiiu rapá agora vem critica os outros, quem é você pra fazer isso? pió tem gente aki que numca colaboro com nada e ainda reclama!
cara eu ja falei como meche nas rates e vc ainda pergunta se nao deu tudo bem agr se vc nem tento ngm tem q ter ajudar.
Putz mano foi msmo :x malz aê pelos transtornos naum tinha visto tôo tão ocupado q naum prestei atenção! OBG REP+
info
Group: Visconde
Joined: 10/02/11
Posts: 377
Reputation: +78

qual tfs é esse server pra poder usar Dev C++?
info
Group: Visconde
Joined: 14/08/11
Posts: 320
Reputation: +34
Gender: Masculino

Estou pondo meu server on pela manhã e to precisando mt saber como poe fly e surf pra vip e como que eu deixo meu server como 100x de rate pq eu mudo no confg lua e nada acontece fik a msma coisa do REP+
Acho que tambem não presciso dizer que ja foi postado umas 30x como poem o surf e o fly pra vip.
So basta procurar.
@betinhowz666
preciso saber de algumas coisas pra poder te ajudar
o valor zero nas house e em todas?
ou em algumas?
se for em algumas preciso saber se o erro esta nas posições da portas
vou da exemplo

o valor zero esta nas house que tem as portas na posição exemplo 1 ou exemplo 2
ou as duas?
se o valor zero esta em todas as house preciso que me passe seu config.lua
Edited Março 10 by Nibelins
info
Group: Barão
Joined: 01/05/11
Posts: 234
Reputation: +43
Gender: Masculino

Alguem sabe bota quando pega 1 shiny a ball fica brilhando?
info
Group: Campones
Joined: 24/02/12
Posts: 46
Reputation: 0


Como acomodar el Pokemon Bar?
Edited Março 10 by Saiki
info
Group: Campones
Joined: 15/12/07
Posts: 69
Reputation: +11

Alguem se tem alguma Maneira de tirar o Food System?? (To procurando e nao to achando)
Qual o comando do teleport? ja tentei h "e o nome da cidade mas n funfa!
info
Group: Visconde
Joined: 14/08/11
Posts: 320
Reputation: +34
Gender: Masculino

Como acomodar el Pchannel?
Legal como se fez ? usando tabela pra achar o id do dat?
Qual o comando do teleport? ja tentei h "e o nome da cidade mas n funfa!
Tem que configurar pois não veio com mapa o PDA vai em data/talkactions/scripts abre o arquivo tele.lua ai vai ter:
[1] = {name = "Saffron", id = 1},
[2] = {name = "Cerulean", id = 2},
Ai é só tu adicionar as que falta. Pra Ti SAber o tal id= 1 só ir no teu map editor e apertar ctrl+t ai vai aparecer a lista de cidades ai clica em alguma e vai aprecer o id dela.
Alguem se tem alguma Maneira de tirar o Food System?? (To procurando e nao to achando)
Não sei não mano mas pode ser em data/actions/scripts/other/ food.lua tenta dar uma olhada.
info
Group: Barão
Joined: 30/09/10
Posts: 223
Reputation: +166
Tibia Character: Sorcerer Manipulator

Este problema acontece apenas nas houses que eu adicionei para comparem elas tem apenas 1 porta.
info
Group: Cavaleiro
Joined: 13/07/11
Posts: 152
Reputation: +22
Tibia Character: Kois

Alquem ae tem Npc q TROKA cassino Coins por Pokemon
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local talkState = {}
function doBuyPokemonWithCasinoCoins(cid, poke) npcHandler:onSellpokemon(cid) end
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end
function onThink() npcHandler:onThink() end
function creatureSayCallback(cid, type, msg)
if(not npcHandler:isFocused(cid)) then
return false
end
if msgcontains(msg, 'pokemon') then
selfSay("Hello ".. getCreatureName(cid) .. ", I have two Pokemons to choose one among them, {Eevee} and {Porygon}, which would you choose? ", cid)
talkState[cid] = 1
end
if (msgcontains(msg, 'Eevee') or msgcontains(msg, 'eevee')) and talkState[cid] == 1 then
selfSay("Are you sure you want an Eevee?", cid)
talkState[cid] = 2
elseif (msgcontains(msg, 'nao') or msgcontains(msg, 'no')) and talkState[cid] == 2 then
selfSay("Did not like this choice? You can choose one {Porygon} too.", cid)
talkState[cid] = 1
elseif (msgcontains(msg, 'sim') or msgcontains(msg, 'yes')) and talkState[cid] == 2 then
local pokemon = Eevee
if pokemon == "" then return true end
local gender = getRandomGenderByName(pokemon)
local mypoke = getPokemonStatus(pokemon)
if not mypoke then return true end
local level = 5
local extrastr = 1.5
local btype = "normal"
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)
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..".")
doPlayerAddItemEx(cid, item, true)
doTransformItem(item, pokeballs[btype].on)
setPlayerStorageValue(cid, 23254, getPlayerStorageValue(cid, 23254) - 22000)
selfSay("Here you are! You have just bought an Eevee for 22000 casino coins!", cid)
talkState[cid] = 0
end
if (msgcontains(msg, 'Porygon') or msgcontains(msg, 'porygon')) and talkState[cid] == 1 then
selfSay("Are you sure you want a porygon?", cid)
talkState[cid] = 3
elseif (msgcontains(msg, 'nao') or msgcontains(msg, 'no')) and talkState[cid] == 3 then
selfSay("Did not like his choice? You can choose a {Eevee} too.", cid)
talkState[cid] = 1
elseif (msgcontains(msg, 'sim') or msgcontains(msg, 'yes')) and talkState[cid] == 3 then
local pokemon1 = Porygon
if pokemon1 == "" then return true end
local gender = getRandomGenderByName(pokemon1)
local mypoke = getPokemonStatus(pokemon1)
if not mypoke then return true end
local level = 5
local extrastr = 1.5
local btype = "normal"
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(pokemon1)
local item = doCreateItemEx(2219)
doItemSetAttribute(item, "poke", pokemon1)
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 "..pokemon1..".")
doItemSetAttribute(item, "fakedesc", "Contains a "..pokemon1..".")
doPlayerAddItemEx(cid, item, true)
doTransformItem(item, pokeballs[btype].on)
setPlayerStorageValue(cid, 23254, getPlayerStorageValue(cid, 23255) - 45000)
selfSay("Here you are! You have just bought a Porygon for 45000 casino coins!",cid)
talkState[cid] = 0
end
end
npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)
npcHandler:addModule(FocusModule:new())
Esse Script q eu uso mais vc fala Hi/pokemon/nome do pokemon/dai ela nao fala mais nada e nao da o pokemon alquem me ajuda ae
Edited Março 10 by Kois






info
Group: Barão
Joined: 10/11/07
Posts: 245
Reputation: +53
@Roversinho
o que esse npc faz?
@sonnefes48
explique melhor o seu erro
@ChuckNorris666
foi facil encontrar tudo de mão beijada né? não consegue fazer nada sozinho agora :x