Current Known Bugs list
by mtgrares
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Current Known Bugs list
by DennisBergkamp » 15 Oct 2009, 18:36
Wow, well those conditions should be pretty easy to recreate. I'll do that and try some debugging to see what the heck is going on exactly 

-
DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
Re: Current Known Bugs list
by indicatie » 15 Oct 2009, 18:42
I used these decks:DennisBergkamp wrote:Wow, well those conditions should be pretty easy to recreate. I'll do that and try some debugging to see what the heck is going on exactly
COMPY (TEST.deck):
60 Total Cards
40 Creatures
-------------
40x Metallic Sliver
0 Spells
----------
20 Land
--------
20x Tower of the Magistrate
ME (TestLuXunNicolBo.deck)
60 Total Cards
20 Creatures
-------------
4x Crimson Kobolds
4x Crookshank Kobolds
4x Kobolds of Kher Keep
4x Lu Xun, Scholar General
4x Ornithopter
24 Spells
----------
4x Black Lotus
4x Demonic Tutor
4x Mox Jet
4x Mox Ruby
4x Mox Sapphire
4x Nicol Bolas, Planeswalker
16 Land
--------
4x Badlands
2x Blood Crypt
4x Underground Sea
4x Volcanic Island
2x Watery Grave
Don't mistake lack of talent for genius.
Re: Current Known Bugs list
by DennisBergkamp » 15 Oct 2009, 18:47
Nice! That saves me a bunch of time, thanks 

-
DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
Re: Current Known Bugs list
by DennisBergkamp » 15 Oct 2009, 19:21
And it should be fixed 
For some reason, the unblockedMap wasn't getting reset. At the beginning of a regular (non-planeswalker) attack, this probably always resets, but since the AI attacks a planeswalker, it doesn't.
Nicely spotted, this was a big bug.. I just hope I'm not missing anything here, and that it won't cause some other unforeseen bugs.

For some reason, the unblockedMap wasn't getting reset. At the beginning of a regular (non-planeswalker) attack, this probably always resets, but since the AI attacks a planeswalker, it doesn't.
Nicely spotted, this was a big bug.. I just hope I'm not missing anything here, and that it won't cause some other unforeseen bugs.
-
DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
Re: Current Known Bugs list
by Mr.Chaos » 15 Oct 2009, 19:31
Yay! I have scored me another error message.
With the new mana pool in the latest beta, I decided to play with saproling tokens again.
My deck: Saproling_ChargeV2
Compy: zzz (just wanted to see how easy mana turned into saprolings, so I used this deck)
Situation: compy has a few lands and some walls out, I have an Essence Warden, Nemata, Grove Guardian, Mycoloth with 18 counters on it and Rhys the Redeemed in play. I also have some Forest s, a Gaea's Cradle and a Mox Emerald in play.
I tap the cradle for mana, then tap Rhys for his 6 mana ability and instead of a heap of tokens I get the error message.
Making tokens with the cradle and Nemata works as it should, but Rhys goes crazy. This was the very first time I tapped rhys in the new beta, so I cannot compare it to other situations.
But Gaea's Cradle was the only land I tapped for mana. Although, I never got to use the mana, the error popped up as soon as I tapped Rhys for his ability.
Oh, there where just over 80 saproling tokens already in play when the error showed up.
Here is the error report:
---------------------------------------------------------------------------
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
String index out of range: 2
Detailed error trace:
java.lang.StringIndexOutOfBoundsException: String index out of range: 2
at java.lang.String.charAt(Unknown Source)
at ManaPool.oraclize(ManaPool.java:98)
at ManaPool.subtractMana(ManaPool.java:212)
at Input_PayManaCostUtil.tapCard(Input_PayManaCostUtil.java:10)
at Input_PayManaCost.selectCard(Input_PayManaCost.java:42)
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)
---------------------------------------------------------------------------------

With the new mana pool in the latest beta, I decided to play with saproling tokens again.
My deck: Saproling_ChargeV2
Compy: zzz (just wanted to see how easy mana turned into saprolings, so I used this deck)
Situation: compy has a few lands and some walls out, I have an Essence Warden, Nemata, Grove Guardian, Mycoloth with 18 counters on it and Rhys the Redeemed in play. I also have some Forest s, a Gaea's Cradle and a Mox Emerald in play.
I tap the cradle for mana, then tap Rhys for his 6 mana ability and instead of a heap of tokens I get the error message.

Making tokens with the cradle and Nemata works as it should, but Rhys goes crazy. This was the very first time I tapped rhys in the new beta, so I cannot compare it to other situations.
But Gaea's Cradle was the only land I tapped for mana. Although, I never got to use the mana, the error popped up as soon as I tapped Rhys for his ability.
Oh, there where just over 80 saproling tokens already in play when the error showed up.
Here is the error report:
---------------------------------------------------------------------------
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
String index out of range: 2
Detailed error trace:
java.lang.StringIndexOutOfBoundsException: String index out of range: 2
at java.lang.String.charAt(Unknown Source)
at ManaPool.oraclize(ManaPool.java:98)
at ManaPool.subtractMana(ManaPool.java:212)
at Input_PayManaCostUtil.tapCard(Input_PayManaCostUtil.java:10)
at Input_PayManaCost.selectCard(Input_PayManaCost.java:42)
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)
---------------------------------------------------------------------------------
](./images/smilies/eusa_wall.gif)

- Mr.Chaos
- Tester
- Posts: 625
- Joined: 06 Sep 2008, 08:15
- Has thanked: 0 time
- Been thanked: 0 time
Re: Current Known Bugs list
by DennisBergkamp » 15 Oct 2009, 19:55
This latter bug is a manapool update related bug... maybe zerker knows how to fix this ?
-
DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
Re: Current Known Bugs list
by zerker2000 » 16 Oct 2009, 01:34
Oops, index error: ManaPool line 98 should say charAt(1) instead of charAt(2)
.

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
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
by DennisBergkamp » 16 Oct 2009, 05:16
Nice, I'll update that
Too bad it's just too late for the new Beta, but ah well.

-
DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
Re: Current Known Bugs list
by freestorageaccount » 16 Oct 2009, 08:20
Keeper of Kookus gets killed by Tremor whether or not its ability has been used. I don't know if this bug is specific to one of these cards or has to do with protection in general.
-- 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.
The Great Wall of Bugs. Gando, you will not be forgotten.
And a chip off the old block.
-
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
by Marek14 » 16 Oct 2009, 16:24
Kazandu Blademaster came and didn't get a counter.
Re: Current Known Bugs list
by DennisBergkamp » 16 Oct 2009, 16:39
It's a bug with Tremor (it will damage pro red creatures), fixed it though.
For Kazandu Blademaster, I forgot to add "Ally" to his creature type in cards.txt, it should work after adding it.
For Kazandu Blademaster, I forgot to add "Ally" to his creature type in cards.txt, it should work after adding it.
-
DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
Re: Current Known Bugs list
by Marek14 » 16 Oct 2009, 18:54
OK, though technically putting counter on itself is not dependent on the Ally subtype (it triggers either on itself, or on another Ally).DennisBergkamp wrote:It's a bug with Tremor (it will damage pro red creatures), fixed it though.
For Kazandu Blademaster, I forgot to add "Ally" to his creature type in cards.txt, it should work after adding it.
It doesn't usually matter, but Blademaster would for example get a counter even if it comes into play under Conspiracy.
Re: Current Known Bugs list
by DennisBergkamp » 16 Oct 2009, 19:23
This is a good point, I hadn't thought of that. I will try to fix this.
By the way, Conspiracy set to Ally and playing a Turntimber Ranger will also work in Forge ( = arbitrarily big Ranger and arbitrarily many wolves
).
By the way, Conspiracy set to Ally and playing a Turntimber Ranger will also work in Forge ( = arbitrarily big Ranger and arbitrarily many wolves

-
DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
Re: Current Known Bugs list
by Marek14 » 16 Oct 2009, 20:48
Can AI use that combo?DennisBergkamp wrote:This is a good point, I hadn't thought of that. I will try to fix this.
By the way, Conspiracy set to Ally and playing a Turntimber Ranger will also work in Forge ( = arbitrarily big Ranger and arbitrarily many wolves).
Re: Current Known Bugs list
by DennisBergkamp » 16 Oct 2009, 21:01
Not yet. Well it can, but it would just keep on making Wolves. I'll add some check where it will stop at a certain point.
-
DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
Who is online
Users browsing this forum: No registered users and 33 guests