Re: Merchant Issues Thread
Posted: Tue Oct 16, 2012 6:45 pm
Shit, there could be something wrong with my item. Now my Templar does not see my templar item
Hold pls.
dunno how tho, it is *exactly* the same item, just with the skill_req value changed from Paladin to Templar.
Edit: k, this is why this shit pisses me off. 2 identical records:
I created a brand new spawn in GMHall, and assigned it Merchant_ID = 1 after building 2 brand new items identical to each other except their skill_req fields, and stuck them in the merchants table.
The only one I see, at all, is Paladin.
dunno how tho, it is *exactly* the same item, just with the skill_req value changed from Paladin to Templar.
Edit: k, this is why this shit pisses me off. 2 identical records:
Code: Select all
INSERT INTO `items`(`id`,`name`,`item_type`,`icon`,`count`,`tier`,`skill_id_req`,`skill_id_req2`,`skill_min`,`skill_max`,`weight`,`description`,`show_name`,`attuneable`,`artifact`,`lore`,`temporary`,`notrade`,`novalue`,`nozone`,`nodestroy`,`crafted`,`good_only`,`evil_only`,`lore_equip`,`ornate`,`heirloom`,`appearance_only`,`usable`,`slots`,`set_name`,`sell_price`,`stack_count`,`collectable`,`adornment_description`,`offers_quest_id`,`part_of_quest_id`,`quest_unknown`,`max_charges`,`display_charges`,`recommended_level`,`adventure_default_level`,`tradeskill_default_level`,`adventure_classes`,`tradeskill_classes`,`soe_id`,`lua_script`) VALUES ( NULL,'Paladin','Spell','0','1','1','0','0','0','0','0',NULL,'1','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0',NULL,'0','1','0',NULL,'0','0','0','0','0','0','1','1','0','0','0',NULL);
INSERT INTO `items`(`id`,`name`,`item_type`,`icon`,`count`,`tier`,`skill_id_req`,`skill_id_req2`,`skill_min`,`skill_max`,`weight`,`description`,`show_name`,`attuneable`,`artifact`,`lore`,`temporary`,`notrade`,`novalue`,`nozone`,`nodestroy`,`crafted`,`good_only`,`evil_only`,`lore_equip`,`ornate`,`heirloom`,`appearance_only`,`usable`,`slots`,`set_name`,`sell_price`,`stack_count`,`collectable`,`adornment_description`,`offers_quest_id`,`part_of_quest_id`,`quest_unknown`,`max_charges`,`display_charges`,`recommended_level`,`adventure_default_level`,`tradeskill_default_level`,`adventure_classes`,`tradeskill_classes`,`soe_id`,`lua_script`) VALUES ( NULL,'Templar','Spell','0','1','1','0','0','0','0','0',NULL,'1','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0',NULL,'0','1','0',NULL,'0','0','0','0','0','0','1','1','0','0','0',NULL);
UPDATE `items` SET `skill_id_req`='90523872' WHERE `id`='1'; -- Paladin
UPDATE `items` SET `skill_id_req`='2581053277' WHERE `id`='2'; -- Templar
INSERT INTO `merchants`(`id`,`merchant_id`,`inventory_id`,`description`) VALUES ( NULL,'1','1','skills test');
INSERT INTO `merchant_inventory`(`id`,`inventory_id`,`item_id`,`quantity`) VALUES ( NULL,'1','1','65535');
UPDATE `spawn` SET `merchant_id`='1' WHERE `id`='10000'; The only one I see, at all, is Paladin.

