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: March 20 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: 25 Topics Per Day: 0.01 Content Count: 927 Reputation: 168 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: 19 Topics Per Day: 0.01 Content Count: 398 Reputation: 246 Joined: 07/04/19 Last Seen: April 15 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: 10013 Reputation: 2348 Joined: 10/28/11 Last Seen: April 6 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...
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
3 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.