It is currently 19 Apr 2024, 12:49
   
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 » 13 Aug 2017, 18:43

TheBandit wrote:There seems to be a bug with damage preventing cards, they don't seem to work properly.

Here is me using Skullcrack, but one of my creatures being blocked anyway.
I'm not sure sure I understand. Those cards aren't preventing your creature from being blocked, they are preventing "Prevent damage" abilities from working. That's how they work.
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 Thrint » 13 Aug 2017, 20:12

On opening Forge, while "opening main world".

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

IndexOutOfBoundsException | Open
Code: Select all
Forge Version:    1.6.2-SNAPSHOT-r-1
Operating System: Windows 8 6.2 amd64
Java Version:     1.8.0_141 Oracle Corporation

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
   at java.util.ArrayList.rangeCheck(Unknown Source)
   at java.util.ArrayList.get(Unknown Source)
   at forge.quest.QuestEventDuelManager.addRandomDuel(QuestEventDuelManager.java:128)
   at forge.quest.QuestEventDuelManager.generateDuels(QuestEventDuelManager.java:205)
   at forge.screens.home.quest.CSubmenuDuels.update(CSubmenuDuels.java:175)
   at forge.screens.home.CHomeUI.itemClick(CHomeUI.java:53)
   at forge.screens.home.CHomeUI.selectPrevious(CHomeUI.java:109)
   at forge.screens.home.CHomeUI.initialize(CHomeUI.java:88)
   at forge.control.FControl.setCurrentScreen(FControl.java:323)
   at forge.control.FControl.setCurrentScreen(FControl.java:287)
   at forge.view.FView.initialize(FView.java:130)
   at forge.control.FControl$3.run(FControl.java:262)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$500(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$JavaSecurityAccessImpl.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)
Thrint
 
Posts: 27
Joined: 06 May 2015, 18:43
Has thanked: 8 times
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby TheBandit » 13 Aug 2017, 23:53

friarsol wrote:
TheBandit wrote:There seems to be a bug with damage preventing cards, they don't seem to work properly.

Here is me using Skullcrack, but one of my creatures being blocked anyway.
I'm not sure sure I understand. Those cards aren't preventing your creature from being blocked, they are preventing "Prevent damage" abilities from working. That's how they work.
Isn't blocking considered preventing damage done to the player?
TheBandit
 
Posts: 8
Joined: 05 Aug 2017, 02:20
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby friarsol » 14 Aug 2017, 02:50

TheBandit wrote:
friarsol wrote:
TheBandit wrote:There seems to be a bug with damage preventing cards, they don't seem to work properly.

Here is me using Skullcrack, but one of my creatures being blocked anyway.
I'm not sure sure I understand. Those cards aren't preventing your creature from being blocked, they are preventing "Prevent damage" abilities from working. That's how they work.
Isn't blocking considered preventing damage done to the player?
No. Blocking is blocking. Preventing is preventing. They are very distinct things. Whoever taught you that is wrong.
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 Agetian » 14 Aug 2017, 04:04

Thrint wrote:On opening Forge, while "opening main world".

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

IndexOutOfBoundsException | Open
Code: Select all
Forge Version:    1.6.2-SNAPSHOT-r-1
Operating System: Windows 8 6.2 amd64
Java Version:     1.8.0_141 Oracle Corporation

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
   at java.util.ArrayList.rangeCheck(Unknown Source)
   at java.util.ArrayList.get(Unknown Source)
   at forge.quest.QuestEventDuelManager.addRandomDuel(QuestEventDuelManager.java:128)
   at forge.quest.QuestEventDuelManager.generateDuels(QuestEventDuelManager.java:205)
   at forge.screens.home.quest.CSubmenuDuels.update(CSubmenuDuels.java:175)
   at forge.screens.home.CHomeUI.itemClick(CHomeUI.java:53)
   at forge.screens.home.CHomeUI.selectPrevious(CHomeUI.java:109)
   at forge.screens.home.CHomeUI.initialize(CHomeUI.java:88)
   at forge.control.FControl.setCurrentScreen(FControl.java:323)
   at forge.control.FControl.setCurrentScreen(FControl.java:287)
   at forge.view.FView.initialize(FView.java:130)
   at forge.control.FControl$3.run(FControl.java:262)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$500(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$JavaSecurityAccessImpl.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)
Are you loading a quest save here? If so, can you please provide it?
If you're starting a new quest, what are the parameters of the quest?

- Agetian
Agetian
Programmer
 
Posts: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 times

Re: Bug Reports (snapshot builds)

Postby MaxMtg » 16 Aug 2017, 09:48

Description: [Playing with the Precon C17 decks , vs the AI , Bug is Arahbo, Roar of the World related , when it enters the battlefield and/or gives itself +3+3 forge crashes]

NullPointerException | Open
Code: Select all
Forge Version:    1.6.2-SNAPSHOT-r-1
Operating System: Windows 8.1 6.3 amd64
Java Version:     1.8.0_144 Oracle Corporation

java.lang.NullPointerException
   at forge.game.card.Card.getTriggeringObject(Card.java:827)
   at forge.game.card.CardFactoryUtil.xCount(CardFactoryUtil.java:918)
   at forge.ai.ComputerUtilCombat.predictPowerBonusOfAttacker(ComputerUtilCombat.java:1312)
   at forge.ai.ComputerUtilCombat.damageIfUnblocked(ComputerUtilCombat.java:205)
   at forge.ai.AiAttackController.declareAttackers(AiAttackController.java:709)
   at forge.ai.AiController.declareAttackers(AiController.java:1019)
   at forge.ai.PlayerControllerAi.declareAttackers(PlayerControllerAi.java:400)
   at forge.game.phase.PhaseHandler.declareAttackersTurnBasedAction(PhaseHandler.java:490)
   at forge.game.phase.PhaseHandler.onPhaseBegin(PhaseHandler.java:267)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1003)
   at forge.game.GameAction.startGame(GameAction.java:1556)
   at forge.game.Match.startGame(Match.java:100)
   at forge.match.HostedMatch$2.run(HostedMatch.java:224)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
MaxMtg
 
Posts: 102
Joined: 11 Aug 2017, 16:11
Has thanked: 50 times
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 16 Aug 2017, 12:28

Tried to address it, shouldn't crash anymore :)

- Agetian
Agetian
Programmer
 
Posts: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 times

Re: Bug Reports (snapshot builds)

Postby stormcat » 17 Aug 2017, 17:20

r35101
I do not know if this is a bug, when I select "Change Section" in Deck Builder by Conspiracy's limited, the card pool will be vanishing.
stormcat
 
Posts: 361
Joined: 17 Jun 2015, 05:32
Has thanked: 0 time
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 17 Aug 2017, 17:30

stormcat wrote:r35101
I do not know if this is a bug, when I select "Change Section" in Deck Builder by Conspiracy's limited, the card pool will be vanishing.
Hmm, I'm not sure what exactly you mean... The deck editor for this mode is a bit awkward and needs some improvement, but the basic idea is that when you switch over to the Conspiracy section, in the card pool you will see your sideboard (whatever you did not put into your main deck), including the possible conspiracies, and on the right you'll see the Conspiracy section of your main deck. Then, when you switch again, it'll be back to the Sideboard -> Main Deck mode.

- Agetian
Agetian
Programmer
 
Posts: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 times

Re: Bug Reports (snapshot builds)

Postby stormcat » 17 Aug 2017, 17:41

@Agetian
Sorry for my bad English.
Please refer to attachments.
1, Sealed Deck Editor
2, I selected Change Section
3, After 2, I selected Change Section
Attachments
capture_003_18082017_023857.jpg
3
capture_002_18082017_023848.jpg
2
capture_001_18082017_023842.jpg
1
stormcat
 
Posts: 361
Joined: 17 Jun 2015, 05:32
Has thanked: 0 time
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 17 Aug 2017, 17:52

Hmmm, that's really strange :/ I just tried it (in Sealed mode) and it doesn't happen to me... if you switch to a different tab (e.g. the Home screen) and then back, is it still invisible for you?

- Agetian
Agetian
Programmer
 
Posts: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 times

Re: Bug Reports (snapshot builds)

Postby stormcat » 17 Aug 2017, 17:57

@Agetian
I tested switch tab, but it still invisible.
stormcat
 
Posts: 361
Joined: 17 Jun 2015, 05:32
Has thanked: 0 time
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby Xyx » 18 Aug 2017, 10:12

Power/Toughness is sometimes not displayed correctly. See screenshot. There's a Dictate of Heliod and a bunch of auras on the Supply Cranes yet only base Power/Toughness is displayed.

The display switches between correct and base Power/Toughness apparently depending on the step the game is in. Not clear to me when/why.
Attachments
20170818 Incorrect PT.JPG
User avatar
Xyx
Tester
 
Posts: 524
Joined: 23 Feb 2014, 23:01
Has thanked: 38 times
Been thanked: 32 times

Re: Bug Reports (snapshot builds)

Postby Xyx » 18 Aug 2017, 12:00

AI casts Omenspeaker and its trigger goes onto the stack, then AI responds to that (as evidenced by the stack and the log, see picture) by casting Artisan of Forms.

EDIT: Similar thing just happened with Scholar of Horizons and Mindreaver. It looks like scry triggers have weird priority.
Attachments
20170818 Flashy Artisan of Forms.JPG
User avatar
Xyx
Tester
 
Posts: 524
Joined: 23 Feb 2014, 23:01
Has thanked: 38 times
Been thanked: 32 times

Re: Bug Reports (snapshot builds)

Postby Xyx » 18 Aug 2017, 22:48

The "Format -> Standard" filter allows decks that are less than 60 cards.
User avatar
Xyx
Tester
 
Posts: 524
Joined: 23 Feb 2014, 23:01
Has thanked: 38 times
Been thanked: 32 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 64 guests


Who is online

In total there are 64 users online :: 0 registered, 0 hidden and 64 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 64 guests

Login Form