It is currently 19 Apr 2024, 20:15
   
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 Doublestrike » 16 Feb 2012, 10:49

slowe wrote:In r14057 (think I saw the same thing in 14013), after I've completed a match, the next time I start a match it's stuck in the end-of-match phase...
Despite my previous brief effort this is still happening. It's actually a symptom of a deeper problem, of neatness and organization. Another symptom was that preferences saving hullabaloo a little while ago.

This is because of new games, game cleanups, runtime constant inits, etc. happening all over the place instead of in a single known location. I just spent some time looking at this, so I guess I'll dig deep and get this done. Evolve or die type of thing :)
---
A joke is a very serious thing.
User avatar
Doublestrike
UI Programmer
 
Posts: 715
Joined: 08 Aug 2011, 09:07
Location: Bali
Has thanked: 183 times
Been thanked: 161 times

Re: Bug Reports (snapshot builds)

Postby Iran » 16 Feb 2012, 12:03

friarsol wrote:Forge is still using old (M10) combat rules. You can spread the damage however you like, as long as you are dealing lethal damage before doing trample damage to a player.
I see these rules recently, when I had doubts about combat rules.

I found this on internet =>

Comprehensive Rules (July 15, 2011)
Attachments
MagicCompleteRules150711.pdf
(692.37 KiB) Downloaded 711 times
Iran
 
Posts: 251
Joined: 11 Jul 2011, 04:36
Has thanked: 61 times
Been thanked: 4 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 16 Feb 2012, 13:18

Yes, we are well aware that the combat rules are old. That's why I said it like that. It's not really a bug, it's just not updated.
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 ArsenalNut » 16 Feb 2012, 13:31

Sloth wrote:
timmermac wrote:r13824: Sol Grail does not work.
Sol Grail always puts the mana in the mana pool. I'm not an expert of mana abilities and i don't know the background of this problem.
Right now you can use Sol Grail to add mana to the pool but you cannot use it directly when paying a cost. Basically chosen color mana abilities are not taken into account when paying a cost. I have a fix that I am still testing.
So many cards, so little time
User avatar
ArsenalNut
 
Posts: 512
Joined: 08 Jul 2011, 03:49
Has thanked: 27 times
Been thanked: 121 times

Re: Bug Reports (snapshot builds)

Postby Symphonic » 16 Feb 2012, 16:21

I don't know why, but it seems that I cannot play without crashes. There was one crash after the other with 1.2.3., so some minutes ago I downloaded the daily build. And again, already the second crash with the newest daily build.

The first occured when my opponent played his Nether Traitor.

Then I wanted to start a new game against one of my decks, and baaang - total crash:
| 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.

ManaCost : addMana() error, mana not needed - 1


Version:
Forge version 1.2.4-SNAPSHOT-r13939

OS: Windows 7 Version: 6.1 Architecture: amd64

Java Version: 1.6.0_24 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.RuntimeException: ManaCost : addMana() error, mana not needed - 1
at forge.card.mana.ManaCost.addMana(ManaCost.java:382)
at forge.card.mana.ManaCost.payMana(ManaCost.java:295)
at forge.ComputerUtil.payManaCost(ComputerUtil.java:861)
at forge.ComputerUtil.canPayCost(ComputerUtil.java:512)
at forge.ComputerUtil.canPayCost(ComputerUtil.java:497)
at forge.ComputerUtil.canBePlayedAndPayedByAI(ComputerUtil.java:484)
at forge.ComputerUtil.playSpellAbilities(ComputerUtil.java:124)
at forge.ComputerAIGeneral.playCards(ComputerAIGeneral.java:93)
at forge.ComputerAIGeneral.main2(ComputerAIGeneral.java:76)
at forge.ComputerAIInput.think(ComputerAIInput.java:111)
at forge.ComputerAIInput.showMessage(ComputerAIInput.java:71)
at forge.GuiInput.setInput(GuiInput.java:68)
at forge.GuiInput.update(GuiInput.java:54)
at java.util.Observable.notifyObservers(Unknown Source)
at java.util.Observable.notifyObservers(Unknown Source)
at forge.MyObservable.updateObservers(MyObservable.java:38)
at forge.control.ControlMatchUI.initMatch(ControlMatchUI.java:85)
at forge.control.home.ControlConstructed$11.run(ControlConstructed.java:530)
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)

It seems to be similar to the reports I always had with 1.2.3...
Symphonic
 
Posts: 146
Joined: 10 Dec 2011, 19:09
Has thanked: 3 times
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby ArsenalNut » 16 Feb 2012, 17:45

Symphonic wrote:I don't know why, but it seems that I cannot play without crashes. There was one crash after the other with 1.2.3., so some minutes ago I downloaded the daily build. And again, already the second crash with the newest daily build.

The first occured when my opponent played his Nether Traitor.

Then I wanted to start a new game against one of my decks, and baaang - total crash:
| 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.

ManaCost : addMana() error, mana not needed - 1


Version:
Forge version 1.2.4-SNAPSHOT-r13939

OS: Windows 7 Version: 6.1 Architecture: amd64

Java Version: 1.6.0_24 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.RuntimeException: ManaCost : addMana() error, mana not needed - 1
at forge.card.mana.ManaCost.addMana(ManaCost.java:382)
at forge.card.mana.ManaCost.payMana(ManaCost.java:295)
at forge.ComputerUtil.payManaCost(ComputerUtil.java:861)
at forge.ComputerUtil.canPayCost(ComputerUtil.java:512)
at forge.ComputerUtil.canPayCost(ComputerUtil.java:497)
at forge.ComputerUtil.canBePlayedAndPayedByAI(ComputerUtil.java:484)
at forge.ComputerUtil.playSpellAbilities(ComputerUtil.java:124)
at forge.ComputerAIGeneral.playCards(ComputerAIGeneral.java:93)
at forge.ComputerAIGeneral.main2(ComputerAIGeneral.java:76)
at forge.ComputerAIInput.think(ComputerAIInput.java:111)
at forge.ComputerAIInput.showMessage(ComputerAIInput.java:71)
at forge.GuiInput.setInput(GuiInput.java:68)
at forge.GuiInput.update(GuiInput.java:54)
at java.util.Observable.notifyObservers(Unknown Source)
at java.util.Observable.notifyObservers(Unknown Source)
at forge.MyObservable.updateObservers(MyObservable.java:38)
at forge.control.ControlMatchUI.initMatch(ControlMatchUI.java:85)
at forge.control.home.ControlConstructed$11.run(ControlConstructed.java:530)
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)

It seems to be similar to the reports I always had with 1.2.3...
Can you post the deck you're trying to have the AI use? That would help me narrow down the problem.
So many cards, so little time
User avatar
ArsenalNut
 
Posts: 512
Joined: 08 Jul 2011, 03:49
Has thanked: 27 times
Been thanked: 121 times

Re: Bug Reports (snapshot builds)

Postby Sloth » 17 Feb 2012, 08:47

Doublestrike wrote:
slowe wrote:In r14057 (think I saw the same thing in 14013), after I've completed a match, the next time I start a match it's stuck in the end-of-match phase...
Despite my previous brief effort this is still happening. It's actually a symptom of a deeper problem, of neatness and organization. Another symptom was that preferences saving hullabaloo a little while ago.

This is because of new games, game cleanups, runtime constant inits, etc. happening all over the place instead of in a single known location. I just spent some time looking at this, so I guess I'll dig deep and get this done. Evolve or die type of thing :)
I think this is related:
When i concede my first game, quit the match and start a new match there is no Mulligan prompt.
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 » 17 Feb 2012, 13:43

Sloth wrote:
Doublestrike wrote:
slowe wrote:In r14057 (think I saw the same thing in 14013), after I've completed a match, the next time I start a match it's stuck in the end-of-match phase...
Despite my previous brief effort this is still happening. It's actually a symptom of a deeper problem, of neatness and organization. Another symptom was that preferences saving hullabaloo a little while ago.

This is because of new games, game cleanups, runtime constant inits, etc. happening all over the place instead of in a single known location. I just spent some time looking at this, so I guess I'll dig deep and get this done. Evolve or die type of thing :)
I think this is related:
When i concede my first game, quit the match and start a new match there is no Mulligan prompt.
Yea I noticed this last night too. I won a quest game, but when I was returned to the next quest window screen the opponents were the exact some ones in the same exact order. Then when i tried to play one, I didn't get the mulligan prompt and couldn't really do anything.
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 friarsol » 18 Feb 2012, 17:30

r14154

Just want to give some more detrails on the quest bug.

1. Win match and I return to main screen >> Old quest opponents are still listed
2. Go into spell shop, buy something >> Old quest opponents are still listed
3. Go into bazaar, buy something >> Old quest opponents are still listed
4. Edit deck >> New quest opponents now listed.

Once I try to play an opponent, either old or new, I'm stuck on the last phase I was in when I won, and can't play. This is a pretty critical bug. So hopefully we can figure out when it happened, and get it resolved.
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 PhoenixAvenger » 19 Feb 2012, 00:06

Newest snapshot (1.2.4s9, r14153) doesn't make it past the "Creating display components" phase of startup.

Crash report:
Code: Select all
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.4-SNAPSHOT-r14153

OS: Windows XP Version: 5.1 Architecture: x86

Java Version: 1.6.0_29 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.NullPointerException
   at forge.deck.Deck.fromSections(Deck.java:157)
   at forge.deck.Deck.fromLines(Deck.java:147)
   at forge.quest.data.QuestEventManager.assembleAllEvents(QuestEventManager.java:102)
   at forge.control.home.ControlQuest.changeQuest(ControlQuest.java:331)
   at forge.control.home.ControlQuest.access$1000(ControlQuest.java:48)
   at forge.control.home.ControlQuest$18.execute(ControlQuest.java:184)
   at forge.view.home.QuestFileLister.selectHandler(QuestFileLister.java:294)
   at forge.view.home.QuestFileLister.setSelectedQuestData(QuestFileLister.java:265)
   at forge.control.home.ControlQuest.refreshQuests(ControlQuest.java:379)
   at forge.view.home.ViewQuest.<init>(ViewQuest.java:180)
   at forge.view.ViewHomeUI.<init>(ViewHomeUI.java:84)
   at forge.view.FView.instantiateCachedUIStates(FView.java:181)
   at forge.view.FView$2.run(FView.java:104)
   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)
Looks like much the same problem that squee was having with snapshot 8. For reference, I'm on Windows XP (MCE), Java version 1.6.0_29.

EDIT: Updated Java to 1.6.0_31, still same problem.
User avatar
PhoenixAvenger
 
Posts: 62
Joined: 31 Aug 2010, 23:34
Location: NorCal
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby friarsol » 19 Feb 2012, 00:23

r14167
Flame Javelin in my Quest Deck Editor shows it's casting cost as having 2/U not 2/R

Edit: Quest Deck Editor seems messed up right now. I created 2 new quests, and on the second one, the menu bars were duplicated and when I tried to save it says "Can't save name exists" even though this is a new quest without any decks.
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 Iran » 19 Feb 2012, 05:23

1) I cast Geistflame from my graveyard when I have Burning Vengeance in play.
Geistflame goes to stack, then immediately the game asks me to choose the target of the trigger abilitie of my Burning Vengeance then I choose The Computer, immediately the Geistflame spell resolves and after that the trigger abilitie of Burning Vengeance goes to stack.

2)

Forge has: Evil Twin cost 2 U B with Heartless Summoning in Play.
I think: Evil Twin should cost U B with Heartless Summoning in Play

Forge has: Phyrexian Metamorph cost 3 UP with Heartless Summoning in Play.
I think: Evil Twin should cost 1 UP with Heartless Summoning in Play

I use Forge r.14126

Edit : I put the situation how you asks me to put friarsol

Thanks
Last edited by Iran on 20 Feb 2012, 01:39, edited 3 times in total.
Iran
 
Posts: 251
Joined: 11 Jul 2011, 04:36
Has thanked: 61 times
Been thanked: 4 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 19 Feb 2012, 14:32

Can you clarify bug #2 Iran? Try to report bugs in the manner of "This is what is happening, this is what I think should be happening" so we can be clear what you are reporting

Forge has: Evil Twin cost X with Heartless Summoning in Play.
I think: Evil Twin should cost X with Heartless Summoning in Play.
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. » 19 Feb 2012, 16:01

I set up a test deck using rev 14196 and it looks like I see the same non-adjusted casting cost situation as Iran.

I first cast a Heartless Summoning. I then casted a Zodiac Pig and was asked to pay the correct amount, 1 B.

I then attempted to cast the Evil Twin and then the Phyrexian Metamorph. I am asked to "Select a creature on the battlefield" or "Select a creature or artifact on the battlefield".

In the case of the Evil Twin, after selecting the Zodiac Pig I am then asked to "Pay Mana Cost: 2 B U". It appears that at this point the casting cost is not being modified by the Heartless Summoning.

The Phyrexian Metamorph is displaying a similar non-adjusted casting cost once I "Select a creature or artifact on the battlefield".
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 friarsol » 20 Feb 2012, 00:31

When gaining a choice to reveal a card with Delver of Secrets, it's unintuitive to show the Delver instead of the revealed card. Playing with unknown cards, I have to guess if the revealed card is an instant or sorcery.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 99 guests


Who is online

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

Login Form