Page 2 of 8

Re: Forge Beta: 11-29-2013 ver 1.5.6

PostPosted: 30 Nov 2013, 06:04
by drdev
SecretCaveman 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.
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 either {B} or {G} is selected.

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:

ImprovedFiltering.png

What do you think?

Re: Forge Beta: 11-29-2013 ver 1.5.6

PostPosted: 30 Nov 2013, 13:58
by serrasmurf
Thanks for the best of 5 option!

1 bug: i can play Ancestral Vision form my graveyard with Snapcaster Mage, which shouldnt be possible..

Re: Forge Beta: 11-29-2013 ver 1.5.6

PostPosted: 30 Nov 2013, 14:52
by SecretCaveman
drdev, that solution seems great. Thanks for the fast response! =D>

Re: Forge Beta: 11-29-2013 ver 1.5.6

PostPosted: 30 Nov 2013, 15:14
by gos
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)

Re: Forge Beta: 11-29-2013 ver 1.5.6

PostPosted: 30 Nov 2013, 17:03
by Pux
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

PostPosted: 30 Nov 2013, 20:01
by Davor Vitief
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.

Re: Forge Beta: 11-29-2013 ver 1.5.6

PostPosted: 30 Nov 2013, 20:36
by Xitax
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

PostPosted: 01 Dec 2013, 05:55
by jfro1652
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

Re: Forge Beta: 11-29-2013 ver 1.5.6

PostPosted: 01 Dec 2013, 09:17
by Marek14
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

PostPosted: 01 Dec 2013, 10:30
by Andy9973
Thanks a lot for another new version of Forge and for your effort you put into this.

Just like in 1.5.5 though Rune Snag doesn't make the AI have to pay the additional mana when I counter a spell with it.

Edit: It's the same with Syncopate.

Re: Forge Beta: 11-29-2013 ver 1.5.6

PostPosted: 01 Dec 2013, 11:12
by Bundy
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)

Re: Forge Beta: 11-29-2013 ver 1.5.6

PostPosted: 01 Dec 2013, 13:44
by citro7000
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.

Re: Forge Beta: 11-29-2013 ver 1.5.6

PostPosted: 01 Dec 2013, 14:08
by gos
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.

Re: Forge Beta: 11-29-2013 ver 1.5.6

PostPosted: 01 Dec 2013, 14:19
by gos
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)

Re: Forge Beta: 11-29-2013 ver 1.5.6

PostPosted: 01 Dec 2013, 14:51
by Chris H.
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.