It is currently 21 Aug 2025, 19:38
   
Text Size

Bug Reports (snapshot builds)

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: Bug Reports (snapshot builds)

Postby friarsol » 21 Sep 2012, 01:58

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)
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Bug Reports (snapshot builds)

Postby moomarc » 21 Sep 2012, 03:55

:-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.
-Marc
User avatar
moomarc
Pixel Commander
 
Posts: 2091
Joined: 04 Jun 2010, 15:22
Location: Johannesburg, South Africa
Has thanked: 371 times
Been thanked: 372 times

Re: Bug Reports (snapshot builds)

Postby moomarc » 21 Sep 2012, 05:34

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~ )
-Marc
User avatar
moomarc
Pixel Commander
 
Posts: 2091
Joined: 04 Jun 2010, 15:22
Location: Johannesburg, South Africa
Has thanked: 371 times
Been thanked: 372 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 21 Sep 2012, 12:35

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.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Bug Reports (snapshot builds)

Postby moomarc » 21 Sep 2012, 13:05

 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?
-Marc
User avatar
moomarc
Pixel Commander
 
Posts: 2091
Joined: 04 Jun 2010, 15:22
Location: Johannesburg, South Africa
Has thanked: 371 times
Been thanked: 372 times

Re: Bug Reports (snapshot builds)

Postby Sloth » 21 Sep 2012, 17:54

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.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Bug Reports (snapshot builds)

Postby Max mtg » 23 Sep 2012, 11:11

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.
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: Bug Reports (snapshot builds)

Postby RumbleBBU » 23 Sep 2012, 11:24

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...
User avatar
RumbleBBU
 
Posts: 394
Joined: 18 Aug 2012, 04:24
Has thanked: 29 times
Been thanked: 66 times

Re: Bug Reports (snapshot builds)

Postby Sloth » 23 Sep 2012, 11:48

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?
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 23 Sep 2012, 12:49

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?
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Bug Reports (snapshot builds)

Postby Chris H. » 23 Sep 2012, 13:17

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.
User avatar
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: Bug Reports (snapshot builds)

Postby PowerClaws » 23 Sep 2012, 15:04

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)
PowerClaws
 
Posts: 131
Joined: 30 Jan 2012, 11:33
Has thanked: 28 times
Been thanked: 8 times

Re: Bug Reports (snapshot builds)

Postby PowerClaws » 23 Sep 2012, 15:09

also, searching the word "Vampire" with only type checked returns no results, however, "ampire" returns pretty much every vampire
PowerClaws
 
Posts: 131
Joined: 30 Jan 2012, 11:33
Has thanked: 28 times
Been thanked: 8 times

Re: Bug Reports (snapshot builds)

Postby RumbleBBU » 23 Sep 2012, 15:25

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.
User avatar
RumbleBBU
 
Posts: 394
Joined: 18 Aug 2012, 04:24
Has thanked: 29 times
Been thanked: 66 times

Re: Bug Reports (snapshot builds)

Postby Jaedayr » 23 Sep 2012, 20:32

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)
Jaedayr
Tester
 
Posts: 523
Joined: 08 Jul 2010, 00:06
Has thanked: 16 times
Been thanked: 13 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 19 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 19 users online :: 0 registered, 0 hidden and 19 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 19 guests

Login Form