Legato Posted December 3, 2011 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 87 Reputation: 1 Joined: 11/20/11 Last Seen: September 10, 2013 Share 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 Link to comment Share on other sites More sharing options...
FatalEror Posted December 4, 2011 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 67 Reputation: 23 Joined: 11/14/11 Last Seen: October 3, 2014 Share Posted December 4, 2011 I think this is the problem: sprintf(temp,"You sold the goods for %dz.", (int)z); Quote Link to comment Share on other sites More sharing options...
Legato Posted December 4, 2011 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 87 Reputation: 1 Joined: 11/20/11 Last Seen: September 10, 2013 Author Share Posted December 4, 2011 Ohh. Thanks. I was adding this whole line vsd,(int)z) Thanks. Quote Link to comment Share on other sites More sharing options...
Golem1988 Posted September 7, 2012 Group: Members Topic Count: 57 Topics Per Day: 0.01 Content Count: 162 Reputation: 1 Joined: 08/08/12 Last Seen: December 10, 2023 Share Posted September 7, 2012 will this feauture work on latest rathena revisions? Quote Link to comment Share on other sites More sharing options...
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
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.