It is currently 18 Jul 2025, 05:35
   
Text Size

Community Wad

Moderator: CCGHQ Admins

Re: Community Wad

Postby 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.
tmxk2012917
 
Posts: 164
Joined: 15 Mar 2015, 09:52
Has thanked: 20 times
Been thanked: 12 times

Re: Community Wad

Postby Splinterverse » 02 Dec 2016, 19:24

tmxk2012917 wrote:bug of Breaching Leviathan:

When it entered the battleground, all my creatures(all are blue and green creatures) were tapped including itself.
I see the issue. I will fix and upload with my work later today. Thanks for reporting this.
---------------------------------------------
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

Postby 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.
---------------------------------------------
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

Postby Xander9009 » 02 Dec 2016, 21:42

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.
Total War: There might be an easier way to do it, but here's how I would do it.
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>
Note that HasSummoningSickness isn't an actual function. It's just a placeholder for the code you should implement to follow that the card says. Don't forget that changing controllers is an exception to this card just as much as a newly summoned creature. Also, some of this might be a bit wrong. This was done freehand with no references, so double check things like the lua condition's syntax.

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
User avatar
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

Postby 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.
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...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 722 times

Re: Community Wad

Postby 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.
---------------------------------------------
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

Postby Xander9009 » 03 Dec 2016, 20:51

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.
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.

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
User avatar
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

Postby 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.
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

Postby Xander9009 » 03 Dec 2016, 20:58

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.
OP_IS, OP_HAS, and OP_EQUALS are all identical. They're just constants set to 0.

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
User avatar
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

Postby 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

Postby Splinterverse » 04 Dec 2016, 10:09

tmxk2012917 wrote:Breaching Leviathan is not fixed. The bug still exists
Okay, I will take a look at it today. Thanks.
---------------------------------------------
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

Postby Splinterverse » 04 Dec 2016, 16:38

Splinterverse wrote:
tmxk2012917 wrote:Breaching Leviathan is not fixed. The bug still exists
Okay, I will take a look at it today. Thanks.
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).
---------------------------------------------
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

Postby tmxk2012917 » 04 Dec 2016, 17:52

Splinterverse wrote:
Splinterverse wrote:
tmxk2012917 wrote:Breaching Leviathan is not fixed. The bug still exists
Okay, I will take a look at it today. Thanks.
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).
I downloaded the latest cw last night. I will test again. Thanks for your feedback
tmxk2012917
 
Posts: 164
Joined: 15 Mar 2015, 09:52
Has thanked: 20 times
Been thanked: 12 times

Re: Community Wad

Postby 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
walkon32
 
Posts: 5
Joined: 28 Nov 2016, 12:42
Has thanked: 2 times
Been thanked: 0 time

Re: Community Wad

Postby Splinterverse » 04 Dec 2016, 21:12

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
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.
---------------------------------------------
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

PreviousNext

Return to 2014

Who is online

Users browsing this forum: No registered users and 11 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 11 users online :: 0 registered, 0 hidden and 11 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 11 guests

Login Form