Ir para conteúdo

Skyligh

Membro
  • Registro em

  • Última visita

Tudo que Skyligh postou

  1. iae galera hoje trago um script que a runa reala por level e da seguinte maneira o player e level 100 ele so podera heala de 200 a 300 e assim vai então vamos la Va em data / script / actions / e crie um arquivo.lua e renomeie para runalvl e add function onUse(cid, item, fromPosition, itemEx, toPosition) local min100 = 200 -- quanto o lvl 100 vai curar no minimo local max100 = 400 -- quanto o lvl 100 vai curar no maximo local min300 = 500 -- quanto o lvl 300 vai curar no minimo local max300 = 700 -- quanto o lvl 300 vai curar no maximo local min400 = 900 -- quanto o lvl 400 vai curar no minimo local max400 = 1100 -- quanto o lvl 400 vai curar no maximo local lvl1,lvl2,lvl3 = 100,300,400 -- modificaçao do level ta de 100 , 300 , 400 dps so mudar local storage = 11548 local exhau = 3 -- quantos segundos pra usar denovo a potion if getPlayerLevel(cid) <= lvl1 and doPlayerAddMana(itemEx.uid, math.random(min100, max100)) then return true elseif getPlayerLevel(cid) <= lvl2 and doPlayerAddMana(itemEx.uid, math.random(min100, max100)) then return true elseif getPlayerLevel(cid) <= lvl3 and doPlayerAddMana(itemEx.uid, math.random(min100, max100)) then return true elseif (getPlayerStorageValue(cid, storage) <= os.time()) then setPlayerStorageValue(cid,config.s,os.time()+exhau) doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_MAGIC_BLUE) doCreatureSay(itemEx.uid, "Curado..", TALKTYPE_ORANGE_1) return true end end dps em actions.xml <action itemid="ID DA RUNA" script="runalvl.lua"/> créditos Skyligh 90 % (Pela Criação e postagem) lugk123 10 % (Pelo pedido do script)
  2. Iae galera eu to com um script de bonus no lvl do player Ex : O Player E Lvl 100 ele fala !bonus ele recebera 1kk 100 lvl's e 1 item ! mais so podera usar uma vez então vamos la em data / talkactions / scripts / renome algum arquivo para bonuslvl.lua e adicione function onSay(cid, words) local storage = 5999 -- storage local level = 200 -- quantos levels ele vai receber local level1 = 300 -- que level precisa ser pra usar o comando local money = 100000 -- quanto de grana ele vai receber local item = 8880 -- id do item if getPlayerStorageValue(cid, storage) >= 1 then doPlayerSendTextMessage(cid, 22, "Desculpe voce ja uso o comando") return true elseif getPlayerLevel(cid,level) then doPlayerSendTextMessage(cid, 22, "Desculpe voce nao tem level suficiente") return true end doPlayerAddLevel(cid, level) doPlayerAddItem (cid, item, 1) doPlayerAddMoney(cid, money) setPlayerStorageValue(cid, storage, 1) doPlayerSendTextMessage(cid, 22, "Voce recebeu 5000 lvl's e um item") return true end e em talkactions.xml <talkaction words="!bonus" script="bonuslvl.lua"/> créditos Skyligh 90 % ((Postagem e script)) renanvmp 10 % ((Pela Ideia do pedido do script))
  3. Iae galera do tk to aki hoje com um script que heala pela diferença da vocation então vamos la em data / action / scripts / e renome algum arquivo para vocrune.lua function onUse(cid, item, fromPosition, itemEx, toPosition) local knightmin = 400 -- quanto o knight vai heala no min local knightmax = 1100 -- quanto o knight vai heala no max local druidmin = 500 -- quanto o druid vai heala no min local druidmax = 700 -- quanto o druid vai heala no max local sorcerermin = 900 -- quanto o sorcerer vai heala no min local sorcerermax = 1000 -- quanto o sorcerer vai heala no max local paladinmin = 100 -- quanto o paladin vai heala no min local paladinmax = 200 -- quanto o paladin vai heala no maxlocal local knight,druid,sorcerer,paladin = 4,2,1,3 -- nao mexa local storage = 11548 local exhau = 3 -- quantos segundos pra usar denovo a potion if getPlayerVocation(cid) <= knight and doCreatureAddHealth(itemEx.uid, math.random(knightmin, knightmax)) then return true elseif getPlayerLevel(cid) <= druid and doCreatureAddHealth(itemEx.uid, math.random(druidmin, druidmax)) then return true elseif getPlayerLevel(cid) <= sorcerer and doCreatureAddHealth(itemEx.uid, math.random(sorcerermin, sorcerermax)) then return true elseif getPlayerLevel(cid) <= paladin and doCreatureAddHealth(itemEx.uid, math.random(paladinmin, paladinmax)) then return true elseif (getPlayerStorageValue(cid, storage) <= os.time()) then setPlayerStorageValue(cid,storage,os.time()+exhau) doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_MAGIC_BLUE) doCreatureSay(itemEx.uid, "Curado..", TALKTYPE_ORANGE_1) return true end end em actions.xml <action itemid="ID DA RUNA" script="vocrune.lua"/> Então e so isso espero que goste
  4. Legal parabens
  5. Skyligh postou uma resposta no tópico em Suporte Tibia OTServer
    speedy.sh/MeKmK/MapTracker-1.rar
  6. Como assim você quer uma replica da arma ou uma replica da imagem ?
  7. Skyligh postou uma resposta no tópico em Suporte Tibia OTServer
    Talvez O Problema E Algum Erro Em Alguma Sourcer
  8. Skyligh postou uma resposta no tópico em Suporte Tibia OTServer
    Simples isso so ir em data / actions / scripts / e renome algum arquivo para vipp.lua e adicione function onUse(cid, item, frompos, item2, topos) if item.uid == 7515 then queststatus = getPlayerStorageValue(cid,7515) if queststatus == -1 then doPlayerSendTextMessage(cid,22,"Voce ganhou Special Set.") setPlayerStorageValue(cid,7515,1) else doPlayerSendTextMessage(cid,22,"Voce ja pegou o set") end else return 0 end return 1 end este e o correto do mapa Baiakzik
  9. Iae galera hoje venho trazer um script que não dropa loot como um aol so que sem precisar usar amuleto e também não e uma bless então vamos la Em data / talkactions / scripts / e renome algum arquivo.lua para loot e adicione function onSay(cid, words, param) local config = { price = 1000 -- quanto vai ser o not drop loot } if doPlayerRemoveMoney(cid,config.price) == TRUE then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Desculpe Você Não Tem Dinheiro Suficiente") return true end if doCreatureSetDropLoot(cid, false) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Parabéns Você Comprou Not Drop Loot") return true end if getCreatureSetDropLoot(cid) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você Ja Tem Not Drop Loot") end return true end dps em talkactions.xml <talkaction words="!loot" event="script" value="loot.lua"/> Gostou ? rep + SE O SCRIPT NÃO FUNCIONA EM VERSÕES SEM SER 9.1 POSTE AO TÓPICO Gostou ? rep +
  10. Sim e mesmo , esqueci disso oribrgado por avisar
  11. Iae galera !! hoje trago um script muito interessante adicionar premium por action ao dar use num item e comprar o item por 1 buyitem então vamos la va em data / talkactions / scripts / e ponha o nome de algum arquivo para premium e ponha isto la dentro function onSay(cid, words, param) local itens = { ["santa doll"] = {id = 6567, preco = 2000, count = 1 }, ["teddy bear"] = {id = 6568, preco = 1000, count = 1 }, ["jester doll"] = {id = 9663, preco = 500, count = 1 } } local param = string.lower(param) if (param == "lista") then local str = "" str = str .. "itens :\n\n" for name, preco in pairs(itens) do str = str..name.."\n" end str = str .. "" doShowTextDialog(cid, 7529, str) return TRUE end if not itens[param] or param == "" or not param then return doPlayerSendCancel(cid,"Desculpe esse item nao existe") end if itens[param] and doPlayerRemoveMoney(cid,itens[param].preco) then doPlayerAddItem(cid,itens[param].id,itens[param].count) doPlayerSendTextMessage(cid,27,"Parabéns Vc comprou 1 item") end return TRUE end <talkaction words="!buy" event="script" value="itens.lua"/> dps em data / actions / scripts / ponha o nome de algum arquivo de premium e adicionar isto la dentro function onUse(cid, item) if doRemoveItem(item.uid, 1) then end if item.itemid == 6567 then doPlayerAddPremiumDays(cid, 30) doPlayerSendTextMessage(cid, 22, "Parabéns Você Recebeu 30 dias de premium") return true end if item.itemid == 6568 then doPlayerAddPremiumDays(cid, 30) doPlayerSendTextMessage(cid, 22, "Parabéns Você Recebeu 15 dias de premium") return true end if item.itemid == 9693 then doPlayerAddPremiumDays(cid, 30) doPlayerSendTextMessage(cid, 22, "Parabéns Você Recebeu 10 dias de premium") end return true end dps em actions.xml <action itemid="6567" script="premium.lua"/> <action itemid="6568" script="premium.lua"/> <action itemid="9693" script="premium.lua"/> Então e so isso espero que gostem e se puder nao custara 1 rep + Créditos TnTSlin 30 %(Pelo script do buy) SkyLigh 70 % (Pelo Script Do Action E A Ideia E Adicionar A Lista no script do buy)
  12. Iae , galera hoje trago um script meio diferente Um De Evento De Labirinto Irei Explicar O Evento Pra Quem Nao Sabe agora vamos ao script va em data / movements / scripts / ponha o nome de algum arquivo para labirinto.lua e adicione la function onStepIn(cid, item, pos) pos ={x=160, y=54, z=7} -- pos que o player vai voltar se n for lvl 50 if isPlayer(cid) then if getPlayerLevel(cid) == 40 then -- ponha o numero que vai passar pelo piso doTeleportThing(cid,pos) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Você Nao E Lvl 40") end return true end end dps em movements.xml <movevent type="StepIn" uniqueid="4710" event="script" value="labirinto.lua"/> agora em data / talkactions / scripts / e ponha o nome de algum arquivo para labirinto.lua function onSay(cid, words, param) local pos = {x=1017 , y=1020 , z=7} -- onde o item sera removido local pos = {x=1017 , y=1021 , z=7} -- onde o item sera removido local pos = {x=1017 , y=1022 , z=7} -- onde o item sera removido if words=="!openevento" then broadcastMessage("Evento De Labirinto Esta Aberto" , 22) return TRUE end if words=="!closeevento" then doRemoveItem(getThingfromPos(pos).uid,1) end return TRUE end dps em talkactions.xml <talkaction log="no" words="!closeevento;!openevento" access="5" event="script" value="labirinto.lua"/> Download do map http://speedy.sh/r9xUu/labirinto.otbm Print do map Créditos Skyligh 80 % (Por criar o script do movements e edita o talkaction , ideia , mapa) smartbox 20 % (por criar o do talkaction) Gostou ? rep+

Informação Importante

Confirmação de Termo