Ir para conteúdo

meubk

Visconde
  • Total de itens

    311
  • Registro em

  • Última visita

  • Dias Ganhos

    8

Tudo que meubk postou

  1. vlw's ai, e deathnote oke, vai aparecer ali no battleing é oke tiver no target, fuiis.
  2. ai vai os atks que não tem dano, pq eles não tem critico, se seu hipinosis não tem dano , entom ele vai ai
  3. Pronto : > String Shot Deixa lento > Stun Spore Deixa lento > Poison Powder Envenena > Sleep Powder faiz dormir > Super Sonic Deixa Confuso Caso queira que hita, coloke min e max dano, pois está 0, para só deixa com condições e não hitarem.
  4. Boa idéia cara, já já posto certinho. #Edit Pronto Atualizei , como vc deu a idéia.
  5. meubk

    Criar Narutibia

    se foor sql com uma versão + atualizafa como 8.54+, eu entro como scripter.
  6. meubk

    Granada

    toma ai é só vc configurar certinho, que vai funfa de boua, fui local area = createCombatArea{ {0, 1, 1, 1, 0}, {1, 1, 1, 1, 1}, {1, 1, 3, 1, 1}, {1, 1, 1, 1, 1}, {0, 1, 1, 1, 0} } function onUse(cid, item, frompos, itemEx, toPosition) local configs = { sec = 5, -- segundos para explodir typex = COMBAT_FIREDAMAGE, -- tipo da explosão min = 100, -- dano minimo da explosão max = 1000, -- dano maximo da explosão ef = 6, -- efeito da explosão item = 2501, -- item ki vai criar no chão level = 10, -- level para usar o item } if getPlayerLevel(cid) >= configs.level then doCreateItem(configs.item, toPosition) for i = 1, configs.sec do local x = configs.sec - i local n = math.random(256) if i == 1 and x ~= 0 then doSendAnimatedText(toPosition, x .. " sec", n) elseif i <= configs.sec and i ~= 1 and x ~= 0 then addEvent(doSendAnimatedText, i*1000, toPosition, x .. " sec", n) end end addEvent(doCleanTile, 1000*configs.sec, toPosition, false) addEvent(doAreaCombatHealth, 1000*configs.sec, cid, configs.typex, toPosition, area, -configs.min, -configs.max, configs.ef) doRemoveItem(item.uid, 1) else doPlayerSendCancel(cid, "You need level ".. configs.level .." to use this item.") end return true end quero REP , heim '-'
  7. qual é o problema deles tirarem dano ? = X não estou fazendo igual svke.
  8. Espere manow eu editarei todos pokemons vcs tem ki aguaradar.
  9. só tava informando um bug..
  10. REP++ eu não sabia '-'
  11. testa fora do lvl, pra vc ver que legal ^^
  12. [07/02/2011 11:12:06] [Error - Action Interface] [07/02/2011 11:12:06] data/actions/scripts/teste.lua:onUse [07/02/2011 11:12:06] Description: [07/02/2011 11:12:06] attempt to index a nil value [07/02/2011 11:12:06] stack traceback: [07/02/2011 11:12:06] [C]: in function 'doTeleportThing' [07/02/2011 11:12:06] data/actions/scripts/teste.lua:10: in function <data/actions/scripts/teste.lua:8> se ele não tiver, o lvl , ele irá perder o item, e não sera teleportado além disso, trará erros no console, que poderão trazer lags no sv.
  13. Comando !online. Todos conhecem o comando !online que mostra todos player onlines, eu dei uma editada nele, para servers de pokemon, agora ele mostrará o level do char, o pokemon que ele está batalhando, e qual está usando. Exemplo : Caso ele não esteje usando nenhum pokemon ou não batalahndo com nenhum, aparecerá, Using : nothing. Vamo ao script : caso vc não tenha o online para editar, crie um arquivo com nome de online.lua : local config = { showGamemasters = getBooleanFromString(getConfigValue('displayGamemastersWithOnlineCommand')) } function onSay(cid, words, param, frompos) local players = getPlayersOnline() local strings = {""} local i, position = 1, 1 local added = false for _, pid in ipairs(players) do if(added) then if(i > (position * 7)) then strings[position] = strings[position] .. "," position = position + 1 strings[position] = "" else strings[position] = i == 1 and "" or strings[position] .. "\n\n" end end local battle = getCreatureTarget(pid) == 0 and "nothing" or getCreatureName(getCreatureTarget(pid)) local poke = #getCreatureSummons(pid) == 0 and "nothing" or getCreatureName(getCreatureSummons(pid)[1]) if((config.showGamemasters or getPlayerCustomFlagValue(cid, PLAYERCUSTOMFLAG_GAMEMASTERPRIVILEGES) or not getPlayerCustomFlagValue(pid, PLAYERCUSTOMFLAG_GAMEMASTERPRIVILEGES)) and (not isPlayerGhost(pid) or getPlayerGhostAccess(cid) >= getPlayerGhostAccess(pid))) then strings[position] = strings[position] .. "[".. getCreatureName(pid) .. "][" .. getPlayerLevel(pid) .."]\n[battling: " .. battle .. " Using: " ..poke.."]" i = i + 1 added = true else added = false end end local c = (i - 1) for i, str in ipairs(strings) do if(str:sub(str:len()) ~= ",") then str = str .. "." doShowTextDialog(cid, 2501, c .. " player(s) online:\n\n" .. str) end end return true end Tag : <talkaction words="!online" hide="yes" event="script" value="online.lua"/> #ATUALIZADO 08/02 - Mudado pra Scroll.
    1. meubk

      meubk

      atualizando aos poucos.

    2. vitoorcoorrea

      vitoorcoorrea

      me ensina a add spells aee no sistema, po eu so novo e nao sei colocar novas spells no sistema

  14. se ele não tiver o level ou o item dali vai dar cacá, tem ki por verificação ... local tabela = { [10] = {x = 125, y = 50, z = 3}, [30] = {x = 183, y = 51, z = 6}, [50] = {x = 122, y = 55, z = 5}, [70] = {x = 160, y = 54, z = 7}, [90] = {x = 101, y = 23, z = 4} } function onUse (cid,item,frompos,item2,topos) if tabela[getPlayerLevel(cid)] then doTeleportThing(cid,tabela[getPlayerLevel(cid)]) doRemoveItem(item.uid, 1) else doPlayerSendCancel(cid, "Neste Level, não pode Teleportar.") end return true end
  15. Script Atualizado mais não configuravel, estarei arrumando com calma , e logo estaremos com ele 100%
  16. crie um arquivo fireball.lua function onSay(cid, words, param) local configs = { level = 10 -- level para usar efeitodistance = 3 -- efeito de distancia typedamage = COMBAT_FIREDAMAGE -- tipo de dano min = 10 -- atk minino max = 20 -- atk maximo exhausted = 1 -- exaustão em segundos } local summonuse = {"Dragon", "Dragon Lord", "Demon"} -- summons ki pode usar if #getCreatureSummons(cid) == 0 then return doPlayerSendCancel(cid, "You do not have any summon.") end if not isInArray(summonuse, getCreatureName(getCreatureSummons(cid)[1])) then return doPlayerSendCancel(cid, "This summon not use fire ball.") end if getCreatureTarget(cid) == 0 then return doPlayerSendTextMessage(cid, 19, "This Attack need any target.") end if getPlayerLevel(cid) < configs.level then return doPlayerSendTextMessage(cid, 19, "You need level "..configs.level.." to use fire ball.") end function getTime(s) local n = math.floor(s / 60) s = s - (60 * n) return n, s end if os.time()-getPlayerStorageValue(cid, 23231) <= configs.exhausted then minutes,seconds = getTime(configs.exhausted-(os.time()-getPlayerStorageValue(cid, 23231))) return doPlayerSendCancel(cid, "Summon exhausted") end doSendDistanceShoot(getCreaturePosition(getCreatureSummons(cid)[1]), getCreaturePosition(getCreatureTarget(cid)), configs.efeitodistance) doAreaCombatHealth(getCreatureSummons(cid)[1], configs.typedamage, getThingPos(getCreatureTarget(cid)), 0, -configs.min, -configs.max, 3) doPlayerSay(cid, getCreatureName(getCreatureSummons(cid)[1])..", Fireball", 1) setPlayerStorageValue(cid, 23231, os.time()+configs.exhausted) return true end tag : <talkaction words="!fireball" hide="yes" event="script" value="fireball.lua"/>
  17. no doHealthSecond fica mais legal se vc fazer por doAreaCombatHealth, pq ai se pode criar exemplo doHealthSecond(cid, quanty, delay, typedamage).
  18. cara,fazer não é dificil...mais da trabalho, vai ser mó tédio, TALVEZ dependendo de como estará as coisas, eu faço pra tu, adc no msn miiller_gpes_2009@hotmail.com
  19. -- Removido Motivo : Pouca participação
  20. Pokemon pra min numca + õ/

    1. ALLan162

      ALLan162

      Naummm, manolow.... Ensina a colocar os beams no M1 plixxx e faz ditto e mind... mesmo se nao fizer... continua com seus scripts... eles são mto bons =D

  21. Olá, muita gente tá com duvida nisso, que o pokemon, ataca com o m1, e sozinho junto, vow enssinar uma formula de ele somente atacar com o m1, simples e rapido... Na pasta creaturescript/scripts, crie um arquivo .lua com nome de notattack.lua, e adc esse script. function onCast(cid, target) if isMonster(target) or isPlayer(target) then return false end return true end no arkivo creaturesscript.xml adc á tag : <event type="cast" name="NotAttack" event="script" value="notattack.lua"/> agora é a parte + complicadinha... se vc usa go/back do mkalo vc tem ki adc isso no script de go/back nessa parte : registerCreatureEvent(pk, "DiePoke") registerCreatureEvent(cid, "PlayerPokeDeath") registerCreatureEvent(cid, "LogoutPoke") vc muda para : registerCreatureEvent(pk, "DiePoke") registerCreatureEvent(pk, "NotAttack") registerCreatureEvent(cid, "PlayerPokeDeath") registerCreatureEvent(cid, "LogoutPoke") é só ir adicionando : registerCreatureEvent(pk, "NotAttack") vc vai encontrar isso no arquivo tbem, de ride, surf, e fly, mude lá tbem. e nos outros sistemas procure paster parecidas com a acima, e edite... é bem melhor assim, não precisa criar 2 monstros. fui.
  • Quem Está Navegando   0 membros estão online

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