Nullifier Posted August 19, 2023 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 140 Reputation: 11 Joined: 09/28/14 Last Seen: November 7, 2024 Share Posted August 19, 2023 Hi, would like to ask, is there a way I can increase the barters hop item requirements to buy a certain item from 5 to 10? As you can see, I tried adding more than 5 items and I got this error. I plan to use it as a replacement of the traditional Quest NPC that we are used to. Quote Link to comment Share on other sites More sharing options...
0 Winterfox Posted August 19, 2023 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 245 Reputation: 93 Joined: 06/30/18 Last Seen: November 27, 2024 Share Posted August 19, 2023 (edited) The errormessage already tells you what is wrong. The Barters don't support more than 5 items. I am not sure why the limit is hard-coded to five, if it is because the original behavior is like this or because the client doesn't support more than five. What you could try though is to raise the limit and recompile rathena. You can find the definition of the limit in the mmo.hpp on line 117. #define MAX_BARTER_REQUIREMENTS 5 Edited August 19, 2023 by Winterfox 1 Quote Link to comment Share on other sites More sharing options...
0 Harvin Posted August 22, 2023 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 39 Reputation: 32 Joined: 06/08/23 Last Seen: June 29, 2024 Share Posted August 22, 2023 curious to the result of this, is it client limitation or can be increased? if can be increased did you test the limit? Quote Link to comment Share on other sites More sharing options...
0 Nullifier Posted August 22, 2023 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 140 Reputation: 11 Joined: 09/28/14 Last Seen: November 7, 2024 Author Share Posted August 22, 2023 46 minutes ago, Harvin said: curious to the result of this, is it client limitation or can be increased? if can be increased did you test the limit? it can be increased but I don't know on the client side since whenever I tried to add item from 5 to 6 the other item requirement will exceed the shop window limit. Quote Link to comment Share on other sites More sharing options...
Question
Nullifier
Hi, would like to ask, is there a way I can increase the barters hop item requirements to buy a certain item from 5 to 10?
As you can see, I tried adding more than 5 items and I got this error.
I plan to use it as a replacement of the traditional Quest NPC that we are used to.
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.