rootKid Posted May 13, 2014 Group: Members Topic Count: 24 Topics Per Day: 0.01 Content Count: 83 Reputation: 11 Joined: 11/28/11 Last Seen: March 31 Share Posted May 13, 2014 (edited) The official maximum of only 12 items able to be vended is very restricting. Is it possible to increase the maximum number of items that can be vended? Has anyone ever done it? If so, how can it be done? Is client hexing really involved? I've read this topic: http://rathena.org/board/topic/87426-increasing-max-vending-slot/ It offers no clear solution. Merely editting the MAX_VENDING in map.h does not seem to be the solution. Has no one figured it out even after all these years? I'd really appreciate the support in figuring this out. It'd be a great accomplishment. Edited May 13, 2014 by kou Quote Link to comment Share on other sites More sharing options...
Moriarty Posted May 13, 2014 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 135 Reputation: 13 Joined: 06/20/12 Last Seen: April 14, 2018 Share Posted May 13, 2014 (edited) This is probably defined by the client, therefore you would have to edit the client source code, something nobody but Gravity possess. That's why nobody did it. Of course you can try to decompile and edit it, but this require specific knowledge that few possess. @Edit I'm not 100% sure that there is a client condition about this. Thinking deeper, maybe it's possible for you to use a common npc shop, as the player vending? Edited May 13, 2014 by Moriarty Quote Link to comment Share on other sites More sharing options...
rootKid Posted May 14, 2014 Group: Members Topic Count: 24 Topics Per Day: 0.01 Content Count: 83 Reputation: 11 Joined: 11/28/11 Last Seen: March 31 Author Share Posted May 14, 2014 (edited) Utilizing npc shops for player vending is truly a brilliant concept. How would one go about accomplishing this? More input would greatly be appreciated. Edited May 14, 2014 by kou Quote Link to comment Share on other sites More sharing options...
Moriarty Posted May 14, 2014 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 135 Reputation: 13 Joined: 06/20/12 Last Seen: April 14, 2018 Share Posted May 14, 2014 Oh, it would require a lot of dedication and understanding of the emulator source, I'm not the most recomended person to tell you how. I would search the packets each one use, the function each one use, try to copy the shop function for the vending one, using the list of itens that was on the vending function. Something like that, you'll need to go deep on the code haha Good Luck Quote Link to comment Share on other sites More sharing options...
rootKid Posted May 15, 2014 Group: Members Topic Count: 24 Topics Per Day: 0.01 Content Count: 83 Reputation: 11 Joined: 11/28/11 Last Seen: March 31 Author Share Posted May 15, 2014 (edited) Well I've learned about a solution after contacting goddameit, who apparently knows how to do it: I haven't find limit on client side, but yes, it can be over 12 http://i.imgur.com/aYLfEyx.gif Increase MAX_VENDING and add a skip from client menu You just need to create some new functions to set vending list and also a bool for doing detour. So client-side edits are unnecessary according to him. Unfortunately, goddameit refused to provide me with the exact edits that must be made, so is there another expert that can be help me achieve what he has suggested? Edited May 15, 2014 by kou Quote Link to comment Share on other sites More sharing options...
rootKid Posted May 17, 2014 Group: Members Topic Count: 24 Topics Per Day: 0.01 Content Count: 83 Reputation: 11 Joined: 11/28/11 Last Seen: March 31 Author Share Posted May 17, 2014 BUMP Quote Link to comment Share on other sites More sharing options...
Kichi Posted May 29, 2014 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 509 Reputation: 80 Joined: 11/20/11 Last Seen: October 3, 2020 Share Posted May 29, 2014 map.h #define MAX_VENDING 12 ------------------------------------------------------ take a look at the blacksmith head, his facing to a npc.i thought goddam use script_command to open vending Quote Link to comment Share on other sites More sharing options...
Question
rootKid
Edited by kou
Link to comment
Share on other sites
6 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.