fragment Posted September 15, 2021 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 14 Reputation: 0 Joined: 04/25/19 Last Seen: 1 hour ago Share 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 Link to comment Share on other sites More sharing options...
0 Start_ Posted September 15, 2021 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 950 Reputation: 180 Joined: 04/05/13 Last Seen: 2 hours ago Share 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 Link to comment Share on other sites More sharing options...
0 BeWan Posted September 15, 2021 Group: Members Topic Count: 20 Topics Per Day: 0.01 Content Count: 403 Reputation: 249 Joined: 07/04/19 Last Seen: 15 hours ago Share 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 Link to comment Share on other sites More sharing options...
0 Emistry Posted March 6, 2022 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share 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 Link to comment Share on other sites More sharing options...
0 Rook1es Posted July 23, 2024 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 97 Reputation: 5 Joined: 06/21/15 Last Seen: September 28, 2024 Share 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 Link to comment Share on other sites More sharing options...
0 ADMSarah Posted July 29, 2024 Group: Members Topic Count: 18 Topics Per Day: 0.03 Content Count: 144 Reputation: 10 Joined: 08/19/23 Last Seen: Sunday at 07:17 AM Share 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 Link to comment Share on other sites More sharing options...
Question
fragment
Hello,
Possible if all item sell to NPC only 1z ?? need source modification ? is there other option beside edit item db?
Link to comment
Share on other sites
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.