
Tudo que Vodkart postou
-
[AJUDA] Poçoes healar mais
vai em actions/script/liquids e procura os arquivo.lua da potion q vc quer, por exemplo a small_health.lua abre e vai encontrar local MIN = 50 local MAX = 100 ai vc edita para oq quiser
- Walking Effect On Outfit
-
Walking Effect On Outfit
Créditos: AnneMotta & Vodkart Descrição: Ao andar com o full addon de algumas outfits irá sair um efeito. Em creaturescript/script crie um arquivo.lua e renomeie para: outfiteffect.lua function onLogin(cid) registerCreatureEvent(cid, "EffectOutLogin") registerCreatureEvent(cid, "OutfitEffects") return doCreatureChangeOutfit(cid,{lookType = getCreatureOutfit(cid).lookType, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet, lookAddons = getCreatureOutfit(cid).lookAddons}) end local events = {} function onOutfit(cid, old, current) local effect = { [136] = 3, [128] = 3, -- citizen [270] = 27,[273] = 27, -- jester [156] = 61,[152] = 61, -- assassin [147] = 44,[143] = 44, -- barbarian [148] = 45,[144] = 45, -- druid [157] = 68,[153] = 68, -- beggar [149] = 36,[145] = 36, -- wizard [279] = 17,[278] = 17, -- brotherwood [137] = 39,[129] = 39, -- hunter [141] = 66,[133] = 66, -- summoner [142] = 34,[134] = 34, -- warrior [155] = 31,[151] = 31, -- pirate [158] = 46,[154] = 46, -- shaman [288] = 6,[289] = 6 -- demonhunter } local o,c= effect[old.lookType],effect[current.lookType] if getPlayerAccess(cid) > 2 then return true elseif (not o or not c or old.lookAddons == 3 and o) then stopEvent(events[getPlayerGUID(cid)]) end if current.lookAddons == 3 and c then function WalkEffect(cid, c, pos) if not isCreature(cid) then return LUA_ERROR end if c then frompos = getThingPos(cid) if frompos.x ~= pos.x or frompos.y ~= pos.y or frompos.z ~= pos.z then doSendMagicEffect(frompos, c) end events[getPlayerGUID(cid)] = addEvent(WalkEffect, 100, cid, c, frompos) end return true end WalkEffect(cid, c, {x=0, y=0, z=0}) end return true end em creaturescript.xml adicione as tags: <event type="login" name="EffectOutLogin" event="script" value="outfiteffect.lua"/> <event type="outfit" name="OutfitEffects" event="script" value="outfiteffect.lua"/> Como configurar: [iD DA OUTFIT] = N° DO EFEITO
-
Sugar Cane & Rum
tem que editar as tags do garou, faltou fechar lá
-
Sugar Cane & Rum
o erro é na sua actions.xml, você deve ter colocado algo errado lá!
-
[Resolvido] [Dúvida] Comando !guildcast
troca o return FALSE por return true
-
A Piada Mais Engraçada do Mundo
até as piadas do costinha são melhores kk
-
@sky
que antes? qndo ele foi homem
- Minha assinatura ta atrapalhando?
-
só uma dúvida
só falta agora querer comparar jesus com justin bieber também rsrsrs
-
Oque Justin Bieber ensinou?
fato
-
Oque Justin Bieber ensinou?
posta ai
- Mistérios idiotas '-'
-
TK morrendo, minha saida!
essas do canto esquerdo e do canto direito lembram muito umas amigas que eu tenho
-
TK morrendo, minha saida!
sempre que vou no tópico e tem comentário do Robson fico hipnotizado pela sua gif
-
Anél de Experiência' [Exp Ring]
sabe o que eu estava pensando... É o seguinte, que dá para fazer através do onKill e usando stages! Na hora que você fosse matar o monstro iria checar se no slot tem o anel com ID "XY",caso tivesse ele faria a conta de quanto o jogador ganha ao matar um montro,por exemplo eu no level 300 mato um demon e ganho 6000 de xp,com o anel me dando 50% eu ganharia os 6000 + 3000 de exp, dando um total de 9000! está ai: ------------- Edited @Topic sobre o anel de exp, acho que assim não tem bug: local rate = 1.2 function onEquip(cid, item, slot) if(item.itemid ~= 7697) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Your exp rate + "..((rate - 1)*100).."%.") doPlayerSetExperienceRate(cid, rate) doTransformItem(item.uid, 7708) return TRUE end return TRUE end function onDeEquip(cid, item, slot) if(item.itemid ~= 7708) then return TRUE end doPlayerSetExperienceRate(cid, 1.0) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Your extra experience rate has ended.") doTransformItem(item.uid,7697) return TRUE end movements.xml <movevent type="Equip" itemid="7697" slot="ring" event="function" value="onEquipItem"/> <movevent type="Equip" itemid="7708" slot="ring" event="script" value="expring.lua"/> <movevent type="DeEquip" itemid="7708" slot="ring" event="script" value="expring.lua"/> no items.xml modifique: <item id="7708" article="a" name="ring"> <attribute key="weight" value="40" /> <attribute key="slotType" value="ring" /> </item> Por: <item id="7708" article="a" name="Experience ring"> <attribute key="weight" value="80"/> <attribute key="slotType" value="ring"/> <attribute key="decayTo" value="0"/> <attribute key="duration" value="480"/> <attribute key="showduration" value="1"/> </item> e também modifique: <item id="7697" article="a" name="signet ring"> <attribute key="weight" value="80" /> <attribute key="slotType" value="ring" /> </item> Por: <item id="7697" article="an" name="Experience ring"> <attribute key="weight" value="80"/> <attribute key="slotType" value="ring"/> <attribute key="transformEquipTo" value="7708"/> <attribute key="stopduration" value="1"/> <attribute key="showduration" value="1"/> </item>
- Desenterrando Mortos
-
[Talkaction] Teleporter
já n existe o /c para puxar o player? o.o
-
[Download] Mumia 3 Tumba do imperador dragao.
o filme é passar na escola ou alguma coisa assim? pq se for pra vc assistir nem vale a pena mano, mal pra krl
-
[DUVIDA] como aumentar o limite do magic level
depende, você sabe compilar um distro?
-
Megaupload trolling
[paste]u5UsusQ1[/paste]
-
[DUVIDA] como aumentar o limite do magic level
teria que editar as sources para isso =/
- pedido VIP teleport
- [DUVIDA] Quero colocar esse script para vip
-
[NPC] Mount Seller Por Items [8.7+]
lib/functions.lua function getItemsFromList(items) -- by vodka local str = '' if table.maxn(items) > 0 then for i = 1, table.maxn(items) do str = str .. items[i][2] .. ' ' .. getItemNameById(items[i][1]) if i ~= table.maxn(items) then str = str .. ', ' end end end return str end function doRemoveItemsFromList(cid,items) -- by vodka local count = 0 if table.maxn(items) > 0 then for i = 1, table.maxn(items) do if getPlayerItemCount(cid,items[i][1]) >= items[i][2] then count = count + 1 end end end if count == table.maxn(items) then for i = 1, table.maxn(items) do doPlayerRemoveItem(cid,items[i][1],items[i][2]) end else return false end return true end Data/NPC Mount Seller.xml <?xml version="1.0"?> <npc name="Mount Seller" script="data/npc/scripts/buymount.lua" walkinterval="50000" floorchange="0"> <health now="100" max="100"/> <look type="129" head="95" body="116" legs="121" feet="115" addons="3"/> <parameters> <parameter key="message_greet" value="Hello |PLAYERNAME|.I have many {mounts} to sell for you!" /> </parameters> </npc> Data/Npc/script buymount.lua 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 AddMount(cid, message, keywords, parameters, node) --by vodka if(not npcHandler:isFocused(cid)) then return false end if (isPlayerPremiumCallback == nil or isPlayerPremiumCallback(cid) == true or parameters.premium == false) then if(parameters.level ~= nil and getPlayerLevel(cid) < parameters.level) then npcHandler:say('You must reach level ' .. parameters.level .. ' to buy this mount.', cid) elseif canPlayerRideMount(cid, parameters.mountid) then npcHandler:say('you already have this mount!', cid) elseif not doRemoveItemsFromList(cid,parameters.items) then npcHandler:say('Sorry You need '..getItemsFromList(parameters.items)..' to buy this mount!', cid) else doPlayerAddMount(cid, parameters.mountid) npcHandler:say('Here is your mount!', cid) npcHandler:resetNpc() end else npcHandler:say('I can only allow premium players to buy this mount.', cid) end npcHandler:resetNpc() return true end local mounts = { {"widow queen", items = {{2124,1},{2393,2}}, mountid = 1, level = 10, premium = false}, {"racing bird", items = {{2494,1},{2393,2}}, mountid = 2, level = 15, premium = true}, {"mounts", text = "I sell these mounts: {widow queen},{racing bird},{war Bear},{black sheep},{midnight panther},{draptor},{titanica},{tin lizzard}.{blazebringer},{rapid boar},{stampor} or {undead cavebear}!"} } for i = 1, #mounts do local get = mounts[i] if type(get.items) == "table" then local node = keywordHandler:addKeyword({get[1]}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = "You want to buy the mount " .. get[1] .. " for "..getItemsFromList(get.items).." ?"}) node:addChildKeyword({"yes"}, AddMount, {items = get.items,mountid = get.mountid, level = get.level, premium = get.premium}) node:addChildKeyword({"no"}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = "Ok, then.", reset = true}) else keywordHandler:addKeyword({get[1]}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = get.text}) end end mounts = nil npcHandler:addModule(FocusModule:new()) configuração: local mounts = { {"widow queen", items = {{2124,1},{2393,2}}, mountid = 1, level = 10, premium = false}, {"racing bird", items = {{2494,1},{2393,2}}, mountid = 2, level = 15, premium = true}, {"mounts", text = "I sell these mounts: {widow queen},{racing bird},{war Bear},{black sheep},{midnight panther},{draptor},{titanica},{tin lizzard}.{blazebringer},{rapid boar},{stampor} or {undead cavebear}!"} } "nome da montaria" items = {} -- é os items que precisa ter trocar pela mount mountid -- é o id da montaria level -- level necessario para comprar premium -- se precisa ser premium para comprar text -- n precisa mexer,é para saber que montaria ele pode comprar,pode adicionar + nome na lista se quiser adicionando mount então por exemplo war bear: local mounts = { {"widow queen", items = {{2124,1},{2393,2}}, mountid = 1, level = 10, premium = false}, {"racing bird", items = {{2494,1},{2393,2}}, mountid = 2, level = 15, premium = true}, {"war bear", items = {{2123,2},{2124,1},{2173,1}}, mountid = 3, level = 20, premium = false}, {"mounts", text = "I sell these mounts: {widow queen},{racing bird},{war Bear},{black sheep},{midnight panther},{draptor},{titanica},{tin lizzard}.{blazebringer},{rapid boar},{stampor} or {undead cavebear}!"} }