It is currently 26 Apr 2024, 21:58
   
Text Size

Magic Album - Feature Requests

wanted: ma.GetCardCount( setid, langid, cardtype ) (new)

 

One of LHpi's sanity checks currently uses a hardcoded table
LHpi.sets.cardcount ={
-- Core sets
[788]={ reg = 249, tok = 11 },
[779]={ reg = 249, tok = 7 },
...
}
a getter method like ma.GetCardCount( setid, langid, cardtype ) would make adding promo and special sets less of a hassle, allow automatically generated expected numbers for future sets and also fine tune the expectations in case of card count differing between languages.

Comments

Posted by LordHelmchen » 01 Oct 2015, 20:53

As only sorting out the last few Promo sets (because MA and MKM don't completely agree on which set certain cards belong to, and add new cards at different times) is left before I can write documentation for and prepare LHpi.magickartenmarkt.lua for release, I once again wondered if MA could help me out with this.
Also, for new sets the "What's New" info is sufficient to point me to where I need to make changes, but for the Promo sets I need to filter each set and check for changes in the total number of cards known to MA.
If a lua function to get the number of cards is unfeasible or not wanted for other reasons, would you consider adding this information (for English cards) to the txt extracts in MagicAlbum\Database ?

Ticket details

  • Ticket ID: 303
  • Project: Magic Album
  • Status: New
  • Component: (unknown)
  • Project version: (unknown)
  • Priority: Normal
  • Assigned to: (unassigned)
  • Reported by: LordHelmchen
  • Reporter's tickets: List all tickets
  • Reported on: 02 Mar 2013, 12:28
  • Last visited by Goblin Hero » 27 Oct 2015, 11:36.
 

Login Form