Ir para conteúdo

brunin86

Artesão
  • Total de itens

    101
  • Registro em

  • Última visita

Tudo que brunin86 postou

  1. Vlw cara me ajudo d+ espero q continue assim, trazendo sempre seus tutoriais.
  2. Vlw cara me ajudo d+ espero q continue assim, trazendo sempre seus tutoriais.
  3. Vlw cara me ajudo d+ espero q continue assim, trazendo sempre seus tutoriais.
  4. Vlw cara me ajudo d+ espero q continue assim, trazendo sempre seus tutoriais.
  5. Vlw cara me ajudo d+ espero q continue assim, trazendo sempre seus tutoriais.
  6. não gostei e não recomendo !
  7. Vlw cara me ajudo d+ espero q continue assim, trazendo sempre seus tutoriais.
  8. Vlw cara me ajudo d+ espero q continue assim, trazendo sempre seus tutoriais.
  9. Vlw cara me ajudo d+ espero q continue assim, trazendo sempre seus tutoriais.
  10. Vlw cara me ajudo d+ espero q continue assim, trazendo sempre seus tutoriais.
  11. Vlw cara me ajudo d+ espero q continue assim, trazendo sempre seus tutoriais.
  12. Vlw cara me ajudo d+ espero q continue assim, trazendo sempre seus tutoriais.
  13. Vlw cara me ajudo d+ espero q continue assim, trazendo sempre seus tutoriais.
  14. Vlw cara me ajudo d+ espero q continue assim, trazendo sempre seus tutoriais.
  15. Ae cara, obrigado por ajudar agente dou REP+ assim que possivel .
  16. @Spits, vlw isso msm REP+
  17. Por ser seu primeiro script, parabéns, espero que continue sempre nos ajudando e melhorando sua atuação em scripting cada vez mais. Obrigado por trazer seu conteúdo para o xTibia.
  18. Você podia me ajudar? Queria assim : Ao usar o item 7884 ( no caso : pokeball ) adicionasse o item equivalente ao id 2653 ( até ai eu sei fazer ) mas queria que ao invés de adicionar a descrição no item: Adicionar sim, um actionid. Que no meu caso, é 1 id para todas as pokeballs só que cada uma com o actionid diferente.
  19. Obrigado por trazer seu conteúdo para o xTibia, agradecemos a sua colaboração para tornar nosso fórum cada vez melhor. Ganhou Seu Primeiro REP+.
  20. Área correta: Pedido de Scripts. Vou reportar para moverem, para que o pessoal que fica + la na seção possa ajudá-lo.
  21. @ Up LoL. essa pergunta foi tensa. O cara que o script do "revive" baseado no script go/back do @MatheusMkalo @ Topic Não conheço quem postaria o script, mas conheço quem vende o script, com meu salário desse mês vou ver se compro o script e vou postá-lo aqui no fórum, mas se vc quiser comprar, add o cara ai: marcio_udia@hotmail.com
  22. @ Up Siim, claro todo script precisa de tag . Aqui a tag : <action itemid="2580" event="script" value="tools/fishing.lua" allowfaruse="1"/> @ Topic Esse script foi postado no fórum já, e tempos depois postaram um melhor, mas tudo bem, valeu por reviver o script ._. OBS : Edita colocando a tag
  23. Cara, tenta por assim: ----------- By YahooABC ----------- local fotos = { ["bulbasaur"] = {fotopoke = 8423}, ["ivysaur"] = {fotopoke = 8424}, ["venusaur"] = {fotopoke = 8425}, ["charmander"] = {fotopoke = 8426}, ["charmeleon"] = {fotopoke = 8427}, ["charizard"] = {fotopoke = 8428}, ["squirtle"] = {fotopoke = 8429}, ["wartortle"] = {fotopoke = 8430}, ["blastoise"] = {fotopoke = 8431}, ["caterpie"] = {fotopoke = 8432}, ["metapod"] = {fotopoke = 8433}, ["butterfree"] = {fotopoke = 8434}, ["weedle"] = {fotopoke = 8435}, ["kakuna"] = {fotopoke = 8436}, ["beedrill"] = {fotopoke = 8437}, ["pidgey"] = {fotopoke = 8438}, ["pidgeotto"] = {fotopoke = 8439}, ["pidgeot"] = {fotopoke = 8440}, ["rattata"] = {fotopoke = 8441}, ["raticate"] = {fotopoke = 8442}, ["dpearow"] = {fotopoke = 8443}, ["fearow"] = {fotopoke = 8444}, ["ekans"] = {fotopoke = 8445}, ["arbok"] = {fotopoke = 8446}, ["pikachu"] = {fotopoke = 8447}, ["raichu"] = {fotopoke = 8448}, ["sandshrew"] = {fotopoke = 8449}, ["sandslash"] = {fotopoke = 8450}, ["nidoranf"] = {fotopoke = 8451}, ["nidorina"] = {fotopoke = 8452}, ["nidoqueen"] = {fotopoke = 8453}, ["nidoranm"] = {fotopoke = 8454}, ["nidorino"] = {fotopoke = 8455}, ["nidoking"] = {fotopoke = 8456}, ["clefairy"] = {fotopoke = 8457}, ["clefable"] = {fotopoke = 8458}, ["vulpix"] = {fotopoke = 8459}, ["ninetales"] = {fotopoke = 8460}, ["jigglypuff"] = {fotopoke = 8461}, ["wigglytuff"] = {fotopoke = 8462}, ["zubat"] = {fotopoke = 8463}, ["golbat"] = {fotopoke = 8464}, ["oddish"] = {fotopoke = 8465}, ["gloom"] = {fotopoke = 8466}, ["vileplume"] = {fotopoke = 8467}, ["paras"] = {fotopoke = 8468}, ["parasect"] = {fotopoke = 8469}, ["venonat"] = {fotopoke = 84702}, ["venomoth"] = {fotopoke = 8471}, ["diglett"] = {fotopoke = 8472}, ["dugtrio"] = {fotopoke = 8473}, ["meowth"] = {fotopoke = 8474}, ["persian"] = {fotopoke = 8475}, ["psyduck"] = {fotopoke = 8476}, ["golduck"] = {fotopoke = 8477}, ["mankey"] = {fotopoke = 8478}, ["primeape"] = {fotopoke = 8479}, ["growlithe"] = {fotopoke = 8480}, ["arcanine"] = {fotopoke = 8481}, ["poliwag"] = {fotopoke = 8482}, ["poliwhirl"] = {fotopoke = 8483}, ["poliwrath"] = {fotopoke = 8484}, ["abra"] = {fotopoke = 8485}, ["kadabra"] = {fotopoke = 8486}, ["alakazam"] = {fotopoke = 8487}, ["machop"] = {fotopoke = 8488}, ["machoke"] = {fotopoke = 8489}, ["machamp"] = {fotopoke = 8490}, ["bellsprout"] = {fotopoke = 8491}, ["weepinbell"] = {fotopoke = 8492}, ["victreebel"] = {fotopoke = 8493}, ["tentacool"] = {fotopoke = 8494}, ["tentacruel"] = {fotopoke = 8495}, ["geodude"] = {fotopoke = 8496}, ["graveler"] = {fotopoke = 8497}, ["golem"] = {fotopoke = 8498}, ["ponyta"] = {fotopoke = 8499}, ["rapidash"] = {fotopoke = 8500}, ["slowpoke"] = {fotopoke = 8501}, ["slowbro"] = {fotopoke = 8502}, ["magnemite"] = {fotopoke = 8503}, ["magneton"] = {fotopoke = 8504}, ["farfetch'd"] = {fotopoke = 8505}, ["doduo"] = {fotopoke = 8506}, ["dodrio"] = {fotopoke = 8507}, ["seel"] = {fotopoke = 8508}, ["dewgong"] = {fotopoke = 8509}, ["grimer"] = {fotopoke = 8510}, ["muk"] = {fotopoke = 8511}, ["shellder"] = {fotopoke = 8512}, ["cloyster"] = {fotopoke = 8513}, ["gastly"] = {fotopoke = 8514}, ["haunter"] = {fotopoke = 8515}, ["gengar"] = {fotopoke = 8516}, ["onix"] = {fotopoke = 8517}, ["drowzee"] = {fotopoke = 8518}, ["hypno"] = {fotopoke = 8519}, ["krabby"] = {fotopoke = 8520}, ["kingler"] = {fotopoke = 8521}, ["voltorb"] = {fotopoke = 8522}, ["electrode"] = {fotopoke = 8523}, ["exeggcute"] = {fotopoke = 8524}, ["exeggutor"] = {fotopoke = 8525}, ["cubone"] = {fotopoke = 8526}, ["marowak"] = {fotopoke = 8527}, ["hitmonlee"] = {fotopoke = 8528}, ["hitmonchan"] = {fotopoke = 8529}, ["lickitung"] = {fotopoke = 8530}, ["koffing"] = {fotopoke = 8531}, ["weezing"] = {fotopoke = 8532}, ["rhyhorn"] = {fotopoke = 8533}, ["rhydon"] = {fotopoke = 8534}, ["chansey"] = {fotopoke = 8535}, ["tangela"] = {fotopoke = 8536}, ["kangaskhan"] = {fotopoke = 8537}, ["horsea"] = {fotopoke = 8538}, ["seadra"] = {fotopoke = 8539}, ["goldeen"] = {fotopoke = 8540}, ["seaking"] = {fotopoke = 8541}, ["staryu"] = {fotopoke = 8542}, ["starmie"] = {fotopoke = 8543}, ["mr. mime"] = {fotopoke = 8544}, ["scyther"] = {fotopoke = 8545}, ["jynx"] = {fotopoke = 8546}, ["electabuzz"] = {fotopoke = 8547}, ["magmar"] = {fotopoke = 8548}, ["pinsir"] = {fotopoke = 8549}, ["tauros"] = {fotopoke = 8550}, ["magikarp"] = {fotopoke = 8551}, ["gyarados"] = {fotopoke = 8552}, ["lapras"] = {fotopoke = 8553}, ["ditto"] = {fotopoke = 8554}, ["eevee"] = {fotopoke = 8555}, ["vaporeon"] = {fotopoke = 8556}, ["jolteon"] = {fotopoke = 8557}, ["flareon"] = {fotopoke = 8558}, ["porygon"] = {fotopoke = 8559}, ["omanyte"] = {fotopoke = 8560}, ["omastar"] = {fotopoke = 8561}, ["kabuto"] = {fotopoke = 8562}, ["kabutops"] = {fotopoke = 8563}, ["aerodactyl"] = {fotopoke = 8564}, ["snorlax"] = {fotopoke = 8565}, ["articuno"] = {fotopoke = 8566}, ["zapdos"] = {fotopoke = 8567}, ["moltres"] = {fotopoke = 8568}, ["dratini"] = {fotopoke = 8569}, ["dragonair"] = {fotopoke = 8570}, ["dragonite"] = {fotopoke = 8571}, ["mewtwo"] = {fotopoke = 8572}, ["mew"] = {fotopoke = 8573}, } local idballs = { [2532] = "Pokeball", [2653] = "Superball", [2652] = "Greatball", [2654] = "Ultraball", [2195] = "Masterball", [2531] = "Pokeball", [2557] = "Superball", [2524] = "Greatball", [2525] = "Ultraball", [2523] = "Masterball", } function setItemName(uid,name) return doItemSetAttribute(uid,'name',name) end --------------------------------------------------------- function onEquip (cid, item, slot) local nome = getItemName(item.uid) local balls = idballs[item.itemid] local poke_name = nome:match('(.-) '..balls) local image = getPlayerSlotItem(cid, 7) local semimage = 2649 for i,x in pairs(fotos) do if i == poke_name then doTransformItem(image.uid,x.fotopoke) setItemName(image.uid, "portfoli's") return true end end end ---------------------------------------------------------- function onDeEquip(cid, item, slot) local nome = getItemName(item.uid) local balls = idballs[item.itemid] local poke_name = nome:match('(.-) '..balls) local image = getPlayerSlotItem(cid, 7) local semimage = 2649 for i,x in pairs(fotos) do if i == poke_name then doTransformItem(image.uid,semimage) setItemName(image.uid, "portfoli's") return true end end end tag's : <movevent type="Equip" itemid="2532;2653;2652;2654;2195;2531;2557;2524;2525;2523" slot="feet" event="script" value="portrait.lua"/> <movevent type="DeEquip" itemid="2532;2653;2652;2654;2195;2531;2557;2524;2525;2523" slot="feet" event="script" value="portrait.lua"/> Script que veio junto ao pokeserver v4, postado aqui no forum, link: xTibia - [8.54]Pokeserver Tfs 0.3.6 [V4.0] Versão 4.0, Bugs corrigidos
  24. @ Up Tem nao :] @ Topic Tem um que veio junto ao pokeserver V4 ( postado aqui no forum ) Ele funciona assim: vc usa x item com seu summon sumonado ._., seu summon irá desaparecer, seu outfit mudará pro do escolhido e sua velocidade também mudará para a escolhida. Tenta ae manin : 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 function onUse(cid, item, frompos, item2, topos) local pokes = { ['Moltres'] = {229, 800}, ['Articuno'] = {230, 800}, ['Zapdos'] = {224, 800}, ['Mew'] = {232, 800}, ['Mewtwo'] = {233, 800}, ['Dragonite'] = {221, 300}, ['Pidgeot'] = {222, 350}, ['Fearow'] = {226, 400}, ['Aerodactyl'] = {227, 490}, ['Charizard'] = {216, 590}, ['Porygon'] = {316, 800}, ['Elder Charizard'] = {295, 800}, } local idballs = { [2531] = {"Pokeball"}, [2557] = {"Superball"}, [2524] = {"Greatball"}, [2525] = {"Ultraball"}, [2523] = {"Masterball"}, } local storage = 9393 -- Não mexa aqui! local exhaust = 0 -- Tempo para player poder usar o item novamente! (tempo em segundos) local time = 0 -- Tempo para ficar na montaria! (tempo em segundos) local old_speed = getCreatureBaseSpeed(cid) local summons = getCreatureSummons(cid) if (getPlayerStorageValue(cid, storage) <= os.time()) then if getPlayerStorageValue(cid, 24000) == 5 then return doPlayerSendCancel(cid, "You are riding.") end if getPlayerStorageValue(cid, 17000) == 10 then local nome = getItemName(getPlayerSlotItem(cid, CONST_SLOT_FEET).uid) local balls = idballs[getPlayerSlotItem(cid,8).itemid] local poke_name = nome:match('(.-) '..balls[1]) local action_id = getItemAttribute(getPlayerSlotItem(cid, CONST_SLOT_FEET).uid, "aid") if getSqmId(getCreaturePosition(cid)).itemid == CONST_FLYVOID then return doPlayerSendCancel(cid,"Desça antes de sair do fly") end setPlayerStorageValue(cid, storage, os.time()+exhaust) doChangeSpeed(cid, -(getCreatureSpeed(cid) - getCreatureBaseSpeed(cid))) doRemoveCondition(cid, CONDITION_OUTFIT) setPlayerStorageValue(cid, 17000, 7) setPlayerStorageValue(cid, 23000, 6) local monster = doCreateMonster(poke_name, getCreaturePosition(cid)) doConvinceCreature(cid, monster) doCreatureAddHealth(monster, -(tonumber(getPokemonMaxLife(poke_name) - action_id))) doPlayerSay(cid, poke_name .. ", I'm tired of flying!", TALKTYPE_SAY) setPlayerStorageValue(cid, 9999,-1) setPlayerStorageValue(cid, 8888,-1) return true end if #getCreatureSummons(cid) < 1 then return doPlayerSendCancel(cid, "Para voar você precisa de um pokemon") end if isPremium(cid) == FALSE then return doPlayerSendCancel(cid, "Você não é premium account.") end local name = getCreatureName(getCreatureSummons(cid)[1]) local pokemon = pokes[getCreatureName(getCreatureSummons(cid)[1])] if not pokes[name] then return doPlayerSendCancel(cid, "Este pokemon não pode voar.") end setPlayerStorageValue(cid, storage, os.time()+exhaust) doChangeSpeed(cid, pokemon[2]) setPlayerStorageValue(cid, 17000, 10) setPlayerStorageValue(cid, 23000, 5) doSetCreatureOutfit(cid, {lookType = pokemon[1], lookHead = 0, lookAddons = 0, lookLegs = 0, lookBody = 0, lookFeet = 0}, -1) setPlayerStorageValue(cid,9999,pokemon[1]) setPlayerStorageValue(cid,8888,pokemon[2]) doItemSetAttribute(getPlayerSlotItem(cid, CONST_SLOT_FEET).uid, "aid", getCreatureHealth(getCreatureSummons(cid)[1])) function getPokemonId(summons) for _, pid in ipairs(summons) do return pid end end doRemoveCreature(getPokemonId(summons)) doPlayerSay(cid, name .. ", Vamos voar!", TALKTYPE_SAY) doPlayerSendTextMessage(cid,27,'Fale \'up\' para subir e \'down\' para descer!.' ) if fly.using(cid) then local p = getCreaturePosition(cid) p.stackpos = 0 local f = getTileThingByPos(p) if fly.del(cid) then if f.itemid ~= 0 and f.itemid ~= 1 and f.itemid ~= CONST_FLYVOID then return true else setPlayerStorageValue(cid,10941,1) local p = getCreaturePosition(cid) setPlayerStorageValue(cid, 102011,p.x) setPlayerStorageValue(cid, 102012,p.y) setPlayerStorageValue(cid, 102013,p.z) return true end else doPlayerSendTextMessage(cid,27,'Você não pode voar neste local.') end end end return true end Tag : <action itemid="2464" event="script" value="fly.lua"/>
  25. Se nao postar o script nao vai poder receber a ajuda Poste-o para que possamos tentar ajudá-lo.
  • Quem Está Navegando   0 membros estão online

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