Board index
Programs with AI or Rules Enforcement
Magic: The Gathering - Duels of the Planeswalkers
New MTG Cards and Decks (2010, 2012, 2013, 2014, 2015, Magic Duels)
2014




Formal Request Thread
Moderator: CCGHQ Admins
Re: Formal Request Thread
by RiiakShiNal » 12 Jun 2015, 10:31
Can't be coded because we can't modify ability costs.Alistair Kion wrote:Wondering if someone would mind coding Training Grounds?
Thank you!
Just getting started: Xander9009's DotP 2014 Community Wad
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
- RiiakShiNal
- Programmer
- Posts: 2188
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Re: Formal Request Thread
by Xander9009 » 13 Jun 2015, 15:22
Done. I also fixed Cataclysm (and got it working with Enchanted Evening, which I had to code in order to test it) including with planeswalkers. Also coded Gaddock Teeg, but that one's not tested.zhupiter wrote:Definitely yes.The aim I post it is to want someone can add it to CW.I will appreciate it if yo can do.Xander9009 wrote:The cards with overload were added to the CW, but Neo's were used (mostly just because they'd already been tested). Do you want me to add the others to the CW? Or would you like me to explain how you yourself could do it?It's a little hard to access google drive at where I live.
Done, untested.Borborigmos wrote:Can someone pleeeease code:
Phyrexian Processor
Obelisk of Alara
Molten-Tail Masticore
Completely different decks but have been waiting to play them for a long timethanks in advance!!
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
-
Xander9009 - Programmer
- Posts: 2905
- Joined: 29 Jun 2013, 07:44
- Location: Indiana, United States
- Has thanked: 121 times
- Been thanked: 445 times
Re: Formal Request Thread
by Borborigmos » 13 Jun 2015, 19:51
Thank you so much for that!
Although I just tested Phyrexian Processor and it doesn't prompt for how much life you want to pay when it comes into play. It just enters the battlefield and that's it...
I think this is the error:
[lua] [string "PHYREXIAN_PROCESSOR_CW_207888_TITLE (RESOLUTION_TIME_ACTION)~0x00000c60"]:4: attempt to index global 'player' (a nil value)
Thanks in advance!
Although I just tested Phyrexian Processor and it doesn't prompt for how much life you want to pay when it comes into play. It just enters the battlefield and that's it...
I think this is the error:
[lua] [string "PHYREXIAN_PROCESSOR_CW_207888_TITLE (RESOLUTION_TIME_ACTION)~0x00000c60"]:4: attempt to index global 'player' (a nil value)
Thanks in advance!
- Borborigmos
- Posts: 90
- Joined: 13 Apr 2015, 16:24
- Has thanked: 25 times
- Been thanked: 4 times
Re: Formal Request Thread
by addict insane » 16 Jun 2015, 18:22
Hi, don't know if this is the right place to ask for cards for the community wad, but I just need a few and probably easy ones to get a couple of decks finished.
Mangara of Corondor
Grove of the Burnwillows
Punishing Fire
I think Punishing Fire is in another mod, but I don't know how to extract their code into the WAD, and anyways I think it would get deleted whenever I update into the latest version. I also don't wanna install mods other than the community one because I already had an instance where a card in the community mod seems to be conflicting with another mod, and I agreed with Xander I would delete all my other mods to try just community.
If anyone can help, thanks a lot
Mangara of Corondor
Grove of the Burnwillows
Punishing Fire
I think Punishing Fire is in another mod, but I don't know how to extract their code into the WAD, and anyways I think it would get deleted whenever I update into the latest version. I also don't wanna install mods other than the community one because I already had an instance where a card in the community mod seems to be conflicting with another mod, and I agreed with Xander I would delete all my other mods to try just community.
If anyone can help, thanks a lot
- addict insane
- Posts: 184
- Joined: 02 Mar 2015, 22:20
- Has thanked: 23 times
- Been thanked: 11 times
Re: Formal Request Thread
by Xander9009 » 16 Jun 2015, 18:50
If you ever figured out which mod was conflicting, you can tell me and I'll look into the problem. Either way, these cards seem easy enough.addict insane wrote:Hi, don't know if this is the right place to ask for cards for the community wad, but I just need a few and probably easy ones to get a couple of decks finished.
Mangara of Corondor
Grove of the Burnwillows
Punishing Fire
I think Punishing Fire is in another mod, but I don't know how to extract their code into the WAD, and anyways I think it would get deleted whenever I update into the latest version. I also don't wanna install mods other than the community one because I already had an instance where a card in the community mod seems to be conflicting with another mod, and I agreed with Xander I would delete all my other mods to try just community.
If anyone can help, thanks a lot
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
-
Xander9009 - Programmer
- Posts: 2905
- Joined: 29 Jun 2013, 07:44
- Location: Indiana, United States
- Has thanked: 121 times
- Been thanked: 445 times
Re: Formal Request Thread
by addict insane » 16 Jun 2015, 19:12
Hi, Xander.
I just looked at the page before this one of the thread and another user, it think zhupiter it was, already coded Mangara of Corondor. He was asking for help uploading them into the WAD because he doesn't have google drive I doesn't know how to upload them, or something.
Just thought I should let you know before you get to workin'.
It's on page 202 of this thread, in the big list of cards.
I just looked at the page before this one of the thread and another user, it think zhupiter it was, already coded Mangara of Corondor. He was asking for help uploading them into the WAD because he doesn't have google drive I doesn't know how to upload them, or something.
Just thought I should let you know before you get to workin'.
It's on page 202 of this thread, in the big list of cards.
- addict insane
- Posts: 184
- Joined: 02 Mar 2015, 22:20
- Has thanked: 23 times
- Been thanked: 11 times
Re: Formal Request Thread
by Xander9009 » 16 Jun 2015, 20:09
In that case, it's already in the CW. I added those cards immediately after he told me that's what he wanted.addict insane wrote:Hi, Xander.
I just looked at the page before this one of the thread and another user, it think zhupiter it was, already coded Mangara of Corondor. He was asking for help uploading them into the WAD because he doesn't have google drive I doesn't know how to upload them, or something.
Just thought I should let you know before you get to workin'.
It's on page 202 of this thread, in the big list of cards.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
-
Xander9009 - Programmer
- Posts: 2905
- Joined: 29 Jun 2013, 07:44
- Location: Indiana, United States
- Has thanked: 121 times
- Been thanked: 445 times
Re: Formal Request Thread
by addict insane » 16 Jun 2015, 20:33
Great! Btw, if it's not too much trouble, could we get the new art that comes with Mother of Runes? The Terese Nielsen one. Somehow, The old lady just doesn't seem to fit the theme of the Maverick deck I'm trying to build.
I'll wait until you add the Grove and Punishing Fires to download the WAD again, I downloaded the no-update version so I have to download the full 2 gb all over again. don't wanna do it too many times.

Fabulous, no? XD
Oh, and I saw a file called Community Wad Decks. Does that mean I can erase all other mods and still keep the decks by downloading this file?
I'll wait until you add the Grove and Punishing Fires to download the WAD again, I downloaded the no-update version so I have to download the full 2 gb all over again. don't wanna do it too many times.

Fabulous, no? XD
Oh, and I saw a file called Community Wad Decks. Does that mean I can erase all other mods and still keep the decks by downloading this file?
- addict insane
- Posts: 184
- Joined: 02 Mar 2015, 22:20
- Has thanked: 23 times
- Been thanked: 11 times
Re: Formal Request Thread
by zysron » 17 Jun 2015, 01:26
the decks are just that decks you will need other mods to play them
Re: Formal Request Thread
by addict insane » 17 Jun 2015, 04:01
yes, I get it, but my question is if I will only need the community wad
- addict insane
- Posts: 184
- Joined: 02 Mar 2015, 22:20
- Has thanked: 23 times
- Been thanked: 11 times
Re: Formal Request Thread
by Kithkin » 17 Jun 2015, 05:20
Correct, you only need the Community Wad mod (and the art files) and the Community Wad Decks. At least that's all I need.addict insane wrote:yes, I get it, but my question is if I will only need the community wad

-
Kithkin - Posts: 456
- Joined: 21 Feb 2014, 07:12
- Location: Cologne, GERMANY
- Has thanked: 11 times
- Been thanked: 56 times
Re: Formal Request Thread
by Xander9009 » 17 Jun 2015, 06:41
I also misunderstood this. If a deck is in the Community Wad Decks folder, then it will only require the Community Wad and base game cards to play. So, yes, you can delete any other mods and still have all of the decks work. I made sure to make that a requirement for specifically this reason.addict insane wrote:yes, I get it, but my question is if I will only need the community wad
Also, you do NOT need to redownload the full 2 GB. You only need to download any that have updated. You can tell if they've updated by checking the version. I've just made a new tool here to check the version for you more easily. Put the file in a folder with Gibbed.Duels.Unpack.exe (or it'll make you point it to the exe; and it can also use my universal converter if you know about it), and then drop a CW wad on it. It'll list the versions of all files dropped onto it in notepad.
I've done a bit of optimization. The version files are really high up in the folders, and they're made almost immediately by the unpacker. So, i try to detect when this has successfully happened and then kill the unpacker process so it doesn't spend a huge amount of time unpacking the rest of the file when we already have what we need. However, I'm not particularly certain this will work well on others' machines, so let me know if it works or not if you try it. (For reference, without killing the processes early, it took about 15 minutes to check all of the CW's wad files. With the code to kill the processes early, it takes about 20 seconds. HUGE difference. So, I'm really hoping it works.)
Oh, and this will make a bunch of folders and files and delete them all very quickly. With that in mind, do NOT run this in your Google Drive folder if you have one. The speed with which they're created and destroyed has a good chance of giving the Drive syncing program a few hiccups.
Anyway, once you've got the versions, in the CW Art folder and Core folder, there's a version file for each wad. I'd usually finish the job by making my tool auto-create a single master version file and letting you drop that onto the version checker I made to simply tell you which ones are outdated, but it's 2:40 A.M. here haha. I'll see about that tomorrow.
EDIT:
I should note I've just modified the tool very slightly. If Gibbed.Duels.Unpack.exe is in any subfolder at any depth of the folder the tool is in, then it will find and use it. This means that if you put the version checker in your game folder, and your Gibbed Tools folder is somewhere in that same folder, then you can just drop the CW wads on it.
Tomorrow, I'll add the ability to just double click it and run that way, properly looping through all of the CW's wads without being forced to drop them onto it. It'll only take a few minutes, but I'm too tired right now.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
-
Xander9009 - Programmer
- Posts: 2905
- Joined: 29 Jun 2013, 07:44
- Location: Indiana, United States
- Has thanked: 121 times
- Been thanked: 445 times
Re: Formal Request Thread
by Misplay » 17 Jun 2015, 07:24
Funny, I just tried it for the first time few days ago.addict insane wrote:Mother of Runes?

Here's the code, from the East Bay/Kevlahnota mods.
- Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
<FILENAME text="MOTHER_OF_RUNES_888247525" />
<CARDNAME text="MOTHER_OF_RUNES" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Mother of Runes]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Madre delle Rune]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Mutter der Runen]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Mère des runes]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Madre de las runas]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[ルーンの母]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Mother of Runes]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Mother of Runes]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Madre das Runas]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="888247525" />
<ARTID value="A888247525" />
<ARTIST name="Scott M. Fischer" />
<CASTING_COST cost="{W}" />
<FLAVOURTEXT>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“My family protects all families.”]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“La mia famiglia protegge tutte le famiglie.”]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[„Meine Kinder schützen die Kinder anderer Mütter.”]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[« Ma famille protège toutes les familles. »]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“Mi familia protege a todas las familias.”]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[「私の家族は、すべての家族を守っています。」]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[“My family protects all families.”]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[“My family protects all families.”]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[“My family protects all families.”]]></LOCALISED_TEXT>
</FLAVOURTEXT>
<TYPE metaname="Creature" />
<SUB_TYPE metaname="Human" />
<SUB_TYPE metaname="Cleric" />
<EXPANSION value="DPI" />
<RARITY metaname="U" />
<POWER value="1" />
<TOUGHNESS value="1" />
<ACTIVATED_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{T}: Target creature you control gains protection from the color of your choice until end of turn.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{T}: Una creatura bersaglio che controlli ha protezione da un colore a tua scelta fino alla fine del turno.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{T}: Eine Kreatur deiner Wahl, die du kontrollierst, erhält bis zum Ende des Zuges Schutz vor einer Farbe, die du bestimmst.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{T} : La créature ciblée que vous contrôlez acquiert la protection contre la couleur de votre choix jusqu’à la fin du tour.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{T}: La criatura objetivo que controles gana protección contra el color de tu elección hasta el final del turno.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{T}:あなたがコントロールするクリーチャー1体を対象とする。あなたは色を1色選ぶ。それはターン終了時までプロテクション(その選ばれた色)を得る。]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{T}: Target creature you control gains protection from the color of your choice until end of turn.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{T}: Target creature you control gains protection from the color of your choice until end of turn.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{T}: Target creature you control gains protection from the color of your choice until end of turn.]]></LOCALISED_TEXT>
<COST type="TapSelf" />
<TARGET tag="CARD_QUERY_CHOOSE_CREATURE_GAIN_PROTECTION_FROM_COLOUR" definition="0" compartment="0" count="1" />
<TARGET_DEFINITION id="0">
local filter = ClearFilter()
filter:Add(FE_CONTROLLER, OP_IS, EffectController() )
filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
</TARGET_DEFINITION>
<RESOLUTION_TIME_ACTION>
EffectController():ChooseColour( "CARD_QUERY_CHOOSE_COLOUR", true )
</RESOLUTION_TIME_ACTION>
<CONTINUOUS_ACTION layer="6">
local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target ~= nil then
local filter = ClearFilter()
filter:Add( FE_COLOUR, OP_IS, GetChosenColour() )
target:Protection()
end
</CONTINUOUS_ACTION>
<DURATION simple_duration="UntilEOT" />
<AI_AVAILABILITY window_step="declare_attackers" window_turn="my_turn" type="window" />
<AI_AVAILABILITY window_step="declare_attackers" window_turn="their_turn" type="window" />
<AI_AVAILABILITY type="in_response" response_source="1" />
<AI_AVAILABILITY type="in_response" response_target="1" />
</ACTIVATED_ABILITY>
<HELP title="MORE_INFO_TITLE_PROTECTION" body="MORE_INFO_BODY_PROTECTION" zone="ZONE_ANY" />
<SFX text="COMBAT_WHITE_MAGIC_LARGE_ATTACK" power_boundary_min="4" power_boundary_max="-1" />
<SFX text="COMBAT_WHITE_MAGIC_SMALL_ATTACK" power_boundary_min="1" power_boundary_max="3" />
<AI_BASE_SCORE score="600" zone="ZONE_BATTLEFIELD" />
</CARD_V2>
> Aesthetic request!
Is it possible to change the art of the manifest cards (file "CWM1")? I think "Soul Summons" is the good one...

Also, I want to include "Arena" in the CW... But the original art is ugly, and I use the "Training Grounds" art instead (because it's beautiful, it fits to "Arena", and "Training Grounds"'s uncodable).
Can I upload it with the new art, or should I upload the real one?
Re: Formal Request Thread
by Xander9009 » 17 Jun 2015, 15:38
Manifest cards all call the exact same method for changing their stats and art. Why some seem to work fine while others leave the art squished is a mystery to me. Sorry, but I have no clue what's going on here. And frankly, I'm not certain that it doesn't have a pattern. The problem, however, is that if we find the pattern, and then can't ix it, then whether or not the art is messed up gives us a clue about what's manifested that we aren't supposed to have.
For Mother of Runes, I'll code it, but I'm not going to be using that code. Neither East Bay nor Kevlahnota gave me permission to include their work in the CW, so it'll need to be coded from scratch. That's why it's not already in there.
About the art for Arena, I'll leave that up to everyone else. To be fair, the art doesn't technically affect anything, and thus could be changed to another card without hurting anything. At the same time, I personally really dislike the idea, but that's just because I don't want it to become commonplace. So, I'll let others express their opinions on that if anyone has them. For now, I'd say do what you want, BUT use the real multiverseID for the filename and multiverseID tags so it can be changed later without breaking decks (the multiverseID wouldn't break decks, but the card validity checker will just change it if it isn't right, anyway).
Finally, as promised, the process of checking all of your files for updated version is now much simpler. I've refined the tool a bit. Now, there should always be a Master Version File.txt in the Community Art Folder (packed). Grab the file I linked in the last post and put it into your game folder (everything it did before, such as dropping files onto it from anywhere will still work). Make sure Gibbed.Duels.Unpack.exe is in some subfolder in your game folder (or point it to it when it asks). Drop the Master Version File.txt onto Check Versions.exe and wait for it to tell you which files need updated. If you drop art or core wad files on it (only for the CW), it'll list the versions. If you run it directly, it'll list the versions of any art files in the folder it's in. If you drop a Master Version File.txt onto it, it'll compare that list to the list of versions it gets from the CW art wads in the folder it's in. The Master Version File.txt will be kept up to date automatically. It'll be updated whenever art is repacked, so it should always be pretty reliable.
----------
EDIT2:
Duel Decks: Elspeth vs Kiora has been added. (The set the Mother of Runes picture is from.)
For Mother of Runes, I'll code it, but I'm not going to be using that code. Neither East Bay nor Kevlahnota gave me permission to include their work in the CW, so it'll need to be coded from scratch. That's why it's not already in there.
About the art for Arena, I'll leave that up to everyone else. To be fair, the art doesn't technically affect anything, and thus could be changed to another card without hurting anything. At the same time, I personally really dislike the idea, but that's just because I don't want it to become commonplace. So, I'll let others express their opinions on that if anyone has them. For now, I'd say do what you want, BUT use the real multiverseID for the filename and multiverseID tags so it can be changed later without breaking decks (the multiverseID wouldn't break decks, but the card validity checker will just change it if it isn't right, anyway).
Finally, as promised, the process of checking all of your files for updated version is now much simpler. I've refined the tool a bit. Now, there should always be a Master Version File.txt in the Community Art Folder (packed). Grab the file I linked in the last post and put it into your game folder (everything it did before, such as dropping files onto it from anywhere will still work). Make sure Gibbed.Duels.Unpack.exe is in some subfolder in your game folder (or point it to it when it asks). Drop the Master Version File.txt onto Check Versions.exe and wait for it to tell you which files need updated. If you drop art or core wad files on it (only for the CW), it'll list the versions. If you run it directly, it'll list the versions of any art files in the folder it's in. If you drop a Master Version File.txt onto it, it'll compare that list to the list of versions it gets from the CW art wads in the folder it's in. The Master Version File.txt will be kept up to date automatically. It'll be updated whenever art is repacked, so it should always be pretty reliable.
----------
EDIT2:
Duel Decks: Elspeth vs Kiora has been added. (The set the Mother of Runes picture is from.)
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
-
Xander9009 - Programmer
- Posts: 2905
- Joined: 29 Jun 2013, 07:44
- Location: Indiana, United States
- Has thanked: 121 times
- Been thanked: 445 times
Who is online
Users browsing this forum: No registered users and 11 guests