Onairda Posted November 7, 2020 Posted November 7, 2020 Hello , Good day! Ask lang kasi medyo ngayon nalng ako ulit gagawa ng RO di ko kasi makita yung Item_db text file sa loob ng db/pre-re saan nakaya sya nakalgay? thank you! Quote
Gerzzie Posted November 7, 2020 Posted November 7, 2020 Converted from Database to YAML. Magkakasama na lahat ng mga related sa item_db.txt Quote
Onairda Posted November 7, 2020 Author Posted November 7, 2020 17 minutes ago, Gerzzie said: Converted from Database to YAML. Magkakasama na lahat ng mga related sa item_db.txt hello saan ko maeedit yung YAML? Quote
Scylla Posted November 7, 2020 Posted November 7, 2020 1 hour ago, G-RO said: hello saan ko maeedit yung YAML? Same location, db/pre-re or re/item_db.yml Right click -> Edit/Open w/ notepad or whichever editor you're using Quote
Poring King Posted November 7, 2020 Posted November 7, 2020 (edited) Read the information inside the item_db.yml its very clear that you can find it thru db/pre-re or re Imports: - Path: db/pre-re/item_db_usable.yml - Path: db/pre-re/item_db_equip.yml - Path: db/pre-re/item_db_etc.yml Edited November 7, 2020 by Poring King Quote
Onairda Posted November 7, 2020 Author Posted November 7, 2020 33 minutes ago, Poring King said: Read the information inside the item_db.yml its very clear that you can find it thru db/pre-re or re 2 hours ago, Scylla said: Same location, db/pre-re or re/item_db.yml Right click -> Edit/Open w/ notepad or whichever editor you're using 4 hours ago, Gerzzie said: Converted from Database to YAML. Magkakasama na lahat ng mga related sa item_db.txt Hi All, I really appreciate your response. I like to edit/disable the effects of some items pero ang laman lang po ng item_db.yml ko is yung nasa baba na quote. wala po kahit isang itemID saan ko po makikita yung mga itemID na gusto ko baguhin effects at idisable. # This file is a part of rAthena. # Copyright(C) 2019 rAthena Development Team # https://rathena.org - https://github.com/rathena # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # ########################################################################### # Item Database ########################################################################### # # Item Settings # ########################################################################### # - Id Item ID. # AegisName Server name to reference the item in scripts and lookups, should use no spaces. # Name Name in English for displaying as output. # Type Item type. (Default: Etc) # SubType Weapon or Ammo type. (Default: 0) # Buy Buying price. When not specified, becomes double the sell price. (Default: 0) # Sell Selling price. When not specified, becomes half the buy price. (Default: 0) # Weight Item weight. Each 10 is 1 weight. (Default: 0) # Attack Weapon's attack. (Default: 0) # MagicAttack Weapon's magic attack. (Default: 0) # Defense Armor's defense. (Default: 0) # Range Weapon's attack range. (Default: 0) # Slots Available slots in item. (Default: 0) # Jobs Jobs that can equip the item. (Map default is 'All: true') # Classes Upper class types that can equip the item. (Map default is 'All: true') # Gender Gender that can equip the item. (Default: Both) # Locations Equipment's placement. (Default: None) # WeaponLevel Weapon level. (Default: 0) # EquipLevelMin Minimum required level to equip. (Default: 0) # EquipLevelMax Maximum level that can equip. (Default: 0) # Refineable If the item can be refined. (Default: false) # View View sprite of an item. (Default: 0) # AliasName Another item's AegisName that will be sent to the client instead of this item's AegisName. (Default: null) # Flags: Item flags. (Default: null) # BuyingStore If the item is available for Buyingstores. (Default: false) # DeadBranch If the item is a Dead Branch. (Default: false) # Container If the item is part of a container. (Default: false) # UniqueId If the item is a unique stack. (Default: false) # BindOnEquip If the item is bound to the character upon equipping. (Default: false) # DropAnnounce If the item has a special announcement to self on drop. (Default: false) # NoConsume If the item is consumed on use. (Default: false) # DropEffect If the item has a special effect when on the ground. (Default: None) # Delay: Item use delay. (Default: null) # Duration Duration of delay in seconds. # Status Status Change used to track delay. (Default: None) # Stack: Item stack amount. (Default: null) # Amount Maximum amount that can be stacked. # Inventory If the stack is applied to player's inventory. (Default: true) # Cart If the stack is applied to the player's cart. (Default: false) # Storage If the stack is applied to the player's storage. (Default: false) # GuildStorage If the stack is applied to the player's guild storage. (Default: false) # NoUse: Conditions when the item is unusable. (Default: null) # Override Group level to override these conditions. # Sitting If the item can not be used while sitting. (Default: false) # Trade: Trade restrictions. (Default: null) # Override Group level to override these conditions. # NoDrop If the item can not be dropped. (Default: false) # NoTrade If the item can not be traded. (Default: false) # TradePartner If the item can not be traded to the player's partner. (Default: false) # NoSell If the item can not be sold. (Default: false) # NoCart If the item can not be put in a cart. (Default: false) # NoStorage If the item can not be put in a storage. (Default: false) # NoGuildStorage If the item can not be put in a guild storage. (Default: false) # NoMail If the item can not be put in a mail. (Default: false) # NoAuction If the item can not be put in an auction. (Default: false) # Script Script to execute when the item is used/equipped. (Default: null) # EquipScript Script to execute when the item is equipped. (Default: null) # UnEquipScript Script to execute when the item is unequipped or when a rental item expires. (Default: null) ########################################################################### Header: Type: ITEM_DB Version: 1 Footer: Imports: - Path: db/pre-re/item_db_usable.yml - Path: db/pre-re/item_db_equip.yml - Path: db/pre-re/item_db_etc.yml Quote
Scylla Posted November 7, 2020 Posted November 7, 2020 1 minute ago, G-RO said: Hi All, I really appreciate your response. I like to edit/disable the effects of some items pero ang laman lang po ng item_db.yml ko is yung nasa baba na quote. wala po kahit isang itemID saan ko po makikita yung mga itemID na gusto ko baguhin effects at idisable. # This file is a part of rAthena. # Copyright(C) 2019 rAthena Development Team # https://rathena.org - https://github.com/rathena # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # ########################################################################### # Item Database ########################################################################### # # Item Settings # ########################################################################### # - Id Item ID. # AegisName Server name to reference the item in scripts and lookups, should use no spaces. # Name Name in English for displaying as output. # Type Item type. (Default: Etc) # SubType Weapon or Ammo type. (Default: 0) # Buy Buying price. When not specified, becomes double the sell price. (Default: 0) # Sell Selling price. When not specified, becomes half the buy price. (Default: 0) # Weight Item weight. Each 10 is 1 weight. (Default: 0) # Attack Weapon's attack. (Default: 0) # MagicAttack Weapon's magic attack. (Default: 0) # Defense Armor's defense. (Default: 0) # Range Weapon's attack range. (Default: 0) # Slots Available slots in item. (Default: 0) # Jobs Jobs that can equip the item. (Map default is 'All: true') # Classes Upper class types that can equip the item. (Map default is 'All: true') # Gender Gender that can equip the item. (Default: Both) # Locations Equipment's placement. (Default: None) # WeaponLevel Weapon level. (Default: 0) # EquipLevelMin Minimum required level to equip. (Default: 0) # EquipLevelMax Maximum level that can equip. (Default: 0) # Refineable If the item can be refined. (Default: false) # View View sprite of an item. (Default: 0) # AliasName Another item's AegisName that will be sent to the client instead of this item's AegisName. (Default: null) # Flags: Item flags. (Default: null) # BuyingStore If the item is available for Buyingstores. (Default: false) # DeadBranch If the item is a Dead Branch. (Default: false) # Container If the item is part of a container. (Default: false) # UniqueId If the item is a unique stack. (Default: false) # BindOnEquip If the item is bound to the character upon equipping. (Default: false) # DropAnnounce If the item has a special announcement to self on drop. (Default: false) # NoConsume If the item is consumed on use. (Default: false) # DropEffect If the item has a special effect when on the ground. (Default: None) # Delay: Item use delay. (Default: null) # Duration Duration of delay in seconds. # Status Status Change used to track delay. (Default: None) # Stack: Item stack amount. (Default: null) # Amount Maximum amount that can be stacked. # Inventory If the stack is applied to player's inventory. (Default: true) # Cart If the stack is applied to the player's cart. (Default: false) # Storage If the stack is applied to the player's storage. (Default: false) # GuildStorage If the stack is applied to the player's guild storage. (Default: false) # NoUse: Conditions when the item is unusable. (Default: null) # Override Group level to override these conditions. # Sitting If the item can not be used while sitting. (Default: false) # Trade: Trade restrictions. (Default: null) # Override Group level to override these conditions. # NoDrop If the item can not be dropped. (Default: false) # NoTrade If the item can not be traded. (Default: false) # TradePartner If the item can not be traded to the player's partner. (Default: false) # NoSell If the item can not be sold. (Default: false) # NoCart If the item can not be put in a cart. (Default: false) # NoStorage If the item can not be put in a storage. (Default: false) # NoGuildStorage If the item can not be put in a guild storage. (Default: false) # NoMail If the item can not be put in a mail. (Default: false) # NoAuction If the item can not be put in an auction. (Default: false) # Script Script to execute when the item is used/equipped. (Default: null) # EquipScript Script to execute when the item is equipped. (Default: null) # UnEquipScript Script to execute when the item is unequipped or when a rental item expires. (Default: null) ########################################################################### Header: Type: ITEM_DB Version: 1 Footer: Imports: - Path: db/pre-re/item_db_usable.yml - Path: db/pre-re/item_db_equip.yml - Path: db/pre-re/item_db_etc.yml Then check these out: Imports: - Path: db/pre-re/item_db_usable.yml - Path: db/pre-re/item_db_equip.yml - Path: db/pre-re/item_db_etc.yml Hiniwalay na nila para mas madali. Quote
Onairda Posted November 7, 2020 Author Posted November 7, 2020 3 minutes ago, Scylla said: Then check these out: Imports: - Path: db/pre-re/item_db_usable.yml - Path: db/pre-re/item_db_equip.yml - Path: db/pre-re/item_db_etc.yml Hiniwalay na nila para mas madali. Hello Sir, Dammm . It took me 6 hours to figure this out zzzzz hahahahah. Thanks for all your time and help. All good now Thank you thank you! 1 Quote
boypol Posted December 6, 2020 Posted December 6, 2020 On 11/7/2020 at 3:37 PM, G-RO said: Hello Sir, Dammm . It took me 6 hours to figure this out zzzzz hahahahah. Thanks for all your time and help. All good now Thank you thank you! bro how to edit item_db_equip i put my item there but not showing. Quote
Onairda Posted December 6, 2020 Author Posted December 6, 2020 4 hours ago, boypol said: bro how to edit item_db_equip i put my item there but not showing. helllo, just save it and @reloaditemdb. just make sure you follow the correct format when changing inside Quote
boypol Posted December 6, 2020 Posted December 6, 2020 1 hour ago, G-RO said: helllo, just save it and @reloaditemdb. just make sure you follow the correct format when changing inside Sir. i converted to yaml. but still unable to read after reload item db? it it correct i have to put on the folder location db/pre-re/item_db_equip.yaml? below is the format i put. - Id: 29489 AegisName: chubbymeow Name: Chubby Meow Type: Armor Weight: 20 Locations: Costume_Head_Top: true EquipLevelMin: 1 View: 1882 Quote
Onairda Posted December 6, 2020 Author Posted December 6, 2020 8 minutes ago, boypol said: Sir. i converted to yaml. but still unable to read after reload item db? it it correct i have to put on the folder location db/pre-re/item_db_equip.yaml? below is the format i put. - Id: 29489 AegisName: chubbymeow Name: Chubby Meow Type: Armor Weight: 20 Locations: Costume_Head_Top: true EquipLevelMin: 1 View: 1882 yes that is correct maybe its better if paste your exact item_db_equip.yaml. maybe you have error on Script: | Quote
boypol Posted December 6, 2020 Posted December 6, 2020 Hi Sir, do i have to do other configuration on the server to work aside from editing this item_db_equip.yaml attached. Thanks sir item_db_equip.yml Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.