From: SourceForge.net <no...@so...> - 2009-02-28 20:09:06
|
Bugs item #2643734, was opened at 2009-02-27 00:56 Message generated for change (Comment added) made by kymara You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101111&aid=2643734&group_id=1111 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Code Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: emoarg (emoarg) >Assigned to: Katie (kymara) Summary: Siandra doesn't know how to multiply by big numbers Initial Comment: Siandra in Ados bar is unable to buy big quantities (greater than 1000) of food. Here goes a sample conversation: [22:48] <emoarg> hi [22:48] <Siandra> Hi! [22:48] <emoarg> sell 2000 meat [22:48] <Siandra> 1 piece of meat is worth 10. Do you want to sell it? [22:48] <emoarg> no [22:48] <Siandra> Ok, then how else may I help you? [22:48] <emoarg> sell 1001 meat [22:48] <Siandra> 1 piece of meat is worth 10. Do you want to sell it? [22:48] <emoarg> no [22:48] <Siandra> Ok, then how else may I help you? [22:48] <emoarg> sell 1000 meat [22:48] <Siandra> 1000 pieces of meat are worth 10000. Do you want to sell them? [22:48] <emoarg> no [22:48] <Siandra> Ok, then how else may I help you? [22:48] <emoarg> bye [22:48] <Siandra> Bye bye! If you say yes in one of the first examples you end up by selling only one meat. ---------------------------------------------------------------------- Comment By: Katie (kymara) Date: 2009-02-28 20:09 Message: OK, thanks for the error report. Problem is now fixed in CVS. ---------------------------------------------------------------------- Comment By: Katie (kymara) Date: 2009-02-28 19:47 Message: Yes I think that would be better, it would be less confusing. All buyers act like this btw but I can change for all. ---------------------------------------------------------------------- Comment By: emoarg (emoarg) Date: 2009-02-27 19:54 Message: Ok! Then perhaps Siandra should tell you something like "I can buy only up to 1000 meat." when you want to sell more. What do you think? ---------------------------------------------------------------------- Comment By: Katie (kymara) Date: 2009-02-27 13:26 Message: yes if you try to sell a very large number of items (over 1000) then it is set to 1. that's because people were abusing an integer overflow bug. it's deliberate behaviour ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101111&aid=2643734&group_id=1111 |