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




DotP 2013 - Slivers!
Moderator: CCGHQ Admins
40 posts
• Page 2 of 3 • 1, 2, 3
Re: DotP 2013 - Slivers!
by yuriap » 09 Jul 2012, 04:15
Thanks, man, really appreciate your work.
Can't wait to play with four of them together in Planeschase.

- yuriap
- Posts: 34
- Joined: 24 Jul 2011, 19:46
- Has thanked: 0 time
- Been thanked: 0 time
Re: DotP 2013 - Slivers!
by thefiremind » 09 Jul 2012, 08:43
I can't see anything wrong on Quilled Sliver. Maybe the simplified target is enforced in granted abilities and this is a bug of the game? You could try to change HINT_ENEMY_ONLY to HINT_ENEMY but I don't know what the AI will think about it...GravitonGamer wrote:Thanks for the report, I'll check the code for Quilled Sliver when I get home from work.Zambooo wrote:This should be a real bug: with "Quilled Sliver" you can't deal damage to your own attacking or blocking creature. (I disabled the simplified target [I don't know how is it called in the English version :S])
< 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: DotP 2013 - Slivers!
by GravitonGamer » 09 Jul 2012, 14:58
I verified from looking at the code and playtesting that I was able to target my own creatures with Quilled Sliver. Are you sure you didn't have Crystalline Sliver or Ward Sliver in play during that time? Could be that their abilities were messing with your targetting.Zambooo wrote:This should be a real bug: with "Quilled Sliver" you can't deal damage to your own attacking or blocking creature. (I disabled the simplified target [I don't know how is it called in the English version :S])
- GravitonGamer
- Posts: 15
- Joined: 18 Sep 2011, 04:21
- Has thanked: 7 times
- Been thanked: 7 times
Re: DotP 2013 - Slivers!
by Zambooo » 09 Jul 2012, 15:04
Well I was playing a Two-Headed Giant Match with a local mate: I couldn't target my own slivers, but my mate (with a sliver deck too) could target my attacking slivers.
Re: DotP 2013 - Slivers!
by rpgnut2910 » 02 Sep 2012, 06:57
Apparently the PC version of this deck was hosted on one of the zippyshare servers that died about 2 weeks ago and now the site says "File does not exist on this server". 
Any chance somebody still has the PC version and can re-upload it? Or can tell me how to convert the ipad tdx files to pc compatible ones? Extracted them fine but can't get Paint(dot)net to open them.
EDIT: Awesome. THANKS!

Any chance somebody still has the PC version and can re-upload it? Or can tell me how to convert the ipad tdx files to pc compatible ones? Extracted them fine but can't get Paint(dot)net to open them.
EDIT: Awesome. THANKS!

Last edited by rpgnut2910 on 04 Sep 2012, 06:47, edited 1 time in total.
- rpgnut2910
- Posts: 1
- Joined: 02 Sep 2012, 06:48
- Has thanked: 1 time
- Been thanked: 0 time
Re: DotP 2013 - Slivers!
by RiiakShiNal » 03 Sep 2012, 18:24
Deck_1985_ST.wadrpgnut2910 wrote:Apparently the PC version of this deck was hosted on one of the zippyshare servers that died about 2 weeks ago and now the site says "File does not exist on this server".
Any chance somebody still has the PC version and can re-upload it? Or can tell me how to convert the ipad tdx files to pc compatible ones? Extracted them fine but can't get Paint(dot)net to open them.
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: DotP 2013 - Slivers!
by Drakno » 20 Oct 2012, 14:33
I think that dragonanime site Riiak put the repost at is down, when I click on the link I am moved to a blank screen, can you reupload it please? (looking for the pc version btw)
Re: DotP 2013 - Slivers!
by RiiakShiNal » 20 Oct 2012, 15:17
No, mtg.dragonanime.org is still up, I just tried the link and it works (currently getting between 500-600KB/sec download from it).
My sourcefalcon.com domain is down (has been for more than 8 weeks due to some problem with Nexpoint), but dragonanime.org (which I have with JustHost) is working fine.
My sourcefalcon.com domain is down (has been for more than 8 weeks due to some problem with Nexpoint), but dragonanime.org (which I have with JustHost) is working fine.
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: DotP 2013 - Slivers!
by Firehelp » 24 Nov 2012, 13:56
I've found out that Mesmeric Sliver's fateseal ability is only partially working. I have no idea whether this is a known bug or whether it can be fixed at all. So is anyone willing to look into it? What fateseal should do is obvious, but what it does is the thing I'll write about. So when a sliver comes into play, fateseal triggers, you look at the opponent's top deck card (so far so good) and you SHOULD get to choose whether to let the card be on the top of your opponent's deck or to put it on the bottom of the deck. The problem is that it doesn't matter if you click on the card (to put it on the bottom of the deck as the window in the game says) or if you click on the finish button (to keep it on the top), in both cases the card you looked at stays on the top of your opponent's deck. So in short, the fateseal lets you look at your opponent's top deck card and that's it. Here is the code for the ability if you don't wanna look for it. (I copy-pasted it so it might not look perfectly the same)
<TRIGGERED_ABILITY resource_id="1" dangerous="1" filter_zone="ZONE_IN_PLAY">
<TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_IN_PLAY" />
<TARGET_DEFINITION id="0">
local filter = Object():GetFilter()
filter:Clear()
filter:SetFilterType( FILTER_TYPE_PLAYERS + FILTER_TYPE_OPPONENTS)
filter:SetOwner( EffectController() )
filter:SetHint( HINT_ENEMY_ONLY, EffectController() )
filter:May()
filter:NotTargetted()
</TARGET_DEFINITION>
<TARGET_DETERMINATION>
return AtLeastOneTargetFromDefinition(0)
</TARGET_DETERMINATION>
<PLAY_TIME_ACTION target_choosing="1">
EffectController():ChooseTarget( 0, "CARD_QUERY_CHOOSE_PLAYER", EffectDC():Make_Targets(0) )
</PLAY_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local target = EffectDC():Get_Targets(0):Get_PlayerPtr(0)
local player = EffectController()
local filter = Object():GetFilter()
if target ~= nil then
filter:Clear()
filter:NotTargetted()
filter:SetPlayer( target )
filter:SetZone( ZONE_LIBRARY )
filter:SetPortion( 1 )
filter:SetPortion( 1 )
filter:May()
player:SetTargetCount( 1 )
player:ChooseTarget( NO_VALIDATION, "CARD_QUERY_CHOOSE_CARD_TO_PUT_ON_BOTTOM_LIBRARY", EffectDC():Make_Targets(0) )
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local targetDC = EffectDC():Get_Targets(0)
if targetDC ~= nil then
local target_card = targetDC:Get_NthCardPtr(0)
for i=0,1 do
local card = EffectController():Library_GetNth(0)
if card ~= nil then
if card == target_card then
card:PutInLibrary(-1)
end
end
end
end
</RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>
As far as I can tell, it's kinda copy-pasted from SLEIGHT_OF_HAND_276714.XML from Deck_0010_ST.wad. The thing is,
Sleight of Hand works with your library not your opponent's, so that's probably the problem. If anyone would know how to fix this, I would be glad for your help.
<TRIGGERED_ABILITY resource_id="1" dangerous="1" filter_zone="ZONE_IN_PLAY">
<TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_IN_PLAY" />
<TARGET_DEFINITION id="0">
local filter = Object():GetFilter()
filter:Clear()
filter:SetFilterType( FILTER_TYPE_PLAYERS + FILTER_TYPE_OPPONENTS)
filter:SetOwner( EffectController() )
filter:SetHint( HINT_ENEMY_ONLY, EffectController() )
filter:May()
filter:NotTargetted()
</TARGET_DEFINITION>
<TARGET_DETERMINATION>
return AtLeastOneTargetFromDefinition(0)
</TARGET_DETERMINATION>
<PLAY_TIME_ACTION target_choosing="1">
EffectController():ChooseTarget( 0, "CARD_QUERY_CHOOSE_PLAYER", EffectDC():Make_Targets(0) )
</PLAY_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local target = EffectDC():Get_Targets(0):Get_PlayerPtr(0)
local player = EffectController()
local filter = Object():GetFilter()
if target ~= nil then
filter:Clear()
filter:NotTargetted()
filter:SetPlayer( target )
filter:SetZone( ZONE_LIBRARY )
filter:SetPortion( 1 )
filter:SetPortion( 1 )
filter:May()
player:SetTargetCount( 1 )
player:ChooseTarget( NO_VALIDATION, "CARD_QUERY_CHOOSE_CARD_TO_PUT_ON_BOTTOM_LIBRARY", EffectDC():Make_Targets(0) )
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local targetDC = EffectDC():Get_Targets(0)
if targetDC ~= nil then
local target_card = targetDC:Get_NthCardPtr(0)
for i=0,1 do
local card = EffectController():Library_GetNth(0)
if card ~= nil then
if card == target_card then
card:PutInLibrary(-1)
end
end
end
end
</RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>
As far as I can tell, it's kinda copy-pasted from SLEIGHT_OF_HAND_276714.XML from Deck_0010_ST.wad. The thing is,
Sleight of Hand works with your library not your opponent's, so that's probably the problem. If anyone would know how to fix this, I would be glad for your help.

Re: DotP 2013 - Slivers!
by thefiremind » 24 Nov 2012, 15:03
The problem is easy to see: this code uses target register #0 twice. The same register should never be used twice in the same ability.
Make those 2 changes:
...
player:SetTargetCount( 1 )
player:ChooseTarget( NO_VALIDATION, "CARD_QUERY_CHOOSE_CARD_TO_PUT_ON_BOTTOM_LIBRARY", EffectDC():Make_Targets(1) )
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local targetDC = EffectDC():Get_Targets(1)
...
Make those 2 changes:
...
player:SetTargetCount( 1 )
player:ChooseTarget( NO_VALIDATION, "CARD_QUERY_CHOOSE_CARD_TO_PUT_ON_BOTTOM_LIBRARY", EffectDC():Make_Targets(1) )
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local targetDC = EffectDC():Get_Targets(1)
...
< 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: DotP 2013 - Slivers!
by Firehelp » 24 Nov 2012, 16:50
Not this time thefiremind, it didn't help. I tried changing a few other numbers from 0 to 1, but I clearly have no idea what they mean... Simply put, it still works exactly the same even with the change you suggested. Any other idea, maybe?
Re: DotP 2013 - Slivers!
by thefiremind » 24 Nov 2012, 19:08
I think I got it right this time:

This is the complete code with all my fixes (plus some variables renamed to make them more understandable, and some useless things removed):
This is the error: the card that you chose (or not) is checked against the first card of your library, not of the opponent!Firehelp wrote:local card = EffectController():Library_GetNth(0)

This is the complete code with all my fixes (plus some variables renamed to make them more understandable, and some useless things removed):
- Code: Select all
<TRIGGERED_ABILITY resource_id="1" dangerous="1" filter_zone="ZONE_IN_PLAY">
<TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_IN_PLAY" />
<TARGET_DEFINITION id="0">
local filter = Object():GetFilter()
filter:Clear()
filter:SetFilterType( FILTER_TYPE_PLAYERS + FILTER_TYPE_OPPONENTS )
filter:SetOwner( EffectController() )
filter:SetHint( HINT_ENEMY_ONLY, EffectController() )
filter:May()
filter:NotTargetted()
</TARGET_DEFINITION>
<TARGET_DETERMINATION>
return AtLeastOneTargetFromDefinition(0)
</TARGET_DETERMINATION>
<PLAY_TIME_ACTION target_choosing="1">
EffectController():ChooseTarget( 0, "CARD_QUERY_CHOOSE_PLAYER", EffectDC():Make_Targets(0) )
</PLAY_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local player = EffectController()
local opponent = EffectDC():Get_Targets(0):Get_PlayerPtr(0)
if player ~= nil and opponent ~= nil then
local filter = Object():GetFilter()
filter:Clear()
filter:NotTargetted()
filter:SetPlayer( opponent )
filter:SetZone( ZONE_LIBRARY )
filter:SetPortion( 1 )
filter:May()
player:ChooseTarget( NO_VALIDATION, "CARD_QUERY_CHOOSE_CARD_TO_PUT_ON_BOTTOM_LIBRARY", EffectDC():Make_Targets(1) )
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local opponent = EffectDC():Get_Targets(0):Get_PlayerPtr(0)
if opponent ~= nil then
local target_card = EffectDC():Get_Targets(1):Get_NthCardPtr(0)
local top_card = opponent:Library_GetNth(0)
if target_card ~= nil and top_card ~= nil then
if top_card == target_card then
top_card:PutInLibrary(-1)
end
end
end
</RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>
< 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: DotP 2013 - Slivers!
by Firehelp » 24 Nov 2012, 21:44
Well, after the rough start and many tries, the little Sliver is able to properly fateseal once again, as now it FINALLY works! Thanks for teaching him how to do his job, he has been getting kinda nervous that the other Slivers might chase him away from the swarm, because of his malfuctioning ability. But yea, thanks thefiremind. It has bothered me that the fateseal ability, not so good to begin with, was broken to the point that Mesmeric Sliver was more like an overpriced version of Grizzly Bears, which is nothing to look forward to when playing a Slivers deck FFS! 

40 posts
• Page 2 of 3 • 1, 2, 3
Who is online
Users browsing this forum: No registered users and 320 guests