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




Volrathxp's Custom Dotp 2014 DLC (Last Update: 12/6/2014)
Moderator: CCGHQ Admins
Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/7/2014)
by Evalis » 08 Sep 2014, 20:59
So after playing the deck 'awakening zone' it appears that "Emrakul the Aeons Torn", goes on top of the players library rather than being shuffled into it. I"m not 100% certain that the version of this card you designed has this issue, as there are multiple iterations of it, but if you are interested, it might be something to be fixed.
Anyhoo. Thanks for your hard work on all these cards
Anyhoo. Thanks for your hard work on all these cards

Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/7/2014)
by volrathxp » 08 Sep 2014, 21:15
I did not code Emrakul, but I can take a look at it and fix it.Evalis wrote:So after playing the deck 'awakening zone' it appears that "Emrakul the Aeons Torn", goes on top of the players library rather than being shuffled into it. I"m not 100% certain that the version of this card you designed has this issue, as there are multiple iterations of it, but if you are interested, it might be something to be fixed.
Anyhoo. Thanks for your hard work on all these cards
Edit: Took a look at Emrakul and it is correct. There are two copies in the deck so it is likely that you drew one after the shuffle.
Last edited by volrathxp on 09 Sep 2014, 21:30, edited 1 time in total.
volrathxp
Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/7/2014)
by volrathxp » 08 Sep 2014, 21:16
No idea. Lol.Kithkin wrote:What's going on with the decks downloads? 500 times![]()
![]()
volrathxp
Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/7/2014)
by Kithkin » 09 Sep 2014, 19:40
Bug report
- When playing against the Tap and Draw deck, the AI personality in the upper right corner is missing. Not only the card art, but the whole thing.
- Roon's Constellation Power and The Mimeoplasm both have 316 cards in deck.
- When playing against the Tap and Draw deck, the AI personality in the upper right corner is missing. Not only the card art, but the whole thing.

- Roon's Constellation Power and The Mimeoplasm both have 316 cards in deck.

-
Kithkin - Posts: 456
- Joined: 21 Feb 2014, 07:12
- Location: Cologne, GERMANY
- Has thanked: 11 times
- Been thanked: 56 times
Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/7/2014)
by volrathxp » 09 Sep 2014, 21:29
I will check into this. I have not run into the 300+ cards thing with either of those decks (and I've played both extensively).Kithkin wrote:Bug report
- When playing against the Tap and Draw deck, the AI personality in the upper right corner is missing. Not only the card art, but the whole thing.
- Roon's Constellation Power and The Mimeoplasm both have 316 cards in deck.
volrathxp
Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/7/2014)
by volrathxp » 10 Sep 2014, 01:39
So I'm now getting a 'nil value' on line 9 on Mimeoplasm on one of the RTAs.
Here's the code. The card does work, just gives the script log error. Not sure why.
Here's the code. The card does work, just gives the script log error. Not sure why.
- The Mimeoplasm | Open
- Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
<FILENAME text="THE_MIMEOPLASM_1000338445" />
<CARDNAME text="THE_MIMEOPLASM" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[The Mimeoplasm]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[The Mimeoplasm]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[The Mimeoplasm]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[The Mimeoplasm]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[The Mimeoplasm]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[The Mimeoplasm]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[The Mimeoplasm]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[The Mimeoplasm]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[The Mimeoplasm]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="1000338445" />
<ARTID value="1000338445" />
<ARTIST name="Svetlin Velinov" />
<CASTING_COST cost="{2}{G}{U}{B}" />
<SUPERTYPE metaname="Legendary" />
<TYPE metaname="Creature" />
<SUB_TYPE metaname="Ooze" />
<EXPANSION value="CM1" />
<RARITY metaname="M" />
<POWER value="0" />
<TOUGHNESS value="0" />
<TRIGGERED_ABILITY replacement_query="1" active_zone="ZONE_TRANSITION">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[As The Mimeoplasm enters the battlefield, you may exile two creature cards from graveyards. If you do, it enters the battlefield as a copy of one of those cards with a number of additional +1/+1 counters on it equal to the power of the other card.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[As The Mimeoplasm enters the battlefield, you may exile two creature cards from graveyards. If you do, it enters the battlefield as a copy of one of those cards with a number of additional +1/+1 counters on it equal to the power of the other card.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[As The Mimeoplasm enters the battlefield, you may exile two creature cards from graveyards. If you do, it enters the battlefield as a copy of one of those cards with a number of additional +1/+1 counters on it equal to the power of the other card.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[As The Mimeoplasm enters the battlefield, you may exile two creature cards from graveyards. If you do, it enters the battlefield as a copy of one of those cards with a number of additional +1/+1 counters on it equal to the power of the other card.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Mentre Il Mimoplasma entra nel campo di battaglia, puoi esiliare due carte creatura dai cimiteri. Se lo fai, entra nel campo di battaglia come copia di una di quelle carte con un numero di segnalini +1/+1 addizionali pari alla forza dell’altra carta]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[As The Mimeoplasm enters the battlefield, you may exile two creature cards from graveyards. If you do, it enters the battlefield as a copy of one of those cards with a number of additional +1/+1 counters on it equal to the power of the other card.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[As The Mimeoplasm enters the battlefield, you may exile two creature cards from graveyards. If you do, it enters the battlefield as a copy of one of those cards with a number of additional +1/+1 counters on it equal to the power of the other card.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[As The Mimeoplasm enters the battlefield, you may exile two creature cards from graveyards. If you do, it enters the battlefield as a copy of one of those cards with a number of additional +1/+1 counters on it equal to the power of the other card.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[As The Mimeoplasm enters the battlefield, you may exile two creature cards from graveyards. If you do, it enters the battlefield as a copy of one of those cards with a number of additional +1/+1 counters on it equal to the power of the other card.]]></LOCALISED_TEXT>
<TRIGGER value="ZONECHANGE_TRANSITION" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" from_zone="ZONE_ANY" />
<RESOLUTION_TIME_ACTION>
local filter = ClearFilter()
filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
filter:SetZone( ZONE_GRAVEYARD )
if filter:CountStopAt(2) == 2 then
EffectController():ChooseItem( "CARD_QUERY_CHOOSE_CREATURE_TO_EXILE_CLONE", EffectDC():Make_Targets(0), QUERY_FLAG_MAY )
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local target1 = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target1 ~= nil then
local filter = ClearFilter()
filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
filter:SetZone( ZONE_GRAVEYARD )
EffectController():ChooseItem( "CARD_QUERY_CHOOSE_CREATURE_TO_EXILE_PT", EffectDC():Make_Targets(1) )
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local target1 = EffectDC():Get_Targets(0):Get_CardPtr(0)
if ( target1 ~= nil ) then
target1:StoreCopiableValues(EffectDC():Make_Chest(3)) -- this grabs the copiable values from the target and puts them into a datachest
EffectSource():UseCopiableValues(EffectDC():Get_Chest(3)) -- this needs to be here to refire any other transition triggers (e.g. devour)
EffectDC():Protect_CardPtr( COMPARTMENT_ID_EFFECT_SOURCE ) -- this stops the effect from being wiped when we complete the zonechange
target1:Exile()
end
local target2 = EffectDC():Get_Targets(1):Get_CardPtr(0)
if ( target2 ~= nil ) then
local power = target2:GetCurrentCharacteristics():Power_Get()
EffectSource():AddCounters( MTG():PlusOnePlusOneCounters(), power )
target2:Exile()
end
</RESOLUTION_TIME_ACTION>
<CONTINUOUS_ACTION layer="1">
if EffectSource() ~= nil and EffectDC():Get_Chest(3) ~= nil then
EffectSource():UseCopiableValues(EffectDC():Get_Chest(3))
-- if you want to do other things as part of the copy effect, DO SO HERE
-- e.g EffectSource():GetCurrentCharacteristics():GrantAbility(1)
-- e.g EffectSource():GetCurrentCharacteristics():Power_Set(7)
-- e.g EffectSource():GetCurrentCharacteristics():Toughness_Set(7)
end
</CONTINUOUS_ACTION>
<DURATION>
return (EffectSource() == nil)
</DURATION>
</TRIGGERED_ABILITY>
<SFX text="COMBAT_BLUNT_LARGE_ATTACK" power_boundary_min="4" power_boundary_max="-1" />
<SFX text="COMBAT_BLUNT_SMALL_ATTACK" power_boundary_min="1" power_boundary_max="3" />
</CARD_V2>
volrathxp
Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/7/2014)
by RiiakShiNal » 10 Sep 2014, 10:48
Based on your code the only line it could be is this:
- Code: Select all
local target2 = EffectDC():Get_Targets(1):Get_CardPtr(0)
- Code: Select all
local target2 = EffectDC():Get_Targets(1) and EffectDC():Get_Targets(1):Get_CardPtr(0)
- Code: Select all
local target2 = nil
if (EffectDC():Get_Targets(1) ~= nil) then
target2 = EffectDC():Get_Targets(1):Get_CardPtr(0)
end
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: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/7/2014)
by volrathxp » 10 Sep 2014, 14:44
That fixed it. Thanks! Will update the wad tonight.
volrathxp
Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/7/2014)
by Evalis » 10 Sep 2014, 20:32
Dictate of karemetra doesn't provide double mana benefits. At least to manual mana tapping lands. It's possible it works for normal lands, but I haven't used them in a while..
Edit: Actually nix that. Apparently it only works if you do manually tap the land, and it doesn't if you let the game tap it for you.
Edit: Actually nix that. Apparently it only works if you do manually tap the land, and it doesn't if you let the game tap it for you.
Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/7/2014)
by RiiakShiNal » 11 Sep 2014, 00:29
That is a known issue as the game engine isn't raising the BECAME_TAPPED_FOR_MANA event so there is no way to know when something was auto-tapped for mana (versus tapped for some other reason).Evalis wrote:Dictate of karemetra doesn't provide double mana benefits. At least to manual mana tapping lands. It's possible it works for normal lands, but I haven't used them in a while..
Edit: Actually nix that. Apparently it only works if you do manually tap the land, and it doesn't if you let the game tap it for 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: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/7/2014)
by Evalis » 11 Sep 2014, 01:27
okay no biggie. Found another minor one. Avacyn the Guardian Angel's indestructable ability costs 3 instead of 2.
Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/7/2014)
by volrathxp » 11 Sep 2014, 01:42
Fix incoming, will include this.Evalis wrote:okay no biggie. Found another minor one. Avacyn the Guardian Angel's indestructable ability costs 3 instead of 2.
volrathxp
Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/10/2014
by volrathxp » 11 Sep 2014, 01:59
Updated! See the changelog!
volrathxp
Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/10/2014
by Evalis » 11 Sep 2014, 03:20
Neat. I should really post all of these at once.. or you shouldn't be so good at responding
.
I found another one. Polukranos the World Eater must select targets when he goes monstrous. From the text though, it says "any number" which includes zero. Maybe include a 'finish' button? Also very minor, the popup says choose creature or player, but doesn't (not that it should) let you select a player.

I found another one. Polukranos the World Eater must select targets when he goes monstrous. From the text though, it says "any number" which includes zero. Maybe include a 'finish' button? Also very minor, the popup says choose creature or player, but doesn't (not that it should) let you select a player.
Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/10/2014
by volrathxp » 11 Sep 2014, 03:23
Polukranos is from another DLC. I did not code that one, but can likely take a look.Evalis wrote:Neat. I should really post all of these at once.. or you shouldn't be so good at responding.
I found another one. Polukranos the World Eater must select targets when he goes monstrous. From the text though, it says "any number" which includes zero. Maybe include a 'finish' button? Also very minor, the popup says choose creature or player, but doesn't (not that it should) let you select a player.
Edit: quick look at Gatherer states that the number of targets must be at least one if X isn't zero. You can't pay X greater than zero and not pick any targets. So if you are activating for more than 0, then this behavior would be correct.
The popup text would be in whatever ui file that holds that text, which may be doable.
volrathxp
Who is online
Users browsing this forum: No registered users and 14 guests