It is currently 27 Jun 2025, 21:20
   
Text Size

Current Known Bugs list

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

Re: Current Known Bugs list

Postby Marek14 » 03 Oct 2009, 16:36

DennisBergkamp wrote:AEtherflame Wall should also work correctly, except it also didn't have the text, I just fixed that. I will add Heartwood Dryad, maybe we should turn this into a keyword too (it's very easy) - that way we could add AEther Web a lot more easily too.
Does the interaction with shadow work correctly? (I.e. if you give Wall of Diffusion shadow, it should be unable to block anything.)
Marek14
Tester
 
Posts: 2772
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 302 times

Re: Current Known Bugs list

Postby DennisBergkamp » 03 Oct 2009, 17:25

Marek14 wrote:
DennisBergkamp wrote:AEtherflame Wall should also work correctly, except it also didn't have the text, I just fixed that. I will add Heartwood Dryad, maybe we should turn this into a keyword too (it's very easy) - that way we could add AEther Web a lot more easily too.
Does the interaction with shadow work correctly? (I.e. if you give Wall of Diffusion shadow, it should be unable to block anything.)
Haha, wow. Never thought of that, but no currently that doesn't work. Let me see if I can add that in.
I've changed this ability into a keyword by the way.
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 zerker2000 » 03 Oct 2009, 17:33

Marek14 wrote:
DennisBergkamp wrote:AEtherflame Wall should also work correctly, except it also didn't have the text, I just fixed that. I will add Heartwood Dryad, maybe we should turn this into a keyword too (it's very easy) - that way we could add AEther Web a lot more easily too.
Does the interaction with shadow work correctly? (I.e. if you give Wall of Diffusion shadow, it should be unable to block anything.)
Eh? The text is "can block creatures with shadow as though they didn't have shadow", which implies it can block them "as though" they do too.
O forest, hold thy wand'ring son
Though fears assail the door.
O foliage, cloak thy ravaged one
In vestments cut for war.


--Eladamri, the Seed of Freyalise
zerker2000
Programmer
 
Posts: 569
Joined: 09 May 2009, 21:40
Location: South Pasadena, CA
Has thanked: 0 time
Been thanked: 0 time

Re: Current Known Bugs list

Postby DennisBergkamp » 03 Oct 2009, 17:45

No he's right:

Rules clarifications:
9/25/2006 AEtherflame Wall can block creatures with shadow and creatures without shadow.
9/25/2006 If AEtherflame Wall gains shadow, it won't be able to block any creatures (not even those with shadow).

I've just added it in though, and noticed + fixed some other bugs with Shadow currently in Forge.
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 Marek14 » 03 Oct 2009, 17:59

DennisBergkamp wrote:No he's right:

Rules clarifications:
9/25/2006 AEtherflame Wall can block creatures with shadow and creatures without shadow.
9/25/2006 If AEtherflame Wall gains shadow, it won't be able to block any creatures (not even those with shadow).

I've just added it in though, and noticed + fixed some other bugs with Shadow currently in Forge.
The reason is that if it gains shadow, it still blocks creatures with shadow as though they did not have shadow - but if they didn't have shadow, a creature with shadow WOULDN'T be able to block them!

Edit: New bug found - the ability of Sun Quan, Lord of Wu doesn't work.

Ogre Warrior is missing the subtype Warrior

When I stole Changeling Titan using Act of Treason, AI got the championed creature back.

AI used Dragon Blood and put counter on Kodama of the North Tree (it has shroud, so it shouldn't be able to target it).

Emeria Angel is 4/4 instead of 3/3.

Umbral Mantle's bonus still doesn't expire - ever.
Marek14
Tester
 
Posts: 2772
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 302 times

Re: Current Known Bugs list

Postby DennisBergkamp » 04 Oct 2009, 01:54

Rob Cashwalker wrote:
But it looks like the keywords associated with the others are wiping out the keyword, kind of similar to the cycling code, yes.
I think we definitely should put an if block around all spell keywords that does the clearSpellAbility once and once only.
Yes, this is a good idea.
However, I think there's something else going on here though. Obliterate doesn't use any other keywords (other than "This card can't be countered."). This still gets removed though somehow (even if I comment out the clearSpellAbility(), and the keyword still doesn't show up when I explicitly add a "card.addIntrinsicKeyword("This card can't be countered"); after the clearSpellAbility().

#-o
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 freestorageaccount » 04 Oct 2009, 05:25

In addition to not requiring a target to be played, Sower of Temptation's effect should not end when another player gains control of it -- the ability is contingent only upon it remaining 'in play' under anyone's control at all.

Creatures that must attack each turn if able such as Bloodrock Cyclops can attack only the opponent and never a planeswalker, at least when it's the user's turn. I am not sure if the computer's creatures are subject to the same restriction. Also, if additional combat phases are ever implemented (e.g., for Relentless Assault), these creatures are not required to attack again -- if they can, they have to just 'attack' during each turn rather than attack every time possible or attack during each combat.
-- 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 Mr.Chaos » 04 Oct 2009, 14:13

This error message showed up while I tried to cast Howling Mine.
Second time I got a message like this, the game can be continued but I keep getting error messages then for every card I try to play.
I saved this 2nd file to the same folder I saved the first and it removed the first message, I gues they had the same name. I did not pay attention to that. :oops: So, only 1 message, for 2 similar events in 2 separate games. (Separate as in, shutting down the game completely then starting forge anew)

Oh, I played the guilty doll deck, compy had a randomly generated deck.
=====
An error has occured. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
mtgrares@yahoo.com

0

Detailed error trace:
java.lang.ArrayIndexOutOfBoundsException: 0
at ComputerAI_counterSpells$1.addCard(ComputerAI_counterSpells.java:82)
at CardList.filter(CardList.java:125)
at ComputerAI_counterSpells.getPlayableCounterSpells(ComputerAI_counterSpells.java:78)
at ComputerAI_counterSpells.hasPlayableCounterSpells(ComputerAI_counterSpells.java:66)
at ComputerAI_counterSpells.counter_CreatureSpell(ComputerAI_counterSpells.java:15)
at ComputerAI_counterSpells.counter_Spell(ComputerAI_counterSpells.java:7)
at MagicStack.push(MagicStack.java:35)
at MagicStack.add(MagicStack.java:18)
at Input_PayManaCost.done(Input_PayManaCost.java:66)
at Input_PayManaCost.selectCard(Input_PayManaCost.java:51)
at GuiInput.selectCard(GuiInput.java:35)
at GuiDisplay3$8.mousePressed(GuiDisplay3.java:309)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
](*,) = coder at work, according to a coder.It does explain some of the bugs. :wink:
Mr.Chaos
Tester
 
Posts: 625
Joined: 06 Sep 2008, 08:15
Has thanked: 0 time
Been thanked: 0 time

Re: Current Known Bugs list

Postby Mr.Chaos » 04 Oct 2009, 14:17

New game, new weirdness.
Empty the Warrens is the culprit. If compy plays it as it's first card of the turn, he still gets 4 instead of 2 goblin tokens.
He should just get 2 tokens.
](*,) = coder at work, according to a coder.It does explain some of the bugs. :wink:
Mr.Chaos
Tester
 
Posts: 625
Joined: 06 Sep 2008, 08:15
Has thanked: 0 time
Been thanked: 0 time

Re: Current Known Bugs list

Postby Mr.Chaos » 04 Oct 2009, 14:22

Errors galore for me this afternoon!
Here I tried to cast a Mox Pearl, then the error showed up.
This happened a few turns after compy played Empty the Warrens. Again, I play the Guilty Doll deck, compy has a random generated deck.

=====
An error has occured. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
mtgrares@yahoo.com

0

Detailed error trace:
java.lang.ArrayIndexOutOfBoundsException: 0
at ComputerAI_counterSpells$1.addCard(ComputerAI_counterSpells.java:82)
at CardList.filter(CardList.java:125)
at ComputerAI_counterSpells.getPlayableCounterSpells(ComputerAI_counterSpells.java:78)
at ComputerAI_counterSpells.hasPlayableCounterSpells(ComputerAI_counterSpells.java:66)
at ComputerAI_counterSpells.counter_NonCreatureSpell(ComputerAI_counterSpells.java:43)
at ComputerAI_counterSpells.counter_Spell(ComputerAI_counterSpells.java:10)
at MagicStack.push(MagicStack.java:35)
at MagicStack.add(MagicStack.java:18)
at InputUtil.playAnyCard(InputUtil.java:25)
at Input_Main.selectCard(Input_Main.java:45)
at GuiInput.selectCard(GuiInput.java:35)
at GuiDisplay3$10.mousePressed(GuiDisplay3.java:346)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
](*,) = coder at work, according to a coder.It does explain some of the bugs. :wink:
Mr.Chaos
Tester
 
Posts: 625
Joined: 06 Sep 2008, 08:15
Has thanked: 0 time
Been thanked: 0 time

Re: Current Known Bugs list

Postby merkantini » 04 Oct 2009, 17:08

Well, this is not exactly a bug, it is more an observation...
During coumputer's turn there should be at least a phase in which you could be able to play instants before declaring blockers, otherwise creature cards with Flash, Mishra's Factory and so on would be useless, considering that you can't play them/activate them before declaring blockers.
So the order IMHO should be:
1) Play instants
2) Declare blockers
3) Play instants
4) First strike damage
...and so on

Another suggestion... During gameplay it is usually confusing wether it's your turn or still computer's turn, so sometimes happens that during the computer's attack phase, in which you have to click the mouse button many times, sometimes you click one time too much, so your turn starts and you have already gone to the attack phase! :)

I think it has happened at least once to everyone of us, right? :)
Maybe when we finally got that fourth land we needed to play that creature with haste we had in our hand from the beginning of the match :lol:

Could you make computer's turns and player's turns more visible? I think even a small thing would help, I was thinking at coloring let's say blue the actions during computer turn and maybe adding something like Computer: at the beginning of the line and Player: for the player's turn.

Another thing that would really, really help it would be a small popup, even if it would last only one second, with written something like "Player turn starts" or sthg the like, I think it would be of great help to separate Player's turns from Computer's turns.
merkantini
 
Posts: 3
Joined: 29 Sep 2009, 08:17
Has thanked: 0 time
Been thanked: 0 time

Re: Current Known Bugs list

Postby silly freak » 04 Oct 2009, 17:12

It seems that the counter code has a bug, doesn't like cards without a SpellAbility. this is the lands, i guess?
___

where's the "trust me, that will work!" switch for the compiler?
Laterna Magica - blog, forum, project, 2010/09/06 release!
silly freak
DEVELOPER
 
Posts: 598
Joined: 26 Mar 2009, 07:18
Location: Vienna, Austria
Has thanked: 93 times
Been thanked: 25 times

Re: Current Known Bugs list

Postby DennisBergkamp » 04 Oct 2009, 17:26

Yes, it must be. It's definitely line 82 in ComputerAI_counterSpells:

Code: Select all
SpellAbility sa = c.getSpellAbility()[0];
Strange though, I've tested this with many lands for the AI.
This should fix it though:

Code: Select all
list = list.filter(new CardListFilter()
      {
         
         public boolean addCard(Card c) {
            if (c.getSpellAbility().length == 0)
               return false;
            
            SpellAbility sa = c.getSpellAbility()[0];

            return c.getName().equals("Counterspell") || c.getName().equals("Cancel") ||
                  c.getName().equals("Remand") || c.getName().equals("Mystic Snake") ||
                   c.getName().equals("Absorb") || c.getName().equals("Undermine") ||
                   c.getName().equals("Punish Ignorance") || c.getName().equals("Dismiss")
                  && ComputerUtil.canPayCost(sa);
         }   
      });
      
And:

Code: Select all
public static CardList getPlayableCreatureCounterSpells()
   {
      PlayerZone hand = AllZone.getZone(Constant.Zone.Hand, Constant.Player.Computer);
      CardList list = new CardList(hand.getCards());
      list = list.filter(new CardListFilter()
      {
         public boolean addCard(Card c) {
            if (c.getSpellAbility().length == 0)
               return false;
            
            SpellAbility sa = c.getSpellAbility()[0];
            return c.getName().equals("Exclude") || c.getName().equals("Overwhelming Intellect") ||
                  c.getName().equals("Preemptive Strike") || c.getName().equals("False Summoning") ||
                   c.getName().equals("Essence Strike") || c.getName().equals("Essence Shatter") ||
                   c.getName().equals("Remove Soul")
                  && ComputerUtil.canPayCost(sa);
         }   
      });
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 Mr.Chaos » 04 Oct 2009, 19:03

Scored me another crash, here is the dirt: (this time, compy decided to think... it happened on his turn)
=====
An error has occured. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
mtgrares@yahoo.com

ComputerUtil : payManaCost() cost was not paid

Detailed error trace:
java.lang.RuntimeException: ComputerUtil : payManaCost() cost was not paid
at ComputerUtil.payManaCost(ComputerUtil.java:194)
at ComputerUtil.playCards(ComputerUtil.java:37)
at ComputerAI_General.playCards(ComputerAI_General.java:44)
at ComputerAI_General.main1(ComputerAI_General.java:32)
at ComputerAI_Input.think(ComputerAI_Input.java:30)
at ComputerAI_Input.showMessage(ComputerAI_Input.java:22)
at GuiInput.setInput(GuiInput.java:23)
at GuiInput.update(GuiInput.java:17)
at java.util.Observable.notifyObservers(Unknown Source)
at java.util.Observable.notifyObservers(Unknown Source)
at MyObservable.updateObservers(MyObservable.java:9)
at Phase.nextPhase(Phase.java:106)
at Phase.nextPhase(Phase.java:110)
at Phase.nextPhase(Phase.java:110)
at Phase.nextPhase(Phase.java:110)
at Phase.nextPhase(Phase.java:110)
at Phase.nextPhase(Phase.java:110)
at GuiDisplay3$25.actionPerformed(GuiDisplay3.java:781)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
](*,) = coder at work, according to a coder.It does explain some of the bugs. :wink:
Mr.Chaos
Tester
 
Posts: 625
Joined: 06 Sep 2008, 08:15
Has thanked: 0 time
Been thanked: 0 time

Re: Current Known Bugs list

Postby DennisBergkamp » 04 Oct 2009, 19:43

This last one is more interesting (and doesn't have anything to do with the AI counterspells). Do you remember which deck the AI was playing, or was it some randomly generated deck?
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

PreviousNext

Return to Forge

Who is online

Users browsing this forum: No registered users and 22 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 22 users online :: 0 registered, 0 hidden and 22 guests (based on users active over the past 10 minutes)
Most users ever online was 5050 on 26 Jun 2025, 06:02

Users browsing this forum: No registered users and 22 guests

Login Form