It is currently 23 Aug 2025, 14:48
   
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 drdev » 27 Oct 2013, 07:00

RumbleBBU wrote:Maybe not really a 'bug' but something that used to work and no longer does...

In an older version of Forge, when you resized and reordered the displayed editor columns in the spell shop, the game would remember your changes and use them when you entered the spellshop again.

The current version of Forge no longer does.

Is this a big issue? For me, it is. I often play on a small laptop, 1024x768 resolution max, and three fields I regularly need in the quest spell shop - sale price, new, decks - are offscreen. Instead I see fields that are decidely less interesting in the spell shop, like CMC, P, T. So I have to start my shopping by scrolling left and right, dragging those three fields to the left, step by step, little by little (drag the column a couple of steps, scroll a little more to the left, drag some more, repeat for each desired column)...every frigging time I enter the spell shop!

So yes, it's definitely an issue for me. :(
I'll look into it since I've made changes to deck editor tables in the past and may have accidentally caused this problem myself.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby Hanmac » 27 Oct 2013, 15:08

if i have a Prototype Portal, and i use some artifact land like Darksteel Citadel
and then i use Extraplanar Lens on the Darksteel Citadel token,
Extraplanar Lens still works but it should not because the inprinted card does not exist anymore
----
Sacrificing with Life and Limb animated Forest does not trigger the ability from Mortician Beetle and Savra, Queen of the Golgari
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 03 Nov 2013, 02:03

Looks like Whirlpool Whelm isn't giving me a choice to put the Targeted card on top of the library. The script looks... weird. It's probably better with a Generic Choice here.
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 swordshine » 03 Nov 2013, 08:38

Battlalion triggers will fizzle if there are fewer than three attacking creatures when resolving.
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Bug Reports (snapshot builds)

Postby Yuskei » 03 Nov 2013, 16:41

Description: I was trying to start a multiplayer game in EDH when the error box popped up right as the game screen came.

r23584

NullPointerException | Open
Code: Select all
Forge Version:    1.5.5-SNAPSHOT-r23584
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_02 Oracle Corporation

java.lang.NullPointerException
   at forge.gui.match.VMatchUI.populate(VMatchUI.java:91)
   at forge.control.FControl.setCurrentScreen(FControl.java:302)
   at forge.control.FControl.attachToGame(FControl.java:464)
   at forge.control.FControl.startGameWithUi(FControl.java:427)
   at forge.gui.home.variant.CSubmenuCommander$5.run(CSubmenuCommander.java:159)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$000(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)
Yuskei
 
Posts: 1
Joined: 03 Nov 2013, 16:30
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby drdev » 03 Nov 2013, 18:49

drdev wrote:
RumbleBBU wrote:Maybe not really a 'bug' but something that used to work and no longer does...

In an older version of Forge, when you resized and reordered the displayed editor columns in the spell shop, the game would remember your changes and use them when you entered the spellshop again.

The current version of Forge no longer does.

Is this a big issue? For me, it is. I often play on a small laptop, 1024x768 resolution max, and three fields I regularly need in the quest spell shop - sale price, new, decks - are offscreen. Instead I see fields that are decidely less interesting in the spell shop, like CMC, P, T. So I have to start my shopping by scrolling left and right, dragging those three fields to the left, step by step, little by little (drag the column a couple of steps, scroll a little more to the left, drag some more, repeat for each desired column)...every frigging time I enter the spell shop!

So yes, it's definitely an issue for me. :(
I'll look into it since I've made changes to deck editor tables in the past and may have accidentally caused this problem myself.
I don't think I caused this after investigating, but at any rate, I committed a fix in r23590. I also fixed it so column sort order is remembered properly in r23591.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby drdev » 04 Nov 2013, 01:17

Yuskei wrote:Description: I was trying to start a multiplayer game in EDH when the error box popped up right as the game screen came.

r23584

NullPointerException | Open
Code: Select all
Forge Version:    1.5.5-SNAPSHOT-r23584
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_02 Oracle Corporation

java.lang.NullPointerException
   at forge.gui.match.VMatchUI.populate(VMatchUI.java:91)
   at forge.control.FControl.setCurrentScreen(FControl.java:302)
   at forge.control.FControl.attachToGame(FControl.java:464)
   at forge.control.FControl.startGameWithUi(FControl.java:427)
   at forge.gui.home.variant.CSubmenuCommander$5.run(CSubmenuCommander.java:159)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$000(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)
I can't reproduce this. I'm able to launch Commander matches just fine. If you can still reproduce, can be more specific on the game setup?
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby RumbleBBU » 05 Nov 2013, 08:45

drdev wrote:I don't think I caused this after investigating, but at any rate, I committed a fix in r23590.
Nor did I intend to imply that you (or anyone else in particular) was responsible for the loss of the functionality. :D Your efforts to restore the earlier functionality are greatly appreciated however! =D>

My memory my be a bit faulty and I could be wrong here, but I think that in a much earlier version of Forge, the view layout files contained a lot more information about how the user had customized the various views. This made it possible to preserve the view customizations - such as editor column order and column sizes - between Forge launches. The more recent layout files seem to contain less information.
Of course the old-style layout files also led to problems. When a layout file became corrupted or messed-up somehow, sometimes the only solution was to delete the customized layout file (in order to restore the default layout). And when new features were added to the views, the old layout files became incompatible.
Last edited by RumbleBBU on 05 Nov 2013, 10:18, edited 2 times in total.
User avatar
RumbleBBU
 
Posts: 394
Joined: 18 Aug 2012, 04:24
Has thanked: 29 times
Been thanked: 66 times

Re: Bug Reports (snapshot builds)

Postby RumbleBBU » 05 Nov 2013, 09:56

r23595

I had a Dystopia in play.
The AI had a Birds of Paradise with Paralyze and Aspect of Wolf on it.
During its upkeep, the AI chooses to sac something (either the BoP or the AoW), and I get...

| Open
EDT > java.lang.IllegalArgumentException: component and container should be in the same top-level window
at java.awt.Container.checkAdding(Unknown Source)
at java.awt.Container.setComponentZOrder(Unknown Source)
at forge.view.arcane.PlayArea.positionAllCards(PlayArea.java:283)
at forge.view.arcane.PlayArea.doLayout(PlayArea.java:257)
at forge.view.arcane.PlayArea.recalculateCardPanels(PlayArea.java:571)
at forge.view.arcane.PlayArea.setupPlayZone(PlayArea.java:528)
at forge.gui.match.CMatchUI.updateZones(CMatchUI.java:342)
at forge.control.FControlGameEventHandler$3.run(FControlGameEventHandler.java:209)
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)


(The crash left the game in an incoherent state. I no longer drew cards in that duel, and Dystopia no longer caused the AI to sac anything, and the Paralyze was no longer attached to the BoP.)
User avatar
RumbleBBU
 
Posts: 394
Joined: 18 Aug 2012, 04:24
Has thanked: 29 times
Been thanked: 66 times

Re: Bug Reports (snapshot builds)

Postby swordshine » 10 Nov 2013, 07:35

Sharuum the Hegemon + Sculpting Steel/Phyrexian Metamorph combo doesn't work.
I think this bug is related to the overuse of chooseOrderOfSimultaneousStackEntryAll(). It should be placed after SBA.
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Bug Reports (snapshot builds)

Postby swordshine » 13 Nov 2013, 14:10

r23639 Got an NPE when Ancestral Vision removes the last time counter and play the card without mana cost:
java.lang.NullPointerException
at forge.card.ability.effects.PlayEffect.resolve(PlayEffect.java:214)
at forge.card.spellability.AbilitySub.resolve(AbilitySub.java:130)
at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1112)
at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1094)
at forge.card.spellability.HumanPlaySpellAbility.playAbility(HumanPlaySpellAbility.java:93)
at forge.game.player.HumanPlay.playSpellAbilityNoStack(HumanPlay.java:245)
at forge.game.player.PlayerControllerHuman.playSpellAbilityNoStack(PlayerControllerHuman.java:176)
at forge.card.trigger.WrappedAbility.resolve(WrappedAbility.java:362)
at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1112)
at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1094)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:538)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1003)
at forge.game.GameAction.startGame(GameAction.java:1463)
at forge.game.Match$1.run(Match.java:104)
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:744)
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Bug Reports (snapshot builds)

Postby Almeida » 13 Nov 2013, 17:34

Description: in opening

ZipException | Open
Code: Select all
Forge Version:    1.5.5-SNAPSHOT-r23601
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_07 Oracle Corporation

main > Error loading Quest Data
java.util.zip.ZipException: Not in GZIP format
   at java.util.zip.GZIPInputStream.readHeader(Unknown Source)
   at java.util.zip.GZIPInputStream.<init>(Unknown Source)
   at java.util.zip.GZIPInputStream.<init>(Unknown Source)
   at forge.quest.io.QuestDataIO.loadData(QuestDataIO.java:123)
   at forge.control.FControl.initialize(FControl.java:221)
   at forge.view.Main.main(Main.java:46)
User avatar
Almeida
 
Posts: 41
Joined: 24 Dec 2011, 04:48
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby drdev » 16 Nov 2013, 22:27

swordshine wrote:r23639 Got an NPE when Ancestral Vision removes the last time counter and play the card without mana cost:
java.lang.NullPointerException
at forge.card.ability.effects.PlayEffect.resolve(PlayEffect.java:214)
at forge.card.spellability.AbilitySub.resolve(AbilitySub.java:130)
at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1112)
at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1094)
at forge.card.spellability.HumanPlaySpellAbility.playAbility(HumanPlaySpellAbility.java:93)
at forge.game.player.HumanPlay.playSpellAbilityNoStack(HumanPlay.java:245)
at forge.game.player.PlayerControllerHuman.playSpellAbilityNoStack(PlayerControllerHuman.java:176)
at forge.card.trigger.WrappedAbility.resolve(WrappedAbility.java:362)
at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1112)
at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1094)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:538)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1003)
at forge.game.GameAction.startGame(GameAction.java:1463)
at forge.game.Match$1.run(Match.java:104)
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:744)
This sounds the same as the issue with cascade cards that I just fixed, so this should be too now.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby Corwin72 » 19 Nov 2013, 06:17

Is there a new location for snapshots?
I have been checking the index for a few days but it looks like it was last updated on the 14th and there has not been a bz2 file since the 7th.
Thanks!
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 Chris H. » 19 Nov 2013, 13:26

Corwin72 wrote:Is there a new location for snapshots?
I have been checking the index for a few days but it looks like it was last updated on the 14th and there has not been a bz2 file since the 7th.
Thanks!
 
The new location for snapshot builds can be found in the Forge Frequently Asked Questions topic.

I currently have build bugs in my local copy and they prevent a build and release at this time. :(
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

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 49 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 49 users online :: 0 registered, 0 hidden and 49 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 49 guests

Login Form