Change items to vendor NPC
Posted: Mon Aug 22, 2016 12:27 pm
Hi guys,
i just started a private server for me and my friends.
Because we are a low number of chars on the server i added some equip to the standard vendor NPC.
Almost all NPC's worked well but just one in Sand'oria i got a problem.
The script if this:
local stock = {0x4047,4309,1, --Baselard
0x4094,16934,1, --Gladius
0x40a1,21067,1, --Broadsword
0x40c0,35769,1, --Hunting Sword
0x408c,13406,1, --Fleuret
0x4001,129,2, --Cesti
0x4042,1827,2, --Dagger
0x4098,7128,2, --Iron Sword
0x40b6,8294,2, --Longsword
0x4040,140,3, --Bronze Dagger
0x4041,837,3, --Brass Dagger
0x4093,3523,3, --Brass Xiphos
0x4097,241,3, --Bronze Sword
0x40b5,1674,3} --Spatha
0x40b5, is the Hex code of a weapon/armor
1674, is the price
What exactly is the last number?? The NPC's in Sand'oria are the only having the last number different, then i don't know how to set it.
The other npc's have the same final number in any item in the list.
Thank you so much
i just started a private server for me and my friends.
Because we are a low number of chars on the server i added some equip to the standard vendor NPC.
Almost all NPC's worked well but just one in Sand'oria i got a problem.
The script if this:
local stock = {0x4047,4309,1, --Baselard
0x4094,16934,1, --Gladius
0x40a1,21067,1, --Broadsword
0x40c0,35769,1, --Hunting Sword
0x408c,13406,1, --Fleuret
0x4001,129,2, --Cesti
0x4042,1827,2, --Dagger
0x4098,7128,2, --Iron Sword
0x40b6,8294,2, --Longsword
0x4040,140,3, --Bronze Dagger
0x4041,837,3, --Brass Dagger
0x4093,3523,3, --Brass Xiphos
0x4097,241,3, --Bronze Sword
0x40b5,1674,3} --Spatha
0x40b5, is the Hex code of a weapon/armor
1674, is the price
What exactly is the last number?? The NPC's in Sand'oria are the only having the last number different, then i don't know how to set it.
The other npc's have the same final number in any item in the list.
Thank you so much