Need some help with shops

Results 1 to 13 of 13
  1. #1
    Enthusiast roplys_ is offline
    MemberRank
    Nov 2004 Join Date
    49Posts

    Need some help with shops

    What I did:
    1. Encrypted cabal.enc
    2. Changed BI Deighton grocer items to sell upgrade cores like this:
    Code:
    .........
    			</shop>
    			<shop	id="7"	>
    				<item	slot_id="0"	item_id="9"	option="0"	reputation_class="-19"	duration_id="0"	price="10000"	/>
    				<item	slot_id="1"	item_id="10"	option="0"	reputation_class="-19"	duration_id="0"	price="50000"	/>
    				<item	slot_id="2"	item_id="1"	option="0"	reputation_class="-19"	duration_id="0"	price="100000"	/>
    				<item	slot_id="3"	item_id="1214"	option="0"	reputation_class="-19"	duration_id="0"	price="1000000"	/>
    				<item	slot_id="4"	item_id="1214"	option="0"	reputation_class="-19"	duration_id="0"	price="1000000"	/>
    				<item	slot_id="5"	item_id="1214"	option="0"	reputation_class="-19"	duration_id="0"	price="1000000"	/>
    				<item	slot_id="8"	item_id="1214"	option="0"	reputation_class="-19"	duration_id="0"	price="1000000"	/>
    				<item	slot_id="9"	item_id="632"	option="0"	reputation_class="-19"	duration_id="0"	price="10000000"	/>
    				<item	slot_id="10"	item_id="637"	option="0"	reputation_class="-19"	duration_id="0"	price="200000"	/>
    				<item	slot_id="11"	item_id="638"	option="0"	reputation_class="-19"	duration_id="0"	price="800000"	/>
    				<item	slot_id="12"	item_id="639"	option="0"	reputation_class="-19"	duration_id="0"	price="2000000"	/>
    				<item	slot_id="13"	item_id="1216"	option="0"	reputation_class="-19"	duration_id="0"	price="20000000"	/>
    				<item	slot_id="16"	item_id="3"	option="7"	reputation_class="-19"	duration_id="0"	price="420"	/>
    				<item	slot_id="17"	item_id="4"	option="7"	reputation_class="-19"	duration_id="0"	price="5600"	/>
    				<item	slot_id="18"	item_id="5"	option="7"	reputation_class="-19"	duration_id="0"	price="35000"	/>
    ..........................
    3. Decoded and changed my cabal.enc with the new one.
    4. Opened World1-NpC.scp
    5. Edited the same numbers like this:
    Code:
    ..............
    74	6	100	692	8321	1	0	40
    75	7	0	9	0	-19	0	10000
    76	7	1	10	0	-19	0	50000
    77	7	2	1	0	-19	0	100000
    78	7	3	1214	0	-19	0	1000000
    79	7	4	1214	0	-19	0	1000000
    80	7	5	1214	0	-19	0	1000000
    81	7	8	1214	0	-19	0	1000000
    82	7	9	632	0	-19	0	10000000
    83	7	10	637	0	-19	0	200000
    84	7	11	638	0	-19	0	800000
    85	7	12	639	0	-19	0	2000000
    86	7	13	1216	0	-19	0	20000000
    87	7	16	3	7	-19	0	420
    88	7	17	4	7	-19	0	5600
    89	7	18	5	7	-19	0	35000
    .................
    6.Saved.
    7.Restarted server
    8.Went to buy some UCH's
    9.Got error number:6 type:161 :)

    What did I do wrong ?

    P.S. shop looks like this
    http://www.ipix.lt/images/74232082.jpg
    Last edited by roplys_; 27-03-10 at 07:28 PM.


  2. #2
    A Gigantic Worm trungnt88 is offline
    MemberRank
    Mar 2009 Join Date
    NevarethLocation
    314Posts

    Re: Need some help with shops

    Why do you need to sell 4 UCHH at once?

    Plz note that:

    Encrypt > Transform into the form which you can read
    Decrypt > Transform into the form which game client can read

    Here's the correct way to edit Cabal shop:

    1, Decrypt "cabal.enc"
    2, Edit as many as you wish
    3, Encrypt it
    4, Overwrite old "cabal.enc" by modified-encrypted one
    5, Edit server file (SCP) based on new "cabal.enc"
    6, Restart server
    7, Start your client :)

    Plz double the number in 1st column in SCP file, might be smt wrong, note that number in 1st column must be unique and ascending - for best result :D - means non-duplicated number in 1st column, you can add more lines at the end, for example:

    You want to add UCHH after 40, don't add another line with "40" or "41" at the 1st column

    Code:
    ... ... ...
    37	5	82	110	0	-19	0	24300
    38	5	84	200	0	-19	0	16200
    39	5	86	155	0	-19	0	16200
    40	6	0	31	0	-19	0	400
    41	6	4	3	7	-19	0	280
    42	6	5	4	7	-19	0	1400
    ... ... ...
    Scroll to the end of list, for example, it might be like this :

    Code:
    ... ... ...
    139	50	35	5	50	3	0	250000
    140	50	36	8	50	3	0	250000
    141	50	37	12	30	3	0	24000
    So add a new line at the end like this

    Code:
    142	6	9	1	0	-19	0	1
    After all, be sure that "SlotIdx" is unique too and data between client and server must be match :)

    That's all :)

    Good luck :)
    Last edited by trungnt88; 27-03-10 at 09:13 PM.

  3. #3
    Enthusiast roplys_ is offline
    MemberRank
    Nov 2004 Join Date
    49Posts

    Re: Need some help with shops

    Well what I did is that I replaced the potions in BI Groocer with upgrade cores, so the 1st column is unique there are no duplicate entries. Saw the picture ?

  4. #4
    A Gigantic Worm trungnt88 is offline
    MemberRank
    Mar 2009 Join Date
    NevarethLocation
    314Posts

    Re: Need some help with shops

    How about this? Plz double check :)

    Quote Originally Posted by trungnt88 View Post
    After all, be sure that "SlotIdx" is unique too and data between client and server must be match :)

  5. #5
    Enthusiast roplys_ is offline
    MemberRank
    Nov 2004 Join Date
    49Posts

    Re: Need some help with shops

    Still no luck
    Got the same error
    Here's mine cabal.enc and World1-NPC.scp
    No duplicates now but still shit doesn't work

    cabal.enc
    Code:
    ..........
    			<shop	id="7"	>
    				<item	slot_id="0"	item_id="3"	option="1"	reputation_class="-19"	duration_id="0"	price="60"	/>
    				<item	slot_id="1"	item_id="4"	option="1"	reputation_class="-19"	duration_id="0"	price="800"	/>
    				<item	slot_id="2"	item_id="5"	option="1"	reputation_class="-19"	duration_id="0"	price="5000"	/>
    				<item	slot_id="3"	item_id="6"	option="1"	reputation_class="-19"	duration_id="0"	price="60"	/>
    				<item	slot_id="4"	item_id="7"	option="1"	reputation_class="-19"	duration_id="0"	price="800"	/>
    				<item	slot_id="5"	item_id="8"	option="1"	reputation_class="-19"	duration_id="0"	price="5000"	/>
    				<item	slot_id="8"	item_id="3"	option="4"	reputation_class="-19"	duration_id="0"	price="240"	/>
    				<item	slot_id="9"	item_id="4"	option="4"	reputation_class="-19"	duration_id="0"	price="3200"	/>
    				<item	slot_id="10"	item_id="5"	option="4"	reputation_class="-19"	duration_id="0"	price="20000"	/>
    				<item	slot_id="11"	item_id="6"	option="4"	reputation_class="-19"	duration_id="0"	price="240"	/>
    				<item	slot_id="12"	item_id="7"	option="4"	reputation_class="-19"	duration_id="0"	price="3200"	/>
    				<item	slot_id="13"	item_id="8"	option="4"	reputation_class="-19"	duration_id="0"	price="20000"	/>			
    				<item	slot_id="14"	item_id="9"	option="0"	reputation_class="-19"	duration_id="0"	price="10000"	/>
    				<item	slot_id="15"	item_id="10"	option="0"	reputation_class="-19"	duration_id="0"	price="50000"	/>				
    				<item	slot_id="16"	item_id="3"	option="7"	reputation_class="-19"	duration_id="0"	price="420"	/>
    				<item	slot_id="17"	item_id="4"	option="7"	reputation_class="-19"	duration_id="0"	price="5600"	/>
    				<item	slot_id="18"	item_id="5"	option="7"	reputation_class="-19"	duration_id="0"	price="35000"	/>
    				<item	slot_id="19"	item_id="6"	option="7"	reputation_class="-19"	duration_id="0"	price="420"	/>
    				<item	slot_id="20"	item_id="7"	option="7"	reputation_class="-19"	duration_id="0"	price="5600"	/>
    				<item	slot_id="21"	item_id="8"	option="7"	reputation_class="-19"	duration_id="0"	price="35000"	/>				
    				<item	slot_id="22"	item_id="1"	option="0"	reputation_class="-19"	duration_id="0"	price="100000"	/>
    				<item	slot_id="23"	item_id="1214"	option="0"	reputation_class="-19"	duration_id="0"	price="1000000"	/>				
    				<item	slot_id="24"	item_id="5"	option="20"	reputation_class="1"	duration_id="0"	price="100000"	/>
    				<item	slot_id="25"	item_id="8"	option="20"	reputation_class="1"	duration_id="0"	price="100000"	/>
    				<item	slot_id="26"	item_id="12"	option="10"	reputation_class="1"	duration_id="0"	price="8000"	/>
    				<item	slot_id="27"	item_id="5"	option="30"	reputation_class="2"	duration_id="0"	price="150000"	/>
    				<item	slot_id="28"	item_id="8"	option="30"	reputation_class="2"	duration_id="0"	price="150000"	/>
    				<item	slot_id="29"	item_id="12"	option="20"	reputation_class="2"	duration_id="0"	price="16000"	/>				
    				<item	slot_id="30"	item_id="632"	option="0"	reputation_class="-19"	duration_id="0"	price="10000000"	/>
    				<item	slot_id="31"	item_id="637"	option="0"	reputation_class="-19"	duration_id="0"	price="200000"	/>
    				<item	slot_id="32"	item_id="638"	option="0"	reputation_class="-19"	duration_id="0"	price="800000"	/>
    				<item	slot_id="33"	item_id="639"	option="0"	reputation_class="-19"	duration_id="0"	price="2000000"	/>
    				<item	slot_id="34"	item_id="1216"	option="0"	reputation_class="-19"	duration_id="0"	price="20000000"	/>				
    				<item	slot_id="35"	item_id="5"	option="50"	reputation_class="3"	duration_id="0"	price="250000"	/>
    				<item	slot_id="36"	item_id="8"	option="50"	reputation_class="3"	duration_id="0"	price="250000"	/>
    				<item	slot_id="37"	item_id="12"	option="30"	reputation_class="3"	duration_id="0"	price="24000"	/>
    				<item	slot_id="48"	item_id="574"	option="1106"	reputation_class="-19"	duration_id="0"	price="10000"	/>
    				<item	slot_id="80"	item_id="1207"	option="4016"	reputation_class="-19"	duration_id="0"	price="0"	/>
    				<item	slot_id="82"	item_id="1207"	option="4015"	reputation_class="-19"	duration_id="0"	price="0"	/>
    				<item	slot_id="84"	item_id="1207"	option="4014"	reputation_class="-19"	duration_id="0"	price="0"	/>
    				<item	slot_id="86"	item_id="1207"	option="4013"	reputation_class="-19"	duration_id="0"	price="0"	/>
    				<item	slot_id="88"	item_id="1207"	option="3996"	reputation_class="-19"	duration_id="0"	price="0"	/>
    				<item	slot_id="90"	item_id="1207"	option="3995"	reputation_class="-19"	duration_id="0"	price="0"	/>
    				<item	slot_id="92"	item_id="1207"	option="3994"	reputation_class="-19"	duration_id="0"	price="0"	/>
    				<item	slot_id="94"	item_id="1207"	option="3993"	reputation_class="-19"	duration_id="0"	price="0"	/>
    				<item	slot_id="96"	item_id="1207"	option="3976"	reputation_class="-19"	duration_id="0"	price="0"	/>
    				<item	slot_id="98"	item_id="1207"	option="3975"	reputation_class="-19"	duration_id="0"	price="0"	/>
    				<item	slot_id="100"	item_id="1207"	option="3974"	reputation_class="-19"	duration_id="0"	price="0"	/>
    				<item	slot_id="102"	item_id="1207"	option="3973"	reputation_class="-19"	duration_id="0"	price="0"	/>
    			</shop>
    .............
    world1-npc.scp
    Code:
    [NpcPos]	Flags	Index	PosX	PosY	Type	IsRangeCheck
    0	0	1	36	41	3	1
    1	0	2	37	36	2	1
    2	0	3	37	13	5	1
    3	0	4	18	13	1	1
    4	0	5	28	40	1	1
    5	0	6	12	43	4	1
    6	0	7	43	27	1	1
    7	0	8	23	49	7	0
    8	0	9	17	49	7	0
    9	0	14	219	184	6	1
    10	1	15	19	113	6	1
    11	1	16	65	242	6	1
    12	1	17	128	232	6	1
    13	1	18	240	116	6	1
    14	1	19	87	163	6	1
    15	1	20	52	172	6	1
    16	1	21	83	139	6	1
    17	1	22	166	65	6	1
    18	1	23	185	28	6	1
    19	1	24	73	164	6	1
    20	0	25	55	159	7	0
    21	0	26	145	34	7	0
    22	0	27	15	111	7	0
    23	0	28	22	72	7	0
    24	0	29	160	195	7	0
    25	0	30	59	68	7	0
    26	0	50	0	0	1	0
    
    [WarpLst]	NpcsIdx	NSetIdx	TargetIdx	LV	Fee	Type
    0	14	0	110	0	0	1
    1	14	1	116	0	0	1
    2	14	2	118	0	0	1
    3	14	3	120	0	0	1
    4	14	4	122	0	0	1
    5	15	0	44	3	0	0
    6	16	0	35	0	0	1
    7	16	1	47	0	0	1
    8	16	2	106	0	0	1
    9	16	3	148	1	0	2
    10	16	4	175	1	0	2
    11	17	0	57	0	0	1
    12	17	1	79	0	0	1
    13	17	2	117	0	0	1
    14	17	3	149	1	0	2
    15	17	4	163	1	0	2
    16	17	5	187	1	0	2
    17	17	6	188	1	0	2
    18	17	7	189	1	0	2
    19	17	8	219	1	0	2
    20	17	9	220	1	0	2
    21	17	10	221	1	0	2
    22	17	11	222	1	0	2
    23	17	12	246	1	0	2
    24	17	13	247	1	0	2
    25	18	0	69	0	0	1
    26	18	1	78	0	0	1
    27	18	2	80	0	0	1
    28	18	3	168	1	0	2
    29	18	4	176	1	0	2
    30	18	5	190	1	0	2
    31	19	0	146	0	0	1
    32	21	0	34	0	0	1
    33	21	1	147	0	0	1
    34	22	0	44	0	0	1
    35	22	1	68	0	0	1
    36	22	2	81	0	0	1
    37	22	3	137	0	0	1
    38	23	0	70	0	0	1
    39	23	1	77	0	0	1
    40	24	0	60	0	0	1
    
    [SkillLst]	NSetIdx	NpcsIdx	SkillIdx	SkillLv
    0	0	2	1	1
    1	1	2	2	1
    2	2	2	209	1
    3	3	2	3	1
    4	4	2	5	1
    5	5	2	10	1
    6	6	2	11	1
    7	7	2	203	1
    8	8	2	208	1
    9	9	2	12	1
    10	10	2	13	1
    11	11	2	22	1
    12	12	2	200	1
    13	13	2	23	1
    14	14	2	25	1
    15	15	2	6	1
    16	16	2	8	1
    17	17	2	68	1
    18	18	2	30	1
    19	19	2	32	1
    20	20	2	204	1
    21	21	2	14	1
    22	22	2	15	1
    23	23	2	26	1
    24	24	2	28	1
    25	25	2	38	1
    26	26	2	201	1
    27	27	2	39	1
    28	28	2	216	1
    29	29	2	41	1
    30	30	2	205	1
    31	31	2	43	1
    32	32	2	45	1
    33	33	2	51	1
    34	34	2	206	1
    35	35	2	53	1
    36	36	2	34	1
    37	37	2	36	1
    38	38	2	202	1
    39	39	2	210	1
    40	40	2	55	1
    41	41	2	219	1
    42	42	2	217	1
    43	43	2	218	1
    44	44	2	57	1
    45	45	2	220	1
    46	46	2	221	1
    47	47	2	100	1
    48	48	2	157	1
    49	49	2	230	1
    50	50	2	424	1
    51	51	2	101	1
    52	52	2	102	1
    53	53	2	103	1
    54	54	2	104	1
    55	55	2	105	1
    56	56	2	106	1
    57	57	2	425	1
    58	58	2	426	1
    59	59	2	427	1
    60	60	2	428	1
    61	61	2	429	1
    62	62	2	430	1
    63	63	2	107	1
    64	64	2	248	1
    65	65	2	431	1
    66	66	2	108	1
    67	67	2	109	1
    68	68	2	110	1
    69	69	2	111	1
    70	70	2	112	1
    71	71	2	113	1
    72	72	2	432	1
    73	73	2	433	1
    74	74	2	434	1
    75	75	2	435	1
    76	76	2	436	1
    77	77	2	437	1
    78	78	2	114	1
    79	79	2	158	1
    80	80	2	438	1
    81	81	2	115	1
    82	82	2	116	1
    83	83	2	117	1
    84	84	2	118	1
    85	85	2	119	1
    86	86	2	120	1
    87	87	2	439	1
    88	88	2	440	1
    89	89	2	441	1
    90	90	2	442	1
    91	91	2	443	1
    92	92	2	444	1
    93	93	2	121	1
    94	94	2	249	1
    95	95	2	445	1
    96	96	2	122	1
    97	97	2	123	1
    98	98	2	124	1
    99	99	2	125	1
    100	100	2	126	1
    101	101	2	127	1
    102	102	2	446	1
    103	103	2	447	1
    104	104	2	448	1
    105	105	2	449	1
    106	106	2	450	1
    107	107	2	451	1
    108	108	2	159	1
    109	109	2	223	1
    110	110	2	251	1
    111	111	2	224	1
    112	112	2	225	1
    113	113	2	250	1
    114	114	2	300	1
    115	115	2	301	1
    116	116	2	300	2
    117	117	2	301	2
    118	118	2	305	1
    119	119	2	306	1
    120	120	2	300	3
    121	121	2	301	3
    122	122	2	302	1
    123	123	2	303	1
    124	124	2	304	1
    125	125	2	305	2
    126	126	2	306	2
    127	127	2	300	4
    128	128	2	301	4
    129	129	2	302	2
    130	130	2	303	2
    131	131	2	304	2
    132	132	2	305	3
    133	133	2	306	3
    134	134	2	300	5
    135	135	2	301	5
    136	136	2	302	3
    137	137	2	303	3
    138	138	2	304	3
    139	139	2	305	4
    140	140	2	306	4
    141	141	2	300	6
    142	142	2	301	6
    143	143	2	302	4
    144	144	2	303	4
    145	145	2	304	4
    146	146	2	305	5
    147	147	2	306	5
    148	148	2	300	7
    149	149	2	301	7
    150	150	2	302	5
    151	151	2	303	5
    152	152	2	304	5
    153	153	2	305	6
    154	154	2	306	6
    155	155	2	300	8
    156	156	2	301	8
    157	157	2	302	6
    158	158	2	303	6
    159	159	2	304	6
    160	160	2	305	7
    161	161	2	306	7
    162	162	2	300	9
    163	163	2	301	9
    164	164	2	302	7
    165	165	2	303	7
    166	166	2	304	7
    167	167	2	305	8
    168	168	2	306	8
    169	169	2	300	10
    170	170	2	301	10
    171	171	2	302	8
    172	172	2	303	8
    173	173	2	304	8
    174	174	2	305	9
    175	175	2	306	9
    176	176	2	310	1
    177	177	2	311	1
    178	178	2	312	1
    179	179	2	313	1
    180	180	2	314	1
    181	181	2	310	2
    182	182	2	311	2
    183	183	2	312	2
    184	184	2	313	2
    185	185	2	314	2
    186	186	2	310	3
    187	187	2	311	3
    188	188	2	312	3
    189	189	2	313	3
    190	190	2	314	3
    
    [ShopLst]	NpcsIdx	NSetIdx	ItemKind	ItemOpt	ReputationClass	DurationIdx	Price
    0	4	0	91	0	-19	0	600
    1	4	2	92	0	-19	0	1800
    2	4	4	93	0	-19	0	5400
    3	4	6	94	0	-19	0	16200
    4	4	32	76	0	-19	0	600
    5	4	34	77	0	-19	0	1800
    6	4	36	78	0	-19	0	5400
    7	4	38	79	0	-19	0	16200
    8	4	64	61	0	-19	0	400
    9	4	65	62	0	-19	0	1200
    10	4	66	63	0	-19	0	3600
    11	4	67	64	0	-19	0	10800
    12	4	68	46	0	-19	0	400
    13	4	69	47	0	-19	0	1200
    14	4	70	48	0	-19	0	3600
    15	4	71	49	0	-19	0	10800
    16	4	96	95	0	-19	0	24300
    17	4	98	80	0	-19	0	24300
    18	4	100	65	0	-19	0	16200
    19	4	101	50	0	-19	0	16200
    20	5	0	241	0	-19	0	400
    21	5	2	242	0	-19	0	1200
    22	5	4	243	0	-19	0	3600
    23	5	6	244	0	-19	0	10800
    24	5	16	106	0	-19	0	600
    25	5	18	107	0	-19	0	1800
    26	5	20	108	0	-19	0	5400
    27	5	22	109	0	-19	0	16200
    28	5	48	196	0	-19	0	400
    29	5	50	197	0	-19	0	1200
    30	5	52	198	0	-19	0	3600
    31	5	54	199	0	-19	0	10800
    32	5	64	151	0	-19	0	400
    33	5	66	152	0	-19	0	1200
    34	5	68	153	0	-19	0	3600
    35	5	70	154	0	-19	0	10800
    36	5	80	245	0	-19	0	16200
    37	5	82	110	0	-19	0	24300
    38	5	84	200	0	-19	0	16200
    39	5	86	155	0	-19	0	16200
    40	6	0	31	0	-19	0	400
    41	6	2	32	0	-19	0	1200
    42	6	4	33	0	-19	0	3600
    43	6	6	34	0	-19	0	10800
    44	6	16	35	0	-19	0	16200
    45	6	32	3	7	-19	0	420
    46	6	33	4	7	-19	0	5600
    47	6	34	5	7	-19	0	35000
    48	6	35	6	7	-19	0	420
    49	6	36	7	7	-19	0	5600
    50	6	37	8	7	-19	0	35000
    51	6	38	12	1	-19	0	800
    52	6	39	12	7	-19	0	5600
    53	6	40	5	20	1	0	100000
    54	6	41	8	20	1	0	100000
    55	6	42	12	10	1	0	8000
    56	6	43	5	30	2	0	150000
    57	6	44	8	30	2	0	150000
    58	6	45	12	20	2	0	16000
    59	6	46	5	50	3	0	250000
    60	6	47	8	50	3	0	250000
    61	6	48	12	30	3	0	24000
    62	6	56	285	0	-19	0	800
    63	6	57	293	0	-19	0	800
    64	6	58	301	0	-19	0	4000
    65	6	59	309	0	-19	0	800
    66	6	60	312	0	-19	0	800
    67	6	64	350	0	-19	0	800
    68	6	66	354	0	-19	0	800
    69	6	68	358	0	-19	0	800
    70	6	96	692	7809	1	0	40
    71	6	97	692	7937	1	0	40
    72	6	98	692	8065	1	0	40
    73	6	99	692	8193	1	0	40
    74	6	100	692	8321	1	0	40
    75	7	0	3	1	-19	0	60
    76	7	1	4	1	-19	0	800
    77	7	2	5	1	-19	0	5000
    78	7	3	6	1	-19	0	60
    79	7	4	7	1	-19	0	800
    80	7	5	8	1	-19	0	5000
    81	7	8	3	4	-19	0	240
    82	7	9	4	4	-19	0	3200
    83	7	10	5	4	-19	0	20000
    84	7	11	6	4	-19	0	240
    85	7	12	7	4	-19	0	3200
    86	7	13	8	4	-19	0	20000
    87	7	16	3	7	-19	0	420
    88	7	17	4	7	-19	0	5600
    89	7	18	5	7	-19	0	35000
    90	7	19	6	7	-19	0	420
    91	7	20	7	7	-19	0	5600
    92	7	21	8	7	-19	0	35000
    93	7	24	5	20	1	0	100000
    94	7	25	8	20	1	0	100000
    95	7	26	12	10	1	0	8000
    96	7	27	5	30	2	0	150000
    97	7	28	8	30	2	0	150000
    98	7	29	12	20	2	0	16000
    99	7	35	5	50	3	0	250000
    100	7	36	8	50	3	0	250000
    101	7	37	12	30	3	0	24000
    102	7	48	574	1106	-19	0	10000
    103	7	80	1207	4016	-19	0	0
    104	7	82	1207	4015	-19	0	0
    105	7	84	1207	4014	-19	0	0
    106	7	86	1207	4013	-19	0	0
    107	7	88	1207	3996	-19	0	0
    108	7	90	1207	3995	-19	0	0
    109	7	92	1207	3994	-19	0	0
    110	7	94	1207	3993	-19	0	0
    111	7	96	1207	3976	-19	0	0
    112	7	98	1207	3975	-19	0	0
    113	7	100	1207	3974	-19	0	0
    114	7	102	1207	3973	-19	0	0
    115	50	0	3	1	-19	0	60
    116	50	1	4	1	-19	0	800
    117	50	2	5	1	-19	0	5000
    118	50	3	6	1	-19	0	60
    119	50	4	7	1	-19	0	800
    120	50	5	8	1	-19	0	5000
    121	50	8	3	4	-19	0	240
    122	50	9	4	4	-19	0	3200
    123	50	10	5	4	-19	0	20000
    124	50	11	6	4	-19	0	240
    125	50	12	7	4	-19	0	3200
    126	50	13	8	4	-19	0	20000
    127	50	16	3	7	-19	0	420
    128	50	17	4	7	-19	0	5600
    129	50	18	5	7	-19	0	35000
    130	50	19	6	7	-19	0	420
    131	50	20	7	7	-19	0	5600
    132	50	21	8	7	-19	0	35000
    133	50	24	5	20	1	0	100000
    134	50	25	8	20	1	0	100000
    135	50	26	12	10	1	0	8000
    136	50	27	5	30	2	0	150000
    137	50	28	8	30	2	0	150000
    138	50	29	12	20	2	0	16000
    139	50	35	5	50	3	0	250000
    140	50	36	8	50	3	0	250000
    141	50	37	12	30	3	0	24000
    142	7	14	9	0	-19	0	10000
    143	7	15	10	0	-19	0	50000
    144	7	22	1	0	-19	0	100000
    145	7	23	1214	0	-19	0	1000000
    146	7	30	632	0	-19	0	10000000
    147	7	31	637	0	-19	0	200000
    148	7	32	638	0	-19	0	800000
    149	7	33	639	0	-19	0	2000000
    150	7	34	1216	0	-19	0	20000000
    P.S. It is starting to piss me off!!!!
    EVERYTHING IN THE CLIENT AND SERVER MATCHES, BUT I STILL GET THE SHITTY ERROR CODE 6 TYPE 161 !!!!!!!!
    Last edited by roplys_; 28-03-10 at 02:31 AM.

  6. #6
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: Need some help with shops

    Why are half of the items at the end of the table in the .scp file? I was about to say you had missed a few values out but they are in the wrong spot, keep them in order.

  7. #7
    Banned Yamachi is offline
    BannedRank
    Oct 2006 Join Date
    Jolly EnglandLocation
    3,517Posts

    Re: Need some help with shops

    Read the forum rules. You're not allowed to bump your own thread, esp. after not even 22 hours ¬_¬

  8. #8
    Account Upgraded | Title Enabled! Daman2009 is offline
    MemberRank
    Feb 2009 Join Date
    GreenDespairLocation
    343Posts

    Re: Need some help with shops

    But I have the same error when adding shop to Lady Yekatrina. Client and server side match but still get error (as roplys_) when buying or selling.

    It must be something else were missing??

  9. #9
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: Need some help with shops

    I think knowing the error in the logs might help. I will try your values on a test channel when i get a chance but it won't be today as i have some other bits to do.

  10. #10
    Account Upgraded | Title Enabled! Daman2009 is offline
    MemberRank
    Feb 2009 Join Date
    GreenDespairLocation
    343Posts

    Re: Need some help with shops

    Quote Originally Posted by chumpywumpy View Post
    I think knowing the error in the logs might help. I will try your values on a test channel when i get a chance but it won't be today as i have some other bits to do.

    Ok. Much appreciated.
    Also cant seem to find the 1st thread about adding Lady Yekaterina which had a shop to the right of it. If I could find that then I could check my values and possibly see what the problem is. But I cannot find it anywhere.

    Anyone remember the post?? It had like a spaceship in the sky too..?

  11. #11
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: Need some help with shops

    I had more time than i thought. I just tried your values:

    world1-npc.scp:
    75 7 0 9 0 -19 0 10000
    76 7 1 10 0 -19 0 50000
    77 7 2 1 0 -19 0 100000
    78 7 3 1214 0 -19 0 1000000
    79 7 4 1214 0 -19 0 1000000
    80 7 5 1214 0 -19 0 1000000
    81 7 8 1214 0 -19 0 1000000
    82 7 9 632 0 -19 0 10000000
    83 7 10 637 0 -19 0 200000
    84 7 11 638 0 -19 0 800000
    85 7 12 639 0 -19 0 2000000
    86 7 13 1216 0 -19 0 20000000
    87 7 16 3 7 -19 0 420
    88 7 17 4 7 -19 0 5600
    89 7 18 5 7 -19 0 35000
    cabal.enc:
    <shop id="7" >
    <item slot_id="0" item_id="9" option="0" reputation_class="-19" duration_id="0" price="10000" />
    <item slot_id="1" item_id="10" option="0" reputation_class="-19" duration_id="0" price="50000" />
    <item slot_id="2" item_id="1" option="0" reputation_class="-19" duration_id="0" price="100000" />
    <item slot_id="3" item_id="1214" option="0" reputation_class="-19" duration_id="0" price="1000000" />
    <item slot_id="4" item_id="1214" option="0" reputation_class="-19" duration_id="0" price="1000000" />
    <item slot_id="5" item_id="1214" option="0" reputation_class="-19" duration_id="0" price="1000000" />
    <item slot_id="8" item_id="1214" option="0" reputation_class="-19" duration_id="0" price="1000000" />
    <item slot_id="9" item_id="632" option="0" reputation_class="-19" duration_id="0" price="10000000" />
    <item slot_id="10" item_id="637" option="0" reputation_class="-19" duration_id="0" price="200000" />
    <item slot_id="11" item_id="638" option="0" reputation_class="-19" duration_id="0" price="800000" />
    <item slot_id="12" item_id="639" option="0" reputation_class="-19" duration_id="0" price="2000000" />
    <item slot_id="13" item_id="1216" option="0" reputation_class="-19" duration_id="0" price="20000000" />
    <item slot_id="16" item_id="3" option="7" reputation_class="-19" duration_id="0" price="420" />
    <item slot_id="17" item_id="4" option="7" reputation_class="-19" duration_id="0" price="5600" />
    <item slot_id="18" item_id="5" option="7" reputation_class="-19" duration_id="0" price="35000" />
    </shop>
    That worked perfectly:



    That is using the v22 client. Start adding things one by one until it crashes and you have found your bug ;)

    I just realised i left my OSD on too lol

  12. #12
    Account Upgraded | Title Enabled! Daman2009 is offline
    MemberRank
    Feb 2009 Join Date
    GreenDespairLocation
    343Posts

    Re: Need some help with shops

    @Chumpy:
    Have you tried in a different NPC??

  13. #13
    Enthusiast roplys_ is offline
    MemberRank
    Nov 2004 Join Date
    49Posts

    Re: Need some help with shops

    chumpywumpy: How can I check if my version is v22 and what patch did u used??



Advertisement