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




Community Wad
Moderator: CCGHQ Admins
Re: Community Wad
by tmxk2012917 » 02 Dec 2016, 19:22
bug of Breaching Leviathan:
When it entered the battleground, all my creatures(all are blue and green creatures) were tapped including itself.
When it entered the battleground, all my creatures(all are blue and green creatures) were tapped including itself.
- tmxk2012917
- Posts: 164
- Joined: 15 Mar 2015, 09:52
- Has thanked: 20 times
- Been thanked: 12 times
Re: Community Wad
by Splinterverse » 02 Dec 2016, 19:24
I see the issue. I will fix and upload with my work later today. Thanks for reporting this.tmxk2012917 wrote:bug of Breaching Leviathan:
When it entered the battleground, all my creatures(all are blue and green creatures) were tapped including itself.
---------------------------------------------
The DOTP2014 CW is updated nightly between 11 PM and 12 AM EST.
Known Issues/Bugs |
Impossible Cards List | Update Your Land Pools
The DOTP2014 CW is updated nightly between 11 PM and 12 AM EST.
Known Issues/Bugs |
Impossible Cards List | Update Your Land Pools
- Splinterverse
- Posts: 918
- Joined: 04 Sep 2016, 13:32
- Has thanked: 150 times
- Been thanked: 76 times
Re: Community Wad
by Splinterverse » 02 Dec 2016, 20:34
Finished coding for today; all cards referenced are from the missing cards list.
Coded, tested, and uploaded:
Entourage of Trest
Gix
Temporary Truce
Terrifying Presence
Thelon's Chant
Tourach's Chant
Treva, the Renewer
Trickery Charm
Truce
Tunnel Ignus
Urborg Justice
Vanish into Memory
Verdant Confluence
Vodalian War Machine
Volcanic Offering
Walking Desecration
Wall of Dust
Warren Weirding
Wild Might
Bugs fixed:
Abandon Hope -- minor correction
Aboshan, Cephalid Emperor -- was missing cost definition id; tested
Breaching Leviathan -- see previous forum post; not tested
Gerrard -- minor correction to hand size
Knollspine Invocation -- was not using X as cost in activated ability; tested
HQ art uploaded (all were missing):
Gix
Open Items:
-- CW_CARD_QUERY_SPLINTERVERSE has been updated and uploaded.
-- Total War http://pastebin.com/kYKwmEXP It's not doing anything. I suspect it has to do with TriggerPlayer and the ATTACKERS_DECLARED trigger. Not sure how to get the player who is attacking. I could filter on attacking creatures and grab the player, but what if two players are attacking?
-- Whip Vine http://pastebin.com/imNgJtwC Not activate-able. I've tried two versions of accessing the blocked creature (both are in the code, one is commented out).
-- Words of War http://pastebin.com/Cbjd6Hyg The card draw is prevented, but then nothing else happens. It's probably something small that I can't see from looking it a million times.
Coded, tested, and uploaded:
Entourage of Trest
Gix
Temporary Truce
Terrifying Presence
Thelon's Chant
Tourach's Chant
Treva, the Renewer
Trickery Charm
Truce
Tunnel Ignus
Urborg Justice
Vanish into Memory
Verdant Confluence
Vodalian War Machine
Volcanic Offering
Walking Desecration
Wall of Dust
Warren Weirding
Wild Might
Bugs fixed:
Abandon Hope -- minor correction
Aboshan, Cephalid Emperor -- was missing cost definition id; tested
Breaching Leviathan -- see previous forum post; not tested
Gerrard -- minor correction to hand size
Knollspine Invocation -- was not using X as cost in activated ability; tested
HQ art uploaded (all were missing):
Gix
Open Items:
-- CW_CARD_QUERY_SPLINTERVERSE has been updated and uploaded.
-- Total War http://pastebin.com/kYKwmEXP It's not doing anything. I suspect it has to do with TriggerPlayer and the ATTACKERS_DECLARED trigger. Not sure how to get the player who is attacking. I could filter on attacking creatures and grab the player, but what if two players are attacking?
-- Whip Vine http://pastebin.com/imNgJtwC Not activate-able. I've tried two versions of accessing the blocked creature (both are in the code, one is commented out).
-- Words of War http://pastebin.com/Cbjd6Hyg The card draw is prevented, but then nothing else happens. It's probably something small that I can't see from looking it a million times.
---------------------------------------------
The DOTP2014 CW is updated nightly between 11 PM and 12 AM EST.
Known Issues/Bugs |
Impossible Cards List | Update Your Land Pools
The DOTP2014 CW is updated nightly between 11 PM and 12 AM EST.
Known Issues/Bugs |
Impossible Cards List | Update Your Land Pools
- Splinterverse
- Posts: 918
- Joined: 04 Sep 2016, 13:32
- Has thanked: 150 times
- Been thanked: 76 times
Re: Community Wad
by Xander9009 » 02 Dec 2016, 21:42
Total War: There might be an easier way to do it, but here's how I would do it.Splinterverse wrote:Finished coding for today; all cards referenced are from the missing cards list.
Coded, tested, and uploaded:
Entourage of Trest
Gix
Temporary Truce
Terrifying Presence
Thelon's Chant
Tourach's Chant
Treva, the Renewer
Trickery Charm
Truce
Tunnel Ignus
Urborg Justice
Vanish into Memory
Verdant Confluence
Vodalian War Machine
Volcanic Offering
Walking Desecration
Wall of Dust
Warren Weirding
Wild Might
Bugs fixed:
Abandon Hope -- minor correction
Aboshan, Cephalid Emperor -- was missing cost definition id; tested
Breaching Leviathan -- see previous forum post; not tested
Gerrard -- minor correction to hand size
Knollspine Invocation -- was not using X as cost in activated ability; tested
HQ art uploaded (all were missing):
Gix
Open Items:
-- CW_CARD_QUERY_SPLINTERVERSE has been updated and uploaded.
-- Total War http://pastebin.com/kYKwmEXP It's not doing anything. I suspect it has to do with TriggerPlayer and the ATTACKERS_DECLARED trigger. Not sure how to get the player who is attacking. I could filter on attacking creatures and grab the player, but what if two players are attacking?
-- Whip Vine http://pastebin.com/imNgJtwC Not activate-able. I've tried two versions of accessing the blocked creature (both are in the code, one is commented out).
-- Words of War http://pastebin.com/Cbjd6Hyg The card draw is prevented, but then nothing else happens. It's probably something small that I can't see from looking it a million times.
- Code: Select all
<RESOLUTION_TIME_ACTION>
local iNumPlayers = MTG():GetNumberOfPlayers()
for i=0;iNumPlayers-1 do
local oPlayer = MTG():GetNthPlayer(i)
if oPlayer ~= nil then
local oFilter = ClearFilter()
oFilter:Add(FE_CONTROLLER, OP_IS, oPlayer)
oFilter:Add(FE_IS_ATTACKING, true)
if oFilter:CountStopAt(1) == 1 then
oFilter = ClearFilter()
oFilter:Add(FE_CONTROLLER, OP_IS, oPlayer)
oFilter:Add(FE_TYPE, OP_IS, CARD_TYPE_CREATURE)
oFilter:Add(FE_IS_ATTACKING, false)
oFilter:Add(FE_SUBTYPE, OP_NOT, CREATURE_TYPE_WALL)
oFilter:Add(FE_LUA_CONDITION, 0, EffectController(), EffectDC())
local iCount = oFilter:EvaluateObjects()
for j=0,iCount-1 do
local oCreature = oFilter:GetNthEvaluatedObject(j)
if oCreature ~= nil then
oCreature:Destroy()
end
end
end
end
end
</RESOLUTION_TIME_ACTION>
<FILTER_CONDITION id="0">
return FilteredCard():HasSummoningSickness() == false
</FILTER_CONDITION>
Whip Vine: I don't immediately see the problem, but I don't have time to check right now (because I'm finally preparing to head home). However, I do see that it's missing the check for flying, which should be part of the targeting filter.
Words of War: Try "replacement_query" instead of "replacement_effect".
_______________________________
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: Community Wad
by thefiremind » 03 Dec 2016, 12:10
I'm afraid GetBlockVictim doesn't work. I have never used that function because it doesn't make sense to me (what would it return if the blocker blocks additional creatures?), my guess is that it's a leftover from the first DotP game.Splinterverse wrote:-- Whip Vine http://pastebin.com/imNgJtwC
The correct way to handle this is to save the creatures blocked by Whip Vine in a LinkedDC chest and then check if the creature can be found there in a FILTER_CONDITION for the target filter. A good example for the saving part is Guardian of the Gateless, see if you can find it in the CW.
< 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: Community Wad
by Splinterverse » 03 Dec 2016, 20:34
Finished coding for today; all cards referenced are from the missing cards list.
Coded, tested, and uploaded:
Greven il-Vec
Hanna
Karn
Temporal Aperture
Tempt with Glory
Tempt with Immortality
Tempt with Reflections
Tempt with Vengeance
Tempting Wurm
Thalakos Deceiver
The Fallen
Thelonite Monk
Thelon's Curse
Thief of Blood
Thought Lash
Thunderblade Charge
Thunderstaff
Tidal Control
Tithe
Total War
Treacherous Urge
Words of War
Wretched Confluence
Bugs fixed:
Coral Fighters -- had an unnecessary loyalty counter block and was asking for a target for library reveal rather than taking defending player; tested
Deepglow Skate -- minor tweaks to the code I wrote
Melira's Keepers -- minor tweaks to the code I wrote
Parting Thoughts -- minor tweaks to the code I wrote
Tatterkite -- minor tweaks to the code I wrote
HQ art uploaded (all were missing):
Greven il-Vec
Hanna
Karn
Open Items:
-- CW_CARD_QUERY_SPLINTERVERSE has been updated and uploaded.
-- Thought Prison http://pastebin.com/u1uijE30 It is firing for a cmc match, but not a colour match.
-- Whip Vine http://pastebin.com/KNgc4vgQ Still not activate-able. Tried thefiremind's suggestion; perhaps I implemented it incorrectly.
Coded, tested, and uploaded:
Greven il-Vec
Hanna
Karn
Temporal Aperture
Tempt with Glory
Tempt with Immortality
Tempt with Reflections
Tempt with Vengeance
Tempting Wurm
Thalakos Deceiver
The Fallen
Thelonite Monk
Thelon's Curse
Thief of Blood
Thought Lash
Thunderblade Charge
Thunderstaff
Tidal Control
Tithe
Total War
Treacherous Urge
Words of War
Wretched Confluence
Bugs fixed:
Coral Fighters -- had an unnecessary loyalty counter block and was asking for a target for library reveal rather than taking defending player; tested
Deepglow Skate -- minor tweaks to the code I wrote
Melira's Keepers -- minor tweaks to the code I wrote
Parting Thoughts -- minor tweaks to the code I wrote
Tatterkite -- minor tweaks to the code I wrote
HQ art uploaded (all were missing):
Greven il-Vec
Hanna
Karn
Open Items:
-- CW_CARD_QUERY_SPLINTERVERSE has been updated and uploaded.
-- Thought Prison http://pastebin.com/u1uijE30 It is firing for a cmc match, but not a colour match.
-- Whip Vine http://pastebin.com/KNgc4vgQ Still not activate-able. Tried thefiremind's suggestion; perhaps I implemented it incorrectly.
---------------------------------------------
The DOTP2014 CW is updated nightly between 11 PM and 12 AM EST.
Known Issues/Bugs |
Impossible Cards List | Update Your Land Pools
The DOTP2014 CW is updated nightly between 11 PM and 12 AM EST.
Known Issues/Bugs |
Impossible Cards List | Update Your Land Pools
- Splinterverse
- Posts: 918
- Joined: 04 Sep 2016, 13:32
- Has thanked: 150 times
- Been thanked: 76 times
Re: Community Wad
by Xander9009 » 03 Dec 2016, 20:51
Thought Prison: Line 127's parameter in TestAny needs ":GetColour()". It should be comparing colors to colors. It's currently comparing colors to a card.Splinterverse wrote:Open Items:
-- CW_CARD_QUERY_SPLINTERVERSE has been updated and uploaded.
-- Thought Prison http://pastebin.com/u1uijE30 It is firing for a cmc match, but not a colour match.
-- Whip Vine http://pastebin.com/KNgc4vgQ Still not activate-able. Tried thefiremind's suggestion; perhaps I implemented it incorrectly.
Whip Vine: I don't see anything wrong initially, so I'd suggest debugging it. Drop in some debug messages and see if any of them show up. They should work within the Lua condition block.
_______________________________
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: Community Wad
by fallenangle » 03 Dec 2016, 20:55
I think I see your problems. For Thought Prison, you reference a LinkedDC in the color test check, but you save the exiled card against which you should be checking in an EffectDC. If you save it in a LinkedDC before you exile it, and then do what Xander suggested, that should work better for you.
For Whip Vine, you have FE_CHARACTERISTIC, OP_IS, CHARACTERISTIC_FLYING. This needs to be changed from OP_IS to OP_HAS. Try that and see if it doesn't work.
For Whip Vine, you have FE_CHARACTERISTIC, OP_IS, CHARACTERISTIC_FLYING. This needs to be changed from OP_IS to OP_HAS. Try that and see if it doesn't work.
Last edited by fallenangle on 03 Dec 2016, 21:00, edited 1 time in total.
- fallenangle
- Posts: 319
- Joined: 20 Jul 2013, 02:31
- Has thanked: 73 times
- Been thanked: 41 times
Re: Community Wad
by Xander9009 » 03 Dec 2016, 20:58
OP_IS, OP_HAS, and OP_EQUALS are all identical. They're just constants set to 0.fallenangle wrote:I think I see your problems. For Thought Prison, you reference a LinkedDC in the color test check, but you save the exiled card against which you should be checking in an EffectDC. If you save it in a LinkedDC before you exile it, that should work better for you.
For Whip Vine, you have FE_CHARACTERISTIC, OP_IS, CHARACTERISTIC_FLYING. This needs to be changed from OP_IS to OP_HAS. Try that and see if it doesn't work.
EDIT: By all means, try it, of course. I just wouldn't expect that to matter.
_______________________________
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: Community Wad
by tmxk2012917 » 04 Dec 2016, 04:18
Breaching Leviathan is not fixed. The bug still exists
- tmxk2012917
- Posts: 164
- Joined: 15 Mar 2015, 09:52
- Has thanked: 20 times
- Been thanked: 12 times
Re: Community Wad
by Splinterverse » 04 Dec 2016, 10:09
Okay, I will take a look at it today. Thanks.tmxk2012917 wrote:Breaching Leviathan is not fixed. The bug still exists
---------------------------------------------
The DOTP2014 CW is updated nightly between 11 PM and 12 AM EST.
Known Issues/Bugs |
Impossible Cards List | Update Your Land Pools
The DOTP2014 CW is updated nightly between 11 PM and 12 AM EST.
Known Issues/Bugs |
Impossible Cards List | Update Your Land Pools
- Splinterverse
- Posts: 918
- Joined: 04 Sep 2016, 13:32
- Has thanked: 150 times
- Been thanked: 76 times
Re: Community Wad
by Splinterverse » 04 Dec 2016, 16:38
I tested the version that I edited and uploaded a few days ago and it worked. I'm wondering if you were using an older .wad because I think there was a day recently that it didn't update. Maybe try downloading the current .wad and see if it works for you. (The version I tested came from the current .wad).Splinterverse wrote:Okay, I will take a look at it today. Thanks.tmxk2012917 wrote:Breaching Leviathan is not fixed. The bug still exists
---------------------------------------------
The DOTP2014 CW is updated nightly between 11 PM and 12 AM EST.
Known Issues/Bugs |
Impossible Cards List | Update Your Land Pools
The DOTP2014 CW is updated nightly between 11 PM and 12 AM EST.
Known Issues/Bugs |
Impossible Cards List | Update Your Land Pools
- Splinterverse
- Posts: 918
- Joined: 04 Sep 2016, 13:32
- Has thanked: 150 times
- Been thanked: 76 times
Re: Community Wad
by tmxk2012917 » 04 Dec 2016, 17:52
I downloaded the latest cw last night. I will test again. Thanks for your feedbackSplinterverse wrote:I tested the version that I edited and uploaded a few days ago and it worked. I'm wondering if you were using an older .wad because I think there was a day recently that it didn't update. Maybe try downloading the current .wad and see if it works for you. (The version I tested came from the current .wad).Splinterverse wrote:Okay, I will take a look at it today. Thanks.tmxk2012917 wrote:Breaching Leviathan is not fixed. The bug still exists
- tmxk2012917
- Posts: 164
- Joined: 15 Mar 2015, 09:52
- Has thanked: 20 times
- Been thanked: 12 times
Re: Community Wad
by walkon32 » 04 Dec 2016, 18:48
Dear Community,
I recently built a custom deck with the help of the community wad. The deck is built around Emrakul, the Aeons Torn. Everything is working fine in single player, however we have problems in multiplayer when we play with a friend.
As soon as I cast this card we can't do anything further. We cannot cast cards, we cannot attack, nothing.
Our Magic 2014 install directory are completely same.
Any idea what might be the problem? Thank you
I recently built a custom deck with the help of the community wad. The deck is built around Emrakul, the Aeons Torn. Everything is working fine in single player, however we have problems in multiplayer when we play with a friend.
As soon as I cast this card we can't do anything further. We cannot cast cards, we cannot attack, nothing.
Our Magic 2014 install directory are completely same.
Any idea what might be the problem? Thank you
Re: Community Wad
by Splinterverse » 04 Dec 2016, 21:12
Hi. I just checked this card in Two-Headed Giant and Free-for-All with AI teammates/opponents and everything worked as expected. I'm guessing it is a glitch in the multiplayer with real people playing. Double-check that all players you are playing with have updated .wad files. I don't play modded multiplayer, but I think you also need to give your fellow players a copy of your deck to put into their files. I'm not sure on that though. Perhaps someone else will chime in.walkon32 wrote:Dear Community,
I recently built a custom deck with the help of the community wad. The deck is built around Emrakul, the Aeons Torn. Everything is working fine in single player, however we have problems in multiplayer when we play with a friend.
As soon as I cast this card we can't do anything further. We cannot cast cards, we cannot attack, nothing.
Our Magic 2014 install directory are completely same.
Any idea what might be the problem? Thank you
---------------------------------------------
The DOTP2014 CW is updated nightly between 11 PM and 12 AM EST.
Known Issues/Bugs |
Impossible Cards List | Update Your Land Pools
The DOTP2014 CW is updated nightly between 11 PM and 12 AM EST.
Known Issues/Bugs |
Impossible Cards List | Update Your Land Pools
- Splinterverse
- Posts: 918
- Joined: 04 Sep 2016, 13:32
- Has thanked: 150 times
- Been thanked: 76 times
Who is online
Users browsing this forum: No registered users and 7 guests