Ir para conteúdo

Vodkart

Herói
  • Total de itens

    3406
  • Registro em

  • Última visita

  • Dias Ganhos

    113

Tudo que Vodkart postou

  1. outro tpc. cala a boca e mete
  2. larga mão de ser criança seu lixo sai logo do fórum e n volta mais pra que da trabalho pra alguem?
  3. q engraçado me senti ofendido reportado banido morto huntado estraçalhado comido
  4. kd o link seu fdp
  5. me manda para eu ver como vc configurou o seu, e no time coloca só 1 minuto pra testa
  6. depende do server, procura em creaturescript e na pasta mods
  7. rapaz, algum dos seus pedidos já tem aqui... só procurar ¬¬ aproveita que é impossivel e manda o Tom Cruise fazer
  8. meu pinto ficou preso na sua bunda
  9. É o rep system que está bugando seu ot, vai nele e onde estiver 'db.executeQuery' troca pra 'db.Query'
  10. inv.lua local days = { ["Sunday"] = { ["00:00"] = {nome = "Demon Invasões", pos = {x=185, y=54, z=7}, monster = {"40 Demon", "50 Fire Devil", "4 Orshabaal"}, Time = 15}, ["21:00"] = {nome = "Dragon Invasões", pos = {x=185, y=54, z=7}, monster = {"100 Dragon"}, Time = 15} }, ["Saturday"] = { ["00:00"] = {nome = "Demon Invasões", pos = {x=185, y=54, z=7}, monster = {"40 Demon", "50 Fire Devil", "4 Orshabaal"}, Time = 15}, ["21:13"] = {nome = "Dragon Invasões", pos = {x=185, y=57, z=7},monster = {"100 Dragon"}, Time = 15} } } function onThink(interval, lastExecution) function getDayName() local days = {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"} return days[os.date("*t")["wday"]] end hours = tostring(os.date("%X")):sub(1, 5) tb = days[getDayName()][hours] if tb then function removeCreature() for x = ((tb.pos.x)-10), ((tb.pos.x)+10) do for y = ((tb.pos.y)-10), ((tb.pos.y)+10) do local m = getTopCreature({x=x, y=y, z= tb.pos.z}).uid if m ~= 0 and isMonster(m) then doRemoveCreature(m) end end end return true end addEvent(removeCreature, tb.Time*60*1000) doBroadcastMessage(hours .. " - " .. tb.nome .. " Iníciou.") for _,x in pairs(tb.monster) do for s = 1, tonumber(x:match("%d+")) do doSummonCreature(x:match("%s(.+)"), tb.pos) end end end return true end globalevents.xml <globalevent name="Invasao" interval="60" event="script" value="inv.lua"/>
  11. Vodkart

    (Pedido) Deathlist

    ta dificil mesmo, quando morre pra player da debug no distro e fecha o ot ¬¬
  12. Vodkart

    Eu Rl

    Fala sério man aquilo lá é puro paint ¬¬
  13. Mas ele está configurado para falar na aba do npc npcHandler:say("msg", cid) o "cid" faz com que a mensagem seja aberta nessa aba!
  14. Vodkart

    Porta Storage

    function onUse(cid, item, frompos, item2, topos) local storage = 58745 if getPlayerStorageValue(cid, storage) <= 0 then return doPlayerSendTextMessage(cid,22,"Você não tem acesso á está área.") end doTransformItem(item.uid, item.itemid + 1) doTeleportThing(cid, topos, TRUE) return true end
  15. 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 creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVbehavior == CONVERSATION_DEFAULT and 0 or cid local msg = string.lower(msg) local config = {itemid = 9020,cost = 15} if msgcontains(msg, 'sex') then npcHandler:say("Você quer mudar de sexo por "..config.cost.." "..getItemNameById(config.itemid).." ? {yes}", cid) talkState[talkUser] = 1 elseif msgcontains(msg, 'yes') and talkState[talkUser] == 1 then if doPlayerRemoveItem(cid,config.itemid,config.cost) == TRUE then doPlayerSetSex(cid, getPlayerSex(cid) == PLAYERSEX_FEMALE and PLAYERSEX_MALE or PLAYERSEX_FEMALE) npcHandler:say("Parabéns, você mudou de sexo com sucesso", cid) else npcHandler:say("Desculpe, Você não tem "..config.cost.." "..getItemNameById(config.itemid).." !", cid) end elseif msg == "no" then selfSay("Then not", cid) talkState[talkUser] = 0 npcHandler:releaseFocus(cid) end return TRUE end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
  16. afinal, é por item ou por dinheiro? ou pelos 2?
  17. Vodkart

    Porta Storage

    Se eu não me engano tem algumas door que se você colocar o número da storage em UNIQUEID ela abre normal... por exemplo storage 9595 ai vc vai na propriedade da porta e coloca UNIQUEID 9595
  18. ta me fala uma coisa, depois que o npc é sumonado o que acontece com ele? ele fica lá por um tempo e depois some? detalhes
  19. Tava pensando aqui, dava para usar storage + onlook quando ele iria falar com o npc setava a storage ele ficando +ou - assim: doPlayerSetSpecialDescription(thing.uid, (getPlayerSex(thing.uid) == PLAYERSEX_FEMALE and ".\nShe" or ".\nHe") .. " is a " .. (getCreatureStorage(thing.uid, STORAGE) <= 0 and "Genin" or "Chunnin"))
  20. The guild will Frag only if: Killing each other with different IP (not to be abused) Killing a player with different guild Level diff 50 - (configurable) -------------------------------------------------------------------- @edite first update: Honor point adicionado! para saber mais leia o tópico
  21. local npc,pos = "Rashid",{x=x,y=y,z=z} doCreateNpc(npc, pos) -- faz criar o npc doRemoveCreature(getCreatureByName(npc)) -- faz deletar o npc
  22. testa essa local t = { lvl = 100, entrada = { {x = 710, y = 1420, z = 5}, {x = 709, y = 1420, z = 5}, {x = 708, y = 1420, z = 5}, {x = 707, y = 1420, z = 5} }, saida = { {x = 710, y = 1420, z = 6}, {x = 709, y = 1420, z = 6}, {x = 708, y = 1420, z = 6}, {x = 707, y = 1420, z = 6} }, monstros = { {{x = 707, y = 1418, z = 6}, "Demon"}, {{x = 709, y = 1418, z = 6}, "Demon"}, {{x = 708, y = 1422, z = 6}, "Demon"}, {{x = 710, y = 1422, z = 6}, "Demon"}, {{x = 712, y = 1420, z = 6}, "Hellfire Fighter"}, {{x = 713, y = 1420, z = 6}, "Hellfire Fighter"}, {{x = 711, y = 1420, z = 6}, "Ghazbaran"} } } function onUse(cid, item, fromPosition, itemEx, toPosition) local check = {} for _, k in ipairs(t.entrada) do local x = getTopCreature(k).uid if(x == 0 or not isPlayer(x) or getPlayerLevel(x) < t.lvl) then doPlayerSendCancel(cid, 'Está faltando player ou alguém não possui level '..t.lvl..' ou mais.') return true end table.insert(check, x) end for _, summon in pairs(t.monstros) do local creature = getTopCreature(summon[1]).uid if(creature > 0 and not isPlayer(creature)) then doRemoveCreature(creature) end doCleanTile(summon[1]) doCreateMonster(summon[2], summon[1]) end for i, tid in ipairs(check) do doSendMagicEffect(t.entrada[i], CONST_ME_POFF) doTeleportThing(tid, t.saida[i], false) doSendMagicEffect(t.saida[i], CONST_ME_ENERGYAREA) end doTransformItem(item.uid, item.itemid == 1945 and 1946 or 1945) return true end só editar ela
  23. local err = createCombatArea({ {0, 0, 1, 1, 1, 0, 0}, {0, 1, 1, 1, 1, 1, 0}, {1, 1, 1, 1, 1, 1, 1}, {1, 1, 1, 3, 1, 1, 1}, {1, 1, 1, 1, 1, 1, 1}, {0, 1, 1, 1, 1, 1, 0}, {0, 0, 1, 1, 1, 0, 0}}) function onUse(cid, item, frompos, item2, topos) --Script "Bomba" by Jedian local storage = 11148 -- não mexa aqui local exausted = 10 -- Tempo para player poder usar o item novamente! (tempo em segundos) if getPlayerStorageValue(cid, storage) >= os.time() then return doPlayerSendCancel(cid, "wait " .. getPlayerStorageValue(cid, storage) - os.time() .. " seconds to use this item again.") elseif frompos.x == 65535 then return doPlayerSendCancel(cid, 'You cannot use it here.') end setPlayerStorageValue(cid, storage, os.time()+exausted) doRemoveItem(item.uid, 1) doSendMagicEffect(frompos, 32) local m = {[0] = 0, [1] = 5, [2] = 4, [3] = 3, [4] = 2, [5] = 1} for i, v in ipairs(m) do addEvent(doSendAnimatedText, (i - 1)*1000, frompos, v, 180) end addEvent(af, 5050, cid, item, frompos, item2, topos) return true end function af(cid, item, frompos, item2, topos) doSendAnimatedText(frompos, 'Caboom!', 180) doAreaCombatHealth(0, 8, frompos, err, -500, -1000, 8) end vai em spells.xml e onde estiver needlearn="0" vc coloca needlearn="1" needlearn="0" -- é se precisa aprender para usar , 0 no caso é false needlearn="1" -- se precisa aprender a magia para usar, 1 é true
  • Quem Está Navegando   0 membros estão online

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