Time codes

Newbie Spellweaver
Joined
Jul 20, 2008
Messages
43
Reaction score
1
Hi.
1st question:
I'd like to change expiration date of formulas which are able to buy in MF and Ft npc's to for example 6 hours from buying. How to do it?
2nd question:
What is number of 30 days expiration. I know that 0 is permament. But what are 14 days and 30 days?

Regards
 
File products.scp contains 1744 items with no expanation which one is which so how do you think i am able to find it. I ask people who know which are these items in for example this file coz they have found already. It's not possible for me to check over 1700 times if i have chosen good or bad digits. And anyway dunno if you have checked this file which you just have written(world9-npc.scp) coz it doesn't contain items which you're able to buy from mf npc (formulas), but normal items for grocer. So what to do with it hym?
 
Upvote 0
... And anyway dunno if you have checked this file which you just have written(world9-npc.scp) coz it doesn't contain items which you're able to buy from mf npc (formulas), but normal items for grocer. So what to do with it hym?

That file DOES contain shop information for the Strange Merchant in MF, unless the file is incomplete (ie. do u get an error 6 when trying to buy an item from the merchant?). I had to add all the items he sells by hand. Anyways, to save you the trouble, here's a copy of mine:
Code:
[NpcPos]	Flags	Index	PosX	PosY	Type	IsRangeCheck
0	0	1	239	241	6	1
1	0	2	147	12	6	1
2	0	3	14	204	6	1
3	0	7	120	109	1	1
4	0	50	0	0	1	0

[WarpLst]	NpcsIdx	NSetIdx	TargetIdx	LV	Fee	Type
0	1	0	39	1	0	0
1	2	0	39	1	0	0
2	3	0	39	1	0	0

[SkillLst]	NSetIdx	NpcsIdx	SkillIdx	SkillLv

[ShopLst]	NpcsIdx	NSetIdx	ItemKind	ItemOpt	ReputationClass	DurationIdx	Price
0	7	0	1178	4053	-19	3	1000000
1	7	2	1178	4052	-19	3	1000000
2	7	4	1178	4051	-19	3	1000000
3	7	6	1178	4050	-19	3	1000000
4	7	8	1177	4049	-19	3	2000000
5	7	10	1177	4048	-19	3	2000000
6	7	12	1177	4047	-19	3	2000000
7	7	14	1177	4046	-19	3	2000000
8	7	16	1177	4045	-19	3	2000000
9	7	18	1177	4044	-19	3	2000000
10	7	20	1177	4043	-19	3	2000000
11	7	22	1177	4042	-19	3	2000000
12	7	24	1178	4041	-19	3	1000000
13	7	26	1178	4040	-19	3	1000000
14	7	28	1178	4039	-19	3	1000000
15	7	30	1178	4038	-19	3	1000000
16	7	32	1178	4037	-19	3	1000000
17	7	34	1178	4036	-19	3	1000000
18	7	36	1178	4035	-19	3	1000000
19	7	38	1178	4034	-19	3	1000000
20	7	40	1178	4033	-19	3	1000000
21	7	42	1178	4032	-19	3	1000000
22	7	44	1178	4031	-19	3	1000000
23	7	46	1178	4030	-19	3	1000000
24	7	48	1178	4029	-19	3	1000000
25	7	50	1178	4028	-19	3	1000000
26	7	52	1178	4027	-19	3	1000000
27	7	54	1178	4026	-19	3	1000000
28	7	56	1178	4025	-19	3	1000000
29	7	58	1178	4024	-19	3	1000000
30	7	60	627	4021	-19	3	4000
31	7	64	1218	1	-19	3	5000000
32	50	0	3	1	-19	0	40
33	50	1	3	7	-19	0	280
34	50	8	4	1	-19	0	200
35	50	9	4	7	-19	0	1400
36	50	16	5	1	-19	0	1000
37	50	17	5	7	-19	0	7000
38	50	18	5	20	1	0	20000
39	50	19	5	30	2	0	30000
40	50	20	5	50	3	0	50000
41	50	24	6	1	-19	0	40
42	50	25	6	7	-19	0	280
43	50	32	7	1	-19	0	200
44	50	33	7	7	-19	0	1400
45	50	40	8	1	-19	0	1000
46	50	41	8	7	-19	0	7000
47	50	42	8	20	1	0	20000
48	50	43	8	30	2	0	30000
49	50	44	8	50	3	0	50000
50	50	48	12	1	-19	0	200
51	50	49	12	7	-19	0	1400
52	50	50	12	10	1	0	2000
53	50	51	12	20	2	0	4000
54	50	52	12	30	3	0	6000

Overwrite your world9-npc.scp with that code.
NPC 7 is the Strange Merchant. Just change "DurationIdx" to 0 (or try 31 like cypher66 suggested) for whatever item you want to be permanent.
 
Upvote 0
File products.scp contains 1744 items with no expanation which one is which so how do you think i am able to find it. I ask people who know which are these items in for example this file coz they have found already. It's not possible for me to check over 1700 times if i have chosen good or bad digits. And anyway dunno if you have checked this file which you just have written(world9-npc.scp) coz it doesn't contain items which you're able to buy from mf npc (formulas), but normal items for grocer. So what to do with it hym?

You only really need to check the first 31 items, because they just repeat about 60 times.

You see a column durationidx, which is the duration number. The day and hour columns specify how long in days + hours each duration lasts.
 
Upvote 0
Thanks guys for asnwers i fixed formulas already, but now my second question: 14 days = what code and 30 days duration= what core?
I know You've written 31 and 0 is permament, but I'd like to know 14 and 30 days to fix chaos box epaulete bug.
Regards
 
Upvote 0
Back