Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - CrazyChucky

Pages: [1] 2 3
1
Plugins & Plugin Creation Forum / MTG Mystery Booster
« on: March 08, 2020, 09:46:14 am »
With the release of the foil card list, we now know all the cards in the Mystery Booster.

For anyone awaiting drafting it in Lackey, I wanted to let you know that I do plan to add it, but I'm still waiting on more info to do so. That's because unlike a normal pack, each card in any given pack is from a different sheet, and there are two sheets for each color's commons and uncommons. That is, sheet one is 121 white uncommon/commons, and sheet two is an entirely different set of 121 white common/uncommons. You can never open a pack and get two of the cards from the same sheet.

We have the full card list, but we don't know yet which cards are on which sheets. Once the retail set is released, hopefully enough intrepid box-openers will post their findings online that a full breakdown can be assembled, at which point I'll add Mystery Booster to the plugin!

2
Plugins & Plugin Creation Forum / How do you like the phase buttons?
« on: February 17, 2020, 08:00:58 pm »
When my friends and I play Magic on Lackey, we voice chat, so we handle phase/step changes verbally, the same as we would if playing with cards in person. I'm curious if others here use the phase buttons, and if so, how well they work for you. Would it be helpful to split up the combat phase into its separate steps, or would that be unnecessary detail?

3
Plugins & Plugin Creation Forum / Magic: The Gathering Plugin Updates
« on: January 23, 2020, 09:06:02 pm »
Inspired by ransomman's Marvel Champions topic, I've decided to make one master thread for Magic updates, instead of starting a new topic every time I add something. I'll post new updates as replies here, as well as edit this first post with the current release.

Magic plugin update URL: http://magicplugin.normalitycomics.com/update/updatelist.txt

Instructions for installing LackeyCCG and plugins: https://web.archive.org/web/20191024165106/http://www.lackeyccg.com/tutorial.html
(On Wayback Machine since the navigation doesn't display properly anymore on the actual site)

Gallery of all custom tokens available in the plugin: http://magicplugin.normalitycomics.com/lackey-tokens/

For questions, bugs, or requests, feel free to either reply here or start a new topic, whichever suits your fancy.

Latest Update:
10/2/21

  • Midnight Hunt Commander: added reprints and tokens
  • Midnight Hunt: added tokens
  • Adventures in the Forgotten Realms Commander: hi-res images

4
Theros Beyond Death (THB) is now fully uploaded, except for the tokens, which aren't on Scryfall yet. All the spawn scripts are there, they just make blank tokens for now.

I've also made two improvements to the custom Lackey tokens. Colorless non-artifact tokens now use the more accurate clear M15 frame, and self-copying tokens are now formatted to actually look like tokens.



Check out the full gallery if you want to see the whole set of custom tokens.

5
Plugins & Plugin Creation Forum / Version.txt Check Not Functioning
« on: January 05, 2020, 02:45:35 pm »
Okay, this really has me stumped. When Lackey is launched, it's supposed to check the version.txt of the currently loaded plugin against its remote version, and prompt for an update if the date tag on the remote file is newer. In the past, this has occasionally failed for me, but usually worked without a hitch. The last few days, it fails almost every time. I don't think it's just my server or my plugin, because I've tried testing it with the Pok?mon plugin and get the same results.

Not only can I access the remote version.txt just fine using the URL specified in the local one, Lackey also downloads the version file just fine if I go and hit "Install or Update from URL".

Steps I'm using to test:
  • First, I make sure I have a plugin up-to-date and currently loaded in Lackey.
  • Close Lackey.
  • Manually edit my local copy of version.txt to have an earlier date.
  • Relaunch Lackey.
It should prompt me to download the new version, but most of the time it does not. (If I then go hit "Install or Update from URL", it successfully downloads the (unedited) version.txt from the server.)

It's not like Lackey itself has changed, so I'm confused what could be doing this. If it were something to do with my firewall or internet connection, I don't understand how Lackey would be able to successfully download the same file when performing the update, but not when checking for the new version. Is anyone else having this issue?

6
I noticed that modal spells that can create tokens (there aren't many) were automatically making them when put on the table. Now fixed, so they wait for you to use the right-click script if you want to.

And of course, adding more Theros Beyond Death cards as they come out.

7
Happy New Year! I finally got around to adding in the Challenge Decks from the original Theros block, both the cards themselves and saved decks for them. I put the default starting cards in the command zone of the saved deck, so that you don't have to go hunting for them once you load the deck.

The Hero cards are all in the plugin as well, including the sheet of possible enhancement stickers (in sets THP1, THP2, and THP3). They're easily searched up by "Type: Hero". Bonus: that'll also pull up Unhinged's Fraction Jackson. ; )

You can play with these however you like, of course, but here's a list of which Heroes you could've had available when playing these in order:

Face the Hydra (Deck rules and info)
  • The Protector, The Philosopher, The Avenger, The Warrior, or The Hunter (from the white, blue, black, red, or green pack, respectively)
  • The Harvester
Battle the Horde (Deck rules and info)
  • (Previously acquired Heroes)
  • The Slayer
  • The General, The Savant, The Tyrant, The Warmonger, or The Provider (again, in WUBRG order)
  • The Explorer
Defeat a God (Deck rules and info)
  • (Previously acquired Heroes)
  • The Vanquisher
  • Spear of the General, Cloak of the Philosopher, Lash of the Tyrant, Axe of the Warmonger, or Bow of the Hunter ? combined with one of the enhancement stickers to become a customized Godslayer
  • The Destined
The final Hero, The Champion, was the reward for defeating Xenagos.



And, of course, Theros Beyond Death has been updated with recently spoiled cards.

8
All cards spoiled so far for Theros Beyond Death are now available.

I've made several tweaks and improvements to token-spawning scripts, but the biggest thing by far is that every custom token now has art. This includes:
  • Tokens from old sets before Wizards printed tokens
  • Tokens that are copies of the cards that make them (these are never printed)
  • Tokens which Wizards has printed, but with inaccurate text. In almost all cases it's because they like to leave off haste on otherwise vanilla tokens, but the printed Triskelavite token also inexplicably lacks its sacrifice ability.

Netfirecat, I've not forgotten your request to add the rest of the Theros Challenge decks. With this token art done and Theros in the air again, it's the next thing on my list.

9
  • Throne of Eldraine is now hi-res.
  • Added the new cards from Game Night 2019
  • Added an actual command zone! I'd gotten so used to using the sideboard for it, it never occurred to me that now that I run the plugin, I could make a real one. Thanks to Bloodwolf for pointing this out. Also added Bloodwolf's "Play command" button, to play the top card to the table?useful for archenemy.
  • Various scripting and text improvements:
    • Tweaked from which sets tokens are spawned if they're not available in the card's own set; giving preference when the token is available elsewhere in the same block.
    • Cards that don't untap during your untap step now behave properly.
    • The Adamant paladins were entering with their counters on them; fixed.
    • B.F.M.'s right half has a different name now.
    • Ascend cards can now spawn the City's Blessing marker; adventurers can spawn On an Adventure.
    • Some adventurers were missing scripts like flying. Fixed.

Also, I fixed a server issue I was having, so the mirror of the old updatelist URL is working again. Just in case anyone's still using that one.

10
Plugins & Plugin Creation Forum / MtG: TOKENS and other things
« on: September 24, 2019, 08:20:10 pm »
This update includes multiple things! Here are the highlights:
  • Commander 2019 images are now hi-res.
  • Adventurer cards in Throne of Eldraine now also available in their alternate frames.
  • Ultimate Masters added.
  • Iconic Masters: added cards that have new art.
  • TOKENS! Read on.
Previously, if a card could create a token, but that token's never been printed by Wizards, it spawned a blank card. That's better than nothing, but I wanted to do better. Now, literally every card that can make tokens does so. Tokens created from scratch don't have art yet (maybe in future), but they have all applicable text and stats. Note that this is based on card text as currently errata'd, so for some old cards, it doesn't quite match what's printed on the card. You can always hold ~ to see a card's up-to-date text.

Cards that create token copies, even token copies of themselves, are included in the fun! See images for examples. (Or load up a token deck and go play a game!)

I hope you enjoy these. Please let me know if you find any errors.

11
Plugins & Plugin Creation Forum / MtG: Throne of Eldraine
« on: September 20, 2019, 08:57:11 pm »
All the new cards from Throne of Eldraine are added.

The plugin used to have sounds, and their return was requested. Card types once again each have their own sound when placed on the table. Feel free to turn this off in preferences.

Bug fixes:
  • Split cards didn't have their Oracle text. Fixed.
  • Core Set 2015, Origins, and Hour of Devastation packs incorrectly included some cards that were only in precons. Should be correct now.

Note: please make sure you're using the current update URL, http://magicplugin.normalitycomics.com/update/updatelist.txt
I normally maintain the old URL as a mirror, but that server is down right now.

12
Plugins & Plugin Creation Forum / MtG: Commander 2019
« on: August 14, 2019, 05:58:02 pm »
Commander 2019 is uploaded. Core Set 2020 and Modern Horizons now have high-resolution images.

I've made some largely internal tweaks. Color identity is now in proper cyclical WUBRG order, and tokens include their keyword mechanics in their name. (For example: what was previously "[cma] Drake (UG 2/2)" is now "[cma] Drake (GU 2/2 Flying)".) This should make things tidier when it comes to Wurmcoil's tokens and multiple kinds of insects/etc. in the same set. Please let me know if anything's not spawning correctly.

Another user asked for the return of sounds, so I plan to re-add that feature soon, and add the rest of the Theros challenges too.

I've also got something cool in the works for tokens?stay tuned. : )

13
Plugins & Plugin Creation Forum / MtG: Modern Horizons
« on: May 22, 2019, 09:43:18 pm »
I've uploaded what's out so far of Modern Horizons. No promises, but I plan to do a handful of incremental updates as the set is spoiled, so you can get to brewing.

Some cards are still very low-res, or in various foreign languages. As a reminder, if you hold ~ while mousing over a card, Lackey will display the full text info.

P.S. War of the Spark images are now high-res too.

14
Plugins & Plugin Creation Forum / MtG: War of the Spark
« on: April 13, 2019, 09:33:03 am »
The set isn't fully spoiled yet, but what's out so far is now in the plugin. Happy brewing!

15
I don't know if anyone besides me will find this useful, but here goes! In short, this Python library is a tool to help generate drafting packs for Lackey, giving more intuitive control over what Lackey calls "chances"?the probability of different possible pack layouts.

Official documentation on Lackey pack definitions: http://www.lackeyccg.com/packdefinitions.html

The Problem

Let's use Magic as an example. A basic modern booster pack contains:

Code: [Select]
1 Rare
3 Uncommon
10 Common

(And 1 basic land, but those aren't drafted, so we'll ignore them.)
However, about 1 in 8 packs has a mythic rare instead of a rare. Ideally you'd be able to write something like this:

Code: [Select]
13%: 1 Mythic, 87%: 1 Rare
3 Uncommon
10 Common

Unfortunately Lackey defines chances only on a per-pack basis, not on subsets of a pack like individual card slots. So your definition needs to look like this instead:

Code: [Select]
13%:
1 Mythic
3 Uncommon
10 Common
87%:
1 Rare
3 Uncommon
10 Common

So far that's only a little added repetition. But the problem becomes much more pronounced when you have multiple, or even nested, branching points within your configuration. Consider the Shadows Over Innistrad set: in addition to the rare/mythic split, one slot is either a common OR uncommon double-faced card, and another slot is either a regular common OR a rare OR or mythic double-faced card. Never mind the actual numbers... The basic idea should look like:

Code: [Select]
13%: 1 Mythic, 87%: 1 Rare
3 Uncommon
8 Common
%: 1 Common, %: 1 DFC Mythic, %: 1 DFC Rare
%: 1 DFC Common, %: 1 DFC Uncommon

But to work in Lackey, you have to calculate each of those branch points out to a list of TWELVE different possible configurations. I dunno about you, but I don't want to do that by hand. Which brings me to...

The Solution

Well, for me at least. And maybe for you too, if you know (or decide to learn) Python!

I've posted the entire file here as an attachment, lackeyPacks.py. I've also included my Magic-specific file that imports and uses the library, so you can see what it looks like in practice. I make no claim or warranty of any kind for either of these files. But my intention is that you can use the lackeyPacks.py file basically as-is; you should only need to edit "possibleFields" up at the top so it knows what fields you have in your card files. Then you can write your own equivalent of my magicPacks.py, that imports it, defines your packs, and writes your pack definition file(s).

Most of the defined classes correspond to XML tags in Lackey's pack definition files: Pack, Kind, Crit, and CommonCrit. Branch is basically the same as a chance; that is, a branch that contains only kinds is a chance. However, any given entry within a branch can instead be a branchpoint, which itself includes multiple branches. When you create a pack object, it automatically analyzes its entries and resolves all branchpoints until it has a list of chances that Lackey can understand.

Let's go through an example. In magicPacks.py, you can see I define some variables for criteria I'll need often:

Code: [Select]
mythic = Crit('Rarity', 'IS', 'M')
rare = Crit('Rarity', 'IS', 'R')
uncommon = Crit('Rarity', 'IS', 'U')
common = Crit('Rarity', 'IS', 'C')
land = Crit('Rarity', 'IS', 'L')

This makes defining kinds easy: "Kind(1, rare)" corresponds to a kind tag in the XML file telling Lackey to include one card whose rarity is rare.

Here's the entries for a default Magic pack:

Code: [Select]
defaultEntries = (
BranchPoint(
Branch(Kind(1, mythic), prob=13), #1/8
Branch(Kind(1, rare), prob=87),
),
Kind(3, uncommon),
Kind(10, common),
)

After that you can do something like:

Code: [Select]
Pack('The Excellent Card Set', 'booster', defaultEntries)
And that will generate a pack. You'll probably also want to define one or more commonCrits, such as specifying that all cards in the pack have to come from a certain set. I make myself a Booster class as a subclass of Pack, as shorthand to take care of some things like that that are the same for (almost) all Magic booster packs. But that's probably more trouble than it's worth if your plugin only has a few different packs.

The writePacksToFile function writes a collection of packs to a specified file, which should then be ready to put in your plugin!

Known Limitations

The biggest one is that Lackey does NOT understand probabilities with a decimal component. That is, it understands 57, but not 57.25. Including any probabilities like this makes Lackey glitch and always choose the first chance listed for the pack. This becomes a much bigger problem the more chances you have and the smaller each one gets, especially since no one single chance can have less than a 1% probability.

Trevor mentioned fixing this in this forum post; just in case he does someday, I've included a setting flag at the top of the file. Change "roundToIntegers" to False and the library should happily spit out much more accurate numbers for you.

The other is available evals. The doc mentions "IS, CONTAINS, DOESNTCONTAIN,ISGREATERTHAN, among others." I don't know what those others are, but I do know that I haven't been able to get ISGREATERTHAN to work. So I recommend sticking with those first three. If you somehow discover others, first, pleast post here and let me know! And second, the list can easily be edited at the top of the file.


Pages: [1] 2 3