Tudo que Bepovi postou
-
Teletransportar vencedor de area x
.Qual servidor ou website você utiliza como base? KPDO Qual o motivo deste tópico? Está surgindo algum erro? Se sim coloque-o aqui. Você tem o código disponível? Se tiver publique-o aqui: function onUse(cid, item) local torneios = 1 if #getCreatureSummons(cid) >= 1 then doPlayerSendCancel(cid, "Volte seu pokemon") else if #getPlayersInArea(torneio.area) then doPlayerSendTextMessage(cid, 20 ,"So o ultimo que ficar na arena, podera abrir esta porta") return true end doTeleportThing(cid, torneio.playerTemple) doBroadcastMessage("Parabens ao treinador vencedor.") doPlayerAddItem(cid,2148,300) return true end end Olá pessoal. Estou usando a base KPDO, e estou criando um torneio battleroyale. O unico problema está em tentar verificar se na arena tem mais de 1 jogador, e se tiver, não deixar usar a porta. além desse codigo, na pasta lib tem torneio.lua torneio = { playerTemple = {x = 973, y = 1032, z = 13}, --pra onde vai o player quando morrer ?-- area = {fromx = 995, fromy = 936, fromz = 13, tox = 957, toy = 961, toz= 13}, } function getPlayersInArea(area) local players = {} for x = area.fromx,area.tox do for y = area.fromy,area.toy do for z = area.fromz,area.toz do local m = getTopCreature({x=x, y=y, z=z}).uid if m ~= 1 and isPlayer(m) then table.insert(players, m) end end end end return players end No script atual, ele está teletransportando qualquer player falando que venceu. Acredito que o problema esteja em dizer a dimensão da arena e quantos players existem nela. Obs: O script da pasta lib só tem a função para mim de dizer a area da arena e onde vai quando morrer, se o script for todo pelo actions é até melhor pra mim. Grato. Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
-
GLOBAL 100% 7.40 Cliente Proprio, Port Hope 7.4, POI, Demon OaK, War System, Shared Exp, Cast System, Anti Clone, Task System.
onde fica svarground?
-
desativar o ataque de runas pelo battle
Boa noite, estou criando um servidor tibia 7.4 e desejo desativar o ataque de runas pelo battle (players e monstros), como faço isso?
-
Procuro por divulgadores/testadores de Jogo 2D PVP - Pago em dinheiro
Alguém por favor poderia me indicar uma pessoa que faz vídeos de apresentação de jogos para mim? Preciso de alguém que faça um video bem montado, incluindo o gameplay. Estou querendo abrir um jogo e preciso investir em divulgação. Procuro por testadores também. jogo de ação/tiro/estrategia 2D multiplayer. Ofereço 10 reais para testadores que jogarem por no minimo 1h, para ajudar com a criação do video promocional PEÇO QUE POR FAVOR ENTREM EM CONTATO COMIGO POR EMAIL, POIS NÃO ACESSO ESTE FORUM COM FREQUENCIA. [email protected] Foto (feita offline com bots): https://static.wixstatic.com/media/ed244d_63b5e7c8c2054e3eab6a7e79da78f707.jpg/v1/fill/w_538,h_430,al_c,q_90,usm_0.66_1.00_0.01/ed244d_63b5e7c8c2054e3eab6a7e79da78f707.webp
-
Projeto Dragon Ball Online 3D
Boa tarde. Estamos Procurando por programadores com conhecimento em c#/c++ (bom/avançado) para a criação de um Team para recriação do jogo Dragon Ball Online (Link do jogo abaixo), que foi fechado há alguns anos.Possuimos uma source do jogo, porém com vários problemas, e queremos corrigir tudo.Atualmente existem 2 projetos além do nosso, que estão tentando recriar o jogo, (Dboglobal e DBO Revelations), porém nenhum dos dois foi finalizado até o momento. Quem tiver interesse em participar, favor enviar uma mensagem Inbox para mim.No Momento, só temos vagas para Desenvolvedores/ProgramadoresVideos do jogo: https://www.youtube.com/watch?v=w19ewXpL1MM Nossa equipe já conta com 1 Web Master / Design Gráfico 2 Programadores Favor entrar em contato por email [email protected]
-
Pedido - Npc Duel
up
-
Sobre Groups
Boa tarde, gostaria de saber o que significa Flags e customFlags nos groups.xml Grato.
-
ERRO sql database
sqlType = "mysql" é sqlType = "sqlite" confira exatamente como eu coloquei
-
ERRO sql database
não é necessario baixar o mapa.. o problema é no arquivo Config.Lua que fica na pasta principal do servidor. Abra-o com o Bloco de notas, procure as linhas que citei e deixe igual eu falei. confira se na pasta do seu servidor tem o arquivo forgottenserver.s3db, se tiver com outro nome, altere nas linhas sqlDatabase = "forgottenserver" sqlFile = "forgottenserver.s3db"
-
Pedido - Npc Duel
Bom dia, gostaria de um script basico de um treinador que aceita duels, e que ao vencer ganha um item. (só pode duelar 1x) Não serve um treinador de GYM, quero um treinador normal. Base KPDO Já tentei usar scripts de outras bases, mas sempre da erro dizendo attempt to call global "getthis"Usei o seguinte: local prize_id = 1234 -- id do item que vai ganhar local focus = 0 local max_distance = 8 local talk_start = 0 local conv = 0 local fighting = false local challenger = 0 local afk_limit_time = 30 -- seconds local afk_time = 0 -- don't change local battle_turn = 1 -- don't change local challenger_turn = 0 -- don't change local pokemons = { {name = "Clone Blastoise", optionalLevel = 100, sex = SEX_MALE, nick = "", ball = "super"}, {name = "Clone Charizard", optionalLevel = 100, sex = SEX_MALE, nick = "", ball = "super"}, {name = "Clone Gengar", optionalLevel = 100, sex = SEX_MALE, nick = "", ball = "super"}, {name = "Clone Venusaur", optionalLevel = 100, sex = SEX_MALE, nick = "", ball = "super"}, } local function doSummonGymPokemon(npc) local this = npc if #getCreatureSummons(this) >= 1 or focus == 0 then return true end local it = pokemons[battle_turn] doSummonMonster(this, it.name) local summon = getCreatureSummons(this)[1] local balleffect = pokeballs["normal"].effect if it.ball and pokeballs[it.ball] then balleffect = pokeballs[it.ball].effect end doSendMagicEffect(getThingPos(summon), balleffect) setPlayerStorageValue(summon, 10000, balleffect) setPlayerStorageValue(summon, 10001, gobackmsgs[math.random(#gobackmsgs)].back:gsub("doka", it.nick ~= "" and it.nick or it.name)) setPlayerStorageValue(summon, 1007, it.nick ~= "" and it.nick or it.name) doSetMonsterGym(summon, focus) addEvent(adjustWildPoke, 15, summon, it.optionalLevel) local name = it.nick ~= "" and it.nick or getCreatureName(this).."s "..it.name doCreatureSay(this, gobackmsgs[math.random(#gobackmsgs)].go:gsub("doka", getPlayerStorageValue(summon, 1007)), 1) fighting = true battle_turn = battle_turn + 1 end local function doWinDuel(cid, npc) if not isCreature(cid) then return true end doPlayerAddItem(cid, prize_id, 1) doCreatureSay(npc, "You won the duel! Congratulations, take this "..getItemNameById(prize_id).." as a prize.", 1) end function onCreatureSay(cid, type, msg) local msg = string.lower(msg) if focus == cid then talk_start = os.clock() end if msgcontains(msg, 'hi') and focus == 0 and getDistanceToCreature(cid) <= 4 then focus = cid talk_start = os.clock() conv = 1 selfSay("Olhe so "..getCreatureName(cid)..", mais um viajante fracassado,voce veio aqui por vontade propria,mais para sair sera obrigado a seguir minhas regras,diga {duel} para acabarmos logo com isso") return true end if isDuelMsg(msg) and conv == 1 and focus == cid then --if getPlayerItemCount(cid, gymbadges[getCreatureName(getThis())]) >= 1 then -- selfSay("You have already won my Marsh Badge, maybe some other day we can fight.") -- focus = 0 --return true --end if not hasPokemon(cid) then selfSay("Solte seu pokemon para comecarmos a batalha.") return true end selfSay("You are challenging me to a battle. It will be a "..#pokemons.." pokemon limit battle, let's start?") conv = 2 return true end if isConfirmMsg(msg) and conv == 2 and focus == cid then challenger = focus setPlayerStorageValue(cid, 990, 1) selfSay("Yea, let's fight!") talk_start = os.clock() addEvent(doSummonGymPokemon, 850, getThis()) conv = 3 return true end if isNegMsg(msg) and conv == 2 and focus == cid then focus = 0 selfSay("Era melhor sevoce tivesse ficado fora do meu caminho!") return true end if msgcontains(msg, 'bye') and focus == cid then selfSay('Bye and do your best trainer!') setPlayerStorageValue(focus, 990, -1) focus = 0 return true end end local afk_warning = false function onThink() --doSendAnimatedText(getThingPos(getThis()), getCreatureName(getThis()), 215) if focus == 0 then selfTurn(2) fighting = false challenger = 0 challenger_turn = 0 battle_turn = 1 afk_time = 0 afk_warning = false if #getCreatureSummons(getThis()) >= 1 then setPlayerStorageValue(getCreatureSummons(getThis())[1], 1006, 0) doCreatureAddHealth(getCreatureSummons(getThis())[1], -getCreatureMaxHealth(getCreatureSummons(getThis())[1])) end return true else if not isCreature(focus) then focus = 0 return true end if fighting then talk_start = os.clock() if not isCreature(getCreatureTarget(getThis())) then if #getCreatureSummons(challenger) >= 1 then if getCreatureOutfit(getCreatureSummons(challenger)[1]).lookType ~= 2 then --alterado v1.6 selfAttackCreature(getCreatureSummons(challenger)[1]) challenger_turn = challenger_turn + 1 afk_time = 0 end else afk_time = afk_time + 0.5 end end if afk_time > afk_limit_time then setPlayerStorageValue(focus, 990, -1) focus = 0 selfSay("Fraco!Ja esperava isso de viajantes desse tipo!") return true end if not afk_warning and afk_time > afk_limit_time / 2 then selfSay("Where's your pokemon? Let's fight!") afk_warning = true end if #getCreatureSummons(getThis()) == 0 then if battle_turn > #pokemons then addEvent(doWinDuel, 1000, focus, getThis()) setPlayerStorageValue(focus, 990, -1) focus = 0 return true end addEvent(doSummonGymPokemon, 1000, getThis()) end if not hasPokemon(challenger) or challenger_turn >= 7 or challenger_turn > #pokemons then selfSay("You lost our duel! Maybe some other time you'll defeat me.") setPlayerStorageValue(focus, 990, -1) focus = 0 return true end end local npcpos = getThingPos(getThis()) local focpos = getThingPos(focus) if npcpos.z ~= focpos.z then setPlayerStorageValue(focus, 990, -1) focus = 0 selfSay("Bye then.") return true end if (os.clock() - talk_start) > 30 then selfSay("Good bye and keep training!") setPlayerStorageValue(focus, 990, -1) focus = 0 end if getDistanceToCreature(focus) > max_distance then setPlayerStorageValue(focus, 990, -1) focus = 0 return true end local dir = doRedirectDirection(getDirectionTo(npcpos, focpos)) selfTurn(dir) end return true end Obrigado!
-
ERRO sql database
amigo, use o botão de pesquisa.. existem muitos topicos dizendo como arruma isso.. o problema é no config.lua.. terá que modificar essa parte: sqlType = "sqlite" sqlHost = "localhost" sqlPort = 3306 sqlUser = "" sqlPass = "" sqlDatabase = "forgottenserver" sqlFile = "forgottenserver.s3db" sqlKeepAlive = 0 mysqlReadTimeout = 10 mysqlWriteTimeout = 10 encryptionType = "plain"
- Pz title
-
[AJUDA]Como mudar de mapa?
pode me dizer qual mapa é? posso testar pra vc.
-
Pz title
Estou com o seguinte problema: Gostaria que o jogador não pudesse entrar no CP se estiver com battle. Já alterei os pisos para no-pvp e pz Zone e não funcionou.. Base kpdo Grato!
-
[AJUDA]Como mudar de mapa?
Quando abre o server ou o mapa? Se for o server, abra o map editor, e vá na posição citada, e delete o item que estiver lá. Se for no mapa, confira se está usando o editor correto, além dos arquivos necessários dentro da pasta do editor para abrir o mapa (itens.otbm) // tibia.dat e tibia.spr
-
[AJUDA]Como mudar de mapa?
pasta data/world..copia o mapa e spawn para o outro Server.. lembrando que tem que ser compatível.. daí vc vai abrir o arquivo config.lua da pasta principal e procurar uma parte que diz map name"" e colocar o nome do mapa que vc trocou.. Talvez seja necessario alterar o local do nascimento do char, se for, abra o mapa com um editr de mapa.. veja a posição x,y,z e altere na database
-
PEDIDO - Site gesior para Poketibia KPDO
up, Gostaria de um download de website já configurado o básico para o KPDO, com os First itens, seja lá qual for, mas com pokemon. é possivel?
-
PEDIDO - Site gesior para Poketibia KPDO
Boa tarde, solicito o link para download para o site gesior configurado para kpdo, pois todos os sites que encontrei compativeis com kpdo estavam offline. Grato!
-
[PEDIDO]Potion Pokemon Parar de healar se algum bixo atacar
Bom dia, gostaria de saber como arrumar o script abaixo, para que quando algum pokemon ser atacado quando estiver healando, a potion para de fazer efeito. E que se possivel, apareça uma mensagem vermelha em cima do poke, dizendo que parou de healar. Grato! function onUse(cid, item, frompos, item2, topos) if isPlayer(item2.uid) then return doPlayerSendCancel(cid, "You can only use potions on pokemons!") end --if (getCreatureCondition(cid, CONDITION_INFIGHT) == TRUE) then --doPlayerSendCancel(cid, "Sorry, you can't use during fights!") --return TRUE --end if not isCreature(item2.uid) then return doPlayerSendCancel(cid, "You can only use potions on pokemons!") end if not isPlayer(getCreatureMaster(item2.uid)) then return doPlayerSendCancel(cid, "You cant use potions on wild pokemons.") end if getCreatureMaster(item2.uid) == cid then if getCreatureHealth(item2.uid) == getCreatureMaxHealth(item2.uid) then return doPlayerSendCancel(cid, "This pokemon is already at full health.") end if getPlayerStorageValue(item2.uid, 173) >= 1 then return doPlayerSendCancel(cid, "This pokemon is already under effects of potions.") end if getPlayerStorageValue(cid,3333) >= 1 or getPlayerStorageValue(cid, 8888) >= 1 then return doPlayerSendCancel(cid, "You cant use potion in duel") end doCreatureSay(cid, ""..getCreatureName(item2.uid)..", take this potion!", TALKTYPE_SAY) doSendMagicEffect(getThingPos(item2.uid), 172) doRemoveItem(item.uid, 1) setPlayerStorageValue(item2.uid, 173, 1) local function heal(params) if isCreature(params.item2) then if getPlayerStorageValue(params.item2, 173) >= 2 then return true end --if (getCreatureCondition(params.cid, CONDITION_INFIGHT) == true) then --doSendAnimatedText(getThingPos(params.item2), "LOST HEAL", 215) --setPlayerStorageValue(params.item2, 173, 2) --return true --end if getCreatureHealth(params.item2) == getCreatureMaxHealth(params.item2) then return true end if item.itemid == 2271 or item.itemid == 203 then local health = getCreatureMaxHealth(params.item2) local healar = health/25 doSendMagicEffect(getThingPos(params.item2), 14) doCreatureAddHealth(params.item2, healar) elseif item.itemid == 2274 or item.itemid == 204 then local health = getCreatureMaxHealth(params.item2) local healar = health/10 doSendMagicEffect(getThingPos(params.item2), 13) doCreatureAddHealth(params.item2, healar) elseif item.itemid == 2275 or item.itemid == 205 then local health = getCreatureMaxHealth(params.item2) local healar = health/5 doSendMagicEffect(getThingPos(params.item2), 12) doCreatureAddHealth(params.item2, healar) end end end local function noskull(params) if isCreature(params.item2) then setPlayerStorageValue(item2.uid, 173, 0) end end local item2 = item2.uid addEvent(heal, 1200, {cid = cid, item2 = item2}) addEvent(heal, 2400, {cid = cid, item2 = item2}) addEvent(heal, 3600, {cid = cid, item2 = item2}) addEvent(heal, 4800, {cid = cid, item2 = item2}) addEvent(heal, 6000, {cid = cid, item2 = item2}) addEvent(noskull, 6100, {cid = cid, item2 = item2}) end return true end EDITED< Acabei de notar que já possuia isso no script, apenas estava com -- perdoem a ignorancia! Favor fecharem topico!
-
Pedido. Sprite sde Overboard ou skate.
Segue anexo: overboard_2276.obd overboard2_2277.obd
-
[Pokemon Kpdo] Pokemon kpdo exaioros By Cater
Como faço para ativar o torneio, e os eventos?
-
[Pedido] Delay Fishing Kpdo
Perdão.. estava postando pelo celular e nao tive como postar.. aí vai: function onUse(cid, item, fromPos, itemEx, toPos) if getTileInfo(getCreaturePosition(cid)).protection or #getCreatureSummons(cid) >= 1 and getTileInfo(getCreaturePosition(getCreatureSummons(cid)[1])).protection then return true end if getPlayerStorageValue(cid, 63215) >= 1 then return true end if getPlayerStorageValue(cid, 17000) >= 1 then return true end if getPlayerStorageValue(cid, 17001) >= 1 then return true end local d0 = { [0] = {pokemon = 'Magikarp p'}, } local d20 = { [0] = {pokemon = 'magikarp p'}, [1] = {pokemon = 'horsea p'}, [2] = {pokemon = 'krabby p'}, [3] = {pokemon = 'poliwag p'}, [4] = {pokemon = 'poliwag p'}, } local d40 = { [0] = {pokemon = 'magikarp p'}, [1] = {pokemon = 'horsea p'}, [2] = {pokemon = 'krabby p'}, [3] = {pokemon = 'poliwag p'}, [4] = {pokemon = 'shellder p'}, [5] = {pokemon = 'goldeen p'}, [6] = {pokemon = 'psyduck p'}, [7] = {pokemon = 'staryu p'}, [8] = {pokemon = 'seel p'}, } local d60 = { [0] = {pokemon = 'magikarp p'}, [1] = {pokemon = 'horsea p'}, [2] = {pokemon = 'krabby p'}, [3] = {pokemon = 'poliwag p'}, [4] = {pokemon = 'shellder p'}, [5] = {pokemon = 'slowpoke p'}, [6] = {pokemon = 'goldeen p'}, [7] = {pokemon = 'psyduck p'}, [8] = {pokemon = 'staryu p'}, [9] = {pokemon = 'tentacool p'}, [10] = {pokemon = 'poliwhirl p'}, [11] = {pokemon = 'seel p'}, [12] = {pokemon = 'squirtle p'}, [13] = {pokemon = 'seaking p'}, } local d80 = { [0] = {pokemon = 'magikarp p'}, [1] = {pokemon = 'horsea p'}, [2] = {pokemon = 'krabby p'}, [3] = {pokemon = 'poliwag p'}, [4] = {pokemon = 'shellder p'}, [5] = {pokemon = 'slowpoke p'}, [6] = {pokemon = 'goldeen p'}, [7] = {pokemon = 'psyduck p'}, [8] = {pokemon = 'staryu p'}, [9] = {pokemon = 'tentacool p'}, [10] = {pokemon = 'poliwhirl p'}, [11] = {pokemon = 'seel p'}, [12] = {pokemon = 'squirtle p'}, [13] = {pokemon = 'seaking p'}, [14] = {pokemon = 'starmie p'}, [15] = {pokemon = 'remoraid p'}, [16] = {pokemon = 'slowbro p'}, [17] = {pokemon = 'wartortle p'}, [18] = {pokemon = 'kingler p'}, } local d90 = { [0] = {pokemon = 'magikarp p'}, [1] = {pokemon = 'horsea p'}, [2] = {pokemon = 'krabby p'}, [3] = {pokemon = 'poliwag p'}, [4] = {pokemon = 'shellder p'}, [5] = {pokemon = 'slowpoke p'}, [6] = {pokemon = 'goldeen p'}, [7] = {pokemon = 'psyduck p'}, [8] = {pokemon = 'staryu p'}, [9] = {pokemon = 'tentacool p'}, [10] = {pokemon = 'poliwhirl p'}, [11] = {pokemon = 'seel p'}, [12] = {pokemon = 'squirtle p'}, [13] = {pokemon = 'totodile p'}, [14] = {pokemon = 'seaking p'}, [15] = {pokemon = 'starmie p'}, [16] = {pokemon = 'wartortle p'}, [17] = {pokemon = 'kingler p'}, [18] = {pokemon = 'seadra p'}, [19] = {pokemon = 'dewgong p'}, [20] = {pokemon = 'omanyte p'}, } local d100 = { [0] = {pokemon = 'magikarp p'}, [1] = {pokemon = 'horsea p'}, [2] = {pokemon = 'krabby p'}, [3] = {pokemon = 'poliwag p'}, [4] = {pokemon = 'shellder p'}, [5] = {pokemon = 'slowpoke p'}, [6] = {pokemon = 'goldeen p'}, [7] = {pokemon = 'psyduck p'}, [8] = {pokemon = 'staryu p'}, [9] = {pokemon = 'tentacool p'}, [10] = {pokemon = 'poliwhirl p'}, [11] = {pokemon = 'seel p'}, [12] = {pokemon = 'squirtle p'}, [13] = {pokemon = 'totodile p'}, [14] = {pokemon = 'seaking p'}, [15] = {pokemon = 'starmie p'}, [16] = {pokemon = 'slowbro p'}, [17] = {pokemon = 'wartortle p'}, [18] = {pokemon = 'kingler p'}, [19] = {pokemon = 'seadra p'}, [20] = {pokemon = 'cloyster p'}, [21] = {pokemon = 'poliwrath p'}, [22] = {pokemon = 'vaporeon p'}, [23] = {pokemon = 'golduck p'}, [24] = {pokemon = 'blastoise p'}, } local d110 = { [0] = {pokemon = 'magikarp p'}, [1] = {pokemon = 'horsea p'}, [2] = {pokemon = 'krabby p'}, [3] = {pokemon = 'poliwag p'}, [4] = {pokemon = 'shellder p'}, [5] = {pokemon = 'slowpoke p'}, [6] = {pokemon = 'goldeen p'}, [7] = {pokemon = 'psyduck p'}, [8] = {pokemon = 'staryu p'}, [9] = {pokemon = 'tentacool p'}, [10] = {pokemon = 'poliwhirl p'}, [11] = {pokemon = 'seel p'}, [12] = {pokemon = 'squirtle p'}, [13] = {pokemon = 'totodile p'}, [14] = {pokemon = 'seaking p'}, [15] = {pokemon = 'starmie p'}, [16] = {pokemon = 'slowbro p'}, [17] = {pokemon = 'wartortle p'}, [18] = {pokemon = 'kingler p'}, [19] = {pokemon = 'seadra p'}, [20] = {pokemon = 'cloyster p'}, [21] = {pokemon = 'dewgong p'}, [22] = {pokemon = 'kabuto p'}, [23] = {pokemon = 'omanyte p'}, [24] = {pokemon = 'poliwrath p'}, [25] = {pokemon = 'vaporeon p'}, [26] = {pokemon = 'golduck p'}, [27] = {pokemon = 'tentacruel p'}, [28] = {pokemon = 'blastoise p'}, [29] = {pokemon = 'kabutops p'}, [30] = {pokemon = 'omastar p'}, [31] = {pokemon = 'gyarados p'}, } local d130 = { [0] = {pokemon = 'magikarp p'}, [1] = {pokemon = 'horsea p'}, [2] = {pokemon = 'krabby p'}, [3] = {pokemon = 'poliwag p'}, [4] = {pokemon = 'shellder p'}, [5] = {pokemon = 'slowpoke p'}, [6] = {pokemon = 'goldeen p'}, [7] = {pokemon = 'psyduck p'}, [8] = {pokemon = 'staryu p'}, [9] = {pokemon = 'tentacool p'}, [10] = {pokemon = 'poliwhirl p'}, [11] = {pokemon = 'seel p'}, [12] = {pokemon = 'squirtle p'}, [13] = {pokemon = 'totodile p'}, [14] = {pokemon = 'seaking p'}, [15] = {pokemon = 'starmie p'}, [16] = {pokemon = 'slowbro p'}, [17] = {pokemon = 'wartortle p'}, [18] = {pokemon = 'kingler p'}, [19] = {pokemon = 'seadra p'}, [20] = {pokemon = 'cloyster p'}, [21] = {pokemon = 'dewgong p'}, [22] = {pokemon = 'kabuto p'}, [23] = {pokemon = 'omanyte p'}, [24] = {pokemon = 'poliwrath p'}, [25] = {pokemon = 'vaporeon p'}, [26] = {pokemon = 'golduck p'}, [27] = {pokemon = 'tentacruel p'}, [28] = {pokemon = 'blastoise p'}, [29] = {pokemon = 'kabutops p'}, [30] = {pokemon = 'omastar p'}, [31] = {pokemon = 'gyarados p'}, } local d150 = { [0] = {pokemon = 'magikarp p'}, [1] = {pokemon = 'horsea p'}, [2] = {pokemon = 'krabby p'}, [3] = {pokemon = 'poliwag p'}, [4] = {pokemon = 'shellder p'}, [5] = {pokemon = 'slowpoke p'}, [6] = {pokemon = 'goldeen p'}, [7] = {pokemon = 'psyduck p'}, [8] = {pokemon = 'staryu p'}, [9] = {pokemon = 'tentacool p'}, [10] = {pokemon = 'poliwhirl p'}, [11] = {pokemon = 'seel p'}, [12] = {pokemon = 'squirtle p'}, [13] = {pokemon = 'totodile p'}, [14] = {pokemon = 'seaking p'}, [15] = {pokemon = 'starmie p'}, [16] = {pokemon = 'slowbro p'}, [17] = {pokemon = 'wartortle p'}, [18] = {pokemon = 'kingler p'}, [19] = {pokemon = 'seadra p'}, [20] = {pokemon = 'cloyster p'}, [21] = {pokemon = 'dewgong p'}, [22] = {pokemon = 'kabuto p'}, [23] = {pokemon = 'omanyte p'}, [24] = {pokemon = 'poliwrath p'}, [25] = {pokemon = 'vaporeon p'}, [26] = {pokemon = 'golduck p'}, [27] = {pokemon = 'tentacruel p'}, [28] = {pokemon = 'blastoise p'}, [29] = {pokemon = 'kabutops p'}, [30] = {pokemon = 'omastar p'}, [31] = {pokemon = 'gyarados p'}, } local config = { waters = {4614, 4615, 4616, 4617, 4618, 4619, 4608, 4609, 4610, 4611, 4612, 4613, 7236, 4614, 4615, 4616, 4617, 4618, 4619, 4620, 4621, 4622, 4623, 4624, 4625, 4665, 4666, 4820, 4821, 4822, 4823, 4824, 4825}, } local skill = getPlayerSkillLevel(cid, 6) local playerpos = {x=getCreaturePosition(cid).x, y=getCreaturePosition(cid).y+1, z=getCreaturePosition(cid).z} if(isInArray(config.waters, itemEx.itemid)) then doSendMagicEffect(toPos, CONST_ME_LOSEENERGY) if skill >= 150 then local random = math.random(0, 70) if random <= 70 then local criature = doCreateMonster(d130[random].pokemon, playerpos,false) if not isCreature(criature) then return true end doPlayerAddSkillTry(cid, 6, 7) doCreatureSetStorage(criature, 17, 5) if getPlayerStorageValue(criature, 200) == -1 then doCreatureSetStorage(criature, 200, "!, ") end doCreatureSetStorage(criature, 200, getPlayerStorageValue(criature, 200)..""..getCreatureName(cid)..", ") if #getCreatureSummons(cid) >= 1 then doMonsterSetTarget(criature, getCreatureSummons(cid)[1]) else doMonsterSetTarget(criature, cid) end return true end else if skill >= 130 then local random = math.random(0, 65) if random <= 65 then local criature = doCreateMonster(d130[random].pokemon, playerpos,false) if not isCreature(criature) then return true end doPlayerAddSkillTry(cid, 6, 7) doCreatureSetStorage(criature, 17, 5) if getPlayerStorageValue(criature, 200) == -1 then doCreatureSetStorage(criature, 200, "!, ") end doCreatureSetStorage(criature, 200, getPlayerStorageValue(criature, 200)..""..getCreatureName(cid)..", ") if #getCreatureSummons(cid) >= 1 then doMonsterSetTarget(criature, getCreatureSummons(cid)[1]) else doMonsterSetTarget(criature, cid) end return true end else if skill >= 110 then local random = math.random(0, 57) if random <= 57 then local criature = doCreateMonster(d110[random].pokemon, playerpos,false) if not isCreature(criature) then return true end doPlayerAddSkillTry(cid, 6, 7) doCreatureSetStorage(criature, 17, 5) if getPlayerStorageValue(criature, 200) == -1 then doCreatureSetStorage(criature, 200, "!, ") end doCreatureSetStorage(criature, 200, getPlayerStorageValue(criature, 200)..""..getCreatureName(cid)..", ") if #getCreatureSummons(cid) >= 1 then doMonsterSetTarget(criature, getCreatureSummons(cid)[1]) else doMonsterSetTarget(criature, cid) end return true end else if skill >= 100 then local random = math.random(0, 37) if random <= 37 then local criature = doCreateMonster(d100[random].pokemon, playerpos,false) if not isCreature(criature) then return true end doPlayerAddSkillTry(cid, 6, 7) doCreatureSetStorage(criature, 17, 5) if getPlayerStorageValue(criature, 200) == -1 then doCreatureSetStorage(criature, 200, "!, ") end doCreatureSetStorage(criature, 200, getPlayerStorageValue(criature, 200)..""..getCreatureName(cid)..", ") if #getCreatureSummons(cid) >= 1 then doMonsterSetTarget(criature, getCreatureSummons(cid)[1]) else doMonsterSetTarget(criature, cid) end return true end else if skill >= 90 then local random = math.random(0, 29) if random <= 29 then local criature = doCreateMonster(d90[random].pokemon, playerpos,false) if not isCreature(criature) then return true end doPlayerAddSkillTry(cid, 6, 7) doCreatureSetStorage(criature, 17, 5) if getPlayerStorageValue(criature, 200) == -1 then doCreatureSetStorage(criature, 200, "!, ") end doCreatureSetStorage(criature, 200, getPlayerStorageValue(criature, 200)..""..getCreatureName(cid)..", ") if #getCreatureSummons(cid) >= 1 then doMonsterSetTarget(criature, getCreatureSummons(cid)[1]) else doMonsterSetTarget(criature, cid) end return true end else if skill >= 80 then local random = math.random(0, 35) if random <= 22 then local criature = doCreateMonster(d80[random].pokemon, playerpos,false) if not isCreature(criature) then return true end doPlayerAddSkillTry(cid, 6, 10) doCreatureSetStorage(criature, 17, 5) if getPlayerStorageValue(criature, 200) == -1 then doCreatureSetStorage(criature, 200, "!, ") end doCreatureSetStorage(criature, 200, getPlayerStorageValue(criature, 200)..""..getCreatureName(cid)..", ") if #getCreatureSummons(cid) >= 1 then doMonsterSetTarget(criature, getCreatureSummons(cid)[1]) else doMonsterSetTarget(criature, cid) end return true end else if skill >= 60 then local random = math.random(0, 22) if random <= 14 then local criature = doCreateMonster(d60[random].pokemon, playerpos,false) if not isCreature(criature) then return true end doPlayerAddSkillTry(cid, 6, 15) doCreatureSetStorage(criature, 17, 5) if getPlayerStorageValue(criature, 200) == -1 then doCreatureSetStorage(criature, 200, "!, ") end doCreatureSetStorage(criature, 200, getPlayerStorageValue(criature, 200)..""..getCreatureName(cid)..", ") if #getCreatureSummons(cid) >= 1 then doMonsterSetTarget(criature, getCreatureSummons(cid)[1]) else doMonsterSetTarget(criature, cid) end return true end else if skill >= 40 then local random = math.random(0, 20) if random <= 11 then local criature = doCreateMonster(d40[random].pokemon, playerpos,false) if not isCreature(criature) then return true end doPlayerAddSkillTry(cid, 6, 20) doCreatureSetStorage(criature, 17, 5) if getPlayerStorageValue(criature, 200) == -1 then doCreatureSetStorage(criature, 200, "!, ") end doCreatureSetStorage(criature, 200, getPlayerStorageValue(criature, 200)..""..getCreatureName(cid)..", ") if #getCreatureSummons(cid) >= 1 then doMonsterSetTarget(criature, getCreatureSummons(cid)[1]) else doMonsterSetTarget(criature, cid) end return true end else if skill >= 20 then local random = math.random(0, 14) if random <= 6 then local criature = doCreateMonster(d20[random].pokemon, playerpos,false) if not isCreature(criature) then return true end doPlayerAddSkillTry(cid, 6, 25) doCreatureSetStorage(criature, 17, 5) if getPlayerStorageValue(criature, 200) == -1 then doCreatureSetStorage(criature, 200, "!, ") end doCreatureSetStorage(criature, 200, getPlayerStorageValue(criature, 200)..""..getCreatureName(cid)..", ") if #getCreatureSummons(cid) >= 1 then doMonsterSetTarget(criature, getCreatureSummons(cid)[1]) else doMonsterSetTarget(criature, cid) end return true end else if skill >= 0 and skill < 20 then local random = math.random(0, 3) if random <= 0 then local criature = doCreateMonster(d0[0].pokemon, playerpos,false) if not isCreature(criature) then return true end doPlayerAddSkillTry(cid, 6, 30) doCreatureSetStorage(criature, 17, 5) if getPlayerStorageValue(criature, 200) == -1 then doCreatureSetStorage(criature, 200, "!, ") end doCreatureSetStorage(criature, 200, getPlayerStorageValue(criature, 200)..""..getCreatureName(cid)..", ") if #getCreatureSummons(cid) >= 1 then doMonsterSetTarget(criature, getCreatureSummons(cid)[1]) else doMonsterSetTarget(criature, cid) end return true end return true end return true end return true end return true end return true end return true end return true end end end end end end [/spoiler]
-
[Pedido] Delay Fishing Kpdo
Bom dia, estou usando o script de Fishing do Kpdo, porém gostaria de adicionar um Delay, para o jogador não conseguir usar a vara várias vezes, evitando assim, vários pokémons sumonados.. Gostaria algo em torno de = usar 5x em menos de 10 sec -> Delay 5 segundos.. e se continuar usando.. o Delay vá aumentando aos poucos. Grato
-
Equipe Pokemon
Edited - Equipe formada, favor deletar topico.
-
Squirtle Quest - Pedido
Boa noite pessoal.. Estou remapeando grande parte do mapa do svke/pxg e preciso de um script para quest do esquadrão squirtle, em vermilion.. conforme svke. Alguém pode me ajudar?