Xephyras Posted September 11, 2013 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 51 Reputation: 0 Joined: 06/16/12 Last Seen: May 6, 2014 Share Posted September 11, 2013 Hello, Does anyone know how to increase the maximum vending slots from 12 to XX number, so that people can sell more than 12 different items? Thanks in advance! Quote Link to comment Share on other sites More sharing options...
Emistry Posted September 11, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2371 Joined: 10/28/11 Last Seen: 3 hours ago Share Posted September 11, 2013 try src/map/map.h#L50 #define MAX_VENDING 12 not sure if there is other place you need to edit too... Quote Link to comment Share on other sites More sharing options...
Xephyras Posted September 12, 2013 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 51 Reputation: 0 Joined: 06/16/12 Last Seen: May 6, 2014 Author Share Posted September 12, 2013 (edited) Thanks for the reply. I tried that including some other changes in the source file, but I am stuck at 13 slots maximum no matter what I do. How do I change the following in such a way that it can exceed 13 slots? https://github.com/rathena/rathena/blob/master/src/map/clif.c#L6146 /// Opens the shop creation menu (ZC_OPENSTORE). /// 012d <num>.W /// num: /// number of allowed item slots void clif_openvendingreq(struct map_session_data* sd, int num) { int fd; nullpo_retv(sd); fd = sd->fd; WFIFOHEAD(fd,packet_len(0x12d)); WFIFOW(fd,0) = 0x12d; WFIFOW(fd,2) = num; WFIFOSET(fd,packet_len(0x12d)); } Edited September 12, 2013 by Xephyras Quote Link to comment Share on other sites More sharing options...
Question
Xephyras
Hello,
Does anyone know how to increase the maximum vending slots from 12 to XX number, so that people can sell more than 12 different items?
Thanks in advance!
Link to comment
Share on other sites
2 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.