It is currently 26 Apr 2024, 17:46
   
Text Size

MTG Forge 04/24

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

MTG Forge 04/24

Postby 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
mtgrares
DEVELOPER
 
Posts: 1352
Joined: 08 Sep 2008, 22:10
Has thanked: 3 times
Been thanked: 12 times

Re: MTG Forge 04/24

Postby 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
User avatar
GandoTheBard
Tester
 
Posts: 1043
Joined: 06 Sep 2008, 18:43
Has thanked: 0 time
Been thanked: 0 time

Re: MTG Forge 04/24

Postby Rob Cashwalker » 24 Apr 2009, 18:32

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.
Agreed!
The Force will be with you, Always.
User avatar
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

Postby DennisBergkamp » 24 Apr 2009, 19:02

Thanks for this update! I'll merge all of the changes into my local version.

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.
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."
I'm sure there are a few more cards that can be added through this keyword...
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: MTG Forge 04/24

Postby Rob Cashwalker » 25 Apr 2009, 15:51

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."
May I suggest "OpponentShroud"?
The Force will be with you, Always.
User avatar
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

Postby Vecc » 25 Apr 2009, 21:34

We're used to calling it "Shroud II" in my playgroup. :lol: 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. 8)

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. :mrgreen: 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.
User avatar
Vecc
 
Posts: 178
Joined: 13 Apr 2009, 00:13
Has thanked: 17 times
Been thanked: 5 times

Re: MTG Forge 04/24

Postby 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.
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: MTG Forge 04/24

Postby 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:

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)
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.
skinter
 
Posts: 2
Joined: 01 May 2009, 00:19
Has thanked: 0 time
Been thanked: 0 time

Re: MTG Forge 04/24

Postby Chris H. » 01 May 2009, 00:55

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.
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.

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.
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: MTG Forge 04/24

Postby 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

Postby Chris H. » 01 May 2009, 02:22

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!
Glad I could help. :)
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


Return to Forge

Who is online

Users browsing this forum: Google [Bot] and 156 guests


Who is online

In total there are 157 users online :: 1 registered, 0 hidden and 156 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: Google [Bot] and 156 guests

Login Form