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 - Updated Dec-12-15
by MasterXploder7 » 18 Dec 2015, 02:39
is there a plan for the Oath of the Gatekeeper set? i know they are introducing a new land type so i was curious if the possibility of playing Kozilek with the Wastes lands
"Hate is an everlasting wellspring from which it is eternally sustained." - Nirkana Revenant
- MasterXploder7
- Posts: 293
- Joined: 18 Jan 2014, 10:55
- Has thanked: 28 times
- Been thanked: 11 times
Re: Community Wad - Updated Dec-12-15
by Xander9009 » 18 Dec 2015, 02:45
The new lands will be relatively simple. The tricky bit will be making the cards that require the newly important colorless mana to only accept that. I'm thinking that because of how they work, it may be enough to simply give them an availability related to how much colorless mana they have available at the moment. The problem here is that any colorless mana is supposed to be able to pay for them, but all current functions that check available colorless mana will probably count colored mana as well, since colored mana has always in the past been usable for any colorless mana requirements.
However, a simple function which subtracts the amount of colored mana the player can afford from the amount of colorless mana should suffice. Since it's nothing more than a new symbol and "basic" land (but not a "basic land type") for colorless mana, it should be doable. This is my understanding of it based on the conversations on FB involving reps from Wizards. If someone knows more about them or more specifically about them, that would be helpful.
EDIT: I should note that while I will be more than happy to code cards, I currently have virtually no intention of messing with art. I will, however, post a tutorial for exactly what is needed for a high-quality art to be added to the CW by anyone.
However, a simple function which subtracts the amount of colored mana the player can afford from the amount of colorless mana should suffice. Since it's nothing more than a new symbol and "basic" land (but not a "basic land type") for colorless mana, it should be doable. This is my understanding of it based on the conversations on FB involving reps from Wizards. If someone knows more about them or more specifically about them, that would be helpful.
EDIT: I should note that while I will be more than happy to code cards, I currently have virtually no intention of messing with art. I will, however, post a tutorial for exactly what is needed for a high-quality art to be added to the CW by anyone.
_______________________________
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 - Updated Dec-12-15
by nivmizzet1 » 18 Dec 2015, 07:39
https://drive.google.com/drive/folders/0B-cZn2P5m-lYQjRER2cxZWRVM2MXander9009 wrote:Then you should link me to both of them. The one with 5881 shouldn't exist.
https://drive.google.com/drive/folders/0B-cZn2P5m-lYRXJBQ2NEQjFTOFE
______________________________________
my DOTP 2014 Main mod page - my DOTP 2014 OP Decks mod page - Community WAD
my DOTP 2014 Main mod page - my DOTP 2014 OP Decks mod page - Community WAD
- nivmizzet1
- Posts: 617
- Joined: 21 Mar 2013, 10:10
- Has thanked: 100 times
- Been thanked: 25 times
Re: Community Wad - Updated Dec-12-15
by temtira » 18 Dec 2015, 08:32
I think I found a bug with Vines of Vastwood: when casted with the kicker effect, the target creature doesn't get Hexproof. I discovered this bug when I cast Vines of Vastwood in response to a Galvanic Blast on my Blighted Agent, and what happened was that my creature received the +4/+4 kicker effect, but then took 2 damage from the Galvanic Blast.
I took a look at the code for VINES_OF_VASTWOOD_CW_177571.xml and added a line of code which seems to have fixed the issue (the second instance of the "BADGE_HEXPROOF" line is added by me):

I took a look at the code for VINES_OF_VASTWOOD_CW_177571.xml and added a line of code which seems to have fixed the issue (the second instance of the "BADGE_HEXPROOF" line is added by me):
- Code: Select all
<CONTINUOUS_ACTION layer="8">
local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target ~= nil then
target:GetCurrentCharacteristics():Badge_Set( BADGE_HEXPROOF )
end
</CONTINUOUS_ACTION>
<CONTINUOUS_ACTION layer="7C">
local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target ~= nil and EffectDC():Get_Int(2) == 1 then
local characteristics = target:GetCurrentCharacteristics()
characteristics:Power_Add( 4 )
characteristics:Toughness_Add( 4 )
target:GetCurrentCharacteristics():Badge_Set( BADGE_HEXPROOF )
end
</CONTINUOUS_ACTION>

- temtira
- Posts: 2
- Joined: 17 Dec 2015, 04:24
- Has thanked: 0 time
- Been thanked: 0 time
Re: Community Wad - Updated Dec-12-15
by MasterXploder7 » 18 Dec 2015, 09:41
Huntmaster of the Fells doesnt produce a 2/2 wolf token but it does give 2 life
Garruk Relentless doesnt transform, but it undergoes an infinite number of resolution time actions (it does the little spinny spinny thingy as though an ability were activating but it just keeps doing it)
Garruk Relentless doesnt transform, but it undergoes an infinite number of resolution time actions (it does the little spinny spinny thingy as though an ability were activating but it just keeps doing it)
"Hate is an everlasting wellspring from which it is eternally sustained." - Nirkana Revenant
- MasterXploder7
- Posts: 293
- Joined: 18 Jan 2014, 10:55
- Has thanked: 28 times
- Been thanked: 11 times
Re: Community Wad - Updated Dec-12-15
by RiiakShiNal » 18 Dec 2015, 12:19
Just a couple of notes on the code posted for Vines of Vastwood.
To add a characteristic to a card you use
To add a characteristic to a card you use
- Code: Select all
target:GetCurrentCharacteristics():Bool_Set( CHARACTERISTIC_HEXPROOF )
- Code: Select all
target:GetCurrentCharacteristics():Badge_Set( BADGE_HEXPROOF )
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: Community Wad - Updated Dec-12-15
by Xander9009 » 18 Dec 2015, 16:01
Vines of Vastwood was done by sumomole. It looks like the badge was used because the hexproof ability was being handled manually for some reason. It creates a delayed trigger with the target stored in cardptr0 that looks like this:
EDIT: That also explains the placement of the badge. It was where a layer 6 ability would logically be placed, but it was changed to a layer 8 badge when the manual hexproofing was added.
- Code: Select all
<TRIGGERED_ABILITY resource_id="1" replacement_effect="1">
<CLEANUP simple_cleanup="EndOfTurn" />
<TRIGGER value="CARD_CONSIDERED_FOR_TARGETTING" pre_trigger="1">
if SecondaryObject()~= nil and TriggerObject()~= nil then
if SecondaryObject():GetPlayer():GetTeam() ~= EffectController():GetTeam() and TriggerObject() == EffectDC():Get_CardPtr(0) then
return true
end
end
return false
</TRIGGER>
</TRIGGERED_ABILITY>
EDIT: That also explains the placement of the badge. It was where a layer 6 ability would logically be placed, but it was changed to a layer 8 badge when the manual hexproofing was added.
_______________________________
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 - Updated Dec-12-15
by Xander9009 » 18 Dec 2015, 16:05
One of those is owned by Xander Alexander (my account on Google Drive), but its history shows that the only major actions performed were me deleting hundreds of files at a time (probably deleting the entire folder). Somehow, the folder itself and about half of the cards appear to have survived the purge. I'm downloading it now to see if I can spot any cards that are newer there than in the main CARDS folder. It'll be deleted once it's done downloading.nivmizzet1 wrote:https://drive.google.com/drive/folders/0B-cZn2P5m-lYQjRER2cxZWRVM2MXander9009 wrote:Then you should link me to both of them. The one with 5881 shouldn't exist.
https://drive.google.com/drive/folders/0B-cZn2P5m-lYRXJBQ2NEQjFTOFE
EDIT: Curiously, it can only be edited by me, you, and one other person... Also, on the off chance that it's needed, I've simply changed the share settings so only my main account can see it and no one else at all. Doesn't remove it, though, so it's still available.
EDIT2: I just noticed that after removing everyone's ability to see that folder (including my main account), I can no longer open either link. However, if I navigate to the CARDS folder that I normally use, I can see it just fine. I'll see about getting it sorted out soon. If there are any issues for anyone, please let me know. THe more I know about what's going on, the better.
_______________________________
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 - Updated Dec-12-15
by RiiakShiNal » 19 Dec 2015, 02:41
Given the code in the delayed trigger it may be that the built-in Hexproof doesn't allow allies to target the card either (which would be a problem). However, using a delayed trigger also creates additional problems in that the hexproof can't be removed by causing the card to lose all abilities (for example some card that causes all cards or all opponent cards to lose their abilities). Though if no card can cause blanket ability removal (even temporarily) then that would probably be a moot point.Xander9009 wrote:Vines of Vastwood was done by sumomole. It looks like the badge was used because the hexproof ability was being handled manually for some reason. It creates a delayed trigger with the target stored in cardptr0 that looks like this:I'm not sure why, though. I've disabled it in preference of simply adding hexproof properly. However, given that sumomole tends to know his stuff, I haven't erased it in case it needs re-enabled.
- | Open
- Code: Select all
<TRIGGERED_ABILITY resource_id="1" replacement_effect="1">
<CLEANUP simple_cleanup="EndOfTurn" />
<TRIGGER value="CARD_CONSIDERED_FOR_TARGETTING" pre_trigger="1">
if SecondaryObject()~= nil and TriggerObject()~= nil then
if SecondaryObject():GetPlayer():GetTeam() ~= EffectController():GetTeam() and TriggerObject() == EffectDC():Get_CardPtr(0) then
return true
end
end
return false
</TRIGGER>
</TRIGGERED_ABILITY>
EDIT: That also explains the placement of the badge. It was where a layer 6 ability would logically be placed, but it was changed to a layer 8 badge when the manual hexproofing was added.
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: Community Wad - Updated Dec-12-15
by MasterXploder7 » 19 Dec 2015, 03:52
[lua] [string "FIEND_OF_THE_SHADOWS_CW_262837_TITLE (DURATION)~0x00000c81"]:2: attempt to call method 'Get_Zone' (a nil value)
Fiend of the Shadows puts the exiled card in to the opponent's exile zone and then when you select to play a card exiled with it, the opponent plays it instead (at least thats what happened with the land i attempted to play).
Fiend of the Shadows puts the exiled card in to the opponent's exile zone and then when you select to play a card exiled with it, the opponent plays it instead (at least thats what happened with the land i attempted to play).
"Hate is an everlasting wellspring from which it is eternally sustained." - Nirkana Revenant
- MasterXploder7
- Posts: 293
- Joined: 18 Jan 2014, 10:55
- Has thanked: 28 times
- Been thanked: 11 times
Re: Community Wad - Updated Dec-12-15
by nivmizzet1 » 19 Dec 2015, 07:42
Delver of Secrets doesn't transform
______________________________________
my DOTP 2014 Main mod page - my DOTP 2014 OP Decks mod page - Community WAD
my DOTP 2014 Main mod page - my DOTP 2014 OP Decks mod page - Community WAD
- nivmizzet1
- Posts: 617
- Joined: 21 Mar 2013, 10:10
- Has thanked: 100 times
- Been thanked: 25 times
Re: Community Wad - Updated Dec-12-15
by Xenoix » 19 Dec 2015, 21:43
Found a bug with Herald of Dromoka. It gives everything vigilance.
Re: Community Wad - Updated Dec-12-15
by Zempar » 20 Dec 2015, 17:14
Using the File Sync thing, it says that I do not have the d3dx9 file but I do. It won't allow me to progress now.
What do I do?
What do I do?
Re: Community Wad - Updated Dec-12-15
by Xander9009 » 20 Dec 2015, 21:09
Delete the ini and try it again.Zempar wrote:Using the File Sync thing, it says that I do not have the d3dx9 file but I do. It won't allow me to progress now.
What do I do?
_______________________________
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 - Updated Dec-12-15
by nivmizzet1 » 21 Dec 2015, 14:51
Is anybody looking into this?nivmizzet1 wrote:Delver of Secrets doesn't transform
The card's code looks fine to me, and the function is in the WAD, so I can't figure out what the problem is.
I found one difference between the transformed card codes for delver of secrets (not working) and bloodline keeper (working). Bloodline keeper simply had
- Code: Select all
ResetTransformation()
- Code: Select all
TFM.Transform.ResetTransformation()
______________________________________
my DOTP 2014 Main mod page - my DOTP 2014 OP Decks mod page - Community WAD
my DOTP 2014 Main mod page - my DOTP 2014 OP Decks mod page - Community WAD
- nivmizzet1
- Posts: 617
- Joined: 21 Mar 2013, 10:10
- Has thanked: 100 times
- Been thanked: 25 times
Who is online
Users browsing this forum: No registered users and 5 guests