Page 179 of 441

Re: Current Known Bugs list

PostPosted: 10 Jul 2010, 11:23
by Almost_Clever
The computer cast Reanimate when the only creature available was a Peacekeeper in my graveyard. On the computer's next turn, I was asked to pay for the upkeep of the Peacekeeper. It was tactically dumb for the computer to cast Reanimate in the first place if the only creature available was Peacekeeper and the computer's winning strategy was through the red zone, but the part I was particularly upset about was that I didn't have any white mana available to keep the Peacekeeper on the battlefield.

If the computer casts Brain Freeze, the human is asked to select the targets for the storm copies.

If the computer has fewer than four land in its library when you cast Mind Funeral, only one card will be put into the graveyard instead of the whole library.

I destroyed the computer's Floating-Dream Zubera when it had zero cards in its library, but apparently the card draw was treated as optional so the computer did not lose until its next draw step.

Re: Current Known Bugs list

PostPosted: 10 Jul 2010, 17:04
by lovelydwarf
The computer casts Everflowing Chalice for zero whenever it has the chance. Also, it doesn't appear to be using fetchlands.

Re: Current Known Bugs list

PostPosted: 10 Jul 2010, 17:13
by 24ivanthepoet
I'm not sure why, but the computer freaks out every time
Saphire Medallion is cast. This seems to be the case for all
of the medallions.

Re: Current Known Bugs list

PostPosted: 10 Jul 2010, 22:38
by DennisBergkamp
laurion wrote:6/26 beta, Needleshot Gourna is not able to block a Phantom Monster.
I tried to reproduce this one... works fine for me (computer attacking with one, or me attacking with one).
Are you sure this wasn't a Phantom Warrior?

Re: Current Known Bugs list

PostPosted: 11 Jul 2010, 18:30
by Chris H.
lovelydwarf wrote:The computer casts Everflowing Chalice for zero whenever it has the chance. Also, it doesn't appear to be using fetchlands.
`
The computer does not yet have a mana pool. The AI can only deduct one point of mana at a time. Any cards which generate more than a single point of mana at a time can not be used by the AI. We hope to fix that some day. :D


I added the Everflowing Chalice to the list of cards which will not show up when the computer generates a random 2 color or multi color deck. This should help to prevent the computer from getting one of the dead cards that it can not use.

Re: Current Known Bugs list

PostPosted: 12 Jul 2010, 00:37
by Chris H.
24ivanthepoet wrote:I'm not sure why, but the computer freaks out every time Saphire Medallion is cast. This seems to be the case for all of the medallions.
`
Can you give us a wee bit more detail on freak out? What happened? :)

Re: Current Known Bugs list

PostPosted: 12 Jul 2010, 03:26
by freestorageaccount
24ivanthepoet wrote:I'm not sure why, but the computer freaks out every time Saphire Medallion is cast. This seems to be the case for all of the medallions.
I just cast a Jet Medallion and half-price Demonic Tutor without incident, but it didn't have the intended effect on the Mind Twist I fetched, which would seem to require the dialog asking for the value of X beforehand. Still, I couldn't get an exception or crash (how often do you hear people complain about that now?).

Re: Current Known Bugs list

PostPosted: 12 Jul 2010, 05:03
by 24ivanthepoet
Sorry I was so vague. I can cast Saphire Medallion but as soon as I attempt to cast a blue spell the program crashes. If I don't play a blue spell on my turn the computer crashes as soon as I pass the turn. In both cases I am given the following message which I probably have included in my first post, oops.


java.lang.String.isEmpty()Z


Version:
Forge -- official beta: $Date: 2010-05-01 02:21:42 -0500 (Sat, 01 May 2010) $, SVN revision: $Revision: 916 $

Detailed error trace:
java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
at forge.GameAction.GetSpellCostChange(GameAction.java:1853)
at forge.ComputerUtil.canPayCost(ComputerUtil.java:160)
at forge.ComputerAI_General.getPlayable(ComputerAI_General.java:232)
at forge.ComputerAI_General.getMain1(ComputerAI_General.java:203)
at forge.ComputerAI_General.playCards(ComputerAI_General.java:60)
at forge.ComputerAI_General.main1(ComputerAI_General.java:36)
at forge.ComputerAI_Input.think(ComputerAI_Input.java:39)
at forge.ComputerAI_Input.showMessage(ComputerAI_Input.java:27)
at forge.GuiInput.setInput(GuiInput.java:27)
at forge.GuiInput.update(GuiInput.java:21)
at java.util.Observable.notifyObservers(Observable.java:142)
at java.util.Observable.notifyObservers(Observable.java:98)
at forge.MyObservable.updateObservers(MyObservable.java:10)
at forge.Phase.nextPhase(Phase.java:280)
at forge.Phase.nextPhase(Phase.java:284)
at forge.Phase.nextPhase(Phase.java:284)
at forge.Phase.nextPhase(Phase.java:284)
at forge.Phase.nextPhase(Phase.java:284)
at forge.Phase.nextPhase(Phase.java:284)
at forge.GuiDisplay3$26.actionPerformed(GuiDisplay3.java:786)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
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:236)
at java.awt.Component.processMouseEvent(Component.java:5602)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3129)
at java.awt.Component.processEvent(Component.java:5367)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4068)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3903)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
at java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1801)
at java.awt.Component.dispatchEvent(Component.java:3903)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Re: Current Known Bugs list

PostPosted: 12 Jul 2010, 05:54
by freestorageaccount
24ivanthepoet wrote:Sorry I was so vague. I can cast Saphire Medallion but as soon as I attempt to cast a blue spell the program crashes. If I don't play a blue spell on my turn the computer crashes as soon as I pass the turn. In both cases I am given the following message which I probably have included in my first post, oops.
Code: Select all
java.lang.String.isEmpty()Z


Version:
Forge -- official beta: $Date: 2010-05-01 02:21:42 -0500 (Sat, 01 May 2010) $, SVN revision: $Revision: 916 $

Detailed error trace:
java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
   at forge.GameAction.GetSpellCostChange(GameAction.java:1853)
   at forge.ComputerUtil.canPayCost(ComputerUtil.java:160)
   at forge.ComputerAI_General.getPlayable(ComputerAI_General.java:232)
   at forge.ComputerAI_General.getMain1(ComputerAI_General.java:203)
   at forge.ComputerAI_General.playCards(ComputerAI_General.java:60)
   at forge.ComputerAI_General.main1(ComputerAI_General.java:36)
   at forge.ComputerAI_Input.think(ComputerAI_Input.java:39)
   at forge.ComputerAI_Input.showMessage(ComputerAI_Input.java:27)
   at forge.GuiInput.setInput(GuiInput.java:27)
   at forge.GuiInput.update(GuiInput.java:21)
   at java.util.Observable.notifyObservers(Observable.java:142)
   at java.util.Observable.notifyObservers(Observable.java:98)
   at forge.MyObservable.updateObservers(MyObservable.java:10)
   at forge.Phase.nextPhase(Phase.java:280)
   at forge.Phase.nextPhase(Phase.java:284)
   at forge.Phase.nextPhase(Phase.java:284)
   at forge.Phase.nextPhase(Phase.java:284)
   at forge.Phase.nextPhase(Phase.java:284)
   at forge.Phase.nextPhase(Phase.java:284)
   at forge.GuiDisplay3$26.actionPerformed(GuiDisplay3.java:786)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
   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:236)
   at java.awt.Component.processMouseEvent(Component.java:5602)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3129)
   at java.awt.Component.processEvent(Component.java:5367)
   at java.awt.Container.processEvent(Container.java:2010)
   at java.awt.Component.dispatchEventImpl(Component.java:4068)
   at java.awt.Container.dispatchEventImpl(Container.java:2068)
   at java.awt.Component.dispatchEvent(Component.java:3903)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
   at java.awt.Container.dispatchEventImpl(Container.java:2054)
   at java.awt.Window.dispatchEventImpl(Window.java:1801)
   at java.awt.Component.dispatchEvent(Component.java:3903)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
   at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
I acquired the actual Sapphire Medallion and still couldn't produce a bug. The message seemed as though it was caused by a spell whose casting cost is entirely coloured or zero, but no such luck. Can you try the scenario again and record exactly what you played?

Re: Current Known Bugs list

PostPosted: 12 Jul 2010, 06:18
by DennisBergkamp
Ah, the reason you couldn't reproduce it because it's another Java 1.5 incompatibility. I'll fix it.

EDIT: actually, this was fixed awhile back, I'm pretty sure... Try downloading a later version, Ivan: http://forge-card-game.googlecode.com/files/forge%2006-28.zip. It might have been fixed in that version already. If not, I will release a new version in the next few days.

Re: Current Known Bugs list

PostPosted: 12 Jul 2010, 10:55
by Chris H.
24ivanthepoet wrote:Sorry I was so vague. I can cast Saphire Medallion but as soon as I attempt to cast a blue spell the program crashes. If I don't play a blue spell on my turn the computer crashes as soon as I pass the turn. In both cases I am given the following message which I probably have included in my first post, oops.


java.lang.String.isEmpty()Z
`
Thank you for the additional info. :D As Dennis said, this looks like the String.isEmpty() bug. String.isEmpty() is compatible with java 6 but not java 5. Some of our user-base are not able to upgrade to java 6.

Try Dennis's link to the bug-fixed version of the jar file for forge. It fixed a couple of bugs and may have addressed the String.isEmpty() bug at the same time.

Re: Current Known Bugs list

PostPosted: 12 Jul 2010, 11:13
by Beached As
Is it just my version of SVN or does pressing enter key in game while the OK button (the one that skips to the next phase) in the top left hand corner is active causes the button to activate twice (i.e. skips two phases)? This makes it really difficult to test things.

Clicking the button still works normally.

Re: Current Known Bugs list

PostPosted: 12 Jul 2010, 13:16
by Sloth
Beached As wrote:Is it just my version of SVN or does pressing enter key in game while the OK button (the one that skips to the next phase) in the top left hand corner is active causes the button to activate twice (i.e. skips two phases)? This makes it really difficult to test things.

Clicking the button still works normally.
I second that. It activates twice.

Re: Current Known Bugs list

PostPosted: 12 Jul 2010, 16:33
by Hellfish
freestorageaccount wrote:Nicely compiled bug list,among others "HandSize persisting between games" and "Will computer Control Magic a Korlash, Heir to Blackblade even without any swamps of his own?"
I posted a fix for the first a while ago (here) but Chris was unable to merge the code. I might've made a mistake in the fix's code but I won't have access to eclipse for at least a week to check :/

For the second: Yes. Yes he will. Not necessarily a bad thing, though, one could consider it threat removal. :)

Re: Current Known Bugs list

PostPosted: 12 Jul 2010, 17:30
by Chris H.
Hellfish wrote:I posted a fix for the first a while ago (here) but Chris was unable to merge the code. I might've made a mistake in the fix's code but I won't have access to eclipse for at least a week to check :/
`
The new code pieces were fairly brief and easy to understand. I was not sure where in the class file that I should paste in your code. If you could at some point give me a clue, like paste this in right before the start of the method named {a method name} and/or a line number ... that would be awesome. 8)