Re: MTGForge 11/01 (unofficial BETA) version
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
High Quality Resources for Collectible Card Games and Home of the CCGHQ Team
https://www.slightlymagic.net/forum/
https://www.slightlymagic.net/forum/viewtopic.php?f=26&t=1799
cardToEffectsList.put("Absolute Grace", new String[] {"Absolute_Grace"});
cardToEffectsList.put("Absolute Law", new String[] {"Absolute_Law"});
http://mi.wizards.com/global/images/magic/general/benalish_trapper.jpgYou 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).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.
No problemsthe .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.
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.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...
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)`freestorageaccount wrote:Still having problems with the quest mode:
CardFactory : getCard() invalid card name - Blinding Mage
`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?
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)