MTG Forge 04/24
by mtgrares
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
MTG Forge 04/24
by mtgrares » 24 Apr 2009, 17:42
Monday on my blog I talk about the 04/24 version of MTG Forge. It is just 3 minor changes from the 04/22 version. I made it so that the "Resizable Game Area" and "Smooth AI Land" buttons on the New Game and Quest stay selected or not-selected through multiple games, this way they won't keep resetting. I also added shroud to Troll Ascetic (one of my favorite cards.) Troll Ascetic technically doesn't have shroud but giving him shroud gets him closer to the printed card.
Download 04/24 Version
DennisBergkamp, these are the source code changes that I made. The source code is included in the 04/24 version if you need more clarification.
Gui_Quest: changed
private static JCheckBox smoothLandCheckBox = new JCheckBox("", true);
private static JCheckBox resizeCheckbox = new JCheckBox("", true);
Gui_Quest.jbInit() removed lines:
smoothLandCheckBox.setSelected(true);
resizeCheckbox.setSelected(true);
Qui_NewGame: changed
private static JCheckBox newGuiCheckBox = new JCheckBox("", true);
private static JCheckBox smoothLandCheckBox = new JCheckBox("", true);
Qui_NewGame.jbInit() removed lines:
newGuiCheckBox.setSelected(true);
smoothLandCheckBox.setSelected(true);
Added shroud to Troll Ascetic in cards.txt
Download 04/24 Version
DennisBergkamp, these are the source code changes that I made. The source code is included in the 04/24 version if you need more clarification.
Gui_Quest: changed
private static JCheckBox smoothLandCheckBox = new JCheckBox("", true);
private static JCheckBox resizeCheckbox = new JCheckBox("", true);
Gui_Quest.jbInit() removed lines:
smoothLandCheckBox.setSelected(true);
resizeCheckbox.setSelected(true);
Qui_NewGame: changed
private static JCheckBox newGuiCheckBox = new JCheckBox("", true);
private static JCheckBox smoothLandCheckBox = new JCheckBox("", true);
Qui_NewGame.jbInit() removed lines:
newGuiCheckBox.setSelected(true);
smoothLandCheckBox.setSelected(true);
Added shroud to Troll Ascetic in cards.txt
- mtgrares
- DEVELOPER
- Posts: 1352
- Joined: 08 Sep 2008, 22:10
- Has thanked: 3 times
- Been thanked: 12 times
Re: MTG Forge 04/24
by GandoTheBard » 24 Apr 2009, 18:14
My preference would be to not add abilities to cards that do not have them...just because they are similar. Giving Troll Ascetic shroud means I cant giant growth him or give him flanking with Jabari's Banner etc.
visit my personal homepage here: http://outofthebrokensky.com
Listen to my podcast with famed AJ_Impy "Freed from the Real" on http://puremtgo.com
Listen to my podcast with famed AJ_Impy "Freed from the Real" on http://puremtgo.com
-
GandoTheBard - Tester
- Posts: 1043
- Joined: 06 Sep 2008, 18:43
- Has thanked: 0 time
- Been thanked: 0 time
Re: MTG Forge 04/24
by Rob Cashwalker » 24 Apr 2009, 18:32
Agreed!GandoTheBard wrote:My preference would be to not add abilities to cards that do not have them...just because they are similar. Giving Troll Ascetic shroud means I cant giant growth him or give him flanking with Jabari's Banner etc.
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: MTG Forge 04/24
by DennisBergkamp » 24 Apr 2009, 19:02
Thanks for this update! I'll merge all of the changes into my local version.
I'm sure there are a few more cards that can be added through this keyword...
Hmm, I actually disagree, in this case I think giving this card shroud would be closer to the actual card than not having it. But I'll see if I can add some kind of "keyword" (it's really not a keyword) "This card can't be the target of spells or abilities your opponents control."My preference would be to not add abilities to cards that do not have them...just because they are similar. Giving Troll Ascetic shroud means I cant giant growth him or give him flanking with Jabari's Banner etc.
I'm sure there are a few more cards that can be added through this keyword...
-
DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
Re: MTG Forge 04/24
by Rob Cashwalker » 25 Apr 2009, 15:51
May I suggest "OpponentShroud"?DennisBergkamp wrote:I'll see if I can add some kind of "keyword" (it's really not a keyword) "This card can't be the target of spells or abilities your opponents control."
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: MTG Forge 04/24
by Vecc » 25 Apr 2009, 21:34
We're used to calling it "Shroud II" in my playgroup. Pretty nice ability to have around, even tho' I think Troll Ascetic is the only card in Forge to have it. It'd open space for cool cards like Silhana Ledgewalker and that new Alara Reborn Uril, the Miststalker to be implemented (they both have other 'weird' abilities on them, tho'). And would make equipments even sexier when they come around.
I think giving the troll Shroud for now is very reasonable. Might not be right, but I guess we're more often dealing with targeted removal than targeted buffs.
Also, I love the minor changes to the GUI. Won't have to keep turning the Land Stacking off for my poorly-constructed quest decks to have a shot at winning at the beggining.
I think giving the troll Shroud for now is very reasonable. Might not be right, but I guess we're more often dealing with targeted removal than targeted buffs.
Also, I love the minor changes to the GUI. Won't have to keep turning the Land Stacking off for my poorly-constructed quest decks to have a shot at winning at the beggining.
Re: MTG Forge 04/24
by Chris H. » 25 Apr 2009, 21:45
I like Rob's shorthand version, "OpponentShroud". I assume that the code could display the longer "This card can't be the target of spells or abilities your opponents control." version inside of the text box.
-
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: MTG Forge 04/24
by skinter » 01 May 2009, 00:23
Hi! I love this project and enjoy playing with it from time to time. I wish that I had time to contribute code. However, I downloaded the latest version (4/24) and haven't been able to get it to run on my MacBook Pro (I downloaded, unzipped, and tried to run run-forge.jar, which I believe was all I did with the previous version(s). Did I miss a step, perhaps?). I'm getting the following error on the console:
I'd love to try out this version; any help would be greatly appreciated. Sorry if this is the wrong thread to post something like this: I'm new to the forum, of course.4/30/09 8:13:23 PM [0x0-0x1d01d0].com.apple.JarLauncher[5196] Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
4/30/09 8:13:23 PM [0x0-0x1d01d0].com.apple.JarLauncher[5196] at java.lang.ClassLoader.defineClass1(Native Method)
4/30/09 8:13:23 PM [0x0-0x1d01d0].com.apple.JarLauncher[5196] at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
4/30/09 8:13:23 PM [0x0-0x1d01d0].com.apple.JarLauncher[5196] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
4/30/09 8:13:23 PM [0x0-0x1d01d0].com.apple.JarLauncher[5196] at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
4/30/09 8:13:23 PM [0x0-0x1d01d0].com.apple.JarLauncher[5196] at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
4/30/09 8:13:23 PM [0x0-0x1d01d0].com.apple.JarLauncher[5196] at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
4/30/09 8:13:23 PM [0x0-0x1d01d0].com.apple.JarLauncher[5196] at java.security.AccessController.doPrivileged(Native Method)
4/30/09 8:13:23 PM [0x0-0x1d01d0].com.apple.JarLauncher[5196] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
4/30/09 8:13:23 PM [0x0-0x1d01d0].com.apple.JarLauncher[5196] at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
4/30/09 8:13:23 PM [0x0-0x1d01d0].com.apple.JarLauncher[5196] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
4/30/09 8:13:23 PM [0x0-0x1d01d0].com.apple.JarLauncher[5196] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
4/30/09 8:13:23 PM [0x0-0x1d01d0].com.apple.JarLauncher[5196] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
- skinter
- Posts: 2
- Joined: 01 May 2009, 00:19
- Has thanked: 0 time
- Been thanked: 0 time
Re: MTG Forge 04/24
by Chris H. » 01 May 2009, 00:55
Which OS version are you running. I have an Intel Mac with Leopard OS X 10.5.6 and it runs fine on my computer.skinter wrote:Hi! I love this project and enjoy playing with it from time to time. I wish that I had time to contribute code. However, I downloaded the latest version (4/24) and haven't been able to get it to run on my MacBook Pro (I downloaded, unzipped, and tried to run run-forge.jar, which I believe was all I did with the previous version(s). Did I miss a step, perhaps?).
I'd love to try out this version; any help would be greatly appreciated. Sorry if this is the wrong thread to post something like this: I'm new to the forum, of course.
Look in:
/Applications/Utilities/Java/
and launch the Java Preferences application. Under Java application versions on my computer I see:
Java SE 6 {64-bit}
J2SE 5.0 {32-bit}
J2SE 5.0 {64-bit}
J2SE 1.4.2 {32-bit}
You may need to drag these to change the preferred version and when you do try to restart Forge. Good luck.
-
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: MTG Forge 04/24
by skinter » 01 May 2009, 01:03
My preferences had been in a different order (J2SE 5.0 {32-bit} was the first priority), and after moving SE 6 to the top I'm now able to run MTGForge. Thanks a lot!
- skinter
- Posts: 2
- Joined: 01 May 2009, 00:19
- Has thanked: 0 time
- Been thanked: 0 time
Re: MTG Forge 04/24
by Chris H. » 01 May 2009, 02:22
Glad I could help.skinter wrote:My preferences had been in a different order (J2SE 5.0 {32-bit} was the first priority), and after moving SE 6 to the top I'm now able to run MTGForge. Thanks a lot!
-
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
11 posts
• Page 1 of 1
Who is online
Users browsing this forum: Google [Bot] and 156 guests