eu tinha o elwin 7.6 ke bom ke agora fizeram 7.8 e 7.81, mas eu keria 7.9!
nun pode faze pra mim não??
eu agradeceria mesmo!
vlw
flw
eu tinha o elwin 7.6 ke bom ke agora fizeram 7.8 e 7.81, mas eu keria 7.9!
nun pode faze pra mim não??
eu agradeceria mesmo!
vlw
flw
info
Grupo: Campones
Registrado: 14/08/06
Posts: 76
Reputação: 0
@Palubo
Esse foi testado em 7.81//
Mas como os id's do 7.81 pro 7.9 n mudam, entao vc pode usar pra 7.9
so n do garantia pq eu n testei ;]
Vlws
Be, legal
mais qual versão?
info
Grupo: Campones
Registrado: 14/08/06
Posts: 76
Reputação: 0
Affs, n to conseguindo colokar o codigo intero, entao vou continuar aki ;/
aki vai o resto do code::
Dps das boots, lá tem o começo dos amuletos, mas vou por denovo
if msgcontains(msg, 'amulets list') and focus == cid thenselfSay('I sell Bronze Amulet, Crystal Necklace, Dragon Necklace, Elven Amulet, Garlic Necklace, Golden Amulet, Platinum Amulet, Ruby Necklace, Protection Amulet, Silver Amulet, Silver Necklace, Stone Skin Amulet, Strange Symbol, Strange Talisman, Scarab Amulet, Egipcian Amulet and Eagle Amulet.')
talk_start = os.clock()
end
if msgcontains(msg, 'bronze amulet') and focus == cid then
item = 2172
price = 200
selfSay('Do you want to buy a Bronze Amulet for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'crystal necklace') and focus == cid then
item = 2125
price = 300
selfSay('Do you want to buy a Crystal Necklace for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'dragon necklace') and focus == cid then
item = 2201
price = 500
selfSay('Do you want to buy a Dragon Necklace for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'elven amulet') and focus == cid then
item = 2198
price = 1000
selfSay('Do you want to buy a Elven Amulet for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'garlic necklace') and focus == cid then
item = 2199
price = 500
selfSay('Do you want to buy a Garlic Necklace for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'golden amulet') and focus == cid then
item = 2130
price = 7000
selfSay('Do you want to buy a Golden Amulet for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'platinum amulet') and focus == cid then
item = 2171
price = 5000
selfSay('Do you want to buy a Platinum Amulet for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'ruby necklace') and focus == cid then
item = 2133
price = 2000
selfSay('Do you want to buy a Ruby Necklace for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'protection amulet') and focus == cid then
item = 2200
price = 700
selfSay('Do you want to buy a Protection Amulet for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'silver amulet') and focus == cid then
item = 2170
price = 100
selfSay('Do you want to buy a Silver Amulet for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'silver necklace') and focus == cid then
item = 2132
price = 500
selfSay('Do you want to buy a Silver Necklace for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'stone skin amulet') and focus == cid then
item = 2197
price = 3000
selfSay('Do you want to buy a Stone Skin Amulet for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'strange symbol') and focus == cid then
item = 2319
price = 1000
selfSay('Do you want to buy a Strange Symbol for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'strange talisman') and focus == cid then
item = 2161
price = 800
selfSay('Do you want to buy a Strange Talisman for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'scarab amulet') and focus == cid then
item = 2135
price = 2000
selfSay('Do you want to buy a Scarab Amulet for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'egipcian amulet') and focus == cid then
item = 2139
price = 2000
selfSay('Do you want to buy a Egipcian Amulet for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'eagle amulet') and focus == cid then
item = 2141
price = 1000
selfSay('Do you want to buy a Eagle Amulet for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'rings list') and focus == cid then
selfSay('I sell Axe Ring, Club Ring, Sword Ring, Crystal Ring, Dwarven Ring, Energy Ring, Gold Ring, Life Ring, Might Ring, Power Ring, Ring of Healing, Ring of the Skies, Stealth Ring, Time Ring and Wedding Ring.')
talk_start = os.clock()
end
if msgcontains(msg, 'axe ring') and focus == cid then
item = 2208
price = 200
selfSay('Do you want to buy a Axe Ring for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'club ring') and focus == cid then
item = 2209
price = 200
selfSay('Do you want to buy a Club Ring for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'sword ring') and focus == cid then
item = 2207
price = 200
selfSay('Do you want to buy a Sword Ring for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'crystal ring') and focus == cid then
item = 2124
price = 1000
selfSay('Do you want to buy a Crystal Ring for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'dwarven ring') and focus == cid then
item = 2213
price = 50
selfSay('Do you want to buy a Dwarven Ring for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'energy ring') and focus == cid then
item = 2167
price = 800
selfSay('Do you want to buy a Energy Ring for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'gold ring') and focus == cid then
item = 2179
price = 8000
selfSay('Do you want to buy a Gold Ring for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'life ring') and focus == cid then
item = 2205
price = 800
selfSay('Do you want to buy a Life Ring for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'might ring') and focus == cid then
item = 2164
price = 800
selfSay('Do you want to buy a Might Ring for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'power ring') and focus == cid then
item = 2166
price = 100
selfSay('Do you want to buy a Power Ring for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'ring of healing') and focus == cid then
item = 2214
price = 800
selfSay('Do you want to buy a Ring of Healing for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'ring of the skies') and focus == cid then
item = 2357
price = 50000
selfSay('Do you want to buy a Ring of the Skies for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'stealth ring') and focus == cid then
item = 2165
price = 800
selfSay('Do you want to buy a Stealth Ring for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'time ring') and focus == cid then
item = 2169
price = 2000
selfSay('Do you want to buy a Time Ring for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'wedding ring') and focus == cid then
item = 2121
price = 1000
selfSay('Do you want to buy a Wedding Ring for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'pearls list') and focus == cid then
selfSay('I sell Scarab Coin, Blue Gem, Big Ruby, Big Emerald, Yellow Gem, Violet Gem, Talon, Small Amethyst, Small Emerald, Small Ruby, Small Sapphire, Small Diamond, Black Pearl and White Pearl.')
talk_start = os.clock()
end
if msgcontains(msg, 'scarab coin') and focus == cid then
item = 2159
price = 100
selfSay('Do you want to buy a Scarab Coin for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'blue gem') and focus == cid then
item = 2158
price = 500
selfSay('Do you want to buy a Blue Gem for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'big ruby') and focus == cid then
item = 2156
price = 1000
selfSay('Do you want to buy a Big Ruby for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'big emerald') and focus == cid then
item = 2155
price = 1000
selfSay('Do you want to buy a Big Emerald for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'yellow gem') and focus == cid then
item = 2154
price = 300
selfSay('Do you want to buy a Yellow Gem for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'violet gem') and focus == cid then
item = 2153
price = 300
selfSay('Do you want to buy a Violet Gem for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'talon') and focus == cid then
item = 2151
price = 200
selfSay('Do you want to buy a Talon for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'small amethyst') and focus == cid then
item = 2150
price = 50
selfSay('Do you want to buy a Small Amethyst for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'small emerald') and focus == cid then
item = 2149
price = 100
selfSay('Do you want to buy a Small Emerald for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'small ruby') and focus == cid then
item = 2147
price = 150
selfSay('Do you want to buy a Small Ruby for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'small sapphire') and focus == cid then
item = 2146
price = 100
selfSay('Do you want to buy a Small Sapphire for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'small diamond') and focus == cid then
item = 2145
price = 200
selfSay('Do you want to buy a Small Diamond for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'black pearl') and focus == cid then
item = 2144
price = 500
selfSay('Do you want to buy a Black Pearl for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if msgcontains(msg, 'white pearl') and focus == cid then
item = 2143
price = 300
selfSay('Do you want to buy a White Pearl for ' .. price .. ' Gold Coins?')
talk_start = os.clock()
end
if string.find(msg, '(%a*)bye(%a*)') and focus == cid and getDistanceToCreature(cid) < 3 then
selfSay('See ya ' .. creatureGetName(cid) .. '.')
focus = 0
talk_start = 0
end
if string.find(msg, '(%a*)yes(%a*)') and focus == cid then
buy(cid,item,1,price)
talk_star = os.clock()
elseif string.find(msg, '(%a*)no(%a*)') and focus == cid then
selfSay('Okay. Continue buying
')
talk_star = os.clock()
end
end
function onCreatureChangeOutfit(creature)
end
function onThink()
if (os.clock() - talk_start) > 30 then
if focus > 0 then
selfSay('Next now!!')
end
focus = 0
end
if focus == 0 then
cx, cy, cz = selfGetPosition()
randmove = math.random(1,20)
if randmove == 1 then
nx = cx + 1
end
if randmove == 2 then
nx = cx - 1
end
if randmove == 3 then
ny = cy + 1
end
if randmove == 4 then
ny = cy - 1
end
if randmove >= 5 then
nx = cx
ny = cy
end
moveToPosition(nx, ny, cz)
end
end
Pronto, aki ta o final.Sorry for inconvenience :confused:
Editado Janeiro 30 por ThiagoCapitao
info
Grupo: Herói
Registrado: 12/11/05
Posts: 715
Reputação: +1
Char no Tibia: Lord'Skyxt

Tópico contendo somente 1 NpC,
essa seção é para DataPacks com 3 ou mais Npcs,
~o{Tópico Movido}o~,
Abraços.
info
Grupo: Campones
Registrado: 14/08/06
Posts: 76
Reputação: 0
Testado em 7.81/Mas pode funfar em 7.9 pq sao as msm id.
Em data/npc
Copie um arkivo xml de la e nomeie para elwin
dentro dele apague tudo e coloke:
Em data/npc/scripts
Copie qualquer arkivo de la e re-nomeie para: allequips
Dentro dele vc apaga tudo e coloka:
Editado Janeiro 30 por ThiagoCapitao