From: Mark S. <mar...@gm...> - 2008-11-02 00:06:12
|
Erik, Another issue with the Stock Value. I ran across a bug that is a bit obscure, but the code does prevent an illegal action: Situation: Player Mark has $56 Cash. The Par Value of the Stock is $60, but the Current Market Value is $55. The Stock Info Table shows during a Stock Round that I should be able to buy an IPO Share, based upon sufficient Cash Check. I select to purchase, and the display asks to confirm that you want to buy the Share at $55 (Current Market Value -- This is wrong because I am trying to buy from IPO at PAR Value). The followup test when attempting to complete the purchase fails and generates a complaint about insufficient funds. This might not come up much, but the code is comparing Current Cash against Current Stock Value and not against Par Value for IPO Purchases. Mark |