From: SourceForge.net <no...@so...> - 2009-02-27 13:26:57
|
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: Open Resolution: None Priority: 5 Private: No Submitted By: emoarg (emoarg) Assigned to: Nobody/Anonymous (nobody) 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-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 |