Page 43 of 487

Re: Bug Reports (snapshot builds)

PostPosted: 21 Sep 2012, 01:58
by friarsol
Anyone else getting this crash?

Keyboard Shortcut Crash | Open
java.lang.NumberFormatException: For input string: "17 81"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.valueOf(Unknown Source)
at forge.control.KeyboardShortcuts$Shortcut.attach(KeyboardShortcuts.java:188)
at forge.control.KeyboardShortcuts$Shortcut.<init>(KeyboardShortcuts.java:168)
at forge.control.KeyboardShortcuts.attachKeyboardShortcuts(KeyboardShortcuts.java:122)
at forge.control.FControl.initialize(FControl.java:154)
at forge.view.Main.main(Main.java:67)

Re: Bug Reports (snapshot builds)

PostPosted: 21 Sep 2012, 03:55
by moomarc
:-k I'm not getting that crash but its most likely from the shortcut I set up for End Turn. Its been sitting in my local copy for a while waiting for them to work again and I probably just set up a default key that doesn't play nicely on all systems. I'll have a look in an hour or so, but if anyone wants to try it should be the last entry in forgepreferences if I remember correctly.

Re: Bug Reports (snapshot builds)

PostPosted: 21 Sep 2012, 05:34
by moomarc
moomarc wrote::-k I'm not getting that crash but its most likely from the shortcut I set up for End Turn. Its been sitting in my local copy for a while waiting for them to work again and I probably just set up a default key that doesn't play nicely on all systems. I'll have a look in an hour or so, but if anyone wants to try it should be the last entry in forgepreferences if I remember correctly.
I think I know what it is. The key codes 17 and 81 are Ctrl and Q, so I'm quessing you set up a Ctrl-Q key for concede. At the moment though only single key shortcuts are working according to Doublestrike's commit. Maybe we just need to put a note in somewhere or find a way to limit the shortcuts to only one key. (Over to Doublestrike for that... I had a look at that code once and promptly broke down crying and gibbering like an idiot =P~ )

Re: Bug Reports (snapshot builds)

PostPosted: 21 Sep 2012, 12:35
by friarsol
moomarc wrote:
moomarc wrote::-k I'm not getting that crash but its most likely from the shortcut I set up for End Turn. Its been sitting in my local copy for a while waiting for them to work again and I probably just set up a default key that doesn't play nicely on all systems. I'll have a look in an hour or so, but if anyone wants to try it should be the last entry in forgepreferences if I remember correctly.
I think I know what it is. The key codes 17 and 81 are Ctrl and Q, so I'm quessing you set up a Ctrl-Q key for concede. At the moment though only single key shortcuts are working according to Doublestrike's commit. Maybe we just need to put a note in somewhere or find a way to limit the shortcuts to only one key. (Over to Doublestrike for that... I had a look at that code once and promptly broke down crying and gibbering like an idiot =P~ )
Well, I set that shortcut up a while ago. Which means now limiting it to a single key will crash Forge. We probably should check for a space (or some such), and not just immediately convert to an integer.

Re: Bug Reports (snapshot builds)

PostPosted: 21 Sep 2012, 13:05
by moomarc
 Blood Tribute doesn't allow you to cancel the payment if you select kicker by accident or decide not to kick it after-the-fact.

If we can get that working then I can also commit my Conspire mechanic. Got everything coded and all the cards scripted. Just need to be able to cancel them. Is there no way that we can check that optional additional costs are payable before adding them to the sa choices?

Re: Bug Reports (snapshot builds)

PostPosted: 21 Sep 2012, 17:54
by Sloth
moomarc wrote: Blood Tribute doesn't allow you to cancel the payment if you select kicker by accident or decide not to kick it after-the-fact.

If we can get that working then I can also commit my Conspire mechanic. Got everything coded and all the cards scripted. Just need to be able to cancel them. Is there no way that we can check that optional additional costs are payable before adding them to the sa choices?
I managed to fix Blood Tribute problem. I hope this will enable your Conspire code.

Re: Bug Reports (snapshot builds)

PostPosted: 23 Sep 2012, 11:11
by Max mtg
If any core funcitonality suddenly stopped working, that must be my changes aimed to elimination of CardList as a special class and use of standatd List<Card> everywhere along with Predicate<Card> to filter out or count any special cards.

Re: Bug Reports (snapshot builds)

PostPosted: 23 Sep 2012, 11:24
by RumbleBBU
Max mtg wrote:If any core funcitonality suddenly stopped working, that must be my changes aimed to elimination of CardList as a special class and use of standatd List<Card> everywhere along with Predicate<Card> to filter out or count any special cards.
Dunno about that but CardReader.java does give errors now when you try to launch the game...

Re: Bug Reports (snapshot builds)

PostPosted: 23 Sep 2012, 11:48
by Sloth
RumbleBBU wrote:
Max mtg wrote:If any core funcitonality suddenly stopped working, that must be my changes aimed to elimination of CardList as a special class and use of standatd List<Card> everywhere along with Predicate<Card> to filter out or count any special cards.
Dunno about that but CardReader.java does give errors now when you try to launch the game...
I didn't encounter any errors yet (doing some testing for the beta tomorrow). Did you refresh RumbleBBU?

Re: Bug Reports (snapshot builds)

PostPosted: 23 Sep 2012, 12:49
by friarsol
Max mtg wrote:If any core funcitonality suddenly stopped working, that must be my changes aimed to elimination of CardList as a special class and use of standatd List<Card> everywhere along with Predicate<Card> to filter out or count any special cards.
Max, Chris said the other day he was going to release a beta on monday. I'm fine with the goal of this change, but why didn't wait till after release?

Re: Bug Reports (snapshot builds)

PostPosted: 23 Sep 2012, 13:17
by Chris H.
Sloth wrote:
RumbleBBU wrote:
Max mtg wrote:If any core funcitonality suddenly stopped working, that must be my changes aimed to elimination of CardList as a special class and use of standatd List<Card> everywhere along with Predicate<Card> to filter out or count any special cards.
Dunno about that but CardReader.java does give errors now when you try to launch the game...
I didn't encounter any errors yet (doing some testing for the beta tomorrow). Did you refresh RumbleBBU?
 
I spent some time testing the snapshot build from today and everything that I tried seemed to work OK. Granted, I could not test every piece of code so there might be a chance that there is still a bug or two to fix.

Re: Bug Reports (snapshot builds)

PostPosted: 23 Sep 2012, 15:04
by PowerClaws
Im not sure if my version is being weird, but i think the DFC's arent displaying the other side, i can click on the image to flip the card, but once flipped, it doesnt show the image, however, flipping back to the other side is perfect, everything is there (just the "moon" side doesnt show an image, just in case i confused anyone)

Re: Bug Reports (snapshot builds)

PostPosted: 23 Sep 2012, 15:09
by PowerClaws
also, searching the word "Vampire" with only type checked returns no results, however, "ampire" returns pretty much every vampire

Re: Bug Reports (snapshot builds)

PostPosted: 23 Sep 2012, 15:25
by RumbleBBU
Sloth wrote:
RumbleBBU wrote:
Max mtg wrote:If any core funcitonality suddenly stopped working, that must be my changes aimed to elimination of CardList as a special class and use of standatd List<Card> everywhere along with Predicate<Card> to filter out or count any special cards.
Dunno about that but CardReader.java does give errors now when you try to launch the game...
I didn't encounter any errors yet (doing some testing for the beta tomorrow). Did you refresh RumbleBBU?
I did...over and over. Checked out, refreshed in Eclipse, started anew...always the same two errors. Eventuallly I nuked the whole src/ dir and did a fresh checkout. That helped.

Re: Bug Reports (snapshot builds)

PostPosted: 23 Sep 2012, 20:32
by Jaedayr
9/22 build

| 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.14-SNAPSHOT

OS: Windows 7 Version: 6.1 Architecture: x86

Java Version: 1.6.0_29 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.util.ConcurrentModificationException
at java.util.AbstractList$Itr.checkForComodification(Unknown Source)
at java.util.AbstractList$Itr.next(Unknown Source)
at forge.view.arcane.PlayArea.canAdjustWidth(PlayArea.java:321)
at forge.view.arcane.PlayArea.doLayout(PlayArea.java:211)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validate(Unknown Source)
at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)
at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(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)