Thought Devourer bugs / Maximum hand size bugs
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
4 posts
• Page 1 of 1
Thought Devourer bugs / Maximum hand size bugs
by zaroblan » 19 Jul 2010, 07:58
Greetings,
While playing a quest the other day I played a Thought Devourer (which reduces your maximum hand size by four). The problems I encountered were:
1) the text shown at the end of turn when you need to discard always shows 7 as the maximum hand size
2) your maximum hand size is not reset between games
3) your maximum hand size is not reset between matches
Even after exiting quest mode and starting a constructed game, my hand size limit was still set to 3.
I do not know if any of the other cards which affect your, or your opponents, maximum hand size experience these problems but I will be testing it out.
Thanks for an awesome new update. The new cards are cool.
Ned Flanders Level 3 reanimator deck was a bit of a shock to come up against though. Staring down a reanimated Simic Sky Swallower on turn 2 was quite an eye opener
Keep up the good work guys!
Robert Lancaster
While playing a quest the other day I played a Thought Devourer (which reduces your maximum hand size by four). The problems I encountered were:
1) the text shown at the end of turn when you need to discard always shows 7 as the maximum hand size
2) your maximum hand size is not reset between games
3) your maximum hand size is not reset between matches
Even after exiting quest mode and starting a constructed game, my hand size limit was still set to 3.
I do not know if any of the other cards which affect your, or your opponents, maximum hand size experience these problems but I will be testing it out.
Thanks for an awesome new update. The new cards are cool.
Ned Flanders Level 3 reanimator deck was a bit of a shock to come up against though. Staring down a reanimated Simic Sky Swallower on turn 2 was quite an eye opener

Keep up the good work guys!
Robert Lancaster
- zaroblan
- Posts: 59
- Joined: 22 May 2009, 11:36
- Has thanked: 0 time
- Been thanked: 0 time
Re: Thought Devourer bugs / Maximum hand size bugs
by Hellfish » 19 Jul 2010, 09:50
Just to make sure, are you running the latest release? (07/16)
This was reported before and I submitted a fix which Chris implemented into that release. I just tested it in constructed and it worked fine, except the message problem you mentioned
I will test it in quest mode (if this computer is up to it) as well. In the meantime, here's a fix for the message:
Change line 94 of Input_Cleanup.java from:

This was reported before and I submitted a fix which Chris implemented into that release. I just tested it in constructed and it worked fine, except the message problem you mentioned

Change line 94 of Input_Cleanup.java from:
- Code: Select all
AllZone.Display.showMessage("Cleanup Phase: You can only have a maximum of 7 cards, you currently have "
- Code: Select all
AllZone.Display.showMessage("Cleanup Phase: You can only have a maximum of " + MaxHandSize + " cards, you currently have "

So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
-
Hellfish - Programmer
- Posts: 1297
- Joined: 07 Jun 2009, 10:41
- Location: South of the Pumphouse
- Has thanked: 110 times
- Been thanked: 169 times
Re: Thought Devourer bugs / Maximum hand size bugs
by Chris H. » 19 Jul 2010, 10:31
I think that Zaroblan is likely using the older 06-26 version. Upgrading to the newest 07-16 version will fix the problem of the hand size adjustment carrying over to the next game or match.
Forge 07/16/2010 (unofficial BETA) version
I will merge in Hellfish's new code fix later on today. It is currently 6:30 am in my section of the world and I am still working on my first cup of coffee.
Forge 07/16/2010 (unofficial BETA) version
I will merge in Hellfish's new code fix later on today. It is currently 6:30 am in my section of the world and I am still working on my first cup of coffee.

-
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: Thought Devourer bugs / Maximum hand size bugs
by Chris H. » 19 Jul 2010, 16:05
`Chris H. wrote:I will merge in Hellfish's new code fix later on today. It is currently 6:30 am in my section of the world and I am still working on my first cup of coffee.
OK, I merged in the fix and while I was there I got a wee bit carried away, but in good style I hope. I changed this over to using StringBuilder:

- Code: Select all
StringBuffer sb = new StringBuffer();
sb.append("Cleanup Phase: You can only have a maximum of ").append(MaxHandSize);
sb.append(" cards, you currently have ").append(n).append(" cards in your hand - select a card to discard");
AllZone.Display.showMessage(sb.toString());
// AllZone.Display.showMessage("Cleanup Phase: You can only have a maximum of 7 cards, you currently have "
// + n + " cards in your hand - select a card to discard");
-
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
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 79 guests