Legato Posted December 3, 2011 Posted December 3, 2011 These 2 pieces of codes are to show how much zeny the seller sold his item(s) on @autobuy. But it's showing the incorrect amount of zeny. char temp[250]; memset(temp, '\0', sizeof(temp)); sprintf(temp,"You sold the goods for %dz."); clif_displaymessage(sd->fd, temp); See the images below. Autobuy Quote
FatalEror Posted December 4, 2011 Posted December 4, 2011 I think this is the problem: sprintf(temp,"You sold the goods for %dz.", (int)z); Quote
Legato Posted December 4, 2011 Author Posted December 4, 2011 Ohh. Thanks. I was adding this whole line vsd,(int)z) Thanks. Quote
Golem1988 Posted September 7, 2012 Posted September 7, 2012 will this feauture work on latest rathena revisions? Quote
Question
Legato
These 2 pieces of codes are to show how much zeny the seller sold his item(s) on @autobuy. But it's showing the incorrect amount of zeny.
See the images below.
Autobuy
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.