Page 195 of 255

Re: Community Wad

PostPosted: 05 Jul 2017, 12:54
by nivmizzet1
deck builder error log:
| Open
5/07/2017 10:20:16 PM: Low: System.Xml - The 'TRIGGERED_ABILITY' start tag on line 107 position 3 does not match the end tag of 'CARD_V2'. Line 115, position 3.:
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag)
at System.Xml.XmlTextReaderImpl.ParseEndElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
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: ABANDONED_SARCOPHAGUS_CW.xml in DATA_DLC_COMMUNITY_CORE

Re: Community Wad

PostPosted: 05 Jul 2017, 12:57
by nivmizzet1
Finnical wrote:Mausoleum Wanderer can only counter instants and sorceries. Thus it could not counter Mentor of the Meek, which is a creature, but could counter Gather the Townsfolk, which is a sorcery.
doh! #-o It might help if I read the card properly. :oops:
...that makes the card not as good as I thought it was. :(

Re: Community Wad

PostPosted: 05 Jul 2017, 13:15
by Splinterverse
nivmizzet1 wrote:deck builder error log:
| Open
5/07/2017 10:20:16 PM: Low: System.Xml - The 'TRIGGERED_ABILITY' start tag on line 107 position 3 does not match the end tag of 'CARD_V2'. Line 115, position 3.:
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag)
at System.Xml.XmlTextReaderImpl.ParseEndElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
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: ABANDONED_SARCOPHAGUS_CW.xml in DATA_DLC_COMMUNITY_CORE
Xander9009 fixed this and commented in the Hour of Devastation thread. Thanks for reporting.

Re: Community Wad

PostPosted: 05 Jul 2017, 13:31
by AngelLestat
Xander9009 wrote:Alright, so I'm home now, so I can respond a bit more in depth.

For quite awhile, multiplayer wasn't working and we weren't sure why. Within the last week or so I think we've got it mostly figured out. The issue seems to be that the game has trouble loading too much data. In single player, it doesn't cause any trouble, but in multiplayer, it needs to communicate some of that info to the servers, and it seems to have difficulty managing that when the entire CW is installed.

So, the fix seems to be to choose a few decks (I'd suggest 20 or fewer to start with; more if that works and fewer if it doesn't), installing them, and then running the "Isolate Used Cards and Art.exe" file I made. This file will extract the CW and all installed decks, determine which cards those decks use, determine which art those cards use, and make a new wad file from all of the cards and art it found, plus all of the extra files like functions and whatnot. With this lite version of the CW, multiplayer appears to work fine. I know there are a few people already wanting to play multiplayer, and I'd suggest heading to the discord (see my signature) if you'd like to find someone to play with.

The exe you'll need can be found in the Community Wad Public Tools folder on Google Drive. You'll also need the Gibbed Tools folder if you don't already have it. It'll tell you where to put everything, just make sure it's not anywhere inside of Program Files because it needs to write new files (namely, the new lite wad).

If you have any issues, I'd suggest the discord for that, too, but here will also work if you don't get a quick response.
Yeah in my personal experience I notice this issue too, when we wanted to add the number of mods or decks (we play with 60 custom decks) we find that the crash we experience increased, but we had like an average of 4 copies of the same card for each card in the wads. This give us a total of 7000 cards which only around 2000 were real.
But those were the most famous cards (the ones that all the people of this beautiful community code), so we had almost no issue to find the best cards for each deck.
Something I could not figure out how to do, was to remove the original decks from dotp2014, maybe the server or game checks those files before we connect, or maybe we can left some fake empty files instead (but not sure how the check works).

Here in the community wad I find that almost all the cards from magic were coded.. which is a work that should be recognised with many people playing your version and with donates.
After that, it can be another folder in the drive in which all the custom decks for each player are.. (with permission to edit only his personal deck folder, which name can be the same of his Steam account), it can be 10 selected decks with an extra folder in which all the decks made for that player are. So if two or many people wants to play magic, the only thing they need to do is to copy all the selected wad decks of each of those players (including yours) to the game and play.

Who does not want to play with all the cards and a better deck builder and finder? In which any deck we can imagine can be played.
If there is still crash issues.. I guess the only solution after that will be to remove all the crap cards that nobody play anyway because there is one that is better (but for that you have to choose a format.. like legacy, so you remove all cards that are similar but worst than [lightning bolt] for example).

If people find it easy to play.. This mod will growth exponentially in players. Time to you and the rest of card developers have a paypal account..
Well tomorrow I will set all the thing you told me.. then we can test it.

Re: Community Wad

PostPosted: 05 Jul 2017, 16:10
by nivmizzet1
I can't remember what the verdict was with Chandra, Torch of Defiance (whether she was fixable or not), but she still doesn't deal 2 damage if you don't cast the card.

EDIT: maybe it has something to do with this;
[lua] [string "CHANDRA_TORCH_OF_DEFIANCE_MM_CW_417683_TITLE (RESOLUTION_TIME_ACTION)~0x00000daa"]:4: attempt to index a nil value

Re: Community Wad

PostPosted: 05 Jul 2017, 17:49
by Xander9009
Use the copy without MM in the filename. There shouldn't even be a version with that in the filename, so I'll remove the MM version. There should only be a MM version if it would be different from a non-MM version, but with any card that produce mana as part of an ability, it can only function using RiiakShiNal's MM functions. Either way, I didn't realize there was a second copy. I fixed the non-MM copy.

Re: Community Wad

PostPosted: 05 Jul 2017, 18:11
by Xander9009
AngelLestat wrote:
Xander9009 wrote:Alright, so I'm home now, so I can respond a bit more in depth.

For quite awhile, multiplayer wasn't working and we weren't sure why. Within the last week or so I think we've got it mostly figured out. The issue seems to be that the game has trouble loading too much data. In single player, it doesn't cause any trouble, but in multiplayer, it needs to communicate some of that info to the servers, and it seems to have difficulty managing that when the entire CW is installed.

So, the fix seems to be to choose a few decks (I'd suggest 20 or fewer to start with; more if that works and fewer if it doesn't), installing them, and then running the "Isolate Used Cards and Art.exe" file I made. This file will extract the CW and all installed decks, determine which cards those decks use, determine which art those cards use, and make a new wad file from all of the cards and art it found, plus all of the extra files like functions and whatnot. With this lite version of the CW, multiplayer appears to work fine. I know there are a few people already wanting to play multiplayer, and I'd suggest heading to the discord (see my signature) if you'd like to find someone to play with.

The exe you'll need can be found in the Community Wad Public Tools folder on Google Drive. You'll also need the Gibbed Tools folder if you don't already have it. It'll tell you where to put everything, just make sure it's not anywhere inside of Program Files because it needs to write new files (namely, the new lite wad).

If you have any issues, I'd suggest the discord for that, too, but here will also work if you don't get a quick response.
Yeah in my personal experience I notice this issue too, when we wanted to add the number of mods or decks (we play with 60 custom decks) we find that the crash we experience increased, but we had like an average of 4 copies of the same card for each card in the wads. This give us a total of 7000 cards which only around 2000 were real.
But those were the most famous cards (the ones that all the people of this beautiful community code), so we had almost no issue to find the best cards for each deck.
Something I could not figure out how to do, was to remove the original decks from dotp2014, maybe the server or game checks those files before we connect, or maybe we can left some fake empty files instead (but not sure how the check works).

Here in the community wad I find that almost all the cards from magic were coded.. which is a work that should be recognised with many people playing your version and with donates.
After that, it can be another folder in the drive in which all the custom decks for each player are.. (with permission to edit only his personal deck folder, which name can be the same of his Steam account), it can be 10 selected decks with an extra folder in which all the decks made for that player are. So if two or many people wants to play magic, the only thing they need to do is to copy all the selected wad decks of each of those players (including yours) to the game and play.

Who does not want to play with all the cards and a better deck builder and finder? In which any deck we can imagine can be played.
If there is still crash issues.. I guess the only solution after that will be to remove all the crap cards that nobody play anyway because there is one that is better (but for that you have to choose a format.. like legacy, so you remove all cards that are similar but worst than [lightning bolt] for example).

If people find it easy to play.. This mod will growth exponentially in players. Time to you and the rest of card developers have a paypal account..
Well tomorrow I will set all the thing you told me.. then we can test it.
I wouldn't try and stop someone like Migookman or Splinterverse, both of whom have coded thousands of cards specifically for the CW, from making a paypal account, but I do think that would be a very bad idea. Modding WotC's game may not be something they care about enough to try to shut us down, but if we were making money off of it, they very well might. And they'd have the right to do so, too, since we are distributing the cards and art they created. For the cards, it's essentially a translation that we're distributing, but that would still count as their property originally.

For the decks, I'll be honest, I was far too sleepy when I first read it and thought that what you said made no sense. After waking up a little more, it seems like a good idea. I may at some point set up a special lite version of the CW that people can just download and play with many new decks included. They wouldn't be able to make new decks using it, but people could certainly include a few of their own decks that they've made normally. However, that would involve creating an entire new subsystem, which isn't something I have the time to do at the moment. I will, however, give some thought to how best it would be managed. If I come up with anything usable, I'll begin the process of creating one that many people can easily download and play with. For now, I'll make a thread somewhere for people to suggest decks they'd like included.

In fact, I've got plenty of Google Drive storage (thank you LG...), and as long as they're in separate folders that people can choose to include or not include in their own drive, then the extra space wouldn't affect others. So, I could potentially make a couple. One for single player mode where it has more of the decks and worries less about the size, but where each deck has been tested with the AI and we know the AI can play it well. Personally, that's probably the one I would use most.

I could see three versions being available. Two for multiplayer and one for single player. I just explained the single player, while the multiplayer would be one for modern and one for legacy. If EDH ever takes off, then maybe one for that, too, and for multiplayer that would work fine (the AI, however, seems not to want to cast the commander from the command zone...).

Re: Community Wad

PostPosted: 05 Jul 2017, 18:34
by nivmizzet1
Xander9009 wrote:Use the copy without MM in the filename. There shouldn't even be a version with that in the filename, so I'll remove the MM version. There should only be a MM version if it would be different from a non-MM version, but with any card that produce mana as part of an ability, it can only function using RiiakShiNal's MM functions. Either way, I didn't realize there was a second copy. I fixed the non-MM copy.
I didn't realise there was two different versions either.

I've switched them over in the deck now, but the non-MM version seems more broken than the MM version -- the first ability exiles a card, but it doesn't let you play it, and then it doesn't deal 2 damage after not playing it.

Re: Community Wad

PostPosted: 05 Jul 2017, 18:41
by Xander9009
nivmizzet1 wrote:
Xander9009 wrote:Use the copy without MM in the filename. There shouldn't even be a version with that in the filename, so I'll remove the MM version. There should only be a MM version if it would be different from a non-MM version, but with any card that produce mana as part of an ability, it can only function using RiiakShiNal's MM functions. Either way, I didn't realize there was a second copy. I fixed the non-MM copy.
I didn't realise there was two different versions either.

I've switched them over in the deck now, but the non-MM version seems more broken than the MM version -- the first ability exiles a card, but it doesn't let you play it, and then it doesn't deal 2 damage after not playing it.
I just tested it to be sure, and it's working on my end. I've also checked that I don't have anything that might be making it work on my end alone such as a working function file in my test environment or anything. So, I'm not sure why it's working on my end and not on yours. Do you have any other mods installed? Especially any of Neo's?

Re: Community Wad

PostPosted: 05 Jul 2017, 18:49
by nivmizzet1
Xander9009 wrote:
nivmizzet1 wrote:
I didn't realise there was two different versions either.

I've switched them over in the deck now, but the non-MM version seems more broken than the MM version -- the first ability exiles a card, but it doesn't let you play it, and then it doesn't deal 2 damage after not playing it.
I just tested it to be sure, and it's working on my end. I've also checked that I don't have anything that might be making it work on my end alone such as a working function file in my test environment or anything. So, I'm not sure why it's working on my end and not on yours. Do you have any other mods installed? Especially any of Neo's?
only the CW. I'll give it another go later.

EDIT: It seems to be working now.

Re: Community Wad

PostPosted: 10 Jul 2017, 12:53
by Dargenom
Found a bug with the card "Grave Sifter", it returns creature cards to the battlefield instead of to their owners' hands.

Re: Community Wad

PostPosted: 10 Jul 2017, 15:39
by Xander9009
Dargenom wrote:Found a bug with the card "Grave Sifter", it returns creature cards to the battlefield instead of to their owners' hands.
Fixed.

Re: Community Wad

PostPosted: 11 Jul 2017, 01:43
by gagigugego60
An error occurred when I ran "Isolate Used Cards and Art".
However, "Isolate Used Cards and Art" seemed to generate "DATA_DLC_CW_LITE.wad".
Then I start DotP_D14.exe and the game crashes.

Re: Community Wad

PostPosted: 11 Jul 2017, 01:55
by Xander9009
What was the error?

Re: Community Wad

PostPosted: 11 Jul 2017, 12:14
by gagigugego60
Xander9009 wrote:What was the error?
"Isolate Used Cards and Art.exe" has not responded while generating lite version of the CW.