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)
2012




Thefiremind's DotP2012 DLC v9 (07/7/2012)
Moderator: CCGHQ Admins
Re: Thefiremind's DotP2012 DLC v3 (17/4/2012)
by MisterBenn » 22 Apr 2012, 16:20
This really is a great DLC, I've been having a lot of fun and the cards are put together to a great standard. Also I like all the variety! I have a couple small pieces of feedback.
1) I think the Bloodied Night decks needs another Mountain or two, there are only 6 in the deck at the moment and a few cards require 2 of them.
2) Using Rakdos Chaos I played Twinstrike as my only card in hand versus two Mnemonic Wall cards. They were the only two enemy creatures but I was not able to cast Twinstrike as no valid targets were available. There was nothin present granting Shroud or Hexproof or anything like that, I think that perhaps Twinstrike has an issue when in Hellbent mode.
Thanks again, I am enjoying this a lot.
1) I think the Bloodied Night decks needs another Mountain or two, there are only 6 in the deck at the moment and a few cards require 2 of them.
2) Using Rakdos Chaos I played Twinstrike as my only card in hand versus two Mnemonic Wall cards. They were the only two enemy creatures but I was not able to cast Twinstrike as no valid targets were available. There was nothin present granting Shroud or Hexproof or anything like that, I think that perhaps Twinstrike has an issue when in Hellbent mode.
Thanks again, I am enjoying this a lot.
- MisterBenn
- Posts: 97
- Joined: 19 Mar 2011, 16:19
- Has thanked: 24 times
- Been thanked: 11 times
Re: Thefiremind's DotP2012 DLC v3 (17/4/2012)
by thefiremind » 23 Apr 2012, 09:30
Thanks for the feedback! I already tried to fix Twinstrike, but it wasn't successful as I can see. I'll try again. 

< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 722 times
Re: Thefiremind's DotP2012 DLC v5 (06/5/2012)
by Ctar » 07 May 2012, 02:26
I found “DIVINE_SACRAMENT_19991607”and "RIPTIDE_DIRECTOR_19991573" and "VAMPIRE_LACERATOR_19991448" BUG fix, as long as the conversion to XML files from ANSI encoding can be a UTF-8. Hope useful.
Re: Thefiremind's DotP2012 DLC v5 (06/5/2012)
by thefiremind » 07 May 2012, 08:36
Thanks! It's due to the fact that Deck Editor Revised saves XML's in UTF-8 only if there are special characters in it, otherwise it saves to ANSI... but then I insert special characters with Notepad while writing localised text, and I forget to change encoding.Ctar wrote:I found “DIVINE_SACRAMENT_19991607”and "RIPTIDE_DIRECTOR_19991573" and "VAMPIRE_LACERATOR_19991448" BUG fix, as long as the conversion to XML files from ANSI encoding can be a UTF-8. Hope useful.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 722 times
Re: Thefiremind's DotP2012 DLC v5 (06/5/2012)
by Eglin » 07 May 2012, 09:26
That'd be a great thing to mention to the program's author. I am under the impression that it is a work in progress, and I'm sure that it is difficult for him to monitor all of the threads on this board. I also suspect that you'd have lots of good feature suggestions - maybe make a list and post it in the deck editor thread?thefiremind wrote:Thanks! It's due to the fact that Deck Editor Revised saves XML's in UTF-8 only if there are special characters in it, otherwise it saves to ANSI... but then I insert special characters with Notepad while writing localised text, and I forget to change encoding.Ctar wrote:I found “DIVINE_SACRAMENT_19991607”and "RIPTIDE_DIRECTOR_19991573" and "VAMPIRE_LACERATOR_19991448" BUG fix, as long as the conversion to XML files from ANSI encoding can be a UTF-8. Hope useful.
Re: Thefiremind's DotP2012 DLC v5 (06/5/2012)
by kevlahnota » 08 May 2012, 01:50
Hi, can you try this code for Twinstrike ?
- Code: Select all
<TARGET_DETERMINATION>
local filter = Object():GetFilter()
filter:Clear()
filter:SetFilterType( FILTER_TYPE_CARDS )
filter:AddCardType( CARD_TYPE_CREATURE )
filter:SetZone( ZONE_IN_PLAY )
filter:SetNeutral()
filter:PlayerAntiHint( Object():GetPlayer() )
if (filter:CountStopAt( 2 ) == 2) then
return (TARGET_DETERMINATION_ALL)
else
return (TARGET_DETERMINATION_NONE)
end
</TARGET_DETERMINATION>
<PLAY_TIME_ACTION>
local filter = Object():GetFilter()
filter:Clear()
filter:SetFilterType( FILTER_TYPE_CARDS )
filter:AddCardType( CARD_TYPE_CREATURE )
filter:SetZone( ZONE_IN_PLAY )
filter:SetNeutral()
filter:PlayerHint( Object():GetPlayer() )
Object():GetPlayer():ChooseTargetDC( "CARD_QUERY_CHOOSE_DEAL_2_DAMAGE", MTG():EffectDataChest():Make_Targets( 0 ))
</PLAY_TIME_ACTION>
<PLAY_TIME_ACTION>
local filter = Object():GetFilter()
local target_card = nil
local target_DC = MTG():EffectDataChest():Get_Targets( 0 )
if target_DC ~= nil then
target_card = target_DC:Get_NthCardPtr(0)
end
filter:Clear()
filter:SetFilterType( FILTER_TYPE_CARDS )
filter:AddCardType( CARD_TYPE_CREATURE )
filter:SetZone( ZONE_IN_PLAY )
filter:SetNeutral()
filter:PlayerHint( Object():GetPlayer() )
if target_card ~= nil then
filter:SetCardInstance(target_card)
filter:AddExtra( FILTER_EXTRA_FLIP_CARD_INSTANCE )
end
Object():GetPlayer():ChooseTargetDC( "CARD_QUERY_CHOOSE_DEAL_2_DAMAGE", MTG():EffectDataChest():Make_Targets( 1 ))
</PLAY_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local targetDC1 = MTG():EffectDataChest():Get_Targets( 0 )
if (targetDC1 ~= nil) then
local target1_c = targetDC1:Get_NthCardPtr( 0 )
if target1_c ~= nil and target1_c:GetZone() == ZONE_IN_PLAY then
if CountCardsInHand( Object():GetPlayer() ) < 1 then
target1_c:Destroy()
else
target1_c:DealDamage( 2, Object() )
end
end
end
local targetDC2 = MTG():EffectDataChest():Get_Targets( 1 )
if (targetDC2 ~= nil) then
local target2_c = targetDC2:Get_NthCardPtr( 0 )
if target2_c ~= nil and target2_c:GetZone() == ZONE_IN_PLAY then
if CountCardsInHand( Object():GetPlayer() ) < 1 then
target2_c:Destroy()
else
target2_c:DealDamage( 2, Object() )
end
end
end
</RESOLUTION_TIME_ACTION>
-
kevlahnota - Programmer
- Posts: 825
- Joined: 19 Jul 2010, 17:45
- Location: Philippines
- Has thanked: 14 times
- Been thanked: 264 times
Re: Thefiremind's DotP2012 DLC v5 (06/5/2012)
by thefiremind » 08 May 2012, 10:17
Thanks for the advice, but it's almost the same code I used before. The new code I used selects both targets in the same action and it has proved to work, so I prefer to avoid going back. 

< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 722 times
Re: Thefiremind's DotP2012 DLC v5 (06/5/2012)
by Miraika » 10 May 2012, 05:01
The problem with Twinstrike is that the CountCardsinHand function changes the filter. Here's the tweak:
- Code: Select all
<SPELL_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Twinstrike deals 2 damage to each of two target creatures.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Il Doppiocolpo infligge 2 danni a due diverse creature bersaglio.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[]]></LOCALISED_TEXT>
<TARGET_DETERMINATION>
local filter = Object():GetFilter()
filter:Clear()
filter:AddCardType( CARD_TYPE_CREATURE )
filter:SetZone( ZONE_IN_PLAY )
filter:SetNeutral()
filter:PlayerAntiHint( Object():GetPlayer() )
if (filter:CountStopAt( 2 ) == 2) then
return (TARGET_DETERMINATION_ALL)
else
return (TARGET_DETERMINATION_NONE)
end
</TARGET_DETERMINATION>
<PLAY_TIME_ACTION>
local cards = CountCardsInHand( Object():GetPlayer() )
local filter = Object():GetFilter()
filter:Clear()
filter:AddCardType( CARD_TYPE_CREATURE )
filter:SetZone( ZONE_IN_PLAY )
filter:SetNeutral()
filter:PlayerHint( Object():GetPlayer() )
if cards == 0 then
Object():GetPlayer():ChooseTargetDC( "CARD_QUERY_CHOOSE_CREATURE_TO_DESTROY", MTG():EffectDataChest():Make_Targets( 0 ))
else
Object():GetPlayer():ChooseTargetDC( "CARD_QUERY_CHOOSE_DEAL_2_DAMAGE", MTG():EffectDataChest():Make_Targets( 0 ))
end
</PLAY_TIME_ACTION>
<PLAY_TIME_ACTION>
local cards = CountCardsInHand( Object():GetPlayer() )
local filter = Object():GetFilter()
local target_card = nil
local target_DC = MTG():EffectDataChest():Get_Targets( 0 )
if target_DC ~= nil then
target_card = target_DC:Get_NthCardPtr(0)
end
filter:Clear()
filter:AddCardType( CARD_TYPE_CREATURE )
filter:SetZone( ZONE_IN_PLAY )
filter:SetNeutral()
filter:PlayerHint( Object():GetPlayer() )
if target_card ~= nil then
filter:SetCardInstance(target_card)
filter:AddExtra( FILTER_EXTRA_FLIP_CARD_INSTANCE )
end
if cards == 0 then
Object():GetPlayer():ChooseTargetDC( "CARD_QUERY_CHOOSE_CREATURE_TO_DESTROY", MTG():EffectDataChest():Make_Targets( 1 ))
else
Object():GetPlayer():ChooseTargetDC( "CARD_QUERY_CHOOSE_DEAL_2_DAMAGE", MTG():EffectDataChest():Make_Targets( 1 ))
end
</PLAY_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local cards = CountCardsInHand( Object():GetPlayer() )
local targetDC1 = MTG():EffectDataChest():Get_Targets( 0 )
if (targetDC1 ~= nil) then
local target1 = targetDC1:Get_NthCardPtr( 0 )
if target1 ~= nil and target1:GetZone() == ZONE_IN_PLAY then
if cards == 0 then
target1:Destroy()
else
target1:DealDamage( 2, Object() )
end
end
end
local targetDC2 = MTG():EffectDataChest():Get_Targets( 1 )
if (targetDC2 ~= nil) then
local target2 = targetDC2:Get_NthCardPtr( 0 )
if target2 ~= nil and target2:GetZone() == ZONE_IN_PLAY then
if cards == 0 then
target2:Destroy()
else
target2:DealDamage( 2, Object() )
end
end
end
</RESOLUTION_TIME_ACTION>
<SFX text="TARGET_FIREBALL_PLAY" />
<AI_BASE_SCORE score="1200" zone="hand" />
</SPELL_ABILITY>
Re: Thefiremind's DotP2012 DLC v5 (06/5/2012)
by Ctar » 18 May 2012, 06:48
DECK "1999_SLIVERS_REVENGE" have 5 "MUSCLE_SLIVER_19991202"
Re: Thefiremind's DotP2012 DLC v5 (06/5/2012)
by thefiremind » 18 May 2012, 08:05
Ctar wrote:DECK "1999_SLIVERS_REVENGE" have 5 "MUSCLE_SLIVER_19991202"




I'll release a new version quite soon... it will be fully localised (where translation was available, otherwise in English anyway) and it will have a Werewolf deck with fully working Moonmist and Immerwolf...

< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 722 times
Re: Thefiremind's DotP2012 DLC v6 (22/5/2012)
by thefiremind » 22 May 2012, 12:52
The big update is finally here! Download and have fun!
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 722 times
Re: Thefiremind's DotP2012 DLC v6 (22/5/2012)
by Aarala » 23 May 2012, 09:13
Thanks TheFireMind for the awesome mod. I noticed Voracious Hatchling is missing the text about black spells.
Also what was the reasoning behind Maximum Risk? There are much better creatures/spells that work with Homicidal Seclusion like sacrificing or Killing Wave.
Edit: Moonmist didnt work when I blocked a vampire with Immerwolf, they both died. It might have been because there wasnt anything to transform.
Also what was the reasoning behind Maximum Risk? There are much better creatures/spells that work with Homicidal Seclusion like sacrificing or Killing Wave.
Edit: Moonmist didnt work when I blocked a vampire with Immerwolf, they both died. It might have been because there wasnt anything to transform.
Last edited by Aarala on 23 May 2012, 11:52, edited 1 time in total.
Re: Thefiremind's DotP2012 DLC v6 (22/5/2012)
by thefiremind » 23 May 2012, 11:19
I didn't even notice that, but I'm afraid it's because there are too many lines of text. Either I give up putting the real mana cost in the text, or I put it in the same line as lifelink.Aarala wrote:I noticed Voracious Hatchling is missing the text about black spells.
The main theme on Maximum Risk isn't Homicidal Seclusion, but risky creatures. Then, since they are risky, it's usual to play with only 1 on the battlefield, so I added the "loner" theme.Aarala wrote:Also what was the reasoning behind Maximum Risk? There are much better creatures/spells that work with Homicidal Seclusion like sacrificing or Killing Wave.
I'm not sure if there's a way to code Killing Wave properly: I would need to ask the question for each creature while being sure that the player knows which creature is asked to pay for.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 722 times
Re: Thefiremind's DotP2012 DLC v6 (22/5/2012)
by daenon611 » 23 May 2012, 14:13
A really great mod, but there a problem to me, or to some cards ... 
Full Moon: Full Moon's Rise didn't give my Werewolfts +1/+0 and trample
Full Moon: Mayor of Avabrock did'nt give +1/+1 to other human's and didn't transform
[lua] [string "MAYOR_OF_AVABRUCK_DECK_19991706_TITLE (RESOLUTION_TIME_ACTION) [1422A0E0]"]:5: attempt to index a nil value
Full Moon: Immerwolft didn't +1/+1 to other Wewewolfs
Played with Full Moon agains Ajani's Aura. There was no Enchantment whitch wanted to stick an any creature. Very strange.
Thanks for many hours of great games.
P.S. Magic13 will have 10 new decks. That sounds kind of ridiculous to compare it to this mod.

Full Moon: Full Moon's Rise didn't give my Werewolfts +1/+0 and trample

Full Moon: Mayor of Avabrock did'nt give +1/+1 to other human's and didn't transform

[lua] [string "MAYOR_OF_AVABRUCK_DECK_19991706_TITLE (RESOLUTION_TIME_ACTION) [1422A0E0]"]:5: attempt to index a nil value
Full Moon: Immerwolft didn't +1/+1 to other Wewewolfs

Played with Full Moon agains Ajani's Aura. There was no Enchantment whitch wanted to stick an any creature. Very strange.
Thanks for many hours of great games.
P.S. Magic13 will have 10 new decks. That sounds kind of ridiculous to compare it to this mod.
-
daenon611 - Posts: 68
- Joined: 04 Sep 2011, 15:19
- Location: Germany
- Has thanked: 45 times
- Been thanked: 4 times
Re: Thefiremind's DotP2012 DLC v6 (22/5/2012)
by thefiremind » 24 May 2012, 08:44
You seem to have some kind of incompatibility between my mod and another one. The Werewolf creature type isn't in the game by default so I had to add it. You have some other mod that uses the constant for my CREATURE_TYPE_WEREWOLF for another creature type, or assigns a different constant to that name.
About the Auras, this is a problem that has been reported with kev's mod, too, and I'm pretty sure it has something to do with card subtypes, too, since kev uses the same constants:
That means that, as long as you have sadlyblue's mod installed, my Werewolves are Praetors in your games!
Here's what you can do:
Anyway, thanks a lot for the detailed feedback! I'll add a note to the first post about the problem.
About the Auras, this is a problem that has been reported with kev's mod, too, and I'm pretty sure it has something to do with card subtypes, too, since kev uses the same constants:
I looked at the other mods and I'm almost sure it's because of sadlyblue's mod (Data_DLC_5555.wad): his sequence of added creature types is GERM - WEREWOLF, while mine is GERM - PRAETOR - WEREWOLF.ravemotion wrote:I tried playing Shackles and Conviction but after choosing the target, the spell resolves with nothing happening to the target I chose. The card is put to the graveyard and doesn't enchant the target creature.
I found out what the problem was. It seems that all enchantment auras would not attach to creatures. I tried disabling other DLCs that I had in the folder, leaving only this one on and that's solved the problem.
That means that, as long as you have sadlyblue's mod installed, my Werewolves are Praetors in your games!

Here's what you can do:
- Easy fix: move Data_DLC_5555.wad to another directory or rename that (maybe by changing the extension from wad to wax or whatever you want) when you want to play with my mod, then undo the changes when you want to play with sadlyblue's mod again.
- Less easy fix: if you have the tools to unpack/pack wad files, unpack Data_DLC_5555.wad, then unzip the following zip file inside DATA_DLC_5555\DATA_ALL_PLATFORMS\DATA_REQUIRED:
5555_DATA_REQUIRED.rar
- Fix for incompatibility with sadlyblue's mod
- (1.48 KiB) Downloaded 505 times
Anyway, thanks a lot for the detailed feedback! I'll add a note to the first post about the problem.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 722 times
Who is online
Users browsing this forum: No registered users and 3 guests