Discussion of recent updates to the committed changes list.
by mtgrares
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Discussion of recent updates to the committed changes list.
by Corwin72 » 13 Jul 2010, 21:27
This thread is for the discussion of changes to the SVN.
http://code.google.com/p/cardforge/source/list
To create a working build from this please use the awesome
You can access the current SVN by using Snacko's great tool updated and included at the bottom of this post.
To run extract the files to a working directory and run the file
run-first.bat
Once the command command prompt window closes run the file
update-and-build.bat
This will build a working forge version in the forge folder and create the file forge.zip.
I recommend renaming the forge.zip to today's date to keep the builds straight.
Other recommendations include copying folders and files from your previous forge version to the working version that was just created.
forge\res\pics
forge\res\decks
and the file
forge\res\quest\questData
http://code.google.com/p/cardforge/source/list
To create a working build from this please use the awesome
You can access the current SVN by using Snacko's great tool updated and included at the bottom of this post.
To run extract the files to a working directory and run the file
run-first.bat
Once the command command prompt window closes run the file
update-and-build.bat
This will build a working forge version in the forge folder and create the file forge.zip.
I recommend renaming the forge.zip to today's date to keep the builds straight.
Other recommendations include copying folders and files from your previous forge version to the working version that was just created.
forge\res\pics
forge\res\decks
and the file
forge\res\quest\questData
- Attachments
-
forge-buildv2.3.zip
- (4.21 MiB) Downloaded 423 times
-
Corwin72 - Posts: 793
- Joined: 15 Sep 2009, 13:26
- Location: Grayson, Ga
- Has thanked: 25 times
- Been thanked: 9 times
Re: Discussion of recent updates to the committed changes li
by Chris H. » 13 Jul 2010, 23:11
There is some interesting info in this topic How to get started? for anyone who wants to learn more about java and/or Eclipse. 

-
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: Discussion of recent updates to the committed changes li
by Snacko » 14 Jul 2010, 11:29
Actually the compiler and an appropriate version of subversion is included in the package so you don't need to install anything except to have java runtime.
Re: Discussion of recent updates to the committed changes li
by Chris H. » 14 Jul 2010, 12:50
`Corwin72 wrote:This will build a working forge version in the forge folder and create the file forge.zip.
I recommend renaming the forge.zip to today's date to keep the builds straight.
People might want to keep a previous build on their computer incase the current build turns out to be problematic. As they say, it is better to be safe than sorry.

-
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: Discussion of recent updates to the committed changes li
by Corwin72 » 14 Jul 2010, 13:24
If you do not copy the pics folder from version to version I have found that the token downloads error out because there is no tokens folder in the pic folder of the newly created forge build.
What do you think about the text over the cards in your hand. I am not really a fan because I no longer feel like I am looking at the same cards that I would be looking at if I was playing IRL. I do like the black boarder that has been added to all cards. That is cool to me.
Has anyone else changed all the pictures for their basic lands to the (basic land).jpg? I play a lot of standard and I love the new full card image instead of the old art.
Has anyone got a M11 Titan in a quest yet? I really want to bash with a grave titan.
What do you think about the text over the cards in your hand. I am not really a fan because I no longer feel like I am looking at the same cards that I would be looking at if I was playing IRL. I do like the black boarder that has been added to all cards. That is cool to me.
Has anyone else changed all the pictures for their basic lands to the (basic land).jpg? I play a lot of standard and I love the new full card image instead of the old art.
Has anyone got a M11 Titan in a quest yet? I really want to bash with a grave titan.
-
Corwin72 - Posts: 793
- Joined: 15 Sep 2009, 13:26
- Location: Grayson, Ga
- Has thanked: 25 times
- Been thanked: 9 times
Re: Discussion of recent updates to the committed changes li
by Chris H. » 14 Jul 2010, 14:31
`Corwin72 wrote:If you do not copy the pics folder from version to version I have found that the token downloads error out because there is no tokens folder in the pic folder of the newly created forge build.
What do you think about the text over the cards in your hand. I am not really a fan because I no longer feel like I am looking at the same cards that I would be looking at if I was playing IRL. I do like the black boarder that has been added to all cards. That is cool to me.
Has anyone else changed all the pictures for their basic lands to the (basic land).jpg? I play a lot of standard and I love the new full card image instead of the old art.
Has anyone got a M11 Titan in a quest yet? I really want to bash with a grave titan.
There are a lot of new features for the cards that are displayed in your hand. The size of the cards in your hand will shrink if there is not enough room to display each one. Nice feature.
The Titans will need to be added to the rarity files before they will show up as a prize. The card shop may also only use cards that are listed in the rarity files. Those Titans do look awesome.

-
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: Discussion of recent updates to the committed changes li
by Corwin72 » 14 Jul 2010, 15:37
I thought that they could show up in the store for a generic amount.
5,10,25,50,100,250 something like that.
5,10,25,50,100,250 something like that.
-
Corwin72 - Posts: 793
- Joined: 15 Sep 2009, 13:26
- Location: Grayson, Ga
- Has thanked: 25 times
- Been thanked: 9 times
Re: Discussion of recent updates to the committed changes li
by Chris H. » 14 Jul 2010, 16:48
`Corwin72 wrote:I thought that they could show up in the store for a generic amount.
5,10,25,50,100,250 something like that.
I could be mistaken.

The price of the cards are set by the all-prices.txt file. For those cards not in the all-prices.txt file a default value is used.
OH, have you had a chance to use Rob's new feature in the New Game menu to update the all-prices.txt file?
-
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: Discussion of recent updates to the committed changes li
by Corwin72 » 14 Jul 2010, 16:51
I have not. That is a good idea. I will try that.
Any idea why I am getting this error when starting games now?
I can click close and continue with my game.
null
Version:
Forge -- official beta: $Date: 2010-05-01 03:21:42 -0400 (Sat, 01 May 2010) $, SVN revision: $Revision: 916 $
OS: Windows XP Version: 5.1 Architecture: x86
Java Version: 1.6.0_20 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.NullPointerException
at arcane.ui.CardPanel.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at arcane.ui.CardPanel.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at org.jdesktop.swingx.JXMultiSplitPane.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JLayeredPane.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
at java.awt.Container.paint(Unknown Source)
at java.awt.Window.paint(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(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)
Any idea why I am getting this error when starting games now?
I can click close and continue with my game.
null
Version:
Forge -- official beta: $Date: 2010-05-01 03:21:42 -0400 (Sat, 01 May 2010) $, SVN revision: $Revision: 916 $
OS: Windows XP Version: 5.1 Architecture: x86
Java Version: 1.6.0_20 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.NullPointerException
at arcane.ui.CardPanel.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at arcane.ui.CardPanel.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at org.jdesktop.swingx.JXMultiSplitPane.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JLayeredPane.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
at java.awt.Container.paint(Unknown Source)
at java.awt.Window.paint(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(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)
-
Corwin72 - Posts: 793
- Joined: 15 Sep 2009, 13:26
- Location: Grayson, Ga
- Has thanked: 25 times
- Been thanked: 9 times
Re: Discussion of recent updates to the committed changes li
by Corwin72 » 27 Jul 2010, 18:49
Do the cards added in build r1561-r1563 include pictures?
-
Corwin72 - Posts: 793
- Joined: 15 Sep 2009, 13:26
- Location: Grayson, Ga
- Has thanked: 25 times
- Been thanked: 9 times
Re: Discussion of recent updates to the committed changes li
by Chris H. » 27 Jul 2010, 19:32
`Corwin72 wrote:Do the cards added in build r1561-r1563 include pictures?
The devs are currently exploring automating the pic and rarity values. This would help to eliminate some of the time spent entering this data by hand. Automation is a good thing. The revs on the SVN are sometimes a work in progress.

-
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: Discussion of recent updates to the committed changes li
by Corwin72 » 27 Jul 2010, 20:36
Thank you for the update. I did not know that the pics were being updated that way.
-
Corwin72 - Posts: 793
- Joined: 15 Sep 2009, 13:26
- Location: Grayson, Ga
- Has thanked: 25 times
- Been thanked: 9 times
Re: Discussion of recent updates to the committed changes li
by Corwin72 » 19 Aug 2010, 13:42
I am receiving an error when I try to open the shop on build r1778.
Any ideas?
CardFactory : getCard() invalid card name - Divine Offering
Version:
Forge -- official beta: $Date: 2010-05-01 03:21:42 -0400 (Sat, 01 May 2010) $, SVN revision: $Revision: 916 $
OS: Windows XP Version: 5.1 Architecture: x86
Java Version: 1.6.0_21 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.RuntimeException: CardFactory : getCard() invalid card name - Divine Offering
at forge.CardFactory.getCard2(Unknown Source)
at forge.CardFactory.getCard(Unknown Source)
at forge.Gui_CardShop.show(Unknown Source)
at forge.Gui_Quest.cardShopButton_actionPerformed(Unknown Source)
at forge.Gui_Quest$5.actionPerformed(Unknown Source)
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)
Any ideas?
CardFactory : getCard() invalid card name - Divine Offering
Version:
Forge -- official beta: $Date: 2010-05-01 03:21:42 -0400 (Sat, 01 May 2010) $, SVN revision: $Revision: 916 $
OS: Windows XP Version: 5.1 Architecture: x86
Java Version: 1.6.0_21 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.RuntimeException: CardFactory : getCard() invalid card name - Divine Offering
at forge.CardFactory.getCard2(Unknown Source)
at forge.CardFactory.getCard(Unknown Source)
at forge.Gui_CardShop.show(Unknown Source)
at forge.Gui_Quest.cardShopButton_actionPerformed(Unknown Source)
at forge.Gui_Quest$5.actionPerformed(Unknown Source)
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)
-
Corwin72 - Posts: 793
- Joined: 15 Sep 2009, 13:26
- Location: Grayson, Ga
- Has thanked: 25 times
- Been thanked: 9 times
Re: Discussion of recent updates to the committed changes li
by Corwin72 » 19 Aug 2010, 14:17
Thanks Chris.
-
Corwin72 - Posts: 793
- Joined: 15 Sep 2009, 13:26
- Location: Grayson, Ga
- Has thanked: 25 times
- Been thanked: 9 times
Re: Discussion of recent updates to the committed changes li
by Chris H. » 19 Aug 2010, 14:25
`Corwin72 wrote:Thanks Chris.
I Fixed the cards.txt bug with Devour in Shadow and Divine Offering. You should update to rev 1781 or later. I apologize for this error.

Let me know if this does not take care of the problem.
-
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
23 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: Marek14 and 30 guests