Jump to content
  • 0

Pre item_db.yml [Updated]


GM Winter

Question


  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.15
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

hello guys i would like to ask if someone has an updated Pre item_db.yml  

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

2 hours ago, chadness said:

hello guys i would like to ask if someone has an updated Pre item_db.yml  

What do you mean updated ? You can just simply update your item db from master trunk in  rAthena-Master github ..

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.15
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

2 hours ago, Poring King said:

What do you mean updated ? You can just simply update your item db from master trunk in  rAthena-Master github ..

sorry im newbie what i mean is a example or  pre item_db.yml that there is no need to copy in the re item_db.yml  and sometimes the other items are not found in re item_db.yml , i dont know how to update my itemdb in rathena master github can you please send some guides? thanks

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

This is what i did to my part last time

I put the path of renewal item to my . Item_db.yml so it will load also the renewal item but you need to load first the renewal so the pre-renewal will overwrite the renewal.. By doing this you will get a lot of error from the max defense if you are using pre-re. And Zeny bug like "If you sell phracon you will get 6000 but you can just buy it for 5000. So you will earn 1k for just buy and sell thru out NPC ?


I remove it manually to make it work when the YML introduce to rAthena..

To give you a sneak peak.. This is what i did to my item_db.yml pre-re server
 

Header:
  Type: ITEM_DB
  Version: 1

Footer:
  Imports:
  - Path: db/re/item_db_etc.yml
  - Path: db/re/item_db_equip.yml
  - Path: db/re/item_db_usable.yml
  - Path: db/pre-re/item_db_usable.yml
  - Path: db/pre-re/item_db_equip.yml
  - Path: db/pre-re/item_db_etc.yml

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.15
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

23 minutes ago, Poring King said:

This is what i did to my part last time

I put the path of renewal item to my . Item_db.yml so it will load also the renewal item but you need to load first the renewal so the pre-renewal will overwrite the renewal.. By doing this you will get a lot of error from the max defense if you are using pre-re. And Zeny bug like "If you sell phracon you will get 6000 but you can just buy it for 5000. So you will earn 1k for just buy and sell thru out NPC ?


I remove it manually to make it work when the YML introduce to rAthena..

To give you a sneak peak.. This is what i did to my item_db.yml pre-re server
 


Header:
  Type: ITEM_DB
  Version: 1

Footer:
  Imports:
  - Path: db/re/item_db_etc.yml
  - Path: db/re/item_db_equip.yml
  - Path: db/re/item_db_usable.yml
  - Path: db/pre-re/item_db_usable.yml
  - Path: db/pre-re/item_db_equip.yml
  - Path: db/pre-re/item_db_etc.yml

 

thank you sir

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.06
  • Content Count:  241
  • Reputation:   11
  • Joined:  08/12/20
  • Last Seen:  

4 hours ago, Poring King said:

This is what i did to my part last time

I put the path of renewal item to my . Item_db.yml so it will load also the renewal item but you need to load first the renewal so the pre-renewal will overwrite the renewal.. By doing this you will get a lot of error from the max defense if you are using pre-re. And Zeny bug like "If you sell phracon you will get 6000 but you can just buy it for 5000. So you will earn 1k for just buy and sell thru out NPC ?


I remove it manually to make it work when the YML introduce to rAthena..

To give you a sneak peak.. This is what i did to my item_db.yml pre-re server
 


Header:
  Type: ITEM_DB
  Version: 1

Footer:
  Imports:
  - Path: db/re/item_db_etc.yml
  - Path: db/re/item_db_equip.yml
  - Path: db/re/item_db_usable.yml
  - Path: db/pre-re/item_db_usable.yml
  - Path: db/pre-re/item_db_equip.yml
  - Path: db/pre-re/item_db_etc.yml

 

by this PRE-RE overwrites all items on RE database? and like have them merged?

but if it does, how come there are few items that are in RE setting like you mentioned phracon?

what I did was the hard way, I just tried to copy all ID no.s that are in RE but no to be found in PRE-RE, this way I think I have a bit of control on what to add. LOL

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.15
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

18 minutes ago, Almond Snicker said:

by this PRE-RE overwrites all items on RE database? and like have them merged?

but if it does, how come there are few items that are in RE setting like you mentioned phracon?

what I did was the hard way, I just tried to copy all ID no.s that are in RE but no to be found in PRE-RE, this way I think I have a bit of control on what to add. LOL

im using pre renewal db thats the same thing i did i always copy one by one the items i would like to add in my pre item db the problem is some items are not in the re item db so im asking for a copy of re itemdb that contains a lot of items 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.06
  • Content Count:  241
  • Reputation:   11
  • Joined:  08/12/20
  • Last Seen:  

3 minutes ago, chadness said:

im using pre renewal db thats the same thing i did i always copy one by one the items i would like to add in my pre item db the problem is some items are not in the re item db so im asking for a copy of re itemdb that contains a lot of items 

well noticeably, they are divided into 3, so if you are trying to add like a potion, you check it under usable db. but if it's totally not available on the 3 DBs, what I do is just re-create the item id cloning from a similar item.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.15
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

1 minute ago, Almond Snicker said:

well noticeably, they are divided into 3, so if you are trying to add like a potion, you check it under usable db. but if it's totally not available on the 3 DBs, what I do is just re-create the item id cloning from a similar item.

hmm i know how to do it but the problem is in the itemdb equip i can clone there a also have a iteminfolua so the item will appeare the problem is i dont know the view id of the item so if i wear it it has no effect

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

What im trying to say . Since the renewal is the updated item from KRO you already have all the item that are not on pre-re item_db right ? .

So if the renewal load first and the pre-re will be the 2nd the item on renewal will be overwrite with the config from the pre-re . What if give a try to your test server and looks how it works so hard to my part because im not really good in english


1st Example:
Blue potion
Blue potion from renewal is ( itemheal 0,rand(50,70);) . But since the 2nd database will overwrite the db and the 2nd database is pre-re config . Now the blue potion will be come (itemheal 0,rand(40,60); )

2nd Example:
What if the item is not on pre-renewal item_db like celestial dark frame...
If celestial dark frame is not on pre-renewal... But since you load the renewal first you can get it. You can give it a try by using @item "ItemId" . Now since this item is not on pre-re item db. The stats,defense,cost,script will be on renewal item_db.yml . You need to config it on re item_db.yml .

Edited by Poring King
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.15
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

4 hours ago, Poring King said:

What im trying to say . Since the renewal is the updated item from KRO you already have all the item that are not on pre-re item_db right ? .

So if the renewal load first and the pre-re will be the 2nd the item on renewal will be overwrite with the config from the pre-re . What if give a try to your test server and looks how it works so hard to my part because im not really good in english


1st Example:
Blue potion
Blue potion from renewal is ( itemheal 0,rand(50,70);) . But since the 2nd database will overwrite the db and the 2nd database is pre-re config . Now the blue potion will be come (itemheal 0,rand(40,60); )

2nd Example:
What if the item is not on pre-renewal item_db like celestial dark frame...
If celestial dark frame is not on pre-renewal... But since you load the renewal first you can get it. You can give it a try by using @item "ItemId" . Now since this item is not on pre-re item db. The stats,defense,cost,script will be on renewal item_db.yml . You need to config it on re item_db.yml .

ow i see it if i make my itemdb pre run first it will patch automatically? if that so if i change it how can i patch it by recompiling ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...