vBrenth Posted June 24, 2013 Posted June 24, 2013 Players can't vend 7 items below. Is this possible? Quote
Emistry Posted June 25, 2013 Posted June 25, 2013 if( sd->vend_num < 5 ){ sprintf(atcmd_output, "Vending required minimum 5 items, but you only vending with %d item.", sd->vend_num); clif_displaymessage(fd, atcmd_output); return -1; } add this ... Quote
vBrenth Posted June 25, 2013 Author Posted June 25, 2013 (edited) Wont work I added it below // check number of items in shop if( count < 1 || count > MAX_VENDING || count > 2 + vending_skill_lvl ) { // invalid item count clif_skill_fail(sd, MC_VENDING, USESKILL_FAIL_LEVEL, 0); return; } vending.c > and i can't open any vending shop. Edited June 25, 2013 by Godric Quote
Emistry Posted June 25, 2013 Posted June 25, 2013 i not sure about the vending.c .... because i used that code in @autotrade ... Quote
QQfoolsorellina Posted June 25, 2013 Posted June 25, 2013 Wont work I added it below // check number of items in shop if( count < 1 || count > MAX_VENDING || count > 2 + vending_skill_lvl ) { // invalid item count clif_skill_fail(sd, MC_VENDING, USESKILL_FAIL_LEVEL, 0); return; } vending.c > and i can't open any vending shop. if( count < 7 || count > MAX_VENDING || count > 2 + vending_skill_lvl ) { // invalid item count clif_skill_fail(sd, MC_VENDING, USESKILL_FAIL_LEVEL, 0); return; } Quote
Question
vBrenth
Players can't vend 7 items below.
Is this possible?
4 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.