Shop Item Data ?

08/06/2011 17:35 fatihy93#1
Hi again ^^.

This is shopitemdata.txt in pk2.

Code:
1	581	62	0	0	1	1	0	0	0	0	0	0	0	0	0
Code:
1 
581 // I think NPC ID
62 // Shop Item ID ( Arrow )
0	0	1	1	0	0	0	0	0	0	0	0	0
Where is the item column and item no data ? ( For B034 Parsing )
08/06/2011 18:05 kevin_owner#2
I have no idea where those values are but mabye you could take a look at the srevolution source at assembla.com it loads the shopdata for sure so you could check which columns it uses.

edit: here is a link to the source [Only registered and activated users can see links. Click Here To Register...]
it is for ksro but the data is all the same and also the packet structures there might be a byte or something else different but overall it's pretty much the same.
08/06/2011 19:44 Schickl#3
Quote:
Originally Posted by fatihy93 View Post
Hi again ^^.

This is shopitemdata.txt in pk2.

Code:
1	581	62	0	0	1	1	0	0	0	0	0	0	0	0	0
Code:
1 
581 // I think NPC ID
62 // Shop Item ID ( Arrow )
0	0	1	1	0	0	0	0	0	0	0	0	0
Where is the item column and item no data ? ( For B034 Parsing )
I think that this file contains all the items that are in every NPC(not sure)
if you wan't to add/remove items to/from a NPC you will need to edit refshopgoods.txt

Code:
1	11	STORE_KT_SMITH_TAB1	PACKAGE_ITEM_CH_TBLADE_08_A	18	-1	xxx	-1	xxx	-1	xxx	-1	xxx
Code:
1
11    //dunno
STORE_KT_SMITH_TAB1    //The tab where the Item is located in(to edit the tabs go to the file refshoptab.txt)
PACKAGE_ITEM_CH_TBLADE_08_A    //The Item. just remove "PACKAGE_" and you get the Item name you can search for
18	//The Slot where the Item is located in the Tab
-1	xxx	-1	xxx	-1	xxx	-1	xxx    //some not used things
~~~

Code:
1 
581 // GROUP
62 // Shop Item ID ( Arrow )
0	0	1	1	0	0	0	0	0	0	0	0	0
it seems like that the first Number indicates the Group where the Item is in. It's NOT the npc ID
08/06/2011 23:58 zeteris#4
Quote:
Originally Posted by fatihy93 View Post
Hi again ^^.

This is shopitemdata.txt in pk2.

Code:
1	581	62	0	0	1	1	0	0	0	0	0	0	0	0	0
Code:
1 
581 // I think NPC ID
62 // Shop Item ID ( Arrow )
0	0	1	1	0	0	0	0	0	0	0	0	0
Where is the item column and item no data ? ( For B034 Parsing )

581 - Shop Tab ID ( You can find theese id's in shoptabdata.txt ).
62 - Yeah It's Item ID