It is currently 17 Jun 2025, 20:31
   
Text Size

Current Known Bugs list

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: Current Known Bugs list

Postby Almost_Clever » 10 Jul 2010, 11:23

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.
A woman came up to me and said / "I'd like to poison your mind / With wrong ideas that appeal to you / Though I am not unkind."
User avatar
Almost_Clever
Tester
 
Posts: 345
Joined: 15 Jan 2009, 01:46
Has thanked: 0 time
Been thanked: 0 time

Re: Current Known Bugs list

Postby lovelydwarf » 10 Jul 2010, 17:04

The computer casts Everflowing Chalice for zero whenever it has the chance. Also, it doesn't appear to be using fetchlands.
lovelydwarf
 
Posts: 17
Joined: 05 May 2010, 03:15
Has thanked: 0 time
Been thanked: 0 time

Re: Current Known Bugs list

Postby 24ivanthepoet » 10 Jul 2010, 17:13

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.
24ivanthepoet
 
Posts: 9
Joined: 10 Jul 2010, 17:06
Has thanked: 0 time
Been thanked: 0 time

Re: Current Known Bugs list

Postby DennisBergkamp » 10 Jul 2010, 22:38

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?
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: Current Known Bugs list

Postby Chris H. » 11 Jul 2010, 18:30

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.
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Current Known Bugs list

Postby Chris H. » 12 Jul 2010, 00:37

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? :)
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Current Known Bugs list

Postby freestorageaccount » 12 Jul 2010, 03:26

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?).
-- freestorageaccount (= accurate forge notes) This is not a subliminal message. At least for the prosilver theme.

The Great Wall of Bugs. Gando, you will not be forgotten.
And a chip off the old block.
User avatar
freestorageaccount
 
Posts: 246
Joined: 21 Sep 2009, 01:42
Location: Hilbert's Hotel
Has thanked: 1 time
Been thanked: 0 time

Re: Current Known Bugs list

Postby 24ivanthepoet » 12 Jul 2010, 05:03

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)
24ivanthepoet
 
Posts: 9
Joined: 10 Jul 2010, 17:06
Has thanked: 0 time
Been thanked: 0 time

Re: Current Known Bugs list

Postby freestorageaccount » 12 Jul 2010, 05:54

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?
-- freestorageaccount (= accurate forge notes) This is not a subliminal message. At least for the prosilver theme.

The Great Wall of Bugs. Gando, you will not be forgotten.
And a chip off the old block.
User avatar
freestorageaccount
 
Posts: 246
Joined: 21 Sep 2009, 01:42
Location: Hilbert's Hotel
Has thanked: 1 time
Been thanked: 0 time

Re: Current Known Bugs list

Postby DennisBergkamp » 12 Jul 2010, 06:18

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.
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: Current Known Bugs list

Postby Chris H. » 12 Jul 2010, 10:55

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.
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Current Known Bugs list

Postby Beached As » 12 Jul 2010, 11:13

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.
Beached As
Programmer
 
Posts: 110
Joined: 23 Feb 2010, 07:48
Has thanked: 0 time
Been thanked: 0 time

Re: Current Known Bugs list

Postby Sloth » 12 Jul 2010, 13:16

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.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Current Known Bugs list

Postby Hellfish » 12 Jul 2010, 16:33

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. :)
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
User avatar
Hellfish
Programmer
 
Posts: 1297
Joined: 07 Jun 2009, 10:41
Location: South of the Pumphouse
Has thanked: 110 times
Been thanked: 169 times

Re: Current Known Bugs list

Postby Chris H. » 12 Jul 2010, 17:30

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)
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

PreviousNext

Return to Forge

Who is online

Users browsing this forum: No registered users and 35 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 35 users online :: 0 registered, 0 hidden and 35 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 35 guests

Login Form