It is currently 29 Oct 2025, 21:17
   
Text Size

Sorting error in the card shop during quest mode

Post MTG Forge Related Programming Questions Here

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

Sorting error in the card shop during quest mode

Postby zaroblan » 16 Sep 2010, 11:45

sorting issue.JPG
Wrong column contents in the card shop

The attached image says it all. Land cards are being shown as being "black"
zaroblan
 
Posts: 59
Joined: 22 May 2009, 11:36
Has thanked: 0 time
Been thanked: 0 time

Re: Sorting error in the card shop during quest mode

Postby Chris H. » 16 Sep 2010, 12:54

zaroblan wrote:Land cards are being shown as being "black"
`
There is a problem with Painter's Servant. The Samantha Stephens decks in quest mode include this card.
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: Sorting error in the card shop during quest mode

Postby Rob Cashwalker » 16 Sep 2010, 14:30

To be fair... it's not REALLY Painter's Servant 's fault.... The way Forge generates and keeps cards in memory is flawed....
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

Re: Sorting error in the card shop during quest mode

Postby Chris H. » 16 Sep 2010, 14:58

Rob Cashwalker wrote:To be fair... it's not REALLY Painter's Servant 's fault.... The way Forge generates and keeps cards in memory is flawed....
`
We had a similar situation with another card recently. Hellfish came up with several lines of code and I merged his material into the SVN. I think this may have been related to the HandSize keyword. I seem to remember there being one or two classes dealing with cleanup type code.
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: Sorting error in the card shop during quest mode

Postby Rob Cashwalker » 16 Sep 2010, 15:04

I'm just saying that the card objects created on startup should somehow be off limits to modification, and all future cards should be cloned from the originals.
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 15 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 15 users online :: 0 registered, 0 hidden and 15 guests (based on users active over the past 10 minutes)
Most users ever online was 9298 on 10 Oct 2025, 12:54

Users browsing this forum: No registered users and 15 guests

Login Form