Ir para conteúdo

lukarium

Campones
  • Total de itens

    6
  • Registro em

  • Última visita

Tudo que lukarium postou

  1. Boa tarde, estou desenvolvendo um server de poketibia, porém não consigo colocar respawn de megas, meu server é base PokemasterX Eis o script local respGrande = {"Pupitar", "Tyranitar", "Skarmory", "Magcargo", "Ampharos", "Xatu", "Crobat", "Typhlosion", "Magmar", "Electabuzz", "Cubone", "Marowak", "Electrode", "Charizard", "Oddish", "Paras", "Parasect"} local respMedio = {"Lanturn", "Dratini", "Dragonair", "Snorlax", "Krabby", "Kingler", "Gengar", "Pidgeot", "Raichu", "Machamp"} local respPequeno = {"Steelix", "Sudowoodo", "Feraligatr", "Meganium", "Dragonite", "Gyarados", "Pinsir", "Tauros", "Jynx", "Scyther", "Mr. mime", "Horsea", "Seadra", "Tangela", "Grimer", "Muk", "Tentacool", "Tentacruel", "Farfetch'd", "Growlithe", "Arcanine", "Alakazam", "Venusaur", "Blastoise", "Butterfree", "Beedrill", "Ratatta", "Raticate", "Golbat", "Venonat", "Venomoth"} local shinykarp = {"Magikarp"} function onSpawn(cid) if isSummon(cid) then return true end if not isCreature(cid) then return true end if getCreatureName(cid) == "" or getCreatureName(cid) == nil then setPlayerStorageValue(cid, 510, getCreatureNick(cid)) end registerCreatureEvent(cid, "GeneralConfiguration") registerCreatureEvent(cid, "WildAttack") registerCreatureEvent(cid, "PokeWalk") if not ehMonstro(cid) then setPokemonGhost(cid) if getCreatureName(cid):find("Shiny ") then setPlayerStorageValue(cid, storages.EhShiny, 1) end return true end local name = getCreatureName(cid) local pos = getThingPos(cid) addEvent(function() if not isSummon(cid) and not isShinyName(name) then local chance = 0 if isInArray(respGrande, doCorrectString(name)) then --alterado v1.9 \/ chance = 20 elseif isInArray(respMedio, doCorrectString(name)) then chance = 25 elseif isInArray(respPequeno, doCorrectString(name)) then chance = 30 end local function doShiny(cid, pos, name, mode) if pos and name then name = "Shiny "..name if not pokes[name] then return true end doSendMagicEffect(pos, 18) doCreateMonsterNick(cid, name, retireShinyName(name), pos, false) end end if math.random(1, 1000) <= chance then doRemoveCreature(cid) doShiny(cid, pos, name, 1) return true end local storages = {"Hoodeasy", "Hoodmedium", "Hoodhard", "Hoodexpert", "Hoodlendary"} for i = 1, #storages do if isShinyName(name) and getPlayerStorageValue(cid, storages[i]) >= 1 then doRemoveCreature(cid) end end end local spawn_arrs = { {frompos = {x = 1922, y = 41, z = 14}, topos = {x = 2833, y = 1428, z = 14}}, } for _, arr in pairs(spawn_arrs) do if isInRange(pos, arr.frompos, arr.topos) then if isWild(cid) and string.find(name, "Shiny") and not isInArray({"Shiny Salamence", "Shiny Scizor", "Shiny Magmortar", "Shiny Electivire"}, name) then doRemoveCreature(cid) end end end if isInArray({"Abporygon", "Aporygon"}, name) then doCreatureSetHideHealth(cid, true) end if isWild(cid) and getCreatureName(cid) == "Magikarp" then if math.random(1, 5000) <= 25 then doRemoveCreature(cid) doCreateMonster("Feebas", pos, false) end end if isWild(cid) and isHoenn(getCreatureName(cid)) then if math.random(1, 5000) <= 25 then local sorte = bossName[math.random(#bossName)] doRemoveCreature(cid) doCreateMonster(sorte, pos, false) end end if not isSummon(cid) then adjustWildPoke(cid) end if isPokePassive(cid) then setPokemonPassive(cid, true) end end, 5) setPokemonGhost(cid) doMarkedPos(cid, getThingPos(cid)) setSmeargle(cid) addEvent(Camouflage, 5, cid) return true end function Camouflage(cid) if isWild(cid) and getCreatureName(cid) == "Kecleon" then doSetCreatureOutfit(cid, {lookType = 2057}, -1) doCreatureSetHideHealth(cid, true) end end function setSmeargle(cid) if isSummon(cid) then return true end if getCreatureName(cid):find("Smeargle") then local id = math.random(5, 6) if math.random(1, 500) <= 50 then id = math.random(7, 8) end setPlayerStorageValue(cid, storages.SmeargleID, "Smeargle " .. id) end end Como faço pra arrumar ? Desde já obrigado.
  2. Preciso de ajuda com o script de dar respawn aleatório dos Megas, como se fosse o spawn de Shiny. A base do servidor é a PokemasterX Tentei mexer em tudo quanto é forma de fazer com que funcione, mas aparentemente não tá dando certo. Hahaha
  3. Boa noite, gostaria de saber como trocar a pokedex antiga pela nova, quando faço o que vejo neste link [MOD] Pokedex Window para base PDA [v1.0] - Tutoriais - xTibia - Sua comunidade de Otserv e Tibia , nada acontece, entro no servidor e ao utilizar a pokedex aparece a antiga. Algumas informações que acho que podem ser uteis Pokemon Supreme 8.60 Pokemon Dash Advanced, version 0.3.6 (PDA) Compiled with GNU C++ version 4.8.4 at Dec 28 2020, 14:12:30.
  4. Boa noite, preciso de ajuda com um problema estranho que vem acontecendo num OT Pokemon que estou querendo criar quando coloco um pokemon e sua barra de skills aparece tudo funciona normal, todavia, quando troco pra outro pokemon ela buga, flicando loucamente na tela e até mesmo não reajustando seu tamanho (ex: poke 1 tem 7 moves, poke 2 tem 5) ela continua mostrando 7. Além disso, ao colocar um pokemon e depois remove-lo, a barra de moves continua a ser exibida em vez de desaperecer. Como faço pra resolver ? Obrigado desde já. Link da pokemoves: https://www.mediafire.com/file/p190fvdv4dtl9l6/game_pokemoves.7z/file Link do scan: https://www.virustotal.com/gui/file/42ad8d8ea6cace506934bcf21d856f15bfe39aaeaac1a2857476968b051c3ebb/detection Uma imagem pra facilitar visualizar o problema:
  5. Olá,tudo beleza? Gostaria de pedir o PVP system do MAPA PDA 1.7 By Stigal. Sempre que tento passar por cima do teleport,não acontece nada,então gostaria do system com as localizações exatas já,se for possível... Grato desde já =)
  6. lukarium

    [Fechado]

    Era pra rir man? Se era,empresta a graça ai que não vi. (:
  7. lukarium

    [Fechado]

    Olá a todos. Eu queria trocar uma conta,no Pokemon Storm por uma conta no Poke xgames level 80+ Status da conta: Existem 2 char's,um level 135 e outro 92 Pokemons como: Kangaskhan,Hitmonchan,Dragonite,Rhyperior,Magmorta r,entre outros 400k guardados no cp. Bom,se alguém estiver interessado... Boa tarde (:
  8. Olá a todos. Eu queria trocar uma conta,no Pokemon Storm por uma conta no Poke xgames level 80+ Status da conta: Existem 2 char's,um level 135 e outro 92 Pokemons como: Kangaskhan,Hitmonchan,Dragonite,Rhyperior,Magmorta r,entre outros 400k guardados no cp. Bom,se alguém estiver interessado... Boa tarde (:
  9. Preciso de um ot de Poketibia com Portrait e system m1 a m9 por favor,alguém poderia me ajudar? Se puderem me passar um servidor,com os dois já,eu agradeceria,e dou +Rep por uma semana. Estou precisando muito,obrigado. (:
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...