Page 290 of 441

Re: Current Known Bugs list

PostPosted: 24 Mar 2011, 21:11
by gos
When the AI attempts to play Fault Line, I get the following error:

Code: Select all
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:
   http://www.slightlymagic.net/forum/viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
   mtgerror@yahoo.com


There is an error in the card code for Fault Line:



Version:
Forge -- official beta: $Date: 2011-01-06 11:34:48 -0500 (Thu, 06 Jan 2011) $, SVN revision: $Revision: 4891 $

OS: Windows XP Version: 5.1 Architecture: x86

Java Version: 1.6.0_13 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.NumberFormatException: For input string: "X"
   at java.lang.NumberFormatException.forInputString(Unknown Source)
   at java.lang.Integer.parseInt(Unknown Source)
   at java.lang.Integer.parseInt(Unknown Source)
   at forge.AbilityFactory.calculateAmount(AbilityFactory.java:720)
   at forge.AbilityFactory_DealDamage.getNumDamage(AbilityFactory_DealDamage.java:147)
   at forge.AbilityFactory_DealDamage.damageAllCanPlayAI(AbilityFactory_DealDamage.java:670)
   at forge.AbilityFactory_DealDamage.access$7(AbilityFactory_DealDamage.java:654)
   at forge.AbilityFactory_DealDamage$6.canPlayAI(AbilityFactory_DealDamage.java:593)
   at forge.ComputerAI_General.getPlayable(ComputerAI_General.java:178)
   at forge.ComputerAI_General.getOtherPhases(ComputerAI_General.java:165)
   at forge.ComputerAI_General.stackResponse(ComputerAI_General.java:248)
   at forge.ComputerAI_General.stack_not_empty(ComputerAI_General.java:241)
   at forge.ComputerAI_Input.think(ComputerAI_Input.java:68)
   at forge.ComputerAI_Input.showMessage(ComputerAI_Input.java:31)
   at forge.GuiInput.setInput(GuiInput.java:27)
   at forge.GuiInput.update(GuiInput.java:21)
   at java.util.Observable.notifyObservers(Unknown Source)
   at java.util.Observable.notifyObservers(Unknown Source)
   at forge.MyObservable.updateObservers(MyObservable.java:9)
   at forge.Phase.nextPhase(Phase.java:377)
   at forge.Phase.nextPhase(Phase.java:380)
   at forge.Phase.nextPhase(Phase.java:380)
   at forge.Input_Cleanup.showMessage(Input_Cleanup.java:28)
   at forge.GuiInput.setInput(GuiInput.java:27)
   at forge.GuiInput.update(GuiInput.java:21)
   at java.util.Observable.notifyObservers(Unknown Source)
   at java.util.Observable.notifyObservers(Unknown Source)
   at forge.MyObservable.updateObservers(MyObservable.java:9)
   at forge.Phase.nextPhase(Phase.java:377)
   at forge.GuiDisplay4$25.actionPerformed(GuiDisplay4.java:740)
   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)

Re: Current Known Bugs list

PostPosted: 24 Mar 2011, 21:54
by Sloth
timmermac wrote:
Sloth wrote:
timmermac wrote::!: Basal Sliver is causing NPE's and errors in card code when it is in play.
Did the AI have Slivers on the battlefield or just you?
I think in both of the cases where I've noticed this, both the computer and I have been playing with Sliver decks of on form or another.
Fixed! Thanks timmermac.

Re: Current Known Bugs list

PostPosted: 24 Mar 2011, 22:54
by Chris H.
gos wrote:When the AI attempts to play Fault Line, I get the following error:

Code: Select all
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:
   http://www.slightlymagic.net/forum/viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
   mtgerror@yahoo.com


There is an error in the card code for Fault Line:



Version:
Forge -- official beta: $Date: 2011-01-06 11:34:48 -0500 (Thu, 06 Jan 2011) $, SVN revision: $Revision: 4891 $

OS: Windows XP Version: 5.1 Architecture: x86

Java Version: 1.6.0_13 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.NumberFormatException: For input string: "X"
   at java.lang.NumberFormatException.forInputString(Unknown Source)
   at java.lang.Integer.parseInt(Unknown Source)
   at java.lang.Integer.parseInt(Unknown Source)
   at forge.AbilityFactory.calculateAmount(AbilityFactory.java:720)
   at forge.AbilityFactory_DealDamage.getNumDamage(AbilityFactory_DealDamage.java:147)
   at forge.AbilityFactory_DealDamage.damageAllCanPlayAI(AbilityFactory_DealDamage.java:670)
   at forge.AbilityFactory_DealDamage.access$7(AbilityFactory_DealDamage.java:654)
   at forge.AbilityFactory_DealDamage$6.canPlayAI(AbilityFactory_DealDamage.java:593)
   at forge.ComputerAI_General.getPlayable(ComputerAI_General.java:178)
   at forge.ComputerAI_General.getOtherPhases(ComputerAI_General.java:165)
   at forge.ComputerAI_General.stackResponse(ComputerAI_General.java:248)
   at forge.ComputerAI_General.stack_not_empty(ComputerAI_General.java:241)
   at forge.ComputerAI_Input.think(ComputerAI_Input.java:68)
   at forge.ComputerAI_Input.showMessage(ComputerAI_Input.java:31)
   at forge.GuiInput.setInput(GuiInput.java:27)
   at forge.GuiInput.update(GuiInput.java:21)
   at java.util.Observable.notifyObservers(Unknown Source)
   at java.util.Observable.notifyObservers(Unknown Source)
   at forge.MyObservable.updateObservers(MyObservable.java:9)
   at forge.Phase.nextPhase(Phase.java:377)
   at forge.Phase.nextPhase(Phase.java:380)
   at forge.Phase.nextPhase(Phase.java:380)
   at forge.Input_Cleanup.showMessage(Input_Cleanup.java:28)
   at forge.GuiInput.setInput(GuiInput.java:27)
   at forge.GuiInput.update(GuiInput.java:21)
   at java.util.Observable.notifyObservers(Unknown Source)
   at java.util.Observable.notifyObservers(Unknown Source)
   at forge.MyObservable.updateObservers(MyObservable.java:9)
   at forge.Phase.nextPhase(Phase.java:377)
   at forge.GuiDisplay4$25.actionPerformed(GuiDisplay4.java:740)
   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)
`
Fixed, added the missing SVar.

Re: Current Known Bugs list

PostPosted: 25 Mar 2011, 17:32
by Bundy
With 2 Doubling Season in play i used Kiki-Jiki, Mirror Breaker to copy Archon of Justice, giving 4 token copies of it. At the end of the turn when you sacrifice the tokens, the triggerd ability of Archon of Justice did not trigger.
When the real Archon of Justice goes to the graveyard the ability works and i can pick a target permanent to exile. The copies just do nothing.

EDIT- Maybe useful to add that the 4 copies of Rukh Egg i made gave me the bird tokens at the end of the turn. I could also use the untap ability of the 4 copies of Seeker of Skybreak i made.

friarsol wrote:The AI shouldn't have Gaea's Cradle in his deck. He doesn't know how to use it properly.
This happened when i let the AI pick a random deck. It choose one of my custom decks. Maybe the decks can be separated in 2 different folders to prevent this from happening, an AI decks folder and a player decks folder? Or is this already possible and something i just don't know?

Re: Current Known Bugs list

PostPosted: 25 Mar 2011, 18:23
by Chris H.
Bundy wrote:
friarsol wrote:The AI shouldn't have Gaea's Cradle in his deck. He doesn't know how to use it properly.
This happened when i let the AI pick a random deck. It choose one of my custom decks. Maybe the decks can be separated in 2 different folders to prevent this from happening, an AI decks folder and a player decks folder? Or is this already possible and something i just don't know?
`
The "Random" deck option was designed primarily for the human player. It does not work very well for the computer as there are cards that the computer can not use.

If your human decks have cards that the computer can not use at all or can not use effectively, well then these types of situation can come up. The "Random" deck option for the computer should be avoided for the time being.

Sloth and I spent some time this last week improving the "Generate Deck" option. This should create a random deck for the AI which should only include cards that the AI can use. I will release a new beta this upcoming weekend with this improvement. :D

You can select "Random" for just yourself and this will lead to a better match-up.

Re: Current Known Bugs list

PostPosted: 26 Mar 2011, 12:54
by eidolon
The "Random" deck option was designed primarily for the human player. It does not work very well for the computer as there are cards that the computer can not use.
Would it be possible to have an option, which restricts the random AI decks to decks, which only contain cards, that they can use?

Re: Current Known Bugs list

PostPosted: 26 Mar 2011, 13:31
by Chris H.
eidolon wrote:Would it be possible to have an option, which restricts the random AI decks to decks, which only contain cards, that they can use?
`
That is an interesting idea.

If you look at the files located in the /forge/res/cardsfolder/ directory you will find that every card included in forge has its own file. Some of these card files have the following line:

SVar:RemAIDeck:True

and this line denotes that the computer can not use this card. We would need to be able to handle situations where there were no valid decks in the decks folder for the AI.

Re: Current Known Bugs list

PostPosted: 26 Mar 2011, 17:21
by gos
Strangling Soot only costs 1B to cast normally, should cost 2B.

Re: Current Known Bugs list

PostPosted: 26 Mar 2011, 17:25
by friarsol
gos wrote:Strangling Soot only costs 1B to cast normally, should cost 2B.
Fixed in the SVN. To fix locally goto /res/cardsfolder and open strangling_soot.txt you should see the offending typo Cost$ 1 B on the 5th line.

Re: Current Known Bugs list

PostPosted: 26 Mar 2011, 17:28
by Bundy
I have It That Betrays in play and attack with Ulamog's Crusher, triggering Annihilator 2. The AI sacrifices 2 nontoken permanents. Only the first sacrificed card comes into play under my control, the second goes to the graveyard.

Re: Current Known Bugs list

PostPosted: 26 Mar 2011, 19:05
by gos
The AI is using Gemstone Array and I get this error:

Code: Select all
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:
   http://www.slightlymagic.net/forum/viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
   mtgerror@yahoo.com


ComputerUtil : payManaCost() cost was not paid for Gemstone Array


Version:
Forge -- official beta: $Date: 2011-01-06 11:34:48 -0500 (Thu, 06 Jan 2011) $, SVN revision: $Revision: 4891 $

OS: Windows XP Version: 5.1 Architecture: x86

Java Version: 1.6.0_13 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.RuntimeException: ComputerUtil : payManaCost() cost was not paid for Gemstone Array
   at forge.ComputerUtil.payManaCost(ComputerUtil.java:561)
   at forge.Cost_Payment.payComputerCosts(Cost_Payment.java:562)
   at forge.ComputerUtil.playCards(ComputerUtil.java:47)
   at forge.ComputerAI_General.stackResponse(ComputerAI_General.java:254)
   at forge.ComputerAI_General.stack_not_empty(ComputerAI_General.java:241)
   at forge.InputControl.updateInput(InputControl.java:145)
   at forge.GuiInput.update(GuiInput.java:19)
   at java.util.Observable.notifyObservers(Unknown Source)
   at java.util.Observable.notifyObservers(Unknown Source)
   at forge.MyObservable.updateObservers(MyObservable.java:9)
   at forge.InputControl.resetInput(InputControl.java:52)
   at forge.Phase.passPriority(Phase.java:517)
   at forge.Input_PassPriority.selectButtonOK(Input_PassPriority.java:35)
   at forge.GuiInput.selectButtonOK(GuiInput.java:35)
   at forge.GuiDisplay4.okButtonActionPerformed(GuiDisplay4.java:948)
   at forge.GuiDisplay4.access$3(GuiDisplay4.java:947)
   at forge.GuiDisplay4$25.actionPerformed(GuiDisplay4.java:735)
   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)

Re: Current Known Bugs list

PostPosted: 27 Mar 2011, 20:26
by Xitax
Opponent's Geth's Grimoire is causing me to draw cards.

Re: Current Known Bugs list

PostPosted: 28 Mar 2011, 10:04
by cc-drake
- Playing Sarcomancy leads to
Code: Select all
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:
   http://www.slightlymagic.net/forum/viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
   mtgerror@yahoo.com


Index: 0, Size: 0


Version:
Forge -- official beta: $Date: 2011-01-06 11:34:48 -0500 (Thu, 06 Jan 2011) $, SVN revision: $Revision: 4891 $

OS: Windows XP Version: 5.1 Architecture: x86

Java Version: 1.6.0_24 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
   at java.util.ArrayList.RangeCheck(Unknown Source)
   at java.util.ArrayList.get(Unknown Source)
   at forge.card.abilityFactory.AbilityFactory_Token.doResolve(AbilityFactory_Token.java:346)
   at forge.card.abilityFactory.AbilityFactory_Token.access$1(AbilityFactory_Token.java:305)
   at forge.card.abilityFactory.AbilityFactory_Token$1.resolve(AbilityFactory_Token.java:130)
   at forge.card.spellability.SpellAbility_Requirements.finishPaying(SpellAbility_Requirements.java:90)
   at forge.card.spellability.Cost_Payment.payCost(Cost_Payment.java:411)
   at forge.card.spellability.SpellAbility_Requirements.startPaying(SpellAbility_Requirements.java:82)
   at forge.card.spellability.SpellAbility_Requirements.needPayment(SpellAbility_Requirements.java:75)
   at forge.card.spellability.SpellAbility_Requirements.fillRequirements(SpellAbility_Requirements.java:53)
   at forge.GameAction.playSpellAbility_NoStack(GameAction.java:3262)
   at forge.card.trigger.TriggerHandler$2.resolve(TriggerHandler.java:894)
   at forge.MagicStack.resolveStack(MagicStack.java:682)
   at forge.Phase.passPriority(Phase.java:524)
   at forge.ComputerAI_General.stackResponse(ComputerAI_General.java:289)
   at forge.ComputerAI_General.stack_not_empty(ComputerAI_General.java:244)
   at forge.gui.input.InputControl.updateInput(InputControl.java:151)
   at forge.GuiInput.update(GuiInput.java:21)
   at java.util.Observable.notifyObservers(Unknown Source)
   at java.util.Observable.notifyObservers(Unknown Source)
   at forge.MyObservable.updateObservers(MyObservable.java:9)
   at forge.gui.input.InputControl.resetInput(InputControl.java:58)
   at forge.Phase.passPriority(Phase.java:515)
   at forge.gui.input.Input_PassPriority.selectButtonOK(Input_PassPriority.java:42)
   at forge.GuiInput.selectButtonOK(GuiInput.java:37)
   at forge.GuiDisplay4.okButtonActionPerformed(GuiDisplay4.java:954)
   at forge.GuiDisplay4.access$3(GuiDisplay4.java:953)
   at forge.GuiDisplay4$25.actionPerformed(GuiDisplay4.java:741)
   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.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$000(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$2.run(Unknown Source)
   at java.awt.EventQueue$2.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(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)

Re: Current Known Bugs list

PostPosted: 28 Mar 2011, 10:22
by Hellfish
Sarcomancy fixed on SVN, it wasn't updated to the new way of using TokenOwner$ ( I thought I did that, though). Thanks!

Re: Current Known Bugs list

PostPosted: 28 Mar 2011, 11:32
by cc-drake
- A level 6 Kazandu Tuskcaller has
Tap: Put a 3/3 green Elephant creature token onto the battlefield.
Tap: Put two 3/3 green Elephant creature tokens onto the battlefield.
but should lose it's first ability.
- If AI attacks with an unblocked attacker like Thalakos Deceiver or Haunted Cadaver, AI doesn't have to sacrifice it to activate it's ability