Ir para conteúdo
  • 0

Ajuda todos começam com todos os addons!


gmstrikker

Pergunta

Agora que eu fui perceber enquanto testava aqui, no meu ot todos estão começando com todos os addons! O que fazer? :o

 

Outifits.xml

 

 

<?xml version="1.0"?>

<outfits>

<outfit id="1" quest="40850">

<list gender="0" lookType="136" name="Citizen"/>

<list gender="1" lookType="128" name="Citizen"/>

</outfit>

 

<outfit id="2" quest="40850">

<list gender="0" lookType="137" name="Hunter"/>

<list gender="1" lookType="129" name="Hunter"/>

</outfit>

 

<outfit id="3" quest="40850">

<list gender="0" lookType="138" name="Mage"/>

<list gender="1" lookType="130" name="Mage"/>

</outfit>

 

<outfit id="4" quest="40850">

<list gender="0" lookType="139" name="Knight"/>

<list gender="1" lookType="131" name="Knight"/>

</outfit>

 

<outfit id="5" premium="no" quest="40850">

<list gender="0" lookType="140" name="Noblewoman"/>

<list gender="1" lookType="132" name="Nobleman"/>

</outfit>

 

<outfit id="6" premium="no" quest="40850">

<list gender="0" lookType="141" name="Summoner"/>

<list gender="1" lookType="133" name="Summoner"/>

</outfit>

 

<outfit id="7" premium="no" quest="40850">

<list gender="0" lookType="142" name="Warrior"/>

<list gender="1" lookType="134" name="Warrior"/>

</outfit>

 

<outfit id="8" premium="no" quest="40850">

<list gender="0" lookType="147" name="Barbarian"/>

<list gender="1" lookType="143" name="Barbarian"/>

</outfit>

 

<outfit id="10" premium="no" quest="40850">

<list gender="0" lookType="149" name="Wizard"/>

<list gender="1" lookType="145" name="Wizard"/>

</outfit>

 

<outfit id="11" premium="no" quest="40850">

<list gender="0" lookType="150" name="Oriental"/>

<list gender="1" lookType="146" name="Oriental"/>

</outfit>

 

<outfit id="12" premium="no" quest="40850">

<list gender="0" lookType="155" name="Pirate"/>

<list gender="1" lookType="151" name="Pirate"/>

</outfit>

 

<outfit id="13" premium="no" quest="40850">

<list gender="0" lookType="156" name="Assassin"/>

<list gender="1" lookType="152" name="Assassin"/>

</outfit>

 

<outfit id="14" premium="no" quest="40850">

<list gender="0" lookType="157" name="Beggar"/>

<list gender="1" lookType="153" name="Beggar"/>

</outfit>

 

<outfit id="15" premium="no" quest="40850">

<list gender="0" lookType="158" name="Shaman"/>

<list gender="1" lookType="154" name="Shaman"/>

</outfit>

 

<outfit id="16" premium="no" quest="40850">

<list gender="0" lookType="252" name="Norsewoman"/>

<list gender="1" lookType="251" name="Norseman"/>

</outfit>

 

<outfit id="17" premium="no" quest="40850">

<list gender="0" lookType="269" name="Nightmare"/>

<list gender="1" lookType="268" name="Nightmare"/>

</outfit>

 

<outfit id="18" premium="no" quest="40850">

<list gender="0" lookType="270" name="Jester"/>

<list gender="1" lookType="273" name="Jester"/>

</outfit>

 

<outfit id="19" premium="no" quest="40850">

<list gender="0" lookType="279" name="Brotherhood"/>

<list gender="1" lookType="278" name="Brotherhood"/>

</outfit>

 

<outfit id="20" premium="no" quest="40850">

<list gender="0" lookType="288" name="Demonhunter"/>

<list gender="1" lookType="289" name="Demonhunter"/>

</outfit>

 

<outfit id="21" premium="no" quest="40850">

<list gender="0" lookType="324" name="Yalaharian"/>

<list gender="1" lookType="325" name="Yalaharian"/>

</outfit>

 

<outfit id="22" premium="no" quest="40850">

<list gender="0" lookType="336" name="Warmaster"/>

<list gender="1" lookType="335" name="Warmaster"/>

</outfit>

 

<outfit id="23" premium="no" quest="40850">

<list gender="0" lookType="329" name="Wife"/>

<list gender="1" lookType="328" name="Husband"/>

</outfit>

 

<outfit id="24" premium="no" quest="40850">

<list gender="0" lookType="366" name="Wayfarer"/>

<list gender="1" lookType="367" name="Wayfarer"/>

</outfit>

 

<outfit id="25" premium="no" quest="40853">

<list gender="0" lookType="5" name="Orc"/>

<list gender="1" lookType="5" name="Orc"/>

</outfit>

 

<outfit id="26" premium="no" quest="40853">

<list gender="0" lookType="7" name="Orc Warrior"/>

<list gender="1" lookType="7" name="Orc Warrior"/>

</outfit>

 

<outfit id="27" premium="no" quest="40853">

<list gender="0" lookType="50" name="Orc Spearman"/>

<list gender="1" lookType="50" name="Orc Spearman"/>

</outfit>

 

<outfit id="28" premium="no" quest="40853">

<list gender="0" lookType="6" name="Orc Shaman"/>

<list gender="1" lookType="6" name="Orc Shaman"/>

</outfit>

 

<outfit id="29" premium="no" quest="40853">

<list gender="0" lookType="8" name="Orc Berserker"/>

<list gender="1" lookType="8" name="Orc Berserker"/>

</outfit>

 

<outfit id="30" premium="no" quest="40853">

<list gender="0" lookType="59" name="Orc Leader"/>

<list gender="1" lookType="59" name="Orc Leader"/>

</outfit>

 

<outfit id="31" premium="no" quest="40853">

<list gender="0" lookType="2" name="Orc Warlord"/>

<list gender="1" lookType="2" name="Orc Warlord"/>

</outfit>

<outfit id="32" premium="no" quest="40852">

<list gender="0" lookType="159" name="Elf"/>

<list gender="1" lookType="159" name="Elf"/>

</outfit>

<outfit id="33" premium="no" quest="40852">

<list gender="0" lookType="64" name="Elf Range"/>

<list gender="1" lookType="64" name="Elf Range"/>

</outfit>

<outfit id="34" premium="no" quest="40852">

<list gender="0" lookType="148" name="High Elf"/>

<list gender="1" lookType="144" name="High Elf"/>

</outfit>

<outfit id="35" premium="no" quest="40852">

<list gender="0" lookType="63" name="Elf Sentinel"/>

<list gender="1" lookType="63" name="Elf Sentinel"/>

</outfit>

</outfits>

 

 

 

Editado por gmstrikker
Link para o comentário
Compartilhar em outros sites

6 respostass a esta questão

Posts Recomendados

  • 0

Vá Em CreatureScript Crie um arquivo lua chamado "Vocation_Outfit" é cole isso dentro:

 

Creio Que Você Já tenha isso no seu servidor bronson sé tiver apenas substitua o seu por este que vai funcionar , crie outra conta no acc manager e veja !

 

 

 

--[[Edited By Adilson]]--

local config={

{outfit={136,128,137,129,138,130,139,131,140,132,141,133,142,134,143,135,144,136,145,137,146,138,147,139, 148,140,149,141,150,142,151,143,152,144,153,145,154,146,155,147,278,279},voc={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20},storage=40850}, -- Humanos

 

{outfit={5,5},voc={25,26,27,28,29,30,35,36,37,38,39,40,41,42},storage=40853}, -- orc

 

{outfit={5,5},voc={21,22,23,24,31,32,33,34},storage=40852} -- elf

}

 

function onLogin(cid)

 

for a =1,#config do

if isInArray(config[a].voc, getPlayerVocation(cid)) and getPlayerStorageValue(cid, config[a].storage) == -1 then

setPlayerStorageValue(cid, config[a].storage, 1)

break

end

end

return TRUE

end

 

 

 

Em Creaturescript.xml adicione essa tag :

<event type="login" name="Out" script="Vocation_Outfit.lua"/>

 

é Adicione Isso No Seu Login :

registerCreatureEvent(cid, "Vocation_Outfit")

 

Faça outra conta no acc manager e test

 

Abraços!

Editado por AdilsonHacker
Link para o comentário
Compartilhar em outros sites

  • 0

Obrigado!!!! FUNCIONOOOOOU!

vlw

reputo quando der! pode deixar salvei nos favoritos

 

Se não for pedir mt já q vc tem um bronson server, qnd eu logo de org pela primeira vez eu fico com roupa de humano toda branca se der esc, sabe como arrumar isso?

Editado por gmstrikker
Link para o comentário
Compartilhar em outros sites

  • 0

Vá em creaturescript , login.xml é remova essa parte :

else
str = str .. " Please choose your outfit."
doPlayerSendOutfitWindow(cid)

 

é salve agora vamos para o script :

 

Vá em creaturescript crie um arquivo lua chamado "playeroutfit" é cole isso dentro :

 

 

 

--[[Edited By Adilson]]--

function onLogin(cid)

 

local config = {

[1] = {397}, -- dentro do [ ] coloque o numero da vocaçao e { } coloque o numero da looktype

[2] = {95},

[3] = {193},

[4] = {237},

[5] = {57},

[6] = {333},

[7] = {332},

[8] = {345},

[9] = {300},

[10] = {396}

}

 

local voc = config[getPlayerVocation(cid)]

 

if voc then

if getPlayerStorageValue(cid, 13000) < 0 then

local newtype = {lookType = voc[1]}

doCreatureChangeOutfit(cid, newtype)

setPlayerStorageValue(cid, 13000, 1)

end

end

return TRUE

end

 

 

 

Agora Vá em login.lua é registre essa tag :

registerCreatureEvent(cid, "playeroutfit")

 

Agora Em creaturescript Adicione essa tag :

<event type="login" name="Outfit" event="script" value="playeroutfit.lua"/>

 

Pronto !

 

me Deve 2 rep Em kk qualquer coisa tamos aqui!

 

Abraços!

Editado por AdilsonHacker
Link para o comentário
Compartilhar em outros sites

  • 0

Vá em creaturescript , login.xml é remova essa parte :

else
str = str .. " Please choose your outfit."
doPlayerSendOutfitWindow(cid)

 

é salve agora vamos para o script :

 

Vá em creaturescript crie um arquivo lua chamado "playeroutfit" é cole isso dentro :

 

 

 

--[[Edited By Adilson]]--

function onLogin(cid)

 

local config = {

[1] = {397}, -- dentro do [ ] coloque o numero da vocaçao e { } coloque o numero da looktype

[2] = {95},

[3] = {193},

[4] = {237},

[5] = {57},

[6] = {333},

[7] = {332},

[8] = {345},

[9] = {300},

[10] = {396}

}

 

local voc = config[getPlayerVocation(cid)]

 

if voc then

if getPlayerStorageValue(cid, 13000) < 0 then

local newtype = {lookType = voc[1]}

doCreatureChangeOutfit(cid, newtype)

setPlayerStorageValue(cid, 13000, 1)

end

end

return TRUE

end

 

 

 

Agora Vá em login.lua é registre essa tag :

registerCreatureEvent(cid, "playeroutfit")

 

Agora Em creaturescript Adicione essa tag :

<event type="login" name="Outfit" event="script" value="playeroutfit.lua"/>

 

Pronto !

 

me Deve 2 rep Em kk qualquer coisa tamos aqui!

 

Abraços!

 

Funcionou, vlw :)

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...