SkyLigh
Lorde-
Total de itens
2183 -
Registro em
-
Última visita
-
Dias Ganhos
23
Tudo que SkyLigh postou
-
Se conhece pelo - a função de heal do dbko que eu nunca joguei e nunca mechi ai nem sei ou e a mesma do tibia otserv
-
ponha assim no items.xml Se for heala mana <item id="2469" name="Goku ssj5 legs"> <attribute key="description" value="Ki and Health Regeneration +500/s."/> <attribute key="weight" value="4800"/> <attribute key="manaTicks" value="1000" /> -- quanto vai heala de mana <attribute key="armor" value="70"/> <attribute key="slotType" value="legs"/> se for heala health <item id="2469" name="Goku ssj5 legs"> <attribute key="description" value="Ki and Health Regeneration +500/s."/> <attribute key="weight" value="4800"/> <attribute key="healthTicks" value="2000" /> -- quanto vai heala de health <attribute key="armor" value="70"/> <attribute key="slotType" value="legs"/> se querer os 2 so dizer que eu ponho
-
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 price = 1000 -- dinheiro que vai custa if getPlayerStorageValue(cid,1254) > 0 or not doPlayerRemoveMoney(cid, price) then doPlayerSendTextMessage(cid, 28, "Você, não tem dinheiro suficiente e/ou já tem Anti Drop.") return true end doPlayerSendTextMessage(cid, 27, "Parabéns você comprou Anti Drop, por " .. price .. " gp's") setPlayerStorageValue(cid, 1254, 1) return true end talkactions.xml <talkaction words="!loot" event="script" value="loot.lua"/> data/creaturescripts/scripts renome algum arquivo pra antidrop e adicione function onDeath(cid, deathList) if getPlayerStorageValue(cid, 1254) > 0 then setPlayerStorageValue(cid, 1254, 0) doCreatureSetDropLoot(cid, false) end return true end em creaturescripts.xml <event type="death" name="noDrop" script="antiDrop.lua"/> em login.lua registerCreatureEvent(cid, "noDrop") Créditos Skyligh (Por Criar E Pela Ideia E Postar) Skyforever (Ajudou Em Alguns Erros) gostou ? rep +
-
1 min RECORD
-
Q? Nao entendi seu pedido se que copiar uma parte do map e vim os spawns juntos ?
-
dúvida Como Adicionar Magic Level Em Itens Usando Talkactions +Rep
pergunta respondeu ao vsmaiorthebest de SkyLigh em Scripts
local incorreto reportado -
dúvida [Encerrado] Como Fazer Teleport No Otserv Com "god". +Rep
tópico respondeu ao vsmaiorthebest de SkyLigh em Tópicos Sem Resposta
duvida sanada reportado -
dúvida Como Mudar Nomes De Players Usando [Talkaction] +Rep
pergunta respondeu ao vsmaiorthebest de SkyLigh em Scripts
Local incorreto reportado pra moverem se quer q so god possa ? ou que players que troquem aki ta os 2 aki e oq o player troca http://www.xtibia.com/forum/topic/135178-talkaction-name-changer/ aki e oq o god troca http://www.xtibia.com/forum/topic/135219-pedido-troca-de-nome-com-o-god/- 2 respostas
-
- talkaction
- otserv
-
(e 2 mais)
Tags:
-
Título irregular reportado e kda a imagem?
-
keon voce ja mudou a database?
-
Duvida sanada reportado
-
local outfits = {1421, 1422, 1423, 1424, 1425} -- somente o lookType local copiar_cores = true -- se true, copia as cores da outfit que o player estava usando local intervalo_para_trocar_roupas = 1 * 1000 -- em ms, 1 * 1000 = 1 segundo local function doChangeOutfit(cid, id) if not isCreature(cid) then return true end local n = id or 1 local newOutfit = copiar_cores and getCreatureOutfit(cid) or {} newOutfit.lookType = outfits[n] doSetCreatureOutfit(cid, newOutfit, -1) if n < #outfits then addEvent(doChangeOutfit, intervalo_para_trocar_roupas, cid, n + 1) else doCreatureSetNoMove(cid, false) doRemoveCondition(cid, CONDITION_OUTFIT) end end function onSay(cid, words, param) if getCreatureCondition(cid, CONDITION_OUTFIT) and getCreatureNoMove(cid) then return true end doCreatureSetNoMove(cid, true) doChangeOutfit(cid) return true end if getCreatureOutfit(cid, outift) then local outift = 302 -- o looktype da outift doPlayerSendTextMessage(cid, 22 ,"Desculpe voce nao esta usando o outift que e necessario") return true end
-
Mulheres São Tão Estúpidas De Vez Em Qnd
tópico respondeu ao guilhermes26 de SkyLigh em Lixeira Pública
Lol serio ? -
Título irregular reportado
-
Mulheres São Tão Estúpidas De Vez Em Qnd
tópico respondeu ao guilhermes26 de SkyLigh em Lixeira Pública
Agr o tópico e briga por causa de dragon ball ? so mas o gotenks super sayjin 4 -
que n entendi nada pode explicar direito
-
ta vo ver oq eu posso fazer
-
Editei o script nao sei se vai funcionar agr que eu nao testei mas ai vai e no lugar do script das msg local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) 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 thinkCallback(cid) local rand = math.random(1,100) if rand == 1 then selfSay('Posso ajudar?') -- msg que vai sair do npc selfSay('Bem vindo !') -- msg que vai sair do npc end return true end function greetCallback(cid) return true end if (getPlayerStorageValue(cid, storage) <= os.time()) then local ex = 20 -- quantos seg storage = 11548 -- nao mexa setPlayerStorageValue(cid,storage,os.time()+ex) return true end npcHandler:setCallback(CALLBACK_ONTHINK, thinkCallback) npcHandler:setCallback(CALLBACK_GREET, greetCallback) npcHandler:addModule(FocusModule:new())
-
Veih talvez o kamikaze dele ele n pego do seu ele pego do kamikaze verdadeiro
-
Pronto aki esta
-
Você quer so um npc que fique falando sem vender nada? se for isso va em data / npc / scripts / e ponha o nome de algum arquivo.lua para bocoh e adicione isto la local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) 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 thinkCallback(cid) local rand = math.random(1,100) if rand == 1 then selfSay('Posso ajudar?') -- msg que vai sair do npc selfSay('Bem vindo !') -- msg que vai sair do npc end return true end function greetCallback(cid) return true end npcHandler:setCallback(CALLBACK_ONTHINK, thinkCallback) npcHandler:setCallback(CALLBACK_GREET, greetCallback) npcHandler:addModule(FocusModule:new()) agr em data / npc / e renome algum arquivo.xml para bocoh e ponha isto dentro <?xml version="1.0" encoding="UTF-8"?> <npc name="bocoh" script="data/npc/scripts/bocoh.lua" walkinterval="5000" floorchange="0"> <health now="100" max="100"/> <look type="130" head="50" body="63" legs="132" feet="0" addons="3"/> <parameters> </parameters> </npc> pronto agr so reinicia seu sv
-
Se voce puder postar aki a imagem pra mim editar fico agradecido
-
function onSay(cid, words, param, channel) local name = getCreatureName(cid) sorcerer = { pcoin = 19000, level = 1, text = "Parabens", } druid = { pcoin = 19000, level = 1, text = "Parabens", } paladin = { pcoin = 19000, level = 1, text = "Parabens", } knight = { pcion = 19000, level = 1, text = "Parabens", } if getPlayerVocation(cid) == 1 then voc = sorcerer elseif getPlayerVocation(cid) == 2 then voc = druid elseif getPlayerVocation(cid) == 3 then voc = paladin elseif getPlayerVocation(cid) == 4 then voc = knight else voc = nil end if voc ~= nil then if getPlayerLevel(cid) >= voc.level then if getPlayerAccess(cid) == 5 then local t = string.explode(param, ",") if not t[2] then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Invalid param specified.") end local player = getPlayerByName(t[1]) local days = t[2] local pid = getPlayerByNameWildcard(t[1]) if(not pid or (isPlayerGhost(pid) and getPlayerGhostAccess(pid) > getPlayerGhostAccess(cid))) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player with this name doesn\'t exist or is offline.") return TRUE end setPlayerPromotionLevel(cid, 1) db.executeQuery("UPDATE `players` SET `name` = '[Vip] "..name.."' WHERE `id` = "..getPlayerGUID(cid)..";") doSendMagicEffect(getCreaturePosition(cid),14) doSendAnimatedText(getCreaturePosition(cid),voc.text,49) setPlayerStorageValue(cid,1082,1) else doPlayerSendTextMessage(cid,18,"Voce precisa de 50 Multi Coins para ser Vip.") end else doPlayerSendTextMessage(cid,18,"You need level "..voc.level.." to promote.") end else doPlayerSendTextMessage(cid,18,"Voce ja e Vip.") end return TRUE end e no talkactions.xml ponha a tag de somente god usar
-
function onThink(interval, lastExecution, thinkInterval) local Query = db.getResult("SELECT `id`, `vip_time` FROM `accounts` WHERE `accounts`.`vip` = 1") if Query:getID() == -1 then return true end for i = 1, Query:getRows() do local AccID = Query:getDataInt('id') local VipTime = Query:getDataInt('vip_time') if VipTime >= os.time() then if isVip(cid) then if string.sub(name, 1,6) == "[VIP] " then else db.executeQuery("UPDATE `players` SET `name` = '[VIP] "..name.."' WHERE `id`= " .. nome .. ";") doPlayerSendTextMessage(cid,19,"You go kicked in 10 seconds for update you name.") addEvent(doRemoveCreature,10000,cid) end if string.sub(name, 1,6) == "[VIP] " then db.executeQuery("UPDATE `players` SET `name` = '"..pegarNome(getCreatureName(cid)).."' WHERE `id`= " .. nome .. ";") doPlayerSendTextMessage(cid,19,"You go kicked in 10 seconds for update you name.") addEvent(doRemoveCreature,10000,cid) end db.executeQuery("UPDATE `accounts` SET `vip_time = ".. math.ceil((VipTime - os.time()) / 86400) .." WHERE `accounts`.`id` = ".. AccID .." LIMIT 1;") else db.executeQuery("UPDATE `accounts` SET `vip_time` = 0 WHERE `accounts`.`id` = ".. AccID .." LIMIT 1;") end Query:next() end Query:free() end return true end
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.
