Ir para conteúdo

Skyforever

Membro
  • Registro em

  • Última visita

Tudo que Skyforever postou

  1. Skyforever postou uma resposta no tópico em Playground (Off-topic)
    Ou virar traficant
  2. Skyforever postou uma resposta no tópico em Playground (Off-topic)
    Velho vire traficant da grana pakas
  3. Skyforever postou uma resposta no tópico em Suporte Bots
    rvBot então
  4. Skyforever postou uma resposta no tópico em Suporte Bots
    Elf Bot 8.6 crackeado é otimo
  5. Não precisa disso function onLogin(cid) registerCreatureEvent(cid, "Look") return 1 end aonde tem umonte de registerCreatureEvent você coloca isso registerCreatureEvent(cid, "Look")
  6. Skyforever postou uma resposta no tópico em Playground (Off-topic)
    Raccon city rusha mais prefiro o 5 msm
  7. Tipo tenta mudar esse número no outro cassino storageGlobal = 12312, deve ser por isso
  8. Ele funciona mais não ganha frag se matar outro player com skull vo tentar arrumar
  9. Olá, aqui está va em data/creaturescripts/scripts crie um arquivo e renomeie para info_look.lua e adicione isso dentro: agora va em login.lua e adicione essa tag registerCreatureEvent(cid, "infoLook") em data/creaturescripts/creaturescripts.xml adicione essa linha: <event type="look" name="infoLook" event="script" value="info_look.lua"/> se não funcionar avisa ai
  10. Hum, vou tentar arrumar mais não sei mecher muito com frags :S
  11. Skyforever postou uma resposta no tópico em Ouvidoria
    Eu uso o Opera e abre normal
  12. @UP! Bom para o tópico
  13. em data/creaturescripts/scripts crie um arquivo e renomeie para um nome desejado e adicione isso dentro: agora as tags -------------- tags ------------ <event type="statschange" name="ReflectHeal" event="script" value="nome_do_script.lua"/> registerCreatureEvent(cid, "ReflectHeal") ------------ ---------------------- em items.xml substitua: por se baseia num script que quando você usa um certo amuleto e a chance e maior que 25 você recebe 15% de hp do dano recebido QUALQUER ERRO REPORTE NO TÓPICO(tirando os de ortografia)
  14. Na minha opinião se usar tabela ficaria melhor
  15. Skyforever postou uma resposta no tópico em Playground (Off-topic)
    Falows ai manolo --- OFF TOPIC -- Chaos, ainda continua BV?
  16. Eu gostaria de ser MENBRO vou te mandar uma pm
  17. Mano, não usei cores meus code anda bugando direto seilá oque é
  18. Em data/creaturescripts/scripts crie um arquivo e renomeie para recompense_level e adicione isso dentro: Como eu não sei qual vip você usa então você mesmo adicione a função nessa linha --- [b] COLOQUE SUA FUNÇÃO DE ADICIONAR VIP AQUI [/b] -- em creaturescripts.xml [color=#000088][size=2]<event[/size][/color][color=#000000][size=2] [/size][/color][color=#660066][size=2]type[/size][/color][color=#666600][size=2]=[/size][/color][color=#008800][size=2]"advance"[/size][/color][color=#000000][size=2] [/size][/color][color=#660066][size=2]name[/size][/color][color=#666600][size=2]=[/size][/color][color=#008800][size=2]"RecompenseLevel"[/size][/color][color=#000000][size=2] [/size][/color][color=#660066][size=2]event[/size][/color][color=#666600][size=2]=[/size][/color][color=#008800][size=2]"script"[/size][/color][color=#000000][size=2] [/size][/color][color=#660066][size=2]value[/size][/color][color=#666600][size=2]=[/size][/color][color=#008800][size=2]"recompense_lvl.lua"[/size][/color][color=#000088][size=2]/> em login.lua [/size][/color][color=#666600][size=2][color=#000000]registerCreatureEvent[/color]([color=#000000]cid[/color],[color=#000000] [/color][color=#008800]"RecompenseLevel"[/color]) )
  19. Tipo, quando você tem certa quantia de frags tua skull muda é legal até para servidores de war
  20. Olá vão em mods crie um mods e renomeie para Skull System.xml o e adicione isso dentro; <?xml version="1.0" encoding="ISO-8859-1"?> <mod name="Skull System" version="1.0" author="Skyforever" contact="tibiaking.com" enabled="yes"> <config name="SkullC_func"><![CDATA[ function setSkullColor(cid) local t = { [{5,10}] = 1, [{11,15}] = 2, [{16,20}] = 3, [{21,25}] = 4, [{26,math.huge}] = 5 } for var, ret in pairs(t) do if getPlayerFrags(cid) >= var[1] and getPlayerFrags(cid) <= var[2] then doCreatureSetSkullType(cid, ret) end end end function getPlayerFrags(cid) local time = os.time() local times = {today = (time - 86400), week = (time - (7 * 86400))} local contents, result = {day = {}, week = {}, month = {}}, db.getResult("SELECT `pd`.`date`, `pd`.`level`, `p`.`name` FROM `player_killers` pk LEFT JOIN `killers` k ON `pk`.`kill_id` = `k`.`id` LEFT JOIN `player_deaths` pd ON `k`.`death_id` = `pd`.`id` LEFT JOIN `players` p ON `pd`.`player_id` = `p`.`id` WHERE `pk`.`player_id` = " .. getPlayerGUID(cid) .. " AND `k`.`unjustified` = 1 AND `pd`.`date` >= " .. (time - (30 * 86400)) .. " ORDER BY `pd`.`date` DESC") if(result:getID() ~= -1) then repeat local content = {date = result:getDataInt("date")} if(content.date > times.today) then table.insert(contents.day, content) elseif(content.date > times.week) then table.insert(contents.week, content) else table.insert(contents.month, content) end until not result:next() result:free() end local size = {day = table.maxn(contents.day),week = table.maxn(contents.week),month = table.maxn(contents.month)} return size.day + size.week + size.month end ]]></config> <event type="login" name="SkullLogin" event="script"><![CDATA[ domodlib('SkullC_func') function onLogin(cid) registerCreatureEvent(cid, "ColorKill") setSkullColor(cid) return true end]]></event> <event type="kill" name="ColorKill" event="script"><![CDATA[ domodlib('SkullC_func') function onKill(cid, target) if isPlayer(cid) and isPlayer(target) then doCreatureSetSkullType(target, 0) addEvent(setSkullColor, 1, cid) end return true end]]></event> </mod> primeiro abra o config.lua procurem por vai estar assim deixem assim agora procurem por e deixem assim LEMBRANDO SOMENTE PARA SERVIDORES DE WAR
  21. Explica direito por PM que eu faço
  22. Nussa, tá tudo errado isso ai mano em data/creaturescripts/scripts duplique um arquivo lua e renomeie para deatheffect em creaturescripts.xml essa tag <[/background][/size][/font][/color][color=#282828][font=helvetica, arial, sans-serif][size=3][background=rgb(247, 247, 247)]event[/background][/size][/font][/color][color=#282828][font=helvetica, arial, sans-serif][size=3][background=rgb(247, 247, 247)] type="death" name="deathEffect" event="script" value="deatheffect.lua"/> em login.lua [/background][/size][/font][/color][color=#282828][font=helvetica, arial, sans-serif][size=3][background=rgb(247, 247, 247)]registerCreatureEvent[/background][/size][/font][/color][color=#282828][font=helvetica, arial, sans-serif][size=3][background=rgb(247, 247, 247)]([/background][/size][/font][/color][color=#282828][font=helvetica, arial, sans-serif][size=3][background=rgb(247, 247, 247)]cid[/background][/size][/font][/color][color=#282828][font=helvetica, arial, sans-serif][size=3][background=rgb(247, 247, 247)],[/background][/size][/font][/color][color=#282828][font=helvetica, arial, sans-serif][size=3][background=rgb(247, 247, 247)] [/background][/size][/font][/color][color=#282828][font=helvetica, arial, sans-serif][size=3][background=rgb(247, 247, 247)]"deathEffect"[/background][/size][/font][/color][color=#282828][font=helvetica, arial, sans-serif][size=3][background=rgb(247, 247, 247)])
  23. Que função manolo?
  24. Obrigado, Kimoszin rep+
  25. Olá, galerinha do TK estou com uma dúvida sobre esse script sempre tive dificuldade com for i = 1,#table do queria saber se essa parte está certa doPlayerAddItem(cid,getPlayerVocation[table[i]], 1) valendo REP+ para quem ajudar.

Informação Importante

Confirmação de Termo