It is currently 20 May 2025, 10:45
   
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 oskarolw » 28 Nov 2013, 09:47

Revision 23807.

Cabal Therapy seem to think every card is a land and therefore you are unable to select a valid card and the dialogue never closes. I don't have a crash report though so I am not sure of this.
oskarolw
 
Posts: 39
Joined: 06 Jul 2012, 08:51
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby krevett » 28 Nov 2013, 19:35

I was about to report for Cabal Therapy! Encountered exactly the same bug, cannot select any of the cards and being forced to quit forge by Ctrl-Alt-Del (on windows)
krevett
 
Posts: 109
Joined: 21 Feb 2012, 22:24
Location: France
Has thanked: 18 times
Been thanked: 9 times

Re: Bug Reports (snapshot builds)

Postby Max mtg » 29 Nov 2013, 04:26

Just fixed the ChooseCardNameEffect effect.

While playing noticed that the font of turn summary panel is too small and thus hard to read (on a 24" monitor, running the app fullscreen at 1920*1200 px)
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 drdev » 29 Nov 2013, 04:55

Max mtg wrote:Just fixed the ChooseCardNameEffect effect.

While playing noticed that the font of turn summary panel is too small and thus hard to read (on a 24" monitor, running the app fullscreen at 1920*1200 px)
I was working on supporting a compact prompt pane, so I had reduced the font to size 12. Given your concern, I added a "Compact Prompt" setting that switches between the default old behavior of size 14 font and a header, and the new compact mode with no header and size 12 font. So this should be fixed for you now.

For reference, here's what the compact Prompt pane looks like:

CompactPrompt.png
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby GnapM » 29 Nov 2013, 09:27

Sorry if it has already been posted in the earlier 170 pages ;)

Browbeat doesn't work, you never draw cards.
GnapM
 
Posts: 2
Joined: 21 Nov 2013, 13:10
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby oskarolw » 29 Nov 2013, 13:43

GnapM wrote:Sorry if it has already been posted in the earlier 170 pages ;)

Browbeat doesn't work, you never draw cards.
You only have to check last 1-2 pages since this is for snapshot builds. What version are you running?
oskarolw
 
Posts: 39
Joined: 06 Jul 2012, 08:51
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby krevett » 29 Nov 2013, 14:28

Training Grounds does not reduce the cost of Lin Sivvi, Defiant Hero X capacity, you still pay the normal cost.
krevett
 
Posts: 109
Joined: 21 Feb 2012, 22:24
Location: France
Has thanked: 18 times
Been thanked: 9 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 29 Nov 2013, 15:17

krevett wrote:Training Grounds does not reduce the cost of Lin Sivvi, Defiant Hero X capacity, you still pay the normal cost.
This is a known issue with certain x costs and mana reduction.
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 krevett » 29 Nov 2013, 15:34

Ok sorry for the post ;)
krevett
 
Posts: 109
Joined: 21 Feb 2012, 22:24
Location: France
Has thanked: 18 times
Been thanked: 9 times

Re: Bug Reports (snapshot builds)

Postby swordshine » 01 Dec 2013, 05:42

r23850, I cannot play Commander games against AI. The game would be either a Human vs Human or AI vs AI.
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Bug Reports (snapshot builds)

Postby iRaxief » 01 Dec 2013, 19:53

got a bug when i was saving deck after draft vs ai (RTR block)
Description: [got a bug when i was saving deck after draft vs ai (RTR block) ]

RuntimeException | Open
Code: Select all
Forge Version:    1.5.6-SNAPSHOT-r${forge.revision}${forge.specialStatus} (mixed revisions detected; please update from the root directory)
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_45 Oracle Corporation

java.lang.RuntimeException: FileUtil : writeFile() error, problem writing file - C:\Users\Arief\AppData\Roaming\Forge\decks\draft\IZZET \human.dck : java.io.FileNotFoundException: C:\Users\Arief\AppData\Roaming\Forge\decks\draft\IZZET \human.dck (The system cannot find the path specified)
   at forge.util.FileUtil.writeFile(FileUtil.java:110)
   at forge.deck.io.DeckGroupSerializer.save(DeckGroupSerializer.java:62)
   at forge.deck.io.DeckGroupSerializer.save(DeckGroupSerializer.java:38)
   at forge.util.storage.StorageImmediatelySerialized.add(StorageImmediatelySerialized.java:75)
   at forge.gui.deckeditor.controllers.DeckController.save(DeckController.java:199)
   at forge.gui.deckeditor.SEditorIO.saveDeck(SEditorIO.java:64)
   at forge.gui.deckeditor.SEditorIO.saveDeck(SEditorIO.java:27)
   at forge.gui.deckeditor.SEditorIO.confirmSaveChanges(SEditorIO.java:97)
   at forge.gui.deckeditor.controllers.CEditorLimited.canSwitchAway(CEditorLimited.java:186)
   at forge.gui.deckeditor.CDeckEditorUI.canSwitchAway(CDeckEditorUI.java:108)
   at forge.gui.deckeditor.VDeckEditorUI.onClosing(VDeckEditorUI.java:63)
   at forge.gui.framework.FScreen.onClosing(FScreen.java:188)
   at forge.view.FNavigationBar.closeTab(FNavigationBar.java:160)
   at forge.view.FNavigationBar.access$1100(FNavigationBar.java:39)
   at forge.view.FNavigationBar$NavigationTab$CloseButton$1.mouseReleased(FNavigationBar.java:488)
   at java.awt.AWTEventMulticaster.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.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$200(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$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)
iRaxief
 
Posts: 1
Joined: 01 Dec 2013, 19:51
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Max mtg » 01 Dec 2013, 22:01

I bet this happens because of space in draftname. "IZZET "
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 Agetian » 02 Dec 2013, 11:00

r23859: A crash occurred when the AI attacked with Elite Cat Warrior, Akki Blizzard Herder, and Mtenda Lion. There was one effect on the stack coming from Mtelda Lion ("...defending player may pay {U} to prevent all damage from Mtenda Lion").

NullPointerException | Open
Code: Select all
Forge Version:    1.5.7-SNAPSHOT-r23859
Operating System: Linux 3.8.0-26-generic amd64
Java Version:     1.7.0_25 Oracle Corporation

java.lang.NullPointerException
   at forge.ai.ComputerUtilMana.adjustManaCostToAvoidNegEffects(ComputerUtilMana.java:345)
   at forge.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:101)
   at forge.ai.ComputerUtilMana.canPayManaCost(ComputerUtilMana.java:54)
   at forge.gui.input.InputPayMana$3.evaluate(InputPayMana.java:311)
   at forge.gui.input.InputPayMana$3.evaluate(InputPayMana.java:308)
   at forge.util.Evaluator.run(Evaluator.java:8)
   at forge.game.player.Player.runWithController(Player.java:2953)
   at forge.game.player.PlayerControllerHuman.runAsAi(PlayerControllerHuman.java:850)
   at forge.gui.input.InputPayMana.updateMessage(InputPayMana.java:314)
   at forge.gui.input.InputPayMana$4.run(InputPayMana.java:349)
   at forge.FThreads.invokeInEdtNowOrLater(FThreads.java:46)
   at forge.gui.input.InputPayMana.onStateChanged(InputPayMana.java:346)
   at forge.gui.input.InputPayMana.showMessage(InputPayMana.java:337)
   at forge.gui.input.InputBase.showMessageInitial(InputBase.java:50)
   at forge.gui.InputProxy$1.run(InputProxy.java:69)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:694)
   at java.awt.EventQueue$3.run(EventQueue.java:692)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
- Agetian
Agetian
Programmer
 
Posts: 3486
Joined: 14 Mar 2011, 05:58
Has thanked: 683 times
Been thanked: 569 times

Re: Bug Reports (snapshot builds)

Postby drdev » 02 Dec 2013, 15:04

Agetian wrote:r23859: A crash occurred when the AI attacked with Elite Cat Warrior, Akki Blizzard Herder, and Mtenda Lion. There was one effect on the stack coming from Mtelda Lion ("...defending player may pay {U} to prevent all damage from Mtenda Lion").

NullPointerException | Open
Code: Select all
Forge Version:    1.5.7-SNAPSHOT-r23859
Operating System: Linux 3.8.0-26-generic amd64
Java Version:     1.7.0_25 Oracle Corporation

java.lang.NullPointerException
   at forge.ai.ComputerUtilMana.adjustManaCostToAvoidNegEffects(ComputerUtilMana.java:345)
   at forge.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:101)
   at forge.ai.ComputerUtilMana.canPayManaCost(ComputerUtilMana.java:54)
   at forge.gui.input.InputPayMana$3.evaluate(InputPayMana.java:311)
   at forge.gui.input.InputPayMana$3.evaluate(InputPayMana.java:308)
   at forge.util.Evaluator.run(Evaluator.java:8)
   at forge.game.player.Player.runWithController(Player.java:2953)
   at forge.game.player.PlayerControllerHuman.runAsAi(PlayerControllerHuman.java:850)
   at forge.gui.input.InputPayMana.updateMessage(InputPayMana.java:314)
   at forge.gui.input.InputPayMana$4.run(InputPayMana.java:349)
   at forge.FThreads.invokeInEdtNowOrLater(FThreads.java:46)
   at forge.gui.input.InputPayMana.onStateChanged(InputPayMana.java:346)
   at forge.gui.input.InputPayMana.showMessage(InputPayMana.java:337)
   at forge.gui.input.InputBase.showMessageInitial(InputBase.java:50)
   at forge.gui.InputProxy$1.run(InputProxy.java:69)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:694)
   at java.awt.EventQueue$3.run(EventQueue.java:692)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
- Agetian
I'll investigate that.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby lujo » 03 Dec 2013, 21:30

Description: [describe what you were doing when the crash occurred]

NullPointerException | Open
Code: Select all
Forge Version:    1.5.7-SNAPSHOT-r${forge.revision}${forge.specialStatus} (mixed revisions detected; please update from the root directory)
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_17 Oracle Corporation

java.lang.NullPointerException
   at forge.ai.ComputerUtilMana.adjustManaCostToAvoidNegEffects(ComputerUtilMana.java:345)
   at forge.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:101)
   at forge.ai.ComputerUtilMana.canPayManaCost(ComputerUtilMana.java:54)
   at forge.gui.input.InputPayMana$3.evaluate(InputPayMana.java:317)
   at forge.gui.input.InputPayMana$3.evaluate(InputPayMana.java:314)
   at forge.util.Evaluator.run(Evaluator.java:8)
   at forge.game.player.Player.runWithController(Player.java:2953)
   at forge.gui.input.InputPayMana.runAsAi(InputPayMana.java:55)
   at forge.gui.input.InputPayMana.updateMessage(InputPayMana.java:320)
   at forge.gui.input.InputPayMana$4.run(InputPayMana.java:355)
   at forge.FThreads.invokeInEdtNowOrLater(FThreads.java:46)
   at forge.gui.input.InputPayMana.onStateChanged(InputPayMana.java:352)
   at forge.gui.input.InputPayMana.showMessage(InputPayMana.java:343)
   at forge.gui.input.InputBase.showMessageInitial(InputBase.java:50)
   at forge.gui.InputProxy$1.run(InputProxy.java:69)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$200(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$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)
---

My Shandalar deck pack folder is avaliable here:Dropbox
Leave feedback on particular decks here: Google doc
Ask for instructions, give feedback and complaints here: Thread
User avatar
lujo
 
Posts: 557
Joined: 20 Nov 2013, 13:17
Has thanked: 224 times
Been thanked: 70 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 29 guests


Who is online

In total there are 29 users online :: 0 registered, 0 hidden and 29 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 29 guests

Login Form