Hi there, I first want to thank everybody that helps with the queries, it is much appreciated. I am enjoying what I am doing and learning how to adjust/fix things in the game with your help.
If someone could please give me a heads up as to how to fix the two issues that I have that would be great
1) I would like my NPC to quick sell stones that I loot, a sample of my script is
Quote:
|
quick_salestone = {805103, 805104, 805105, 805106,}
|
Quote:
function sell_stones()
local handle = 0
local vigor_list_count = table.getn( quick_salestone )
for i=1, vigor_list_count do
handle = get_item_handle_list( quick_salestone[i] )
if handle ~= 0 then
for y=1, table.getn( handle ) do
if is_erasable_item( handle[y] ) == 1 then
price = get_item_price(handle[y]) / 4
insert_gold( price )
delete_item(handle[y], 1)
|
the problem is that this script only sells one of each different stone
2) adding pet card (FP) to drop table, i assign a number to the card in the MonsterResource drop table link id, I use the same number in the MonsterDropTableResource ID and card in the drop item ID then using 1 in the next five columns but I don't get any FP drops.
I do hash the MonsterResource to the client.
Thanks for the help in advance