Recent Posts

Pages: [1] 2 3 ... 10
Plugins & Plugin Creation Forum / Re: Magic: The Gathering Plugin Updates
« Last post by CrazyChucky on January 22, 2021, 10:10:56 PM »

Kaldheim is uploaded, as well as what's revealed so far of Kaldheim Commander.

  • Commander Collection: Green is now high-res.
  • Topdeck the Halls, the new holiday card, is added.
  • Secret Lair: Ultimate Edition has the new Pathways.
  • Various Secret Lair cards added and/or updated to high-res, as appropriate
Plugins & Plugin Creation Forum / Duel Masters
« Last post by Nicolas-Andrea on December 19, 2020, 08:58:29 AM »
Dear LackeyCCG user,

Before you proceed to play with this plugin, I advise you to read this carefully. As english isn't my native language, I apologize in advance for the mistakes. Also, I encourage you to report any mistake or problem you find to help me improve this plugin.

I first discovered Duel Masters as a kid when the very first cards arrived in the stores of my country. I quickly learned to enjoy this game, as well as the whole universe around it. You can imagine how sad I was when I learned the game was to be discontiniued after the printing of the last set in November 2006 if memory serves well. But with the appearance of LackeyCCG, I had a chance to revive my childhood memories and play this game again. I hope you will enjoy playing as much as I do.

First of all, especially if you're new to this game, I suggest you read the 3 documents in the "rules" folder. The "base rules.txt" file contains the basis rules to know in order to play Duel Masters. Further informations can be found on the internet if needed. The "advanced rules.txt" describes rules for a specific type of card or effect. The "keywords.txt" lists the effects of keywords found in the effects of a card. I've chosen to do so to limit cards text length for better readability, as keywords are always associated to the same effects. This plugin also comes with a starter deck in order to help you make your first steps in the game.

You will note that the cards use the original japanese artwork. You can display the english cards information by pressing the correct hotckey. Please refer to LackeyCCG guides if you don't know how to do this. I've chosen to do so for uniformity as I will more than probably add more sets of cards, notably the ones that have never been printed in english after the game was discontiniued.

I do not own Duel Masters Trading Card Game. It is propriety of Wizards of the Coast, which I thank for releasing this game I love. Also, special thanks to Trevor for having created LackeyCCG with which I could play Duel Masters again.

link :

I will report updates on this post when they are available. I will also try to make an autoupdate for the plugin but I'm not sure to know how it works for now.
Plugins & Plugin Creation Forum / Re: Checksums unveiled?
« Last post by CrazyChucky on November 27, 2020, 09:49:44 PM »
I got curious again and revisited this. Even with your trick of subtracting 256, amcsi, I wasn't able to get the correct checksum on all image files. It was bugging me, so eventually I just learned how to call C++ from inside Python. No need to replicate C++'s implementation details if I can use it for real!

Code: [Select]
# in Python
import ctypes
c_checksum = ctypes.CDLL('') # would just be 'checksum' on Windows, I think

def get_checksum(filename):
    """Calls the (mostly) original C++ function."""
    # str(filename) is so this function can be called with a Path object too
    string_argument = ctypes.create_string_buffer(str(filename).encode())
    return c_checksum.get_checksum(string_argument)
Code: [Select]
//, which is compiled to make the shared library
#include <iostream>

extern "C" int get_checksum(char filename[])
    FILE* fp = fopen(filename, "rb");
    if(fp == NULL) {
        return 0; // If there is no file, return with a sum of 0.
    long current, next = 0;
    char temp_char = 0;
    int sum = 0;
        current = next;
        temp_char = fgetc(fp);
        next = ftell(fp);
        if (temp_char != 10 && temp_char != 13)
            sum += (unsigned int)temp_char;
        sum %= 100000000; // modulo to prevent memory type overflow
        } while (current != next);
    return sum;
Bug Report Forum / Unable to drag cards once on the table
« Last post by The Ninja Scot on November 20, 2020, 06:32:41 PM »

Currently, there's several people on the server who are unable to move cards on the table once they've been placed on the table (can drag them from hand onto table but once on the table, can no longer be dragged.  Instead, it simply highlights the card(s) in question.  This only seems to be occurring on the game servers as it doesn't occur in the offline play environment. 

If possible, could you please look into this matter?

Plugins & Plugin Creation Forum / Re: Commander Legends
« Last post by CrazyChucky on November 06, 2020, 03:45:39 PM »
Full set is up. No draftable pack just yet, though—still trying to find more specific information about how the packs are laid out.
Plugins & Plugin Creation Forum / Re: Magic: The Gathering Plugin Updates
« Last post by CrazyChucky on November 06, 2020, 03:44:40 PM »

The full Commander Legends set is up. (The normal set is "cmr", and the borderless planeswalkers and foiled alt-frame cards are under "1cmr".)
I have not yet added the draftable pack, because I haven't yet been able to find detailed enough information about how the various slots are allocated.

  • Zendikar Rising and Zendikar Rising Commander are now high-res.
  • Added Germ-spawning script for Living Weapons.


Skyclave Relic wasn't making token copies of itself. Fixed.
Plugins & Plugin Creation Forum / Re: Commander Legends
« Last post by CrazyChucky on November 03, 2020, 10:27:28 PM »
Some of the cards have been spoiled, and most of those are in the plugin already (with set code "cmr"). I imagine the full set will probably be revealed by the end of this week.
Plugins & Plugin Creation Forum / Commander Legends
« Last post by Johnny Blaze on November 03, 2020, 09:24:57 AM »
Are we getting closer to set..?
Plugins & Plugin Creation Forum / Re: Magic: The Gathering Plugin Updates
« Last post by CrazyChucky on October 29, 2020, 02:56:03 PM »

Added full Zendikar Rising Commander set, new Secret Lair cards, and ongoing spoilers for Commander Legends.
Also added scripts for Monarch, Amass, and Encore.


Aaaaand also removed the Ravnica sets and M20 from Standard. Only a month late. Can you tell I don't really follow Standard?
General Discussion Forum / Re: Any hope in making Lackey open source?
« Last post by Alastair on October 28, 2020, 09:30:30 AM »
I've brought it up with him numerous times over the years. He has concerns about legal issues, which I've tried to address for him but nothing has happened on this front.
Pages: [1] 2 3 ... 10