fragment Posted September 15, 2021 Posted September 15, 2021 Hello, Possible if all item sell to NPC only 1z ?? need source modification ? is there other option beside edit item db? Quote
0 Start_ Posted September 15, 2021 Posted September 15, 2021 \rathena\src\map\itemdb.cpp Around Lines 150 Change value_sell = 1 (There are other 2-3 lines that contain sell value, please change that too.) Quote
0 BeWan Posted September 15, 2021 Posted September 15, 2021 (edited) 6 hours ago, fragment said: Hello, Possible if all item sell to NPC only 1z ?? need source modification ? is there other option beside edit item db? if you are using item_db.yml its so easy to set all items sell to 1z. Edited September 15, 2021 by BeWan Quote
0 Emistry Posted March 6, 2022 Posted March 6, 2022 you can also override the whole part here https://github.com/rathena/rathena/blob/df65d5ddfc5d10e1834875cc7a1c1f543e404c74/src/map/itemdb.cpp#L192-L218 with item->value_sell = 1; item->value_buy = 2; buy price shouldn't be lower than sell price. Quote
0 Rook1es Posted July 23, 2024 Posted July 23, 2024 On 9/15/2021 at 9:25 PM, BeWan said: if you are using item_db.yml its so easy to set all items sell to 1z. Hi um sing item_db.yml how can i do that Quote
0 ADMSarah Posted July 29, 2024 Posted July 29, 2024 On 9/15/2021 at 9:25 PM, BeWan said: if you are using item_db.yml its so easy to set all items sell to 1z. By editing them manually? adding Sell line? Quote
Question
fragment
Hello,
Possible if all item sell to NPC only 1z ?? need source modification ? is there other option beside edit item db?
5 answers to this question
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.