Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server
You last visited: Today at 11:19

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Purification pills cooldown

Discussion on Purification pills cooldown within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2008
Posts: 44
Received Thanks: 0
Purification pills cooldown

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.
xana4444 is offline  
Old 02/17/2015, 12:48   #2
 
Zodiao's Avatar
 
elite*gold: 0
Join Date: Aug 2012
Posts: 748
Received Thanks: 227
Quote:
1 10377 ITEM_ETC_CURE_RANDOM_04 ??? ??(?) *** 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 *** item\etc\drop_ch_bag.bsr item\etc\cure_random_04.ddj *** *** 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 *** -1 *** -1 *** -1 *** -1 *** -1 *** -1 *** -1 *** -1 *** -1 *** -1 *** -1 *** -1 *** -1 *** -1 *** -1 *** -1 *** 0 0
1 sec= 1000 millsec
Zodiao is offline  
Old 02/17/2015, 13:33   #3
 
elite*gold: 0
Join Date: Nov 2008
Posts: 44
Received Thanks: 0
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 
xana4444 is offline  
Old 02/17/2015, 15:01   #4
 
Muhab*'s Avatar
 
elite*gold: 0
Join Date: Feb 2014
Posts: 885
Received Thanks: 1,415

P.S. This fixed by PX2000
Muhab* is offline  
Old 02/17/2015, 15:27   #5
 
elite*gold: 0
Join Date: Nov 2008
Posts: 44
Received Thanks: 0
This is a query for the database, I am trying to change it in the media.pk2
xana4444 is offline  
Old 02/17/2015, 16:49   #6


 
​Exo's Avatar
 
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,649
itemdata contains values from ObjItem so you should see those values there and change them.
​Exo is offline  
Old 02/17/2015, 17:03   #7
 
elite*gold: 0
Join Date: Nov 2008
Posts: 44
Received Thanks: 0
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.
xana4444 is offline  
Old 02/17/2015, 18:58   #8


 
​Exo's Avatar
 
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,649
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
​Exo is offline  
Old 02/17/2015, 19:02   #9
 
elite*gold: 0
Join Date: Nov 2008
Posts: 44
Received Thanks: 0
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.
xana4444 is offline  
Old 02/17/2015, 19:30   #10


 
​Exo's Avatar
 
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,649
Search for the value in your case I guess it's 20000 and change it.
​Exo is offline  
Old 02/17/2015, 19:47   #11
 
elite*gold: 0
Join Date: Nov 2008
Posts: 44
Received Thanks: 0
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?
xana4444 is offline  
Old 02/18/2015, 22:05   #12
 
Snow*'s Avatar
 
elite*gold: 1
Join Date: Nov 2011
Posts: 2,532
Received Thanks: 1,429
How about copying the lines from the database?
Snow* is offline  
Old 02/19/2015, 03:49   #13
 
elite*gold: 0
Join Date: Nov 2008
Posts: 44
Received Thanks: 0
That could work but just to be sure, what's the cooldown's column's name?
xana4444 is offline  
Old 02/19/2015, 03:58   #14
 
Snow*'s Avatar
 
elite*gold: 1
Join Date: Nov 2011
Posts: 2,532
Received Thanks: 1,429
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

Snow* is offline  
Old 02/19/2015, 10:39   #15
 
Zodiao's Avatar
 
elite*gold: 0
Join Date: Aug 2012
Posts: 748
Received Thanks: 227
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.
Zodiao is offline  
Reply


Similar Threads Similar Threads
PURIFICATION HELP ME
11/10/2014 - CO2 Private Server - 1 Replies
sorry for many threads but i got new problem i trying to reperair it but dont work.. my purification dont work look my purification.cs Packethandler.cs PurificationItem.cs whats wrong with it ? i think all good Fixed It Close please
Purification Pill
07/10/2013 - SRO Private Server - 5 Replies
hello Purification Pill 20 sec. > 15 sec. change how can ?
Bug # 668 - Purification Pill bug -
02/13/2012 - Silkroad Online - 4 Replies
YouTube - Bugroad Bug N 668 Note : is no a random number , all info u can find in Bug database the bugs fixed continue in database , the number is the order when find the bug The video bugs are approved by Joymax , approved ? how? Joymax acept investigate it with the video and instructions sended on Contact Support/Bug report Joymax dont investigate the bug when think no exist problem
Purification coding for refinery
03/18/2011 - CO2 Private Server - 8 Replies
i have proplem in appling purification i have coded but didnt work using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Hellmouth { public partial class Handler {
Coding Purification
03/10/2011 - CO2 Private Server - 3 Replies
Well, I'm in a doubt how to code the artifacts. First of all, I Don't know If It's coded in p4n's source or anyone else's and I'm not going to take example from there since I've no idea how purification works and I wanna do it by myself, by my way The Questions are, How is the system going? What it does to the item , what new function the items have, what type of packet purification uses? Thanks in advance, Stefan



All times are GMT +2. The time now is 11:19.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.