Ir para conteúdo
  • Cadastre-se

Flavio S

Membro
  • Total de itens

    128
  • Registro em

  • Última visita

Tudo que Flavio S postou

  1. basta configurar em : local reward = {{ITEMID, QUANTIDADE}} -- {ITEMID, QUANTIDADE}, local centeroffight = {x=24553,y=23720,z=7} local waitingplace = {x=24554,y=23720,z=6} local depotcenter = {x=32345,y=32223,z=7} local MinimumPlayers = 2 local reward = {{ITEMID, QUANTIDADE}} -- {ITEMID, QUANTIDADE}, local function lmsclosed1() -- broadcastMessage("Last Man Standing event will start in 1 minutes. Portal is opened in depot", MESSAGE_STATUS_WARNING) end local function lmsclosed() count = 0 local spectators = getSpectators(waitingplace, 10, 10, false) if s
  2. Eu fiz um script de raid esses tempos atrás : http://pastebin.com/wWSEzjQm
  3. Tem que setar storage por account ... precisa adaptar esse sistema pra tfs 1.1, http://www.tibiaking.com/forum/topic/21851-function-account-storage/ se ninguém te ajudar até a noite eu faço pra ti
  4. maximumlevel.lua function onAdvance(cid, skill, oldLevel, newLevel) -- body local maximum = { player = getPlayerGUID(cid), lvlmax = (getPlayerLevel(cid) + 1), pos = {x= xxx, y= xxx, z= x}, -- Coordenadas do templo } local levels = {717217, 903637, 1034406, 1138511, 1226423, 1303269, 1371986, 1434433, 1491871, 1545196, 1595075, 1642016, 1686416, 1728594, 1768808, 1807272, 1844166, 1879639, 1913822, 1946825, 1978746, 2009669, 2039668, 2068810, 2097153, 2124751, 2151649, 2177891, 2203516, 2228558, 2253050} -- Level que o player vai usar o comando. if skill == 8 and isInArray(levels, getP
  5. Isso parece ser uma arena pvp néh ? Eu fiz um sistema parecido se quiser dar uma olhada > http://www.tibiaking.com/forum/topic/54988-arena-pvp/ < Qualquer erro pode postar lá no tópico que eu dou suporte.
  6. Flavio S

    Sistema Banimento

    Ué eu derrubei o tk e não fui banido EHUEEUH (comedinhas presenciou isso ele sabe...), ai uso uma outra account por motivos que não prefiro revelar, e tomo ban HEUHEUEHU, fala logo que tu não gostava de mim e já queria me banir a muito tempo luan, que fica mais bonito.
  7. Creio que seja esse ou não ? http://www.tibiaking.com/forum/topic/55543-tfs-1x-sistema-de-reset/
  8. A pedido desse tópico fiz a talkaction : http://www.tibiaking.com/forum/topic/55478-pedido-comando-de-mute-para-tutor/ data/talkactions/script/mute.lua TFS 1.1 : function onSay(player, words, param) local storage = 456112 if words == "/mute" then local mute = param:split(",") if mute[1] == nil or mute[1] == " " then player:sendCancelMessage("Invalid player specified.") return false end if mute[2] == nil or mute[2] == " " then player:sendCancelMessage("Invalid time specified.") return false end local target = Player(mute[1]) local time = tonumber
  9. Os items para receber o addon é configurável. talkactions.XML <talkaction words="!buyaddon" separator=" " script="buyaddon.lua"/> buyaddon.lua local text = '--Addon List--\n!buyaddon "citizen\n!buyaddon "hunter\n!buyaddon "mage\n!buyaddon "knight\n!buyaddon "summoner\n!buyaddon "warrior\n!buyaddon "barbarian\n!buyaddon "druid\n!buyaddon "wizard\n!buyaddon "oriental\n!buyaddon "pirate\n!buyaddon "assassin\n!buyaddon "beggar\n!buyaddon "beggar\n!buyaddon "shaman\n!buyaddon "norseman\n!buyaddon "nightmare\n!buyaddon "jester\n!buyaddon "brotherhood\n!buyaddon "warmaster
  10. !exp: !mana: talkactions.xml <talkaction words="!exp" script="expmana.lua"/> <talkaction words="!mana" script="expmana.lua"/> expmana.lua function onSay(player, words, param) local p = player local s = function(p, lv) local k = Game.getExperienceStage(lv) local st = p:getStamina() if st > 2400 then return k*1.5 .. " (stamina bonus)" elseif st < 1 then return 0 .. " (out of stamina)" elseif st < 841 then return k*0.5 .. " (stamina penalty)" else
  11. Um comando para GOD, que permiti trocar o seu looktype, para o de um monstro ou de um player em questão. /looktype id /looktype monstername /looktype id, playername /looktype monstername, playername Exemplo: /looktype 262 /looktype Silver Rabbit /looktype 262, Limos /looktype Silver Rabbit, Limos looktype.lua function onSay(cid, words, param) local player = Player(cid) if not player:getGroup():getAccess() then return true end local t = param:split(",") local lookType = tonumber(t[1]) if not lookType then lookType = MonsterType(t[1]
  12. rank in-game de level, ml , skill, etc ... 13:13 Top players on server, frags, paladin: [1] [Test ze Spacjami] [5] [2] [Zbizo3] [1] talkactions.xml <talkaction words="!rank" separator=" " script="rank.lua"/> rank.lua local top = 10 local rankcolor = MESSAGE_STATUS_CONSOLE_ORANGE local errorcolor = MESSAGE_STATUS_CONSOLE_BLUE local popup = true -- set to false if you want it in local chat local exhaustvalue = 78692 -- storage to avoid command spam local exhausttime = 5 -- seconds before you may request rank again local maxgroup = 1 -- set to 2 to include gms, 3 to include go
  13. varkhal.lua local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) local talkState = {} local rtnt = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end npcHandler:setMessage(MESSAGE_GREET, "Greetings |PLAYERNAME|. I need you
  14. Esse npc permite escolher qual task o player irá fazer : Adonai.xml <?xml version="1.0" encoding="UTF-8"?> <npc name="Adonai" script="tasks.lua" walkinterval="2000" speed ="0" floorchange="0"> <health now="100" max="100"/> <look type="433" head="58" body="113" legs="50" feet="78" addons="1" mount="688"/> </npc> tasks.lua local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local xmsg = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end functio
  15. bless_heal.lua local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function onPlayerEndTrade(cid) npcHandler:onPlayerEndTrade(cid) end function onPlayerCloseChannel(cid) npcHandler:onPlayerClos
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo