Page 2 of 5

Re: MTGForge 11/01 (unofficial BETA) version

PostPosted: 02 Nov 2009, 12:00
by silly freak
yeah, that's right, the current version does not support all-decks2, and unfortunately, the quest mode is broken. the second issue is already fixed for the next release, and i'm working on an import, too

Re: MTGForge 11/01 (unofficial BETA) version

PostPosted: 02 Nov 2009, 12:12
by cyclope
I think i've found why Absolute Law and Absolute Grace don't work: in the StateBaseEffects.java file there are no code lines that refer to thess cards...
We should add:
Code: Select all
cardToEffectsList.put("Absolute Grace", new String[] {"Absolute_Grace"});
cardToEffectsList.put("Absolute Law", new String[] {"Absolute_Law"});
and it should work fine...

Re: MTGForge 11/01 (unofficial BETA) version

PostPosted: 02 Nov 2009, 12:33
by cyclope
I've modified the StateBaseEffects.java file and build a new run-forge.jar file with Eclipse .
I've built two decks :
- one with Absolute Grace and white creatures
- the other with black creatures
I played with these two decks (white for me and black for the AI) and all my white creatures had protection from black...
so wait the next version , i think Dennis will fix it...

Re: MTGForge 11/01 (unofficial BETA) version

PostPosted: 02 Nov 2009, 17:04
by Chris H.
all rarities for MTG Forge 11-01-2009

This archive contains updated rarity files for MTG Forge 11-01. I added the missing rarity values for 80+ of the 90 new cards that were included in version 11-01. This set is not compatible with earlier versions of forge.

This archive now contains only one set of rarity files.

As of version 10-02 these rarity files now go inside of the res folder and are now of no use to you if you place them in the root folder. You can place a copy inside of the res folder and a second copy inside of the quest folder.

`

Re: MTGForge 11/01 (unofficial BETA) version

PostPosted: 02 Nov 2009, 17:22
by apthaven
Thank you as always to everyone for this version. I can't wait for the updated (fixed) version of this one.

Small bug: I can't seem to get the picture for Benalish Trapper via the download card pictures.

Though one could search one in the internet:

Here's the link (if needed) for the picture of the card.

Code: Select all
http://mi.wizards.com/global/images/magic/general/benalish_trapper.jpg
(EDIT: I checked the card-pictures.txt, Benalish Trapper isn't there yet.)

Re: MTGForge 11/01 (unofficial BETA) version

PostPosted: 02 Nov 2009, 19:42
by DennisBergkamp
Rob Cashwalker wrote:I went to download the SVN source, and it doesn't have the split CardFactory, so I guess you didn't synch it yet.

I was trying to convert the shouldKeywords into a single method which accepts a string, but Eclipse was choking on the size of CardFactory.
You must still be looking at the old location of the SVN (/trunk/MTGForgeNew), the new version is in /src/src/ (Silly Freak repackaged the main source files into a subfolder called forge, so all the CardFactory files should be in src/src/forge).

the .exe and quest issues are my fault, i apologise for this. the newest version on SVN should now both have the new CardFactory and a working quest mode.
The exe, as it previously was, can't work anymore because of the restructuring. for running the jar directly, you just have to select java as the program to open the file. you have to look for your java installation and choose the bin/java file.
No problems :) This is a beta version after all! I'll update my version and rerelease a fix today (the mana fix will just have to wait, I guess), which should also fix the mssing ilink for Benalish Trapper.

Re: MTGForge 11/01 (unofficial BETA) version

PostPosted: 02 Nov 2009, 20:59
by DennisBergkamp
I've modified the StateBaseEffects.java file and build a new run-forge.jar file with Eclipse .
I've built two decks :
- one with Absolute Grace and white creatures
- the other with black creatures
I played with these two decks (white for me and black for the AI) and all my white creatures had protection from black...
so wait the next version , i think Dennis will fix it...
It seems like I also forgot to include Knighthood and Levitation in StateBasedEffects.java. Weird, I could've sworn these were added, perhaps I accidentally overwrote my file with an older SVN version.

Re: MTGForge 11/01 (unofficial BETA) version

PostPosted: 02 Nov 2009, 23:30
by DennisBergkamp
Alright, here's a somewhat fixed version.

Changes compared to the 11/01 version:
- Silly Freak fixed Quest mode.
- Levitation, Knighthood, Absolute Grace and Absolute Law should work now.
- Added Benalish Hero link to card-pictures.txt.

[url]
http://forgedb.net78.net/mtgforge_relea ... ge1102.rar[/url]

Another card I've added to 11/01 I forgot to mention is Magnivore, which is in my opinion an awesome card, and it fits well within MTGForge since it has quite a few sorceries.

Re: MTGForge 11/01 (unofficial BETA) version

PostPosted: 03 Nov 2009, 00:45
by freestorageaccount
Still having problems with the quest mode:

Code: Select all
An error has occured. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
   http://www.slightlymagic.net/forum/viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
   mtgrares@yahoo.com

CardFactory : getCard() invalid card name - Blinding Mage

Detailed error trace:
java.lang.RuntimeException: CardFactory : getCard() invalid card name - Blinding Mage
   at forge.CardFactory.getCard2(CardFactory.java:380)
   at forge.CardFactory.getCard(CardFactory.java:120)
   at forge.QuestData_BoosterPack.setup(QuestData_BoosterPack.java:242)
   at forge.QuestData_BoosterPack.<init>(QuestData_BoosterPack.java:102)
   at forge.QuestData.<init>(QuestData.java:67)
   at forge.Gui_QuestOptions.<init>(Gui_QuestOptions.java:29)
   at forge.Gui_NewGame$2.actionPerformed(Gui_NewGame.java:225)
   at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
   at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(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)

Re: MTGForge 11/01 (unofficial BETA) version

PostPosted: 03 Nov 2009, 01:19
by Chris H.
freestorageaccount wrote:Still having problems with the quest mode:

CardFactory : getCard() invalid card name - Blinding Mage
`
If you open the cards.txt file in a text editor and search for this card, you will likely find that the card is slightly mis-named "Blinding mage".

Replace the lowercase m with an uppercase M and save the cards.txt file. Your quest should no longer show this error. :)

Re: MTGForge 11/01 (unofficial BETA) version

PostPosted: 03 Nov 2009, 01:38
by freestorageaccount
Thank you so much!

EDIT: Unfortunately, the program now seems to get stuck on 'Merfolk Looter'. 'Asha's favor' appears in cards.txt, and I wonder whether that will cause similar problems. Do we have to guess the correct capitalisations for all of the cards, or is something else the culprit?

Re: MTGForge 11/01 (unofficial BETA) version

PostPosted: 03 Nov 2009, 02:17
by Chris H.
freestorageaccount wrote:Thank you so much!

EDIT: Unfortunately, the program now seems to get stuck on 'Merfolk Looter'. 'Asha's favor' appears in cards.txt, and I wonder whether that will cause similar problems. Do we have to guess the correct capitalisations for all of the cards, or is something else the culprit?
`
Is there an error message in reference to the Merfolk Looter? If there is, it would be helpful to see it. :)

Re: MTGForge 11/01 (unofficial BETA) version

PostPosted: 03 Nov 2009, 02:18
by Corwin72
Magus of the Disk has no activated ability.

Re: MTGForge 11/01 (unofficial BETA) version

PostPosted: 03 Nov 2009, 02:24
by freestorageaccount
Yes there is (how foolish of me!):

Code: Select all
An error has occured. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
   http://www.slightlymagic.net/forum/viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
   mtgrares@yahoo.com

CardFactory : getCard() invalid card name - Merfolk Looter

Detailed error trace:
java.lang.RuntimeException: CardFactory : getCard() invalid card name - Merfolk Looter
   at forge.CardFactory.getCard2(CardFactory.java:380)
   at forge.CardFactory.getCard(CardFactory.java:120)
   at forge.QuestData_BoosterPack.setup(QuestData_BoosterPack.java:242)
   at forge.QuestData_BoosterPack.<init>(QuestData_BoosterPack.java:102)
   at forge.QuestData.<init>(QuestData.java:67)
   at forge.Gui_QuestOptions.<init>(Gui_QuestOptions.java:29)
   at forge.Gui_NewGame$2.actionPerformed(Gui_NewGame.java:225)
   at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
   at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(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)

Re: MTGForge 11/01 (unofficial BETA) version

PostPosted: 03 Nov 2009, 02:33
by DennisBergkamp
Weird, I'm not getting those errors at all... what happens when you start a new quest game (maybe backup your old quest file).

Hm, yes Blinding Mage and Asha's Favor are misspelled (both missing the capital letter of the second word).
I just fixed Magus of the Disk (it had to be moved into CardFactory_Creatures.java).