Add items to NPC
#13


change the NPC ID and ITEM ID, then execute on newproject_data. One Item per line. Create many lines you want. 

[color="#0000FF"]UPDATE[/color] [color="#FF0000"]`newproject_data`.`t_shopitem`[/color] [color="#0000FF"]SET[/color] `[color="#FF0000"]a_national` = 4; [/color]

[color="#0000FF"]INSERT INTO[/color] [color="#FF0000"]`newproject_data`.`t_shopitem` (`a_keeper_idx`, `a_item_idx`, `a_national`)[/color] [color="#0000FF"]VALUES[/color] [color="#FF0000"](NPC ID, ITEM ID, 4);[/color]
[color="#0000FF"]INSERT INTO[/color] [color="#FF0000"]`newproject_data`.`t_shopitem` (`a_keeper_idx`, `a_item_idx`, `a_national`)[/color] [color="#0000FF"]VALUES[/color] [color="#FF0000"](NPC ID, ITEM ID, 4);[/color]
[color="#0000FF"]INSERT INTO[/color] [color="#FF0000"]`newproject_data`.`t_shopitem` (`a_keeper_idx`, `a_item_idx`, `a_national`)[/color] [color="#0000FF"]VALUES[/color] [color="#FF0000"](NPC ID, ITEM ID, 4);[/color]

 

After this, change shopAll.lod on Data client folder with LC Developer Studio, and change the npc items you want.

 

Credits to METH.

 

I wouldnt change the a_national to 4. I have no problems buying them as they are. a_national is there for a reason. Not sure yet, but im sure changing the entire table will affect something later on down the line. You should just set a_national to 0 for now and it should still be buyable.



Messages In This Thread
[No subject] - by lol913 - 11-04-2011, 05:48 PM
[No subject] - by MonarC - 11-06-2011, 12:04 PM
[No subject] - by Catweazl - 11-06-2011, 12:52 PM
[No subject] - by BashVendetta - 11-06-2011, 01:00 PM
[No subject] - by Darquise - 11-06-2011, 08:09 PM
[No subject] - by MonarC - 11-06-2011, 08:22 PM
[No subject] - by Darquise - 11-06-2011, 08:27 PM
[No subject] - by Koko - 11-06-2011, 08:32 PM
[No subject] - by lol913 - 11-06-2011, 10:17 PM
[No subject] - by damona - 11-06-2011, 10:43 PM
[No subject] - by paulokow - 11-06-2011, 10:44 PM
[No subject] - by Koko - 11-06-2011, 11:07 PM
[No subject] - by Warmonger - 11-06-2011, 11:35 PM
[No subject] - by Darquise - 11-07-2011, 09:49 AM
[No subject] - by damona - 11-07-2011, 12:34 PM
[No subject] - by MonarC - 11-07-2011, 07:50 PM
[No subject] - by damona - 11-08-2011, 06:48 PM
[No subject] - by MonarC - 11-08-2011, 07:18 PM
[No subject] - by damona - 11-08-2011, 07:20 PM
[No subject] - by DeadlyHitrate - 11-15-2011, 01:52 AM
[No subject] - by WolFram - 11-29-2011, 03:00 PM
[No subject] - by Jackster - 11-29-2011, 03:19 PM
[No subject] - by WolFram - 11-29-2011, 03:38 PM
[No subject] - by Sutz - 11-29-2011, 04:24 PM
[No subject] - by soyouare - 11-29-2011, 06:15 PM
[No subject] - by DyzE - 12-25-2011, 05:22 PM
[No subject] - by Dennis%%Dennis - 12-25-2011, 06:02 PM
[No subject] - by DyzE - 12-25-2011, 09:07 PM
[No subject] - by zhuk - 12-25-2011, 09:58 PM
[No subject] - by Wizatek - 12-25-2011, 11:53 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)