Ir para conteúdo

Markowiicz

Campones
  • Total de itens

    76
  • Registro em

  • Última visita

  • Dias Ganhos

    2

Tudo que Markowiicz postou

  1. 1.: O item.xml/.otb que você está usando para mappear é diferente do que está na pasta do servidor. 2.: Os novos items que você adicionou estão bugados, e será necessário um delete pequeno da área. Para o número dois, basta clicar na ferramenta que apresenta um 'lápis' no canto inferior direito, e passar por cima da área, selecionando a mesma, e após, pressione delete.
  2. Atualize o .spr/.dat. File > Preferences > Client Version, e selecione a pasta onde está o dat e spr.
  3. Há chão embaixo da porta de saída? E o house exit coloque em frente a porta.
  4. Cuidado com as datas, você reviveu um tópico. @Refe
  5. Abra o RME, vá na coordenada indicada no erro, e provavelmente terá o item de ID 2590 lá, que está causando o erro. Remova-o. Caso tenha alguma dúvida de como fazer isso, mande-me mensagem que ajudarei.
  6. Não é necessário baixar. São os códigos fontes para quem quiser se aprofundar no programa, ou até 'criar' uma versão própria.
  7. Fala aí galera, tranquilo? Aqui vai um show off do mapa do PokeChaos, que é desenvolvido por mim, Markowicz. Criticas construtivas são bem vindas. Uma parte de Fuchsia: Parte venenosa em fuchsia: Uma parte da Saffari Zone: Passagem do Snorlax em Celadon, conforme o anime: Partes da Floresta de Viridian: Mt.Moon/Stone Village: Área fantasma: E por fim, ginásio de Vermilion: Observações: Esses mapas foram desenvolvidos entre 2015 e 2017, desde então, quaisquer update em relação ao meu conteúdo, eu irei postar como resposta desse tópico.
  8. Alguem poderia me ajudar a bloquear certos pokemons serem catch pela master ball ? Aqui está meu catch. local texts = { [PORTUGUESE] = {"Você CAPTUROU um Pokémon!", "Você está carregando seis pokemons, seu novo pokemon será enviado ao Centro Pokémon de sua cidade natal!", "Não foi dessa vez Tente novamente!", "A captura de pokémons não é permitida neste local.", "Este objeto não pode ser capturado.", "Você não é o dono deste corpo.", "Por favor, apenas utilize as Saffari Balls dentro da Saffari Zone.", "Este pokémon não pode ser capturado.", "Desculpe, não é possível."}, [ENGLISH] = {"You CAUGHT a Pokemon!", "You are holding six pokemons, your new pokemon will be sent to the Pokemon Center of your hometown!", "Not this time Try again!", "Catching pokemons is not allowed inside this place.", "This thing is uncatchable.", "You are not the owner of this corpse.", "Please, only use Saffari Balls inside the Saffari Zone.", "This pokemon is uncatchable.", "Sorry, not possible."}, } local ballsw = { [PORTUGUESE] = {"Voce gastou ", "para capturar esse pokemon."}, [ENGLISH] = {"You used ", "to catch it."} } local ea = { [PORTUGUESE] = "e ", [ENGLISH] = "and ", } -- 2001 é abra | 2304 é Wanted Farfetch'd. -- A cada pokemon novo, adicionar o próximo numero. local time = 4 local pokeballs = { [9271] = {multiplier=1, failEffect=23, successEffect=24, shootEffect=17}, -- STARTER'S PB [2149] = {multiplier=1, failEffect=23, successEffect=24, shootEffect=17}, -- PB [2147] = {multiplier=2, failEffect=197, successEffect=198, shootEffect=19}, -- GB [2150] = {multiplier=3, failEffect=201, successEffect=202, shootEffect=20}, -- SB [2146] = {multiplier=4, failEffect=199, successEffect=200, shootEffect=27}, -- UB [2151] = {multiplier=1, failEffect=203, successEffect=204, shootEffect=36}, -- Saffari Ball [11681] = {multiplier=100000000, failEffect=228, successEffect=228, shootEffect=42}, -- MB } catchRate = 1 local function onCapturePokemon(cid, name, params, ballid) local txt = texts[getPlayerLanguage(cid)] if isCreature(cid) then doPlayerAddSoul(cid, 1) doPlayerSendTextMessage(cid, 20, txt[1].." ("..name..").") if #getPlayerPokeballs(cid) >= 6 then local pokeball = doCreatePokeball(name, params.pokeball-1) doItemSetAttribute(pokeball, "pokemon_sex", params.sex) doPlayerSendMailByName(getCreatureName(cid), pokeball) local creature = getPlayerPokemon(cid) == false and cid or getPlayerPokemon(cid) doSendMagicEffect(getCreaturePosition(creature), 173) local file = io.open('data/logs/catchlog.txt','a') file:write(os.date().." "..getCreatureName(cid).." caught a "..name.." with "..getItemNameById(params.pokeball).." at pos {X="..getCreaturePosition(cid).x.." Y="..getCreaturePosition(cid).y.." Z="..getCreaturePosition(cid).z..".\n") file:close() doPlayerSave(cid) doPlayerSendTextMessage(cid, 20, txt[2]) else local pokeball = doCreatePokeball(name, params.pokeball) doItemSetAttribute(pokeball, "pokemon_sex", params.sex) doPlayerAddItemEx(cid, pokeball) end end end local function onFailCapturePokemon(cid) local txt = texts[getPlayerLanguage(cid)] if isCreature(cid) then local creature = cid local creature = getPlayerPokemon(cid) == false and cid or getPlayerPokemon(cid) doSendMagicEffect(getCreaturePosition(creature), 166) doPlayerSendTextMessage(cid, 27, txt[3]) end end function onUse(cid, item, frompos, item2, topos) local txt = texts[getPlayerLanguage(cid)] if isPlayerInsideMewtwoQuest(cid) or isInsideGhostPlagueQuest(cid) then doPlayerSendCancel(cid, txt[4]) return true end if item2.uid == 0 then return false end local corpses = {} local it = getTileInfo(topos) if not it or it.things == 0 then return false end for i=1, it.things do local item = getTileThingByPos({x=topos.x, y=topos.y, z=topos.z, stackpos=i}) if item.uid ~= 0 and isCorpse(item.uid) and getItemAttribute(item.uid, "corpseowner") == cid then item2 = item break end end if item2.uid == 0 or not isCorpse(item2.uid) then doPlayerSendCancel(cid, txt[5]) return true end if getItemAttribute(item2.uid, "corpseowner") ~= cid then doPlayerSendCancel(cid, txt[6]) return true end local tableshiny = {"Charizard"} if item.uid == 11681 and isInArray(tableshiny, name)then doPlayerSendCancel(cid, 27 , "Você não pode catar esse pokemon com a master ball!") return true end if getPlayerStorageValue(cid, Saffari.storage) > 0 and item.itemid ~= Saffari.pokeballId then doPlayerSendCancel(cid, txt[7]) return true end for i, x in pairs(pokes) do if item2.itemid == x.c then local chances = (x.chance) * pokeballs[item.itemid].multiplier * catchRate if chances == 0 then doPlayerSendCancel(cid, txt[8]) return TRUE end if math.random(1, 940) <= chances then doSendDistanceShoot(frompos, topos, pokeballs[item.itemid].shootEffect) doSendMagicEffect(topos, pokeballs[item.itemid].successEffect) doAddBrokeCount(cid, item.itemid, i) doEndCount(cid, item.itemid, i) addEvent(onCapturePokemon, time*1000, cid, i, {pokeball = getPokeballIn(item.itemid), sex = getItemAttribute(item2.uid, "corpsesex") }, item.itemid) else doSendDistanceShoot(frompos, topos, pokeballs[item.itemid].shootEffect) doSendMagicEffect(topos, pokeballs[item.itemid].failEffect) addEvent(onFailCapturePokemon, time*1000, cid) if getPlayerGroupId(cid) >= 4 and getPlayerGroupId(cid) <= 6 then doAddBrokeCount(cid, item.itemid, i) end end doRemoveItem(item.uid, 1) doRemoveItem(item2.uid, 1) return TRUE end end doPlayerSendCancel(cid, txt[9]) return TRUE end function doAddBrokeCount(cid, ballid, pokemon) local pbb = {9271, 2149} local gbb = {2147} local sbb = {2150} local ubb = {2146, 4758} local sfbb = {2151} local sto = pokes[pokemon].sto local toset = "nb = 0, gb = 0, sb = 0, sfb = 0, ub = 0;" local toget = "nb = (.-), gb = (.-), sb = (.-), sfb = (.-), ub = (.-);" if getPlayerStorageValue(cid, sto) == -1 then setPlayerStorageValue(cid, sto, toset) end local b = string.gmatch(getPlayerStorageValue(cid, sto), toget) local nc = "" for nb, gb, sb, sfb, ub in (b) do if isInArray(pbb, ballid) then nc = "nb = "..(tonumber(nb)+1)..", gb = "..gb..", sb = "..sb..", sfb = "..sfb..", ub = "..ub..";" break elseif isInArray(gbb, ballid) then nc = "nb = "..nb..", gb = "..(tonumber(gb) + 1)..", sb = "..sb..", sfb = "..sfb..", ub = "..ub..";" break elseif isInArray(sbb, ballid) then nc = "nb = "..nb..", gb = "..gb..", sb = "..(tonumber(sb) + 1)..", sfb = "..sfb..", ub = "..ub..";" break elseif isInArray(ubb, ballid) then nc = "nb = "..nb..", gb = "..gb..", sb = "..sb..", sfb = "..sfb..", ub = "..(tonumber(ub) + 1)..";" break elseif isInArray(sfbb, ballid) then nc = "nb = "..nb..", gb = "..gb..", sb = "..sb..", sfb = "..(tonumber(sfb) + 1)..", ub = "..ub..";" break end end setPlayerStorageValue(cid, sto, nc) return true end function doEndCount(cid, ballid, name) local sto = pokes[name].sto local toget = "nb = (.-), gb = (.-), sb = (.-), sfb = (.-), ub = (.-);" local str = "" local b = getPlayerStorageValue(cid, sto) if b == -1 or b == -2 or not b then doAddBrokeCount(cid, ballid,name) end local wast = { nbs = 0, gbs = 0, sbs = 0, ubs = 0, sfbs = 0, } local str = "" for nb, gb, sb, sfb, ub in (b:gmatch(toget)) do wast.nbs = (tonumber(nb) > 0 and (tonumber(nb) == 1 and tonumber(nb).." poke ball " or tonumber(nb).." poke balls ")) or "" wast.gbs = (tonumber(gb) > 0 and (tonumber(nb) == 1 and tonumber(gb).." great ball " or tonumber(gb).." great balls ")) or "" wast.sbs = (tonumber(sb) > 0 and (tonumber(sb) == 1 and tonumber(sb).." super ball " or tonumber(sb).." super balls ")) or "" wast.ubs = (tonumber(ub) > 0 and (tonumber(ub) == 1 and tonumber(ub).." ultra ball " or tonumber(ub).." ultra balls ")) or "" wast.sfbs = (tonumber(sfb) > 0 and (tonumber(sfb) == 1 and tonumber(sfb).." saffari ball " or tonumber(sfb).." saffari balls ")) or "" local aand = (wast.nbs ~= "" or wast.gbs~="" or wast.sfbs ~="" or wast.sbs~="" or wast.sbs~= "") and wast.ubs ~= "" local sfbv = (wast.nbs ~= "" or wast.gbs~="") and wast.sfbs ~= "" local sbv = (wast.nbs ~= "" or wast.gbs~="" or wast.sfbs ~= "") and wast.sbs ~= "" local gbv = (wast.nbs ~= "") and wast.gbs ~= "" str = ((wast.nbs)..(gbv and wast.gbs~="" and ", " or "")..(wast.gbs)..(sfbv and wast.sfbs~="" and ", " or "")..(wast.sfbs)..(sbv and wast.sbs~="" and ", " or "")..(wast.sbs)..(aand and ea[getPlayerLanguage(cid)] or "")..(wast.ubs)) end doPlayerSendTextMessage(cid, 20, (ballsw[getPlayerLanguage(cid)][1])..(str)..(ballsw[getPlayerLanguage(cid)][2])) setPlayerStorageValue(cid, sto, -1) return true end @up
  9. Em Items.xml, Edite Esta Parte Do Item Desejado: <attribute key="containerSize" value="20" /> Em Value, Seria a Quantidade De Slot's Que Poderá Ter.
  10. Qual Base Está Usando? Caso For PDA, Poste Aqui Seu Box.lua (actions/scripts).
  11. http://www.xtibia.com/forum/topic/227984-object-builder/
  12. Meu Caro, O Arquivo SPR Da PokeXGames, Não Se Abre Mais Com Este Progama, A Não Ser Que Algum "Mito" Consiga Resolver. Abraços.
  13. Bem, Erro Corrigido, Mas O Ditto Não Tem As Habilidades Dos Pokémons. Exemplo: Clonei Um Pidgeot, Mas Ele Não Quer Dar Fly. Como No Tópico Diz Que Ele Terá As Habilidades Dos Pokémons Clonados...
  14. Amigo, Qual Base Está Usando?, Deixarei 2 Link's Aqui Abaixo, Um é PDA, Outro é Centurion. Antes De Fazer Algum Topico, Verifique Bem Se Não Existe Outros Com a Mesma Duvida.
  15. Ok, Reportado Para Que Movam!
  16. Basta Adicionar Ela No Outfits.xml. <outfit id="Numero Da Outfit"> <list gender="0" lookType="LookType Female" name="Nome Da Outfit Female"/> <list gender="1" lookType="LookType Male" name="Nome Da Outfit Male"/> </outfit> Exemplo De Uma Já Feita:
  17. Você Estáva Logado Em Sua Conta No Site?, Caso Contrário, Não Irá Para o Shop Mesmo, Ao Menos Que Você Logue.
  18. Quando Vou Dar Look No Pokémon (Não Só o Da Lista, São Todos), Aparece Este Erro Na Distro: @Edited, Consegui Resolver, Pode Mover o Tópico!
  19. Mande-me Seu IP, Por MP, Que Irei Criar o Client!
  20. Algum Scripter, Poderia Dar Uma Ajudinha Aqui?, Bem Como No Titulo, Gostaria De Adaptar Este Script: Para Este Look: A Parte Do Configuration, Pode Deixar, Eu Sei Editar Thanks!
  21. Com Estes Problemas, Recomendo Que Use o MySql, Seria Mais Simples, Pois Os Players Iriam Se Cadastrar No Site, e Não No 1/1 (Account Manager).
  • Quem Está Navegando   0 membros estão online

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