-----Original Message-----
>From: Erik Vos <eri...@hc...>
>Sent: Jan 17, 2006 3:29 PM
>To: rai...@li...
>Subject: RE: [Rails-devel] Found two new bugs
>
>> Bug 1: After buying a 5-train in OR 6.1, after the OR ends,
>> we're returned to a stock round instead of going to OR 6.2.
>
>That was a bug in XML parsing in class Phase.
>
>> Bug 2: The C&O is started in SR 4 for a par price of 76$,
>> then in SR 7 you should see that player 3 buys a share of C&O
>> from the IPO for $82."
>
>Yes, all buys were done at current price.
>Sloppy work from my side.
>One of those things that get first postponed and then forgotten.
>
>Should both be fixed now.
>
No worries. That's why we do bug testing. :-)
It looks like all the issues with 5-trains have been fixed. Now, there's a new issue with 6-trains:
Start of Operating Round 6.1
[Irrelevant parts of the round snipped out...]
CPR buys 6-train from IPO for $630
First 6-train bought
Start of phase 6
All 3-trains are rusted and have been removed
D-trains now available
java.lang.ArrayIndexOutOfBoundsException: 4
at game.PublicCompany.getTrainLimit(PublicCompany.java:1036)
at game.CompanyManager.getCompaniesWithExcessTrains(CompanyManager.java:320)
at ui.ORPanel.actionPerformed(ORPanel.java:924)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
count = 0, total = 170
count = 0, total = 510
count = 0, total = 215
|