Action%2FTalkaction All Full Outfits, All Mounts (!mount, !outfit)
-
Quem Está Navegando 0 membros estão online
Nenhum usuário registrado visualizando esta página.
-
Conteúdo Similar
-
Por Jzm
Não encontrei o local dedicado para montarias, peço desculpas se estou postando no local inadequado. Favor mover o tópico para a área correta, obrigado.
Adicionei as montarias ao servidor canary.
Adicione isso ao seu arquivo: Pasta "...\data\XML\mounts.xml"
<mount id="213" clientid="1672" name="Boisterous Bull" speed="10" premium="no" type="store" />
<mount id="214" clientid="1673" name="Surly Steer" speed="10" premium="no" type="store" />
<mount id="215" clientid="1674" name="Obstinate Ox" speed="10" premium="no" type="store" />
<mount id="216" clientid="1677" name="Darkfire Devourer" speed="10" premium="no" type="store" />
<mount id="217" clientid="1682" name="Spirit of Purity" speed="10" premium="no" type="store" />
<mount id="218" clientid="1685" name="Doom Skull" speed="10" premium="no" type="store" />
<mount id="219" clientid="1686" name="Magma Skull" speed="10" premium="no" type="store" />
<mount id="220" clientid="1687" name="Corpsefire Skull" speed="10" premium="no" type="store" />
Todas estão free account e na gamestore, modifique como quiser.
Adicione isso ao seu arquivo: Pasta "...data\modules\scripts\gamestore\gamestore.lua"
{
icons = { "Boisterous_Bull.png" },
name = "Boisterous Bull",
price = 690,
id = 213,
description = "{character}\n{speedboost}\n\n<i>????</i>",
type = GameStore.OfferTypes.OFFER_TYPE_MOUNT,
},
{
icons = { "Surly_Steer.png" },
name = "Surly Steer",
price = 690,
id = 214,
description = "{character}\n{speedboost}\n\n<i>????</i>",
type = GameStore.OfferTypes.OFFER_TYPE_MOUNT,
},
{
icons = { "Obstinate_Ox.png" },
name = "Obstinate Ox",
price = 690,
id = 215,
description = "{character}\n{speedboost}\n\n<i>????</i>",
type = GameStore.OfferTypes.OFFER_TYPE_MOUNT,
},
{
icons = { "Darkfire_Devourer.png" },
name = "Darkfire Devourer",
price = 1500,
id = 216,
description = "{character}\n{speedboost}\n\n<i>????</i>",
type = GameStore.OfferTypes.OFFER_TYPE_MOUNT,
},
{
icons = { "Spirit_of_Purity.png" },
name = "Spirit of Purity",
price = 1500,
id = 217,
description = "{character}\n{speedboost}\n\n<i>????</i>",
type = GameStore.OfferTypes.OFFER_TYPE_MOUNT,
},
{
icons = { "Doom_Skull.png" },
name = "Doom Skull",
price = 750,
id = 218,
description = "{character}\n{speedboost}\n\n<i>????</i>",
type = GameStore.OfferTypes.OFFER_TYPE_MOUNT,
},
{
icons = { "Magma_Skull.png" },
name = "Magma Skull",
price = 750,
id = 219,
description = "{character}\n{speedboost}\n\n<i>????</i>",
type = GameStore.OfferTypes.OFFER_TYPE_MOUNT,
},
{
icons = { "Corpsefire_Skull.png" },
name = "Corpsefire Skull",
price = 750,
id = 220,
description = "{character}\n{speedboost}\n\n<i>????</i>",
type = GameStore.OfferTypes.OFFER_TYPE_MOUNT,
},
Adicione o arquivo appearances.dat do cliente 13.21.13899
Pasta: "...data\items\appearances.dat"
appearances.dat
Adicione no comando para talkactions:
Pasta "...data\scripts\talkactions\god\add_mounts.lua"
mude de:
for i = 1, 197 do
target:addMount(i)
end
O script acima pode ter outro número diferente de 197, geralmente está na linha 21.
para:
for i = 1, 220 do
target:addMount(i)
end
Espero ter ajudado.
Créditos:
Cip por atualizar,
Eu por alterar.
-
Por Vodkart
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
-
Por EddyHavoc
Olá galera do TibiaKing, irei postar hoje um Script bem fácil de fazer e que funciona perfeitamente.
Como o título do tópico já diz é uma quest que da Addons.
Vamos ao que interessa:
Crie um arquivo .lua chamado addonquest na pasta Data>Action>Scripts
E cole o seguinde Script:
--[[ Script by EddyHavoc ]]-- function onUse(cid, item, frompos, item2, topos) if item.uid == 8913 then queststatus = getPlayerStorageValue(cid,1500) if queststatus == -1 then doPlayerSendTextMessage(cid,22,"You have found first warmaster addon.") doPlayerAddOutfit(cid, 336, 1) doPlayerAddOutfit(cid, 335, 1) setPlayerStorageValue(cid,1500,1) else doPlayerSendTextMessage(cid,22,"It is empty.") end end end Agora abra a Action.xml na pasta Data>Action e cole a seguinte Tag:
<action uniqueid="8913" script="quests/addonquest.lua" /> Após isso tudo é só ir no RME e colocar o uniqueid 8913
Espero que tenham gostado.
Flws
-
Por Tricoder
Preview
Script
data/items/items.xml
<item id="8981" article="a" name="gold premium card"> <attribute key="weight" value="0" /> <attribute key="description" value="Use this card to receive 7 premium days." /> </item> data/actions/actions.xml
<action itemid="8981" script="other/premiumcard.lua"/> data/actions/scripts/premium_card
local t = { days = 7, effect = CONST_ME_HOLYAREA } function onUse(cid, item, fromPosition, itemEx, toPosition) doPlayerRemoveItem(cid, 8981, 1) return TRUE, doPlayerAddPremiumDays(cid, t.days), doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You now have +" .. t.days .. " premium days!"), doSendMagicEffect(fromPosition, t.effect) end Créditos: God Mythera
-
Posts Recomendados
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.