Purification pills cooldown

02/17/2015 11:47 xana4444#1
So, I have been meaning to change the cooltime for purification pills from 20 to 15, I got most of it done in the database but I couldn't get it done with the media.pk2, only data I could find related to the pills were at itemdata_15000 with this line

PHP Code:
1    10377    ITEM_ETC_CURE_RANDOM_04    ??? ??(?)    xxx    SN_ITEM_ETC_CURE_RANDOM_04    SN_ITEM_ETC_CURE_RANDOM_04_TT_DESC    0    0    3    3    2    1    180000    3    0    1    1    1    255    3    1    0    0    1    0    100000    0    0    0    600    20000    -1    0    -1    0    -1    0    -1    0    -1    0    0    0    0    0    0    0    100    0    0    0    xxx    item\etc\drop_ch_bag.bsr    item\etc\cure_random_04.ddj    xxx    xxx    50    2    0    0    4    0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0    0    0    0    0    0    0    0    0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    25145280    ????????    12    ??????    100    ????    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    0    0 
But I have no idea what to change here so any help would be appreciated, thanks in advance.
02/17/2015 12:48 Zodiao#2
Quote:
1 10377 ITEM_ETC_CURE_RANDOM_04 ??? ??(?) xxx SN_ITEM_ETC_CURE_RANDOM_04 SN_ITEM_ETC_CURE_RANDOM_04_TT_DESC 0 0 3 3 2 1 180000 3 0 1 1 1 255 3 1 0 0 1 0 100000 0 0 0 600 20000 -1 0 -1 0 -1 0 -1 0 -1 0 0 0 0 0 0 0 100 0 0 0 xxx item\etc\drop_ch_bag.bsr item\etc\cure_random_04.ddj xxx xxx 50 2 0 0 4 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 0 0 0 0 0 0 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 25145280 ???????? 12 ?????? 100 ???? -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx 0 0
1 sec= 1000 millsec
02/17/2015 13:33 xana4444#3
Sadly that's not it, the 20000 is the price for when you're selling it to the NPC. I still tried changing it before and only the price thingie changed so I am certain it's not that, still thanks for replying, really appreciate it.

Those are the lines for all the types of purification pills to explain what I meant, the 20000 varies in each type since it's the corresponding price for each type of pill.

PHP Code:
1    10374    ITEM_ETC_CURE_RANDOM_01    ??? ??(?)    xxx    SN_ITEM_ETC_CURE_RANDOM_01    SN_ITEM_ETC_CURE_RANDOM_01_TT_DESC    0    0    3    3    2    1    180000    3    0    1    1    1    255    3    1    0    0    1    0    5000    0    0    0    88    1750    -1    0    -1    0    -1    0    -1    0    -1    0    0    0    0    0    0    0    100    0    0    0    xxx    item\etc\drop_ch_bag.bsr    item\etc\cure_random_01.ddj    xxx    xxx    50    2    0    0    1    0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0    0    0    0    0    0    0    0    0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    25145280    ????????    3    ??????    100    ????    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    0    0
1    10375    ITEM_ETC_CURE_RANDOM_02    
??? ??(?)    xxx    SN_ITEM_ETC_CURE_RANDOM_02    SN_ITEM_ETC_CURE_RANDOM_02_TT_DESC    0    0    3    3    2    1    180000    3    0    1    1    1    255    3    1    0    0    1    0    10000    0    0    0    150    3500    -1    0    -1    0    -1    0    -1    0    -1    0    0    0    0    0    0    0    100    0    0    0    xxx    item\etc\drop_ch_bag.bsr    item\etc\cure_random_02.ddj    xxx    xxx    50    2    0    0    2    0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0    0    0    0    0    0    0    0    0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    25145280    ????????    6    ??????    100    ????    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    0    0
1    10376    ITEM_ETC_CURE_RANDOM_03    
??? ??(?)    xxx    SN_ITEM_ETC_CURE_RANDOM_03    SN_ITEM_ETC_CURE_RANDOM_03_TT_DESC    0    0    3    3    2    1    180000    3    0    1    1    1    255    3    1    0    0    1    0    50000    0    0    0    500    10000    -1    0    -1    0    -1    0    -1    0    -1    0    0    0    0    0    0    0    100    0    0    0    xxx    item\etc\drop_ch_bag.bsr    item\etc\cure_random_03.ddj    xxx    xxx    50    2    0    0    3    0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0    0    0    0    0    0    0    0    0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    25145280    ????????    9    ??????    100    ????    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    0    0
1    10377    ITEM_ETC_CURE_RANDOM_04    
??? ??(?)    xxx    SN_ITEM_ETC_CURE_RANDOM_04    SN_ITEM_ETC_CURE_RANDOM_04_TT_DESC    0    0    3    3    2    1    180000    3    0    1    1    1    255    3    1    0    0    1    0    100000    0    0    0    600    20000    -1    0    -1    0    -1    0    -1    0    -1    0    0    0    0    0    0    0    100    0    0    0    xxx    item\etc\drop_ch_bag.bsr    item\etc\cure_random_04.ddj    xxx    xxx    50    2    0    0    4    0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0    0    0    0    0    0    0    0    0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    25145280    ????????    12    ??????    100    ????    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    0    0 
02/17/2015 15:01 Muhab*#4

P.S. This fixed by PX2000
02/17/2015 15:27 xana4444#5
This is a query for the database, I am trying to change it in the media.pk2
02/17/2015 16:49 ​Exo#6
itemdata contains values from ObjItem so you should see those values there and change them.
02/17/2015 17:03 xana4444#7
Is ObjItem somewhere in the media.pk2 or am I looking in the wrong place? also what I am trying to edit is the client side cooldown not the server side.
02/17/2015 18:58 ​Exo#8
Quote:
Originally Posted by xana4444 View Post
Is ObjItem somewhere in the media.pk2 or am I looking in the wrong place? also what I am trying to edit is the client side cooldown not the server side.
Well they have to match to avoid any kind of bugs, and YES itemdata_xxx contains the needed lines from both ObjCommon/Item
02/17/2015 19:02 xana4444#9
I am trying to make them match so I am looking for a way to change it's cooldown in the client side so I thought it should be in the itemdata but I couldn't figure out what to specifically change in there.
02/17/2015 19:30 ​Exo#10
Search for the value in your case I guess it's 20000 and change it.
02/17/2015 19:47 xana4444#11
I looked everywhere for a 20000 value in the pill's line but found nothing, other than the one Zodiao told me about but that was the price showing while selling items to the NPC (20000 gold) and not the cooldown.

Those are the lines for all the pills, you got any idea what to change in there?

PHP Code:
1    10374    ITEM_ETC_CURE_RANDOM_01    ??? ??(?)    xxx    SN_ITEM_ETC_CURE_RANDOM_01    SN_ITEM_ETC_CURE_RANDOM_01_TT_DESC    0    0    3    3    2    1    180000    3    0    1    1    1    255    3    1    0    0    1    0    5000    0    0    0    88    1750    -1    0    -1    0    -1    0    -1    0    -1    0    0    0    0    0    0    0    100    0    0    0    xxx    item\etc\drop_ch_bag.bsr    item\etc\cure_random_01.ddj    xxx    xxx    50    2    0    0    1    0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0    0    0    0    0    0    0    0    0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    25145280    ????????    3    ??????    100    ????    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    0    0
1    10375    ITEM_ETC_CURE_RANDOM_02    
??? ??(?)    xxx    SN_ITEM_ETC_CURE_RANDOM_02    SN_ITEM_ETC_CURE_RANDOM_02_TT_DESC    0    0    3    3    2    1    180000    3    0    1    1    1    255    3    1    0    0    1    0    10000    0    0    0    150    3500    -1    0    -1    0    -1    0    -1    0    -1    0    0    0    0    0    0    0    100    0    0    0    xxx    item\etc\drop_ch_bag.bsr    item\etc\cure_random_02.ddj    xxx    xxx    50    2    0    0    2    0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0    0    0    0    0    0    0    0    0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    25145280    ????????    6    ??????    100    ????    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    0    0
1    10376    ITEM_ETC_CURE_RANDOM_03    
??? ??(?)    xxx    SN_ITEM_ETC_CURE_RANDOM_03    SN_ITEM_ETC_CURE_RANDOM_03_TT_DESC    0    0    3    3    2    1    180000    3    0    1    1    1    255    3    1    0    0    1    0    50000    0    0    0    500    10000    -1    0    -1    0    -1    0    -1    0    -1    0    0    0    0    0    0    0    100    0    0    0    xxx    item\etc\drop_ch_bag.bsr    item\etc\cure_random_03.ddj    xxx    xxx    50    2    0    0    3    0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0    0    0    0    0    0    0    0    0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    25145280    ????????    9    ??????    100    ????    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    0    0
1    10377    ITEM_ETC_CURE_RANDOM_04    
??? ??(?)    xxx    SN_ITEM_ETC_CURE_RANDOM_04    SN_ITEM_ETC_CURE_RANDOM_04_TT_DESC    0    0    3    3    2    1    180000    3    0    1    1    1    255    3    1    0    0    1    0    100000    0    0    0    600    20000    -1    0    -1    0    -1    0    -1    0    -1    0    0    0    0    0    0    0    100    0    0    0    xxx    item\etc\drop_ch_bag.bsr    item\etc\cure_random_04.ddj    xxx    xxx    50    2    0    0    4    0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0    0    0    0    0    0    0    0    0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    25145280    ????????    12    ??????    100    ????    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    0    0 
Guess I'll keep looking on my own but one last thing, are you sure it should be found in the itemdata and not anywhere else?
02/18/2015 22:05 Snow*#12
How about copying the lines from the database?
02/19/2015 03:49 xana4444#13
That could work but just to be sure, what's the cooldown's column's name?
02/19/2015 03:58 Snow*#14
Quote:
Originally Posted by xana4444 View Post
That could work but just to be sure, what's the cooldown's column's name?
This image should explain

[Only registered and activated users can see links. Click Here To Register...]
02/19/2015 10:39 Zodiao#15
Quote:
Originally Posted by xana4444 View Post
That could work but just to be sure, what's the cooldown's column's name?
It doesn't have to be any specific param, Just add the right _Desc and you're ready to go.