It is currently 08 Jul 2021, 05:01
   
Text Size

Community Wad

Moderators: Xander9009, CCGHQ Admins

Re: Community Wad

Postby StoneyTheBear » 22 May 2015, 05:00

BUMP! I require knowledge, also, tutoring. I hope you people read this. :D

Arashin Foremost

Danger approaches.
She wants to share her power.
You're not indestructible.
-A short story.

The moral of the story is this. Triggers work but the ability is indestructible and it never occurs.

Code: Select all
<TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" />
<TRIGGER value="ATTACKING" simple_qualifier="self" />
<TARGET tag="CARD_QUERY_CHOOSE_PERMANENT_MAKE_INDESTRUCTIBLE" definition="0" compartment="0" count="1" />
<TARGET_DEFINITION id="0">
local filter = ClearFilter()
filter:Add(FE_CARD_INSTANCE, OP_NOT, EffectSource())
filter:Add(FE_SUBTYPE, OP_IS, CREATURE_TYPE_WARRIOR)
filter:Add(FE_TYPE, OP_IS, CARD_TYPE_CREATURE)
</TARGET_DEFINITION>
<CONTINUOUS_ACTION layer="6" mode="3">
local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target ~= nil then
local characteristics = target:GetCurrentCharacteristics()
characteristics:Bool_Set( CHARACTERISTIC_DOUBLE_STRIKE, 1 )
end
</CONTINUOUS_ACTION>
<DURATION simple_duration="UntilEOT" />
<AI_SIMPLIFIED_TARGETING compartment="0" hint="HINT_ALLIED_ONLY" />
</TRIGGERED_ABILITY>
<HELP title="MORE_INFO_BADGE_TITLE_2" body="MORE_INFO_BADGE_BODY_2" zone="ZONE_ANY" />
<SFX text="COMBAT_BLUNT_LARGE_ATTACK" power_boundary_min="4" power_boundary_max="-1" />
<SFX text="COMBAT_BLUNT_SMALL_ATTACK" power_boundary_min="1" power_boundary_max="3" />
<AUTHOR><![CDATA[Xander9009]]></AUTHOR>
<EDITORS><![CDATA[Xander9009]]></EDITORS>
<DATE><![CDATA[26-03-15]]></DATE>
</CARD_V2>
Last edited by StoneyTheBear on 22 May 2015, 13:37, edited 8 times in total.
User avatar
StoneyTheBear
 
Posts: 33
Joined: 22 May 2015, 04:29
Has thanked: 3 times
Been thanked: 0 time

Re: Community Wad

Postby StoneyTheBear » 22 May 2015, 05:02

Also. If anyone is interested in playing my warrior beatdown deck. I'll send it to you.
User avatar
StoneyTheBear
 
Posts: 33
Joined: 22 May 2015, 04:29
Has thanked: 3 times
Been thanked: 0 time

Re: Community Wad

Postby Kithkin » 22 May 2015, 05:09

StoneyTheBear wrote:Also. If anyone is interested in playing my warrior beatdown deck. I'll send it to you.
You might want to upload it to our Google Drive and post about it in the CW Deck thread.
User avatar
Kithkin
 
Posts: 456
Joined: 21 Feb 2014, 07:12
Location: Cologne, GERMANY
Has thanked: 11 times
Been thanked: 56 times

Re: Community Wad

Postby Xander9009 » 22 May 2015, 05:11

StoneyTheBear wrote:
| Open
BUMP! I require knowledge, also, tutoring. I hope you people read this. :D

Arashin Foremost: "Whenever Arashin Foremost enters the battlefield or attacks, another target Warrior creature you control gains double strike until end of turn."


If I knew how or even had the means to. I would embed an image of the card.
Right here.

The trigger... sees you. She flashes, and it happens.
She wants to you double you up.
Although. What you receive is indestructible. Falsely.
-A short story.

The moral of the story is this. Triggers work but the ability is indestructible and it never occurs.

<TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_BATTLEFIELD" />
<TRIGGER value="ATTACKING" simple_qualifier="self" />
<TARGET tag="CARD_QUERY_CHOOSE_PERMANENT_MAKE_INDESTRUCTIBLE" definition="0" compartment="0" count="1" />
<TARGET_DEFINITION id="0">
local filter = ClearFilter()
filter:Add(FE_CARD_INSTANCE, OP_NOT, EffectSource())
filter:Add(FE_SUBTYPE, OP_IS, CREATURE_TYPE_WARRIOR)
filter:Add(FE_TYPE, OP_IS, CARD_TYPE_CREATURE)
</TARGET_DEFINITION>
<CONTINUOUS_ACTION layer="6" mode="3">
local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target ~= nil then
local characteristics = target:GetCurrentCharacteristics()
characteristics:Bool_Set( CHARACTERISTIC_DOUBLE_STRIKE, 1 )
end
</CONTINUOUS_ACTION>
<DURATION simple_duration="UntilEOT" />
<AI_SIMPLIFIED_TARGETING compartment="0" hint="HINT_ALLIED_ONLY" />
</TRIGGERED_ABILITY>
<HELP title="MORE_INFO_BADGE_TITLE_2" body="MORE_INFO_BADGE_BODY_2" zone="ZONE_ANY" />
<SFX text="COMBAT_BLUNT_LARGE_ATTACK" power_boundary_min="4" power_boundary_max="-1" />
<SFX text="COMBAT_BLUNT_SMALL_ATTACK" power_boundary_min="1" power_boundary_max="3" />
<AUTHOR><![CDATA[Xander9009]]></AUTHOR>
<EDITORS><![CDATA[Xander9009]]></EDITORS>
<DATE><![CDATA[26-03-15]]></DATE>
</CARD_V2>
First up, put code at least in a code block. You can do that by either clicking the "Code" button when using the full editor, or by typing out [ code]CODE GOES HERE[ /code] without the spaces. That becomes
Code: Select all
CODE GOES HERE
It not only looks a lot better for code since it keeps the indentations, but it also gives it a scroll bar so it doesn't cause huge pages of stuff that very few people will actually look at/understand.

For the bug, sorry about the text error, but in the line that reads "characteristics:Bool_Set( CHARACTERISTIC_DOUBLE_STRIKE, 1 )", it grants double strike. I just accidentally forgot to change the text from whatever card I got the base code. I've corrected this mistake. Please make sure the ability actually grants double strike as it should. If not, let me know and I'll look deeper into it.
Last edited by Xander9009 on 22 May 2015, 14:24, edited 1 time in total.
_______________________________
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: 444 times

Re: Community Wad

Postby Xander9009 » 22 May 2015, 05:13

Kithkin wrote:
StoneyTheBear wrote:Also. If anyone is interested in playing my warrior beatdown deck. I'll send it to you.
You might want to upload it to our Google Drive and post about it in the CW Deck thread.
But only if it only relies on base game cards and CW cards. If it requires other cards, please request the cards in the formal request thread.
_______________________________
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: 444 times

Re: Community Wad

Postby StoneyTheBear » 22 May 2015, 13:25

Thank you, Xander. I followed your advice and corrected the code format.
User avatar
StoneyTheBear
 
Posts: 33
Joined: 22 May 2015, 04:29
Has thanked: 3 times
Been thanked: 0 time

Re: Community Wad

Postby StoneyTheBear » 22 May 2015, 14:23

I just downloaded the community wad. I'm assuming that is the correct action to receive card updates/changes.

The triggered ability text appears to be unchanged.
User avatar
StoneyTheBear
 
Posts: 33
Joined: 22 May 2015, 04:29
Has thanked: 3 times
Been thanked: 0 time

Re: Community Wad

Postby Xander9009 » 22 May 2015, 14:38

StoneyTheBear wrote:I just downloaded the community wad. I'm assuming that is the correct action to receive card updates/changes.

The triggered ability text appears to be unchanged.
That is how you get updates. However, with the Community Wad, you have to keep in mind one very important detail. It's very much unlike other mods. I don't manually update it; it updates all on its own and uploads automatically. To avoid having a constant stream of new 60 MB downloads for 1 KB changes, the mod will only update once every 24 hours or so (unless I force it to release early). This means that for any updates, you'll have to wait up to 24 hours. As it happens, the mod repacked just before midnight, and you posted that just after midnight. That means the updated card will appear in the mod if it's downloaded after it repacks tonight. If you want updates immediately, you can use the loose file version.
_______________________________
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: 444 times

Re: Community Wad

Postby StoneyTheBear » 22 May 2015, 16:08

Good info. I shall wait for the repack and let you know.
User avatar
StoneyTheBear
 
Posts: 33
Joined: 22 May 2015, 04:29
Has thanked: 3 times
Been thanked: 0 time

Re: Community Wad

Postby Xander9009 » 22 May 2015, 19:23

zhupiter wrote:
Xander9009 wrote:
zhupiter wrote:Painter's Servant : Its effect still exist even if it has left the battlefield
I'll need more detailed information on how you encountered this bug. I looked at the code, and it suggests the ability will stop when it leaves the battlefield, and when I tested it, it worked exactly as intended. (Well, in that regard, at least. I don't know if it worked for changing the color of permanents in zones other than the battlefield...)
Yeah it works for changing the color of permanents in zones other than the battlefield and it's exactly this effect still exist.I build a deck include Painter's Servant and Grindstone.The Painter's Servant entered the battlefield,chose the color and was killed soon.But when I used the Grindstone's ability,It still put opponent's all cards from library to graveyard.I viewed the graveyard and found most two cards don't share a color.So I think it's Painter's Servant's bug.
Painter's Servant should be fixed. Took a LOT of debugging and testing, but it now handles the resetting of colours for all cards in zones other than the graveyard (and exile) manually. So, when one dies, all the cards should now behave properly.

Erchamion wrote:Sorry for not seeing the previous request for filelist. Manifest works for me fine now (at least Whisperwood Elemental and Mastery of the Unseen, but I haven't used the activated ability of Whisperwood Elemental yet). Many Thanks!!! =D>

btw the Ugin Planeswalker in the CW is missing loyalty counter.
It wasn't just missing loyalty counters. It was also missing ALL of the ability code. It only had text. No clue how it happened, but it's working now.

Both of these will be available in a few minutes. I'm forcing a repack because there's also a major update. The protection function I came up with which fallenangel recently released has now been incorporated into the CW. Please feel free to test any planeswalkers and let me know if they have problems with cards being able to target them that shouldn't. (Specifically, cards which target enchantments being able to target them. This doesn't work on the stack, though. But neither did the original code.)
_______________________________
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: 444 times

Re: Community Wad

Postby Kithkin » 22 May 2015, 20:04

Code: Select all
22.05.2015 22:02:17: Log Opened.

22.05.2015 22:02:17: Low: System.Xml - Beim Analysieren von 'EntityName' ist ein Fehler aufgetreten. Zeile 20, Position 32.:
   bei System.Xml.XmlTextReaderImpl.Throw(Exception e)
   bei System.Xml.XmlTextReaderImpl.HandleEntityReference(Boolean isInAttributeValue, EntityExpandType expandType, Int32& charRefEndPos)
   bei System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr)
   bei System.Xml.XmlTextReaderImpl.ParseAttributes()
   bei System.Xml.XmlTextReaderImpl.ParseElement()
   bei System.Xml.XmlTextReaderImpl.ParseElementContent()
   bei System.Xml.XmlTextReaderImpl.Read()
   bei System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
   bei System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   bei System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   bei System.Xml.XmlDocument.Load(XmlReader reader)
   bei System.Xml.XmlDocument.LoadXml(String xml)
   bei RSN.DotP.CardInfo.ParseXML(String strXML)
   bei RSN.DotP.CardInfo..ctor(String strFilename, String strXML, String strWad, GameDirectory gdData)
   bei RSN.DotP.WadWrapper.LoadCards(FileStream fsInput, GameDirectory gdData)
Extra Information:
Unable to load card: THRONE_OF_GETH_CW_202675.xml in DATA_DLC_COMMUNITY_CORE

User avatar
Kithkin
 
Posts: 456
Joined: 21 Feb 2014, 07:12
Location: Cologne, GERMANY
Has thanked: 11 times
Been thanked: 56 times

Re: Community Wad

Postby Xander9009 » 22 May 2015, 21:17

Kithkin wrote:
Code: Select all
22.05.2015 22:02:17: Log Opened.

22.05.2015 22:02:17: Low: System.Xml - Beim Analysieren von 'EntityName' ist ein Fehler aufgetreten. Zeile 20, Position 32.:
   bei System.Xml.XmlTextReaderImpl.Throw(Exception e)
   bei System.Xml.XmlTextReaderImpl.HandleEntityReference(Boolean isInAttributeValue, EntityExpandType expandType, Int32& charRefEndPos)
   bei System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr)
   bei System.Xml.XmlTextReaderImpl.ParseAttributes()
   bei System.Xml.XmlTextReaderImpl.ParseElement()
   bei System.Xml.XmlTextReaderImpl.ParseElementContent()
   bei System.Xml.XmlTextReaderImpl.Read()
   bei System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
   bei System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   bei System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   bei System.Xml.XmlDocument.Load(XmlReader reader)
   bei System.Xml.XmlDocument.LoadXml(String xml)
   bei RSN.DotP.CardInfo.ParseXML(String strXML)
   bei RSN.DotP.CardInfo..ctor(String strFilename, String strXML, String strWad, GameDirectory gdData)
   bei RSN.DotP.WadWrapper.LoadCards(FileStream fsInput, GameDirectory gdData)
Extra Information:
Unable to load card: THRONE_OF_GETH_CW_202675.xml in DATA_DLC_COMMUNITY_CORE

Fixed. Thanks.
_______________________________
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: 444 times

Re: Community Wad

Postby zysron » 22 May 2015, 21:26

????????
| Open
5/22/2015 4:19:16 PM: Log Opened.

5/22/2015 4:19:16 PM: Low: System.Xml - An error occurred while parsing EntityName. Line 20, position 32.:
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.HandleEntityReference(Boolean isInAttributeValue, EntityExpandType expandType, Int32& charRefEndPos)
at System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr)
at System.Xml.XmlTextReaderImpl.ParseAttributes()
at System.Xml.XmlTextReaderImpl.ParseElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.LoadXml(String xml)
at RSN.DotP.CardInfo.ParseXML(String strXML)
at RSN.DotP.CardInfo..ctor(String strFilename, String strXML, String strWad, GameDirectory gdData)
at RSN.DotP.WadWrapper.LoadCards(FileStream fsInput, GameDirectory gdData)
Extra Information:
Unable to load card: THRONE_OF_GETH_CW_202675.xml in DATA_DLC_COMMUNITY_CORE
zysron
 
Posts: 101
Joined: 13 Mar 2015, 09:02
Has thanked: 0 time
Been thanked: 2 times

Re: Community Wad

Postby Xander9009 » 22 May 2015, 21:28

That's the same error Kithkin posted, which I've already fixed. Just ignore it. It'll be fixed in the next release. The artist name has "&" instead of "&amp;".
_______________________________
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: 444 times

Re: Community Wad

Postby Kithkin » 22 May 2015, 22:52

Bug report

Haven of the Spirit Dragon -- 2nd ability does not work
User avatar
Kithkin
 
Posts: 456
Joined: 21 Feb 2014, 07:12
Location: Cologne, GERMANY
Has thanked: 11 times
Been thanked: 56 times

PreviousNext

Return to 2014

Who is online

Users browsing this forum: No registered users and 5 guests


Who is online

In total there are 5 users online :: 0 registered, 0 hidden and 5 guests (based on users active over the past 10 minutes)
Most users ever online was 1922 on 07 Jun 2021, 06:01

Users browsing this forum: No registered users and 5 guests

Login Form