Quote:
Originally Posted by KingKeesie
Do you get same error while not using AddShopItem in your .res files? if not you probably made a mistake adding __ADDSHOPITEM to your source.
|
Hey! I have managed to fix the problem. You are correct I did have a little problem in adding it to the source. I forgot to put that define thing in the WorldServer -> VersionCommon.h
I can see the items added in the npc now.. well some items only. I kinda do not know why it is not showing the other items.
Code:
AddShopItem(0, II_SYS_SYS_SCR_SOKCHANG);
AddShopItem(0, II_SYS_SYS_SCR_LEVELDOWN02); // NOT SHOWING
AddShopItem(0, II_SYS_SYS_SCR_LEVELDOWN01);
AddShopItem(0, II_SYS_SYS_SCR_RANDOMSTA); // NOT SHOWING
AddShopItem(0, II_SYS_SYS_SCR_RANDOMSTR);
AddShopItem(0, II_SYS_SYS_SCR_RANDOMDEX); // NOT SHOWING
AddShopItem(0, II_SYS_SYS_SCR_RANDOMINT);
They all have the same settings @ the Spec_Item. They are all shopable, has a price. But only 4 of them are showing in the npc.
These are the Spec_Item line of the items
II_SYS_SYS_SCR_LEVELDOWN02 &
II_SYS_SYS_SCR_LEVELDOWN01
Code:
11 II_SYS_SYS_SCR_LEVELDOWN01 IDS_PROPITEM_TXT_008916 1 9999 IK1_SYSTEM IK2_SYSTEM IK3_SCROLL = = 1 = 200000 = = = = = = = 0 = = 1 = 1 1 1 = = = = _NONE 0 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = EXT_ITEM WUI_NOW = = = = = = = = = 0 0 0 0 0 = = = = = = = = = = = = = = = = = """Itm_SysSysScrLevelDown01.dds""" 0 """""" IDS_PROPITEM_TXT_008917 1 140 0 0 1 0 0 0 0 0 2 = = = = = = = = = = 1 1 1 1 1 0
11 II_SYS_SYS_SCR_LEVELDOWN02 IDS_PROPITEM_TXT_008918 1 9999 IK1_SYSTEM IK2_SYSTEM IK3_SCROLL = = 1 = 100000 = = = = = = = 0 = = 1 = 1 1 1 = = = = _NONE 0 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = EXT_ITEM WUI_NOW = = = = = = = = = 0 0 0 0 0 = = = = = = = = = = = = = = = = = """Itm_SysSysScrLevelDown02.dds""" 0 """""" IDS_PROPITEM_TXT_008919 1 140 0 0 1 0 0 0 0 0 2 = = = = = = = = = = 1 1 1 1 1 0