Forge Beta: 11-29-2013 ver 1.5.6
by mtgrares
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Forge Beta: 11-29-2013 ver 1.5.6
by drdev » 30 Nov 2013, 06:04
So I've got something working now in the latest source. I didn't end up needing to separate hybrid and multicolor cards as I thought I might. Instead, I came up with a way that hybrid cards, split cards, and phyrexian cards will show up so long as the card can be cast using only selected colors. For split cards, each side of the card is checked individually, so Life // Death will appear if eitherSecretCaveman wrote:Thanks for the new version! While I appreciate the change to filtering, it still doesn't work quite as I would want it to.
I usually decide I want to build a deck with certain colors. I then filter out all the colors I'm not playing. The recent change has the (great!) effect of not showing me tons of cards I can't play in the colors I want to play. However, it does now filter out cards with hybrid costs (like Deathrite Shaman) if I filter out one of the two colors. This hides cards from my view I'd like to see.
For example, I want to build a mono black deck, so I filter out all other colors. Now I don't get to see the Shaman, although I could very well play it.


Note that if the multicolor button is deselected (such that multicolor cards are filtered out), hybrid and split cards with multiple colors will still be hidden. However, to improve usability, I made it so right-clicking a color filter button also selects the the multicolor button so hybrids and split cards appear by default, and so 2 color cards show up if you then left click a second color filter button.
Here's a screenshot showcasing that Deathrite Shaman and other Black+ hybrid cards now appear after right-clicking the Black filter button to show only black and multicolor cards:
What do you think?
- drdev
- Programmer
- Posts: 1958
- Joined: 27 Jul 2013, 02:07
- Has thanked: 189 times
- Been thanked: 565 times
Re: Forge Beta: 11-29-2013 ver 1.5.6
by serrasmurf » 30 Nov 2013, 13:58
Thanks for the best of 5 option!
1 bug: i can play Ancestral Vision form my graveyard with Snapcaster Mage, which shouldnt be possible..
1 bug: i can play Ancestral Vision form my graveyard with Snapcaster Mage, which shouldnt be possible..
- serrasmurf
- Posts: 316
- Joined: 30 Jan 2010, 14:09
- Location: The Netherlands
- Has thanked: 3 times
- Been thanked: 18 times
Re: Forge Beta: 11-29-2013 ver 1.5.6
by SecretCaveman » 30 Nov 2013, 14:52
drdev, that solution seems great. Thanks for the fast response! 

- SecretCaveman
- Posts: 63
- Joined: 22 Jun 2013, 12:38
- Has thanked: 1 time
- Been thanked: 1 time
Re: Forge Beta: 11-29-2013 ver 1.5.6
by gos » 30 Nov 2013, 15:14
Description: I got this error the first time I tried to activate Liar's Pendulum, during my opponent's end phase.
- NullPointerException | Open
- Code: Select all
Forge Version: 1.5.6-r${forge.revision}${forge.specialStatus} (mixed revisions detected; please update from the root directory)
Operating System: Windows 7 6.1 amd64
Java Version: 1.7.0_07 Oracle Corporation
java.lang.NullPointerException
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:192)
at com.google.common.collect.Iterables.filter(Iterables.java:582)
at forge.game.player.PlayerControllerHuman.chooseSinglePaperCard(PlayerControllerHuman.java:849)
at forge.game.ability.effects.ChooseCardNameEffect.resolve(ChooseCardNameEffect.java:108)
at forge.game.ability.AbilityApiBased.resolve(AbilityApiBased.java:63)
at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1112)
at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1094)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:537)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1003)
at forge.game.GameAction.startGame(GameAction.java:1468)
at forge.game.Match$1.run(Match.java:118)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Last edited by gos on 01 Dec 2013, 12:45, edited 1 time in total.
- gos
- Posts: 4369
- Joined: 03 Mar 2011, 15:21
- Location: Reykjavík, Iceland
- Has thanked: 231 times
- Been thanked: 232 times
Re: Forge Beta: 11-29-2013 ver 1.5.6
by Pux » 30 Nov 2013, 17:03
I'm playing for ante, but I don't see anything on the ante tab during the game. It's completely empty.
Re: Forge Beta: 11-29-2013 ver 1.5.6
by Davor Vitief » 30 Nov 2013, 20:01
Good work! but i don't like the new constructed layout. Also i have found two bugs; Condescend do not counter spells but scry 2 works, and Detention Sphere do not allways exile ALL permanents with same name, only the one targeted.
- Davor Vitief
- Posts: 18
- Joined: 16 Oct 2012, 10:22
- Has thanked: 9 times
- Been thanked: 0 time
Re: Forge Beta: 11-29-2013 ver 1.5.6
by Xitax » 30 Nov 2013, 20:36
There's something wrong with Rout, AI is casting it for free during my turn. I took a look at the script, but I couldn't see the problem. I suspect it's in how Forge deals with the ability "K:You may cast CARDNAME any time you could cast an instant if you pay 2 more to cast it."
Re: Forge Beta: 11-29-2013 ver 1.5.6
by jfro1652 » 01 Dec 2013, 05:55
I've attempted to run Forge on Mavericks, but it crashes as soon as I enter Deck Editor or begin a Constructed match. I updated all the java scripts, but I get this message when it crashes:
Process: java [6107]
Path: /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/bin/java
Identifier: net.java.openjdk.cmd
Version: 1.0 (1.0)
Code Type: X86-64 (Native)
Parent Process: sh [6105]
Responsible: Terminal [6098]
User ID: 501
Date/Time: 2013-12-01 00:54:52.199 -0500
OS Version: Mac OS X 10.9 (13A603)
Report Version: 11
Anonymous UUID: 9A83DE2E-C9CA-738B-9B7B-9343BF279272
Sleep/Wake UUID: C6AD9C4D-2898-4EFD-BDFB-488557C34BA7
Crashed Thread: 29 Java: Java2D Queue Flusher Dispatch queue: com.apple.root.default-priority
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000155d76000
VM Regions Near 0x155d76000:
IOKit 0000000155d70000-0000000155d76000 [ 24K] rw-/rw- SM=ALI
-->
mapped file 0000000155d7a000-00000001561a6000 [ 4272K] r--/rwx SM=COW /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/Resources/ArtFile.bin
Application Specific Information:
abort() called
Process: java [6107]
Path: /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/bin/java
Identifier: net.java.openjdk.cmd
Version: 1.0 (1.0)
Code Type: X86-64 (Native)
Parent Process: sh [6105]
Responsible: Terminal [6098]
User ID: 501
Date/Time: 2013-12-01 00:54:52.199 -0500
OS Version: Mac OS X 10.9 (13A603)
Report Version: 11
Anonymous UUID: 9A83DE2E-C9CA-738B-9B7B-9343BF279272
Sleep/Wake UUID: C6AD9C4D-2898-4EFD-BDFB-488557C34BA7
Crashed Thread: 29 Java: Java2D Queue Flusher Dispatch queue: com.apple.root.default-priority
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000155d76000
VM Regions Near 0x155d76000:
IOKit 0000000155d70000-0000000155d76000 [ 24K] rw-/rw- SM=ALI
-->
mapped file 0000000155d7a000-00000001561a6000 [ 4272K] r--/rwx SM=COW /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/Resources/ArtFile.bin
Application Specific Information:
abort() called
- jfro1652
- Posts: 2
- Joined: 29 Jun 2013, 03:44
- Has thanked: 0 time
- Been thanked: 0 time
Re: Forge Beta: 11-29-2013 ver 1.5.6
by Marek14 » 01 Dec 2013, 09:17
Fungal Shambler's cost is written as {4UBG} - standard ordering for wedge cards should be {4GUB}.
Re: Forge Beta: 11-29-2013 ver 1.5.6
by Bundy » 01 Dec 2013, 11:12
Description: Computer casts Luminescent Rain while it has no creatures in play. Forge hangs and must be shut down with the task manager.
- NullPointerException | Open
- Code: Select all
Forge Version: 1.5.6-r${forge.revision}${forge.specialStatus} (mixed revisions detected; please update from the root directory)
Operating System: Windows 8 6.2 x86
Java Version: 1.7.0_45 Oracle Corporation
java.lang.NullPointerException
at forge.game.player.PlayerControllerHuman.mayBeYou(PlayerControllerHuman.java:805)
at forge.game.player.PlayerControllerHuman.formatNotificationMessage(PlayerControllerHuman.java:800)
at forge.game.player.PlayerControllerHuman.notifyOfValue(PlayerControllerHuman.java:777)
at forge.game.GameAction.nofityOfValue(GameAction.java:1432)
at forge.game.player.PlayerControllerAi.chooseSomeType(PlayerControllerAi.java:326)
at forge.game.ability.effects.ChooseTypeEffect.resolve(ChooseTypeEffect.java:61)
at forge.game.ability.SpellApiBased.resolve(SpellApiBased.java:56)
at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1112)
at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1094)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:537)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1003)
at forge.game.GameAction.startGame(GameAction.java:1468)
at forge.game.Match$1.run(Match.java:118)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
- Bundy
- Posts: 348
- Joined: 17 Dec 2010, 17:32
- Location: The netherlands
- Has thanked: 23 times
- Been thanked: 3 times
Re: Forge Beta: 11-29-2013 ver 1.5.6
by citro7000 » 01 Dec 2013, 13:44
When trying to open Forge through the command, it shows this
It won't open forge.
I am using Mac OS X Mavericks.
- | Open
- Exception in thread "main" java.lang.UnsupportedClassVersionError: forge/view/Main : Unsupported major.minor version 51.0
logout
[Process completed]
I couldn't post the whole message, because it would apparently look too spammy...
It won't open forge.
I am using Mac OS X Mavericks.
- citro7000
- Posts: 1
- Joined: 01 Dec 2013, 13:41
- Has thanked: 0 time
- Been thanked: 0 time
Re: Forge Beta: 11-29-2013 ver 1.5.6
by gos » 01 Dec 2013, 14:08
I had 4 copies of Ghostly Prison in play. AI had 7 untapped lands, but he attacked me with his Rotting Rats without tapping any lands.
- gos
- Posts: 4369
- Joined: 03 Mar 2011, 15:21
- Location: Reykjavík, Iceland
- Has thanked: 231 times
- Been thanked: 232 times
Re: Forge Beta: 11-29-2013 ver 1.5.6
by gos » 01 Dec 2013, 14:19
Description: Starke of Rath is still broken.
- NullPointerException | Open
- Code: Select all
Forge Version: 1.5.6-r${forge.revision}${forge.specialStatus} (mixed revisions detected; please update from the root directory)
Operating System: Windows 7 6.1 amd64
Java Version: 1.7.0_07 Oracle Corporation
java.lang.NullPointerException
at forge.game.ability.effects.RemoveFromCombatEffect.resolve(RemoveFromCombatEffect.java:38)
at forge.game.spellability.AbilitySub.resolve(AbilitySub.java:130)
at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1112)
at forge.game.ability.AbilityUtils.resolveSubAbilities(AbilityUtils.java:1105)
at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1118)
at forge.game.ability.AbilityUtils.resolveSubAbilities(AbilityUtils.java:1105)
at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1118)
at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1094)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:537)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1003)
at forge.game.GameAction.startGame(GameAction.java:1468)
at forge.game.Match$1.run(Match.java:118)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
- gos
- Posts: 4369
- Joined: 03 Mar 2011, 15:21
- Location: Reykjavík, Iceland
- Has thanked: 231 times
- Been thanked: 232 times
Re: Forge Beta: 11-29-2013 ver 1.5.6
by Chris H. » 01 Dec 2013, 14:51
citro7000 wrote:When trying to open Forge through the command, it shows this
- | Open
- Exception in thread "main" java.lang.UnsupportedClassVersionError: forge/view/Main : Unsupported major.minor version 51.0
logout
[Process completed]
I couldn't post the whole message, because it would apparently look too spammy...
It won't open forge.
I am using Mac OS X Mavericks.
You must have the JDK rather than the JRE version of Java 7 installed on your Mac or you will get this error.
-
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
Who is online
Users browsing this forum: No registered users and 50 guests