Page 2 of 3

Re: Forge version 1.2.6

PostPosted: 23 Mar 2012, 14:30
by friarsol
moomarc wrote:My sincere apologies; I hadn't realised that the revised scripts were done already so thought I'd get this one in :oops: I 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?
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.

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.

Re: Forge version 1.2.6

PostPosted: 23 Mar 2012, 15:29
by Max mtg
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.

Re: Forge version 1.2.6

PostPosted: 23 Mar 2012, 16:41
by moomarc
friarsol 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.
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 then ;)

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.

Re: Forge version 1.2.6

PostPosted: 24 Mar 2012, 02:23
by friarsol
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.

Re: Forge version 1.2.6

PostPosted: 24 Mar 2012, 10:54
by Doublestrike
@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.

Re: Forge version 1.2.6

PostPosted: 24 Mar 2012, 20:48
by Vernon
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.
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.

Re: Forge version 1.2.6

PostPosted: 24 Mar 2012, 21:24
by Max mtg
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.
I've seen such thing after starting a game in quest mode with some pets summoned.
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.

Re: Forge version 1.2.6

PostPosted: 24 Mar 2012, 21:39
by Vernon
That's exactly what happens all right (the screenshot). Could it be a code issue with the extra cards (pets)?

Re: Forge version 1.2.6

PostPosted: 24 Mar 2012, 22:54
by Chris H.
Max mtg wrote:
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.
I've seen such thing after starting a game in quest mode with some pets summoned.
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)

Re: Forge version 1.2.6

PostPosted: 25 Mar 2012, 07:45
by Vernon
Sometimes I get the same crash in the beta. Sadly, I have no knowledge of java to help.

Re: Forge version 1.2.6

PostPosted: 25 Mar 2012, 12:14
by Chris H.
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):

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)


`

Re: Forge version 1.2.6

PostPosted: 25 Mar 2012, 18:08
by Max mtg
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.

Re: Forge version 1.2.6

PostPosted: 25 Mar 2012, 23:21
by Chris H.
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.

Re: Forge version 1.2.6

PostPosted: 26 Mar 2012, 07:27
by Max mtg
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.
kk, I'll work on something else until presentation problems are solved.

Re: Forge version 1.2.6

PostPosted: 26 Mar 2012, 13:27
by Chris H.
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:

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)

`