It is currently 22 May 2025, 14:38
   
Text Size

Bug Reports (snapshot builds)

Post MTG Forge Related Programming Questions Here

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

Re: Bug Reports (snapshot builds)

Postby swordshine » 21 Jun 2013, 06:56

Precursor Golem is broken now. CardFactory.copySpellontoStack does not add the defined target.
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Bug Reports (snapshot builds)

Postby Max mtg » 21 Jun 2013, 11:34

swordshine wrote:Precursor Golem is broken now. CardFactory.copySpellontoStack does not add the defined target.
Defined target was not a good idea for being an overriding field that has to be checked first. Moreover, it would create difficulties implementing redirecting spells (like 1st ability of Spellskite).

Computer assigns its spells targets in doTrigger/canPlayAi, HumanPlay class has a more obvious way to use preset targets
So the copied spells just don't call the code that might change targets while having players 'play' that spells using the targets written in regulat TargetChoices of a Spellability.

Anyway, I have refactored CopySpellAbilityEffect to make Precursor Golem work as supposed
Single class for single responsibility.
Max mtg
Programmer
 
Posts: 1997
Joined: 02 Jul 2011, 14:26
Has thanked: 173 times
Been thanked: 334 times

Re: Bug Reports (snapshot builds)

Postby swordshine » 21 Jun 2013, 13:28

Deathrite Shaman's ability is not a mana ability, it should use stack.
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 21 Jun 2013, 19:58

r22195
Gerrard Capashen triggers during my upkeep and the targeted opponent gains life instead of me.
Last edited by friarsol on 21 Jun 2013, 20:36, edited 1 time in total.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Bug Reports (snapshot builds)

Postby xbon » 21 Jun 2013, 20:13

r22195 Multiple activations of Keldon Battlewagon on the same stack multiply the effect, (e.g., tap 4 1/1 creatures, adds 16 power)
xbon
 
Posts: 124
Joined: 04 Jun 2013, 22:52
Has thanked: 18 times
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby Corwin72 » 22 Jun 2013, 03:18

Today's build
Anavolver with double kicker costs 2 to much I think that the U kicker is being paid twice.
User avatar
Corwin72
 
Posts: 793
Joined: 15 Sep 2009, 13:26
Location: Grayson, Ga
Has thanked: 25 times
Been thanked: 9 times

Re: Bug Reports (snapshot builds)

Postby swordshine » 22 Jun 2013, 08:50

I cannot declare blockers when ai is attacking my planeswalker.
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Bug Reports (snapshot builds)

Postby jsv » 22 Jun 2013, 09:59

r22232. Massacre, Infest, Decree of Pain (when cycling) and probably other PumpAll/Curse spells affect only caster's creatures.
jsv
 
Posts: 53
Joined: 29 May 2013, 03:20
Has thanked: 3 times
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby Chris H. » 22 Jun 2013, 12:40

jsv wrote:
Code: Select all
Unsupported file type of the sound file: res/sound/end_of_turn.wav - could not get audio input stream from input file
The file indeed looks more like a headerless mp3 than like a proper WAV. I'm attaching a converted version that works fine, even if after testing it I'm not so sure having this sound is such a good idea. It becomes somewhat annoying after a while. :)
 
Thank you, updated file was merged into the SVN.

We found a few other sound files for that sound but decided that they were even more annoying after a while. :)
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: Bug Reports (snapshot builds)

Postby Chris H. » 22 Jun 2013, 12:42

xbon wrote:Anywhere to get more recent snapshots? there hasn't been a new snapshot in 3 days, and I want to use some of the more recently fixed cards like the sliver.
 
Deployed a new snapshot a few minutes ago.
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: Bug Reports (snapshot builds)

Postby Chris H. » 22 Jun 2013, 12:43

Max mtg wrote:Chris, is it possible to release only windows/linux shapshots for the time being (until jendave fixes osx-related issues)?
 
Yes, no problem. A minor edit to my shell script does the job.
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: Bug Reports (snapshot builds)

Postby Agetian » 22 Jun 2013, 17:42

r22241: A NPE after the "declare blockers" phase, nothing was actually blocked by anything as far as I know.

NullPointerException | Open
Code: Select all
Forge Version:    1.4.2-SNAPSHOT-r22241M
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_09 Oracle Corporation

java.lang.NullPointerException
   at forge.game.phase.Combat.getBlockers(Combat.java:449)
   at forge.game.phase.Combat.getBlockers(Combat.java:440)
   at forge.gui.match.TargetingOverlay.assembleArcs(TargetingOverlay.java:205)
   at forge.gui.match.TargetingOverlay.access$2(TargetingOverlay.java:80)
   at forge.gui.match.TargetingOverlay$OverlayPanel.paintComponent(TargetingOverlay.java:342)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JComponent.paintChildren(Unknown Source)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JLayeredPane.paint(Unknown Source)
   at javax.swing.JComponent.paintChildren(Unknown Source)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JLayeredPane.paint(Unknown Source)
   at javax.swing.JComponent.paintChildren(Unknown Source)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JComponent.paintToOffscreen(Unknown Source)
   at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
   at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
   at javax.swing.RepaintManager.paint(Unknown Source)
   at javax.swing.JComponent._paintImmediately(Unknown Source)
   at javax.swing.JComponent.paintImmediately(Unknown Source)
   at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
   at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
   at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
   at javax.swing.RepaintManager.access$700(Unknown Source)
   at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$200(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$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)
r22241: Another exception in my M2 phase, same game as above.

ConcurrentModificationException | Open
Code: Select all
Forge Version:    1.4.2-SNAPSHOT-r22241M
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_09 Oracle Corporation

java.util.ConcurrentModificationException
   at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
   at java.util.ArrayList$Itr.next(Unknown Source)
   at forge.game.phase.Combat.getAttackingBandsOf(Combat.java:231)
   at forge.gui.match.controllers.CCombat.getCombatDescription(CCombat.java:74)
   at forge.gui.match.controllers.CCombat.update(CCombat.java:58)
   at forge.gui.match.CMatchUI.showCombat(CMatchUI.java:267)
   at forge.control.FControlGameEventHandler$3.run(FControlGameEventHandler.java:77)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$200(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$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)
Agetian
Programmer
 
Posts: 3486
Joined: 14 Mar 2011, 05:58
Has thanked: 683 times
Been thanked: 569 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 22 Jun 2013, 23:18

r22244

Testing Shelkin Brownie and got this error:

UnsupportedOperationException | Open
Code: Select all
Forge Version:    SVN
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_21 Oracle Corporation

java.lang.UnsupportedOperationException
   at java.util.AbstractList.add(AbstractList.java:148)
   at java.util.AbstractList.add(AbstractList.java:108)
   at java.util.AbstractCollection.addAll(AbstractCollection.java:334)
   at forge.Card.addChangedCardKeywords(Card.java:4405)
   at forge.card.ability.effects.DebuffEffect.resolve(DebuffEffect.java:71)
   at forge.card.ability.AbilityApiBased.resolve(AbilityApiBased.java:62)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1058)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1041)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:528)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:872)
   at forge.game.GameAction.startGame(GameAction.java:1456)
   at forge.game.Match$1.run(Match.java:105)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:722)
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Bug Reports (snapshot builds)

Postby xbon » 22 Jun 2013, 23:58

Description: opponent tried to resolve Murder Investigation's effect

NullPointerException | Open
Code: Select all
Forge Version:    r22244
Operating System: Windows 8 6.2 x86
Java Version:     1.7.0_25 Oracle Corporation

java.lang.NullPointerException
   at forge.card.cardfactory.CardFactoryUtil$22.resolve(CardFactoryUtil.java:3241)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:530)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:872)
   at forge.game.GameAction.startGame(GameAction.java:1456)
   at forge.game.Match$1.run(Match.java:105)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
xbon
 
Posts: 124
Joined: 04 Jun 2013, 22:52
Has thanked: 18 times
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby swordshine » 23 Jun 2013, 04:00

The game freezes when I have more than 100 goblin tokens created by Empty the Warrens attacking. After I turn off the targeting arcs, it works well.

Unearth seems broken.

I got an IllegalStateException when I use Serum Power's ability.
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 21 guests


Who is online

In total there are 21 users online :: 0 registered, 0 hidden and 21 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 21 guests

Login Form