Forge version 1.2.6
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
44 posts
• Page 2 of 3 • 1, 2, 3
Re: Forge version 1.2.6
by friarsol » 23 Mar 2012, 14:30
I guess you could leave the plant and add the new pictures. I'll see how the Deathtouch -> Wither effects the AI before instituting the remaining changes planned for the Wall. I mostly didn't want to do extra artwork for minor repetitions, but since it's already done we can make use of it.moomarc wrote:My sincere apologies; I hadn't realised that the revised scripts were done already so thought I'd get this one inI have prepared the two images, but if you'd prefer I'll just revert for now? Otherwise I'll upload the images and adjust the descriptions. Let me know which way to go.
Edit: How are the pets being handled at the moment? Via download, or included in the release package?
The actual pet data is part of the release package, I'm not sure what the deal is with the images for the pets.
When I get to my netbook, I can post the remaining pet scripts, so updated artwork can be started for those. This includes the addition of a 5th pet as well as the Wolf Pet changing from Green to White.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Forge version 1.2.6
by Max mtg » 23 Mar 2012, 15:29
The actual pet data model supports a number of pets on each "slot".
So you can intorduce a number of walls to choose from when (if the ui is changed from checkbox to a dropdown)
Or open next slot for something even different.
Data model is stable.
Problems are about UI integration.
So you can intorduce a number of walls to choose from when (if the ui is changed from checkbox to a dropdown)
Or open next slot for something even different.
Data model is stable.
Problems are about UI integration.
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
Re: Forge version 1.2.6
by moomarc » 23 Mar 2012, 16:41
The plant wall is the only pet that I finished creating artwork for, from the frame to a modified illustration for each level. So editing the text for it was easy. Will be sad if the actual illustration has to change with the other changes, but I'll just have to create a new plant to use it thenfriarsol wrote:I mostly didn't want to do extra artwork for minor repetitions, but since it's already done we can make use of it.

Anyway, I've adjusted the index.xml file for the bazaar as well as the url list for downloading the pet images (I renamed the level6 plant image to g_1_4_plant_wall_wither.jpg so that neither of the new files interfere with users of older versions). So let me know if there's anything that I've missed.
-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Forge version 1.2.6
by friarsol » 24 Mar 2012, 02:23
Occassionally, when playing a Quest match the Loading screen disappears without a coin flip or the actually loading anything. This places the Quest in a state where nothing has been loaded, and nothing can be done, a very confusing scenario that really shouldn't come up. I haven't been able to figure out what exactly is causing it, but I just had it happen a few times before having to force close.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Forge version 1.2.6
by Doublestrike » 24 Mar 2012, 10:54
@Sol - noted. I'll keep an eye open for that and see if it can't be fixed. I'm updating the match UI so hopefully I'll run across that.
---
A joke is a very serious thing.
A joke is a very serious thing.
-
Doublestrike - UI Programmer
- Posts: 715
- Joined: 08 Aug 2011, 09:07
- Location: Bali
- Has thanked: 183 times
- Been thanked: 161 times
Re: Forge version 1.2.6
by Vernon » 24 Mar 2012, 20:48
This has been an issue since the last beta (at least). I think it has to do with the quest data not loading properly after a player deck edit.friarsol wrote:Occassionally, when playing a Quest match the Loading screen disappears without a coin flip or the actually loading anything. This places the Quest in a state where nothing has been loaded, and nothing can be done, a very confusing scenario that really shouldn't come up. I haven't been able to figure out what exactly is causing it, but I just had it happen a few times before having to force close.
When playing, card text is important. Read and understand it. It will usually prevent most errors.
- Vernon
- Posts: 51
- Joined: 01 Feb 2012, 23:18
- Location: Portland, OR
- Has thanked: 3 times
- Been thanked: 0 time
Re: Forge version 1.2.6
by Max mtg » 24 Mar 2012, 21:24
I've seen such thing after starting a game in quest mode with some pets summoned.Vernon wrote:This has been an issue since the last beta (at least). I think it has to do with the quest data not loading properly after a player deck edit.
Happened only for the first game right after the program starts.
Have no idea why it happened. Should I start a game without pets, it worked perfectly.
Tried to step into code that adds human extra cards on the battlefield, but found no problem there. Also, a duel would fail to start more regularly if there actually were a problem. Maybe a save will help or a screenshot?
When I start game, select plant and hound, start game and that picture happens.
- Attachments
-
dataquestData.rename-to-dat.txt
- (22.12 KiB) Downloaded 206 times
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
Re: Forge version 1.2.6
by Vernon » 24 Mar 2012, 21:39
That's exactly what happens all right (the screenshot). Could it be a code issue with the extra cards (pets)?
When playing, card text is important. Read and understand it. It will usually prevent most errors.
- Vernon
- Posts: 51
- Joined: 01 Feb 2012, 23:18
- Location: Portland, OR
- Has thanked: 3 times
- Been thanked: 0 time
Re: Forge version 1.2.6
by Chris H. » 24 Mar 2012, 22:54
`Max mtg wrote:I've seen such thing after starting a game in quest mode with some pets summoned.Vernon wrote:This has been an issue since the last beta (at least). I think it has to do with the quest data not loading properly after a player deck edit.
Happened only for the first game right after the program starts.
Have no idea why it happened. Should I start a game without pets, it worked perfectly.
Tried to step into code that adds human extra cards on the battlefield, but found no problem there. Also, a duel would fail to start more regularly if there actually were a problem. Maybe a save will help or a screenshot?
When I start game, select plant and hound, start game and that picture happens.
I downloaded your questdata file and started a match with a deck included in the questdata file. My battlefield display looks like yours Max.
Would a Crash Report help any?
- Crash Report | Open
- This is a Crash Report. An error has occurred. Please save this message to a file.
Please follow the instructions at this address to submit this Crash Report, plus what you were doing at the time:
http://tinyurl.com/3zzrnyb
Reporting bugs in Forge is very important. We thank you for your time.
null
Version:
Forge version 1.2.6-SNAPSHOT-r14893
OS: Mac OS X Version: 10.7.3 Architecture: x86_64
Java Version: 1.6.0_29 Vendor: Apple Inc.
Detailed error trace:
java.lang.NullPointerException
at arcane.ui.PlayArea.wrap(PlayArea.java:352)
at arcane.ui.PlayArea.rowSpacing(PlayArea.java:273)
at arcane.ui.PlayArea.doLayout(PlayArea.java:186)
at java.awt.Container.validateTree(Container.java:1507)
at java.awt.Container.validateTree(Container.java:1513)
at java.awt.Container.validateTree(Container.java:1513)
at java.awt.Container.validate(Container.java:1480)
at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:670)
at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1671)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:677)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:638)
at java.awt.EventQueue$1.run(EventQueue.java:636)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:647)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
-
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: Forge version 1.2.6
by Vernon » 25 Mar 2012, 07:45
Sometimes I get the same crash in the beta. Sadly, I have no knowledge of java to help.
When playing, card text is important. Read and understand it. It will usually prevent most errors.
- Vernon
- Posts: 51
- Joined: 01 Feb 2012, 23:18
- Location: Portland, OR
- Has thanked: 3 times
- Been thanked: 0 time
Re: Forge version 1.2.6
by Chris H. » 25 Mar 2012, 12:14
I started my current quest about one and a half weeks ago. I increased the starting credits in my pref file and purchased a precon deck, Carnival of Blood. I played this deck for about 24 matches without making any changes to the Carnival of Blood precon deck. It plays OK without the errors seen by other people.
Today i loaded this deck into the quest mode deck editor and replaced several of the cards and saved the deck under a different name. I then stated a duel match with this edited deck and received the following error (using rev 14899):
`
Today i loaded this deck into the quest mode deck editor and replaced several of the cards and saved the deck under a different name. I then stated a duel match with this edited deck and received the following error (using rev 14899):
- Crash Report | Open
- This is a Crash Report. An error has occurred. Please save this message to a file.
Please follow the instructions at this address to submit this Crash Report, plus what you were doing at the time:
http://tinyurl.com/3zzrnyb
Reporting bugs in Forge is very important. We thank you for your time.
null
Version:
Forge version 1.2.6-SNAPSHOT-r14899
OS: Mac OS X Version: 10.7.3 Architecture: x86_64
Java Version: 1.6.0_29 Vendor: Apple Inc.
Detailed error trace:
java.util.ConcurrentModificationException
at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
at java.util.AbstractList$Itr.next(AbstractList.java:343)
at arcane.ui.PlayArea.wrap(PlayArea.java:351)
at arcane.ui.PlayArea.rowSpacing(PlayArea.java:272)
at arcane.ui.PlayArea.doLayout(PlayArea.java:186)
at java.awt.Container.validateTree(Container.java:1507)
at java.awt.Container.validateTree(Container.java:1513)
at java.awt.Container.validateTree(Container.java:1513)
at java.awt.Container.validate(Container.java:1480)
at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:670)
at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1671)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:677)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:638)
at java.awt.EventQueue$1.run(EventQueue.java:636)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:647)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
`
-
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: Forge version 1.2.6
by Max mtg » 25 Mar 2012, 18:08
If it's just about java.util.ConcurrentModificationException, it can be repaired by changing the iteration method. In r14908 I have done so.
Have no idea how the whole thing works, buy maybe this patch works.
Have no idea how the whole thing works, buy maybe this patch works.
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
Re: Forge version 1.2.6
by Chris H. » 25 Mar 2012, 23:21
I think that I will delay the release of version 1.2.6 for awhile. It would be nice if we could solve the quest mode problems before the next release.
-
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: Forge version 1.2.6
by Max mtg » 26 Mar 2012, 07:27
kk, I'll work on something else until presentation problems are solved.Chris H. wrote:I think that I will delay the release of version 1.2.6 for awhile. It would be nice if we could solve the quest mode problems before the next release.
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
Re: Forge version 1.2.6
by Chris H. » 26 Mar 2012, 13:27
Using today's snapshot build (rev 14921) I retested Max's questdata file. This time around I see both players with a full hand and library. And there was no crash report this time. Looks good. Thank you Max.
Using the same snapshot build I also retried the deck edit test that I performed in message http://www.slightlymagic.net/forum/viewtopic.php?f=52&t=6618&start=15#p85865.
I changed one of the cards found in the Carnival of Blood precon deck that I had purchased in the card shop. I saved this deck with a different name. I selected this edited version and selected both of my pets and started a match. I get this crash report and my battlefield display looks like this:
`
Using the same snapshot build I also retried the deck edit test that I performed in message http://www.slightlymagic.net/forum/viewtopic.php?f=52&t=6618&start=15#p85865.
I changed one of the cards found in the Carnival of Blood precon deck that I had purchased in the card shop. I saved this deck with a different name. I selected this edited version and selected both of my pets and started a match. I get this crash report and my battlefield display looks like this:
- Crash Report | Open
- This is a Crash Report. An error has occurred. Please save this message to a file.
Please follow the instructions at this address to submit this Crash Report, plus what you were doing at the time:
http://tinyurl.com/3zzrnyb
Reporting bugs in Forge is very important. We thank you for your time.
null
Version:
Forge version 1.2.6-SNAPSHOT-r14921
OS: Mac OS X Version: 10.7.3 Architecture: x86_64
Java Version: 1.6.0_29 Vendor: Apple Inc.
Detailed error trace:
java.lang.ArrayIndexOutOfBoundsException
at java.util.ArrayList.add(ArrayList.java:371)
at arcane.ui.PlayArea.wrap(PlayArea.java:348)
at arcane.ui.PlayArea.rowSpacing(PlayArea.java:273)
at arcane.ui.PlayArea.doLayout(PlayArea.java:187)
at java.awt.Container.validateTree(Container.java:1507)
at java.awt.Container.validateTree(Container.java:1513)
at java.awt.Container.validateTree(Container.java:1513)
at java.awt.Container.validate(Container.java:1480)
at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:670)
at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1671)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:677)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:638)
at java.awt.EventQueue$1.run(EventQueue.java:636)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:647)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
`
-
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
44 posts
• Page 2 of 3 • 1, 2, 3
Who is online
Users browsing this forum: No registered users and 58 guests