Bug Reports (snapshot builds)
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Bug Reports (snapshot builds)
by Agetian » 11 Oct 2016, 17:00
Ah, nice catch, Hanmac, thanks a lot for helping out!
- Agetian

- Agetian
- Agetian
- Programmer
- Posts: 3487
- Joined: 14 Mar 2011, 05:58
- Has thanked: 683 times
- Been thanked: 569 times
Re: Bug Reports (snapshot builds)
by Hanmac » 12 Oct 2016, 09:49
r32331:
hm Marionette Master has a little bug.
if it dies the same time as the artifacts, it uses the wrong power.
(it should have used that power it has while it was on the battlefield)
this might be a bit complicated, because of this:
hm maybe something with my changes with the Trigger might broke it.
===
also its trigger need to be updated to use CARDNAME.
later DeckHints and DeckHas should be added too.
hm Marionette Master has a little bug.
if it dies the same time as the artifacts, it uses the wrong power.
(it should have used that power it has while it was on the battlefield)
this might be a bit complicated, because of this:
- Code: Select all
else {
// get CardState does not work for transformed cards
// also its about LKI
if (host.isInZone(ZoneType.Battlefield) || !host.hasAlternateState()) {
host = game.getCardState(host);
}
}
hm maybe something with my changes with the Trigger might broke it.
===
also its trigger need to be updated to use CARDNAME.
later DeckHints and DeckHas should be added too.
Re: Bug Reports (snapshot builds)
by fmartel » 12 Oct 2016, 19:08
in commander, game jammed at my upkeep, after transforming Hanweir Militia Captain to Westvale Cult Leader.
- fmartel
- Posts: 281
- Joined: 31 Dec 2013, 19:27
- Location: Québec City
- Has thanked: 8 times
- Been thanked: 4 times
Re: Bug Reports (snapshot builds)
by friarsol » 12 Oct 2016, 19:20
fmartel, please post screenshots. You aren't providing very much information with your reports.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Bug Reports (snapshot builds)
by fmartel » 13 Oct 2016, 13:54
AI decided to use Brain in a Jar after playin it. on its other turn he doesn't put any counters on it and uses it (to scry 0)

-r32337

-r32337
- fmartel
- Posts: 281
- Joined: 31 Dec 2013, 19:27
- Location: Québec City
- Has thanked: 8 times
- Been thanked: 4 times
Re: Bug Reports (snapshot builds)
by Marek14 » 13 Oct 2016, 20:18
Cover of Winter doesn't show its ability in Card Detail.
Volcano Hellion should probably use the same dialogue as Forge has for X selection instead of pulldown list with numbers up to 99.
AI failed to cast Mind Funeral after revealing it via cascade of Kathari Remnant, with message that it couldn't be added to stack because of failure to target. I had nothing that would prevent me from being targeted.
Volcano Hellion should probably use the same dialogue as Forge has for X selection instead of pulldown list with numbers up to 99.
AI failed to cast Mind Funeral after revealing it via cascade of Kathari Remnant, with message that it couldn't be added to stack because of failure to target. I had nothing that would prevent me from being targeted.
Re: Bug Reports (snapshot builds)
by fiend123 » 15 Oct 2016, 15:24
Skywhaler's Shot doesn't work on animated Vehicles. It actually untaps the targeted vehicle in addition to fizzling. r32354
Re: Bug Reports (snapshot builds)
by Hanmac » 15 Oct 2016, 19:14
@fiend123:
okay i can reproduce it, even if i doesn't know why yet.
For others: it is important that the AI does control the Vehicle and not controlled by the Human. that shows that maybe something is wrong with the AI part. (i still doesn't understand why it does untap)
i will try to debug it tomorrow, for now i have no clue why it does react like that.
okay i can reproduce it, even if i doesn't know why yet.
For others: it is important that the AI does control the Vehicle and not controlled by the Human. that shows that maybe something is wrong with the AI part. (i still doesn't understand why it does untap)
i will try to debug it tomorrow, for now i have no clue why it does react like that.
Re: Bug Reports (snapshot builds)
by tjtillman » 15 Oct 2016, 21:08
r32350
I cast a Harnessed Lightning targeting CPU's crewed Sky Skiff, but it fizzled and not clear why.
Update: Not sure if this is an issue with crewed vehicles or just Sky Skiff, but I later encountered a situation where I attached with a 5/5, CPU crewed Sky Skiff the double blocked with the 2/3 Sky Skiff and a 3/1 Foundry Screecher. I played subtle strike to -1/-1 and kill the screecher, +1/+1 counter on another creature, and after combat the Sky Skiff neither died nor took damage.
Edit 2: This looks related to the post before mine. In the Harnessed Lightning case, the animated vehicle also untapped upon targeting.
I cast a Harnessed Lightning targeting CPU's crewed Sky Skiff, but it fizzled and not clear why.
Update: Not sure if this is an issue with crewed vehicles or just Sky Skiff, but I later encountered a situation where I attached with a 5/5, CPU crewed Sky Skiff the double blocked with the 2/3 Sky Skiff and a 3/1 Foundry Screecher. I played subtle strike to -1/-1 and kill the screecher, +1/+1 counter on another creature, and after combat the Sky Skiff neither died nor took damage.
Edit 2: This looks related to the post before mine. In the Harnessed Lightning case, the animated vehicle also untapped upon targeting.
Re: Bug Reports (snapshot builds)
by Hanmac » 16 Oct 2016, 09:37
yeah the problems are related.
i could narrow it down to the timestamp of the targeted card is still -1, while of the real card is 16. (or something else)
now i need to find out, why this does happen :/
===
found the problem in AnimateAI:
used CopyCard where LKI copy should be used.
i could narrow it down to the timestamp of the targeted card is still -1, while of the real card is 16. (or something else)
now i need to find out, why this does happen :/
===
found the problem in AnimateAI:
used CopyCard where LKI copy should be used.
Re: Bug Reports (snapshot builds)
by fiend123 » 16 Oct 2016, 18:01
Engineered Might's first mode grants +2/+5 Trample instead of the +5/+5 Trample it supposed to.
r32355
r32355
Re: Bug Reports (snapshot builds)
by Marek14 » 17 Oct 2016, 08:23
Spelltwine seems to be broken. It crashes the game when I use it; it asks to select the "0th spell", and in addition, when I copied Resounding Silence with it, it let me select its cycling ability.
Casting a copy of Hunting Pack via Spellweaver Volute didn't trigger the storm ability.
I think that AI doesn't have to sacrifice a creature to equip Demonmail Hauberk.
Casting a copy of Hunting Pack via Spellweaver Volute didn't trigger the storm ability.
I think that AI doesn't have to sacrifice a creature to equip Demonmail Hauberk.
Re: Bug Reports (snapshot builds)
by Hanmac » 17 Oct 2016, 11:55
found the problem.Marek14 wrote:AI failed to cast Mind Funeral after revealing it via cascade of Kathari Remnant, with message that it couldn't be added to stack because of failure to target. I had nothing that would prevent me from being targeted.
the AI logic in DigUntil needs IsCurse for this cards.
probably need some extra coding in DigUntil so such problem does not appear again?
Re: Bug Reports (snapshot builds)
by fmartel » 17 Oct 2016, 18:04
Description: [In commander, waiting for stack resolution of Driver of the Dead played by AI]
- OutOfMemoryError | Open
- Code: Select all
Forge Version: 1.5.57-SNAPSHOT-r32358
Operating System: Windows 7 6.1 amd64
Java Version: 1.8.0_25 Oracle Corporation
java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.util.HashMap.newNode(Unknown Source)
at java.util.HashMap.putVal(Unknown Source)
at java.util.HashMap.put(Unknown Source)
at java.util.HashSet.add(Unknown Source)
at forge.util.collect.FCollection.add(FCollection.java:249)
at forge.util.collect.FCollection.addAll(FCollection.java:300)
at forge.game.Game.getCardsIn(Game.java:473)
at forge.game.spellability.AbilityActivated.canPlay(AbilityActivated.java:95)
at forge.ai.AiController.canPlayAndPayFor(AiController.java:644)
at forge.ai.AiController.chooseSpellAbilityToPlay(AiController.java:1363)
at forge.ai.AiController.getSpellAbilityToPlay(AiController.java:1338)
at forge.ai.AiController.chooseSpellAbilityToPlay(AiController.java:1277)
at forge.ai.PlayerControllerAi.chooseSpellAbilityToPlay(PlayerControllerAi.java:392)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:925)
at forge.game.GameAction.startGame(GameAction.java:1462)
at forge.game.Match.startGame(Match.java:95)
at forge.match.HostedMatch$2.run(HostedMatch.java:220)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
- fmartel
- Posts: 281
- Joined: 31 Dec 2013, 19:27
- Location: Québec City
- Has thanked: 8 times
- Been thanked: 4 times
Re: Bug Reports (snapshot builds)
by Marek14 » 18 Oct 2016, 10:50
Bloodhusk Ritualist should probably not instruct me to discard 0 cards.
Who is online
Users browsing this forum: No registered users and 39 guests