Board index Programs with AI or Rules Enforcement Magic: The Gathering - Duels of the Planeswalkers Utilities
[REL] Riiak's DotP 2013 Deck Builder v1.4.2.1
Moderator: CCGHQ Admins
Re: [REL] Riiak's DotP 2013 Deck Builder v1.0.1.0
by RiiakShiNal » 27 May 2013, 17:40
I see it is still having problems with BANISHING_STROKE_623637.XML and BONFIRE_OF_THE_DAMNED_623705.XML in your version of Deck_0621_ST.wad. Other than that though all the other "Errors" seem to be related to a problem in the card/deck (Bad Multiverse IDs [which should still load the card], invalid XML) or just informational (UID Conflicts, multiple localizations, etc...).
So you are still getting "Out of Memory" exceptions? I guess I could remove the image cache (probably just add an option and default it to turn off the cache) and see if that helps. It will mean it will take longer to build the images because they will have to be loaded each time they're used.
So you are still getting "Out of Memory" exceptions? I guess I could remove the image cache (probably just add an option and default it to turn off the cache) and see if that helps. It will mean it will take longer to build the images because they will have to be loaded each time they're used.
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: 2185
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Re: [REL] Riiak's DotP 2013 Deck Builder v1.0.1.0
by BloodReyvyn » 27 May 2013, 18:31
Here's the error details as they pop up:
- Error Details | Open
- See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.OutOfMemoryException: Out of memory.
at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height)
at System.Drawing.Graphics.DrawImage(Image image, Rectangle rect)
at RSN.DotP.CardInfo.GeneratePreviewImage(String strLangCode)
at RSN.DotP.CardInfo.GetPreviewImage(String strLangCode)
at RSN.DotP.DeckBuilder.ShowCardInfo(CardInfo ciCard)
at RSN.DotP.DeckBuilder.dgvCards_CellMouseEnter(Object sender, DataGridViewCellEventArgs e)
at System.Windows.Forms.DataGridView.OnCellMouseEnter(DataGridViewCellEventArgs e)
at System.Windows.Forms.DataGridView.UpdateMouseEnteredCell(HitTestInfo hti, MouseEventArgs e)
at System.Windows.Forms.DataGridView.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.DataGridView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version:
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
DotP 2013 Deck Builder
Assembly Version: 1.0.1.0
Win32 Version: 1.0.1.0
CodeBase: file:///C:/Users/Administrator/Documents/DotP2013%20Modding/DECK%20BUILDER/DotP%202013%20Deck%20Builder.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version:
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1001 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version:
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version:
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version:
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
0kiafnsq
Assembly Version: 1.0.1.0
Win32 Version:
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Gibbed.Duels.FileFormats
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Administrator/Documents/DotP2013%20Modding/DECK%20BUILDER/Gibbed.Duels.FileFormats.DLL
----------------------------------------
Gibbed.IO
Assembly Version: 1.0.4706.36265
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Administrator/Documents/DotP2013%20Modding/DECK%20BUILDER/Gibbed.IO.DLL
----------------------------------------
ICSharpCode.SharpZipLib
Assembly Version: 0.86.0.518
Win32 Version: 0.86.0.518
CodeBase: file:///C:/Users/Administrator/Documents/DotP2013%20Modding/DECK%20BUILDER/ICSharpCode.SharpZipLib.DLL
----------------------------------------
Gibbed.Squish
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Administrator/Documents/DotP2013%20Modding/DECK%20BUILDER/Gibbed.Squish.DLL
----------------------------------------
vs3x3oc2
Assembly Version: 1.0.1.0
Win32 Version:
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
"There's an experience worse than blindness - it's the certainty that your vision is perfect and the horror that there's no world around you to see."
-
BloodReyvyn - Posts: 421
- Joined: 19 May 2013, 13:29
- Has thanked: 53 times
- Been thanked: 40 times
Re: [REL] Riiak's DotP 2013 Deck Builder v1.0.1.0
by BloodReyvyn » 27 May 2013, 19:11
Also, since that last crash, I am no longer able to save decks either by Save or Save As... and even when it prompts me when I close the program it does nothing.
"There's an experience worse than blindness - it's the certainty that your vision is perfect and the horror that there's no world around you to see."
-
BloodReyvyn - Posts: 421
- Joined: 19 May 2013, 13:29
- Has thanked: 53 times
- Been thanked: 40 times
Re: [REL] Riiak's DotP 2013 Deck Builder v1.0.2.0
by RiiakShiNal » 27 May 2013, 20:20
I have just put up a new version which will allow the image cache to be turned on and off (off by default). Without the image cache the card preview images will build slower and it will take more time to load up (will load some images several times to build the casting cost images). I also built a 64-bit version so that the program can use more memory if you want the image cache on.
I have not seen anything that would stop it from saving (though I did see a bug that would prevent built-in personalities from being saved to a deck). I'm still able to successfully save out partially built decks using both "Save" and "Save As" and there hasn't been any code changes to the save functionality (other than just now to fix the built-in personality bug). Are you sure you are checking the directory where you saved to (because you can save anywhere)?
I have not seen anything that would stop it from saving (though I did see a bug that would prevent built-in personalities from being saved to a deck). I'm still able to successfully save out partially built decks using both "Save" and "Save As" and there hasn't been any code changes to the save functionality (other than just now to fix the built-in personality bug). Are you sure you are checking the directory where you saved to (because you can save anywhere)?
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: 2185
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Re: [REL] Riiak's DotP 2013 Deck Builder v1.0.2.0
by BloodReyvyn » 28 May 2013, 00:38
Bumbled around and made two different decks with no crashes and with the exception of when I scroll a long way really fast, the lag is hardly noticeable.
"There's an experience worse than blindness - it's the certainty that your vision is perfect and the horror that there's no world around you to see."
-
BloodReyvyn - Posts: 421
- Joined: 19 May 2013, 13:29
- Has thanked: 53 times
- Been thanked: 40 times
Re: [REL] Riiak's DotP 2013 Deck Builder v1.0.2.0
by RiiakShiNal » 28 May 2013, 00:42
Well, cool that probably means we got rid of the "Out of Memory" exceptions. Just out of curiosity, which version were you using the 32-bit or 64-bit version?BloodReyvyn wrote:Bumbled around and made two different decks with no crashes and with the exception of when I scroll a long way really fast, the lag is hardly noticeable.
Edit: I guess I should probably mention that when you start scrolling I turn off updating the card preview while scrolling and for 0.1 seconds afterward specifically to cut down on lag.
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: 2185
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Re: [REL] Riiak's DotP 2013 Deck Builder v1.0.2.0
by BloodReyvyn » 28 May 2013, 02:37
I am using the 64-bit version.
"There's an experience worse than blindness - it's the certainty that your vision is perfect and the horror that there's no world around you to see."
-
BloodReyvyn - Posts: 421
- Joined: 19 May 2013, 13:29
- Has thanked: 53 times
- Been thanked: 40 times
Re: [REL] Riiak's DotP 2013 Deck Builder v1.0.2.0
by Jorlap » 28 May 2013, 02:50
Hi, I have a problem (probably a stupid one). I'm trying to cleanse my decks of every mox I can find, but when I try to export it I get this message "unique id conflict detected". I read the "readme" file and found that I had to "...change the Id Scheme options to help prevent unique id collisions with other modders", which I think is the problem. The thing is that i dont know exactly what to change. All I did was change the scheme type and some numbers under that, but I still get the same message. Help please!
- Jorlap
- Posts: 4
- Joined: 27 May 2013, 06:18
- Has thanked: 0 time
- Been thanked: 0 time
Re: [REL] Riiak's DotP 2013 Deck Builder v1.0.2.0
by RiiakShiNal » 28 May 2013, 03:20
My curiosity is now sated, thanks.BloodReyvyn wrote:I am using the 64-bit version.
The Id Scheme is to try and eliminate UID conflicts, but this assumes that once you have set up an Id Scheme that when you are creating a deck you go into "Deck Information" and click "Get First Available Id" which will find an unavailable Id given your Id Scheme settings.Jorlap wrote:Hi, I have a problem (probably a stupid one). I'm trying to cleanse my decks of every mox I can find, but when I try to export it I get this message "unique id conflict detected". I read the "readme" file and found that I had to "...change the Id Scheme options to help prevent unique id collisions with other modders", which I think is the problem. The thing is that i dont know exactly what to change. All I did was change the scheme type and some numbers under that, but I still get the same message. Help please!
If you are using the default settings and you create from an existing deck with a UID greater than 99 (highly likely unless you pick one of the built-in game decks) then you will notice that the Id in Deck information is set to 99 (I clamp it to the nearest number in the valid range). Once you have exported one deck like this the next one will say there is a UID conflict unless you changed the Id in the deck information.
You can export with the same UID as another deck, but it is very likely to cause problems in game if you do so (hence why I give the message when you try to export).
I should also note that this tool is not intended to "edit" decks, but is to "create" decks so outputs from this tool will likely show up separately in the deck manager in game from the original deck you "edited".
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: 2185
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Re: [REL] Riiak's DotP 2013 Deck Builder v1.0.2.0
by Jorlap » 28 May 2013, 04:48
Thanks for the fast answer.
I did try to create a deck but there are a lot of cards that are missing. I'm not sure where the list gets its cards from, so I sticked to the cards I have seen and played with in-game, but still there where some missing.
I noticed the extra decks being created so I just erased the original.
I did try to create a deck but there are a lot of cards that are missing. I'm not sure where the list gets its cards from, so I sticked to the cards I have seen and played with in-game, but still there where some missing.
I noticed the extra decks being created so I just erased the original.
- Jorlap
- Posts: 4
- Joined: 27 May 2013, 06:18
- Has thanked: 0 time
- Been thanked: 0 time
Re: [REL] Riiak's DotP 2013 Deck Builder v1.0.2.0
by RiiakShiNal » 28 May 2013, 11:24
It gets the card list from the WADs you have installed. If you remove a WAD you may also be removing the cards you need to make a deck work properly. When this tool creates a deck it does not copy the cards into the new WAD due to the complexities of checking card dependencies. If you look at the readme that is generated for each deck it will tell you based on the cards you picked what WADs are required for which decks.
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: 2185
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Re: [REL] Riiak's DotP 2013 Deck Builder v1.0.2.0
by BloodReyvyn » 28 May 2013, 14:25
I found a couple other minor issues:
When trying to set my filter for creatures' power I got this error:
And also, if I out anything at all into the sub-type filter, it filters every card.
When trying to set my filter for creatures' power I got this error:
- Error Details | Open
- See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at RSN.DotP.Filters.CheckStringInt(String strValue, String strCheck, ComparisonType eType)
at RSN.DotP.Filters.CheckAgainstPowerToughness(CardInfo ciCard)
at RSN.DotP.Filters.CheckAgainstFilter(CardInfo ciCard)
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at RSN.DotP.DeckBuilder.cmdSetFilter_Click(Object sender, EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.296 (RTMGDR.030319-2900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
DotP 2013 Deck Builder
Assembly Version: 1.0.2.0
Win32 Version: 1.0.2.0
CodeBase: file:///C:/Users/Administrator/Documents/DotP2013%20Modding/DECK%20BUILDER/DotP%202013%20Deck%20Builder.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1002 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1001 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1001 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
c4swe2ib
Assembly Version: 1.0.2.0
Win32 Version: 4.0.30319.1001 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Gibbed.Duels.FileFormats
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Administrator/Documents/DotP2013%20Modding/DECK%20BUILDER/Gibbed.Duels.FileFormats.DLL
----------------------------------------
Gibbed.IO
Assembly Version: 1.0.4706.36265
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Administrator/Documents/DotP2013%20Modding/DECK%20BUILDER/Gibbed.IO.DLL
----------------------------------------
ICSharpCode.SharpZipLib
Assembly Version: 0.86.0.518
Win32 Version: 0.86.0.518
CodeBase: file:///C:/Users/Administrator/Documents/DotP2013%20Modding/DECK%20BUILDER/ICSharpCode.SharpZipLib.DLL
----------------------------------------
Gibbed.Squish
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Administrator/Documents/DotP2013%20Modding/DECK%20BUILDER/Gibbed.Squish.DLL
----------------------------------------
rhloqltf
Assembly Version: 1.0.2.0
Win32 Version: 4.0.30319.1001 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
And also, if I out anything at all into the sub-type filter, it filters every card.
"There's an experience worse than blindness - it's the certainty that your vision is perfect and the horror that there's no world around you to see."
-
BloodReyvyn - Posts: 421
- Joined: 19 May 2013, 13:29
- Has thanked: 53 times
- Been thanked: 40 times
Re: [REL] Riiak's DotP 2013 Deck Builder v1.0.2.0
by RiiakShiNal » 28 May 2013, 15:25
I have not been able to reproduce this as it should limit all input in those boxes to either a star "*" or a number. If you can tell me how to reproduce this it will be helpful.BloodReyvyn wrote:I found a couple other minor issues:
When trying to set my filter for creatures' power I got this error:
- Error Details | Open
- See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at RSN.DotP.Filters.CheckStringInt(String strValue, String strCheck, ComparisonType eType)
at RSN.DotP.Filters.CheckAgainstPowerToughness(CardInfo ciCard)
at RSN.DotP.Filters.CheckAgainstFilter(CardInfo ciCard)
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at RSN.DotP.DeckBuilder.cmdSetFilter_Click(Object sender, EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.296 (RTMGDR.030319-2900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
DotP 2013 Deck Builder
Assembly Version: 1.0.2.0
Win32 Version: 1.0.2.0
CodeBase: file:///C:/Users/Administrator/Documents/DotP2013%20Modding/DECK%20BUILDER/DotP%202013%20Deck%20Builder.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1002 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1001 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1001 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
c4swe2ib
Assembly Version: 1.0.2.0
Win32 Version: 4.0.30319.1001 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Gibbed.Duels.FileFormats
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Administrator/Documents/DotP2013%20Modding/DECK%20BUILDER/Gibbed.Duels.FileFormats.DLL
----------------------------------------
Gibbed.IO
Assembly Version: 1.0.4706.36265
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Administrator/Documents/DotP2013%20Modding/DECK%20BUILDER/Gibbed.IO.DLL
----------------------------------------
ICSharpCode.SharpZipLib
Assembly Version: 0.86.0.518
Win32 Version: 0.86.0.518
CodeBase: file:///C:/Users/Administrator/Documents/DotP2013%20Modding/DECK%20BUILDER/ICSharpCode.SharpZipLib.DLL
----------------------------------------
Gibbed.Squish
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Administrator/Documents/DotP2013%20Modding/DECK%20BUILDER/Gibbed.Squish.DLL
----------------------------------------
rhloqltf
Assembly Version: 1.0.2.0
Win32 Version: 4.0.30319.1001 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Regardless I have added an extra check in the filter object itself, so that if it detects an invalid value it will report it in my error log along with the card value it was checking along with the check value you specified for the filter. If it detects an invalid value it will ignore that specific check rather than crash or disable all filters.
It seems to work fine for me. If I put in contains elf it gives me all the cards with elf in the type line. If I just put "sh" it gives me shamans, shrines, shapeshifters, jellyfish, fish, and viashinos. Granted I'm using English as my interface language.BloodReyvyn wrote:And also, if I out anything at all into the sub-type filter, it filters every card.
For all of the filters that accept text (Name, Sub-Type, Abilities) it will check based on your chosen interface language. So for example if your language is Japanese (日本語) to search for elves you would enter エルフ instead of elf. In Italian you could search for elfo (though in the case of Italian elf would also work because elfo has elf in it).
If you set it to Equals then it will look at all the sub types and only show if the entire subtype string equals (case insensitive). So in this case if you look for equal elf in Italian you would get no results because the cards would have type elfo instead of elf. The reverse is true for Not Equal if you put in not equal elf for the sub type and your language is Italian then you will still get elves like Ambush Commander and Caller of the Claw because they are elfo not elf in Italian.
Given the complexities there with language and comparison being possible issues to try and replicate your problem I'm going to need to know exactly what string you typed in to the sub type filter as well as what you set for your display language.
Once I can confirm (and/or reproduce) the problem you are having with the sub type filter I should be able to release an updated version that will fix that problem.
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: 2185
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Re: [REL] Riiak's DotP 2013 Deck Builder v1.0.2.0
by BloodReyvyn » 28 May 2013, 15:59
I set the filter for power to be Greater than or Equal to 5. Only other filters I was using was Blue, Black, Multicolored, and Red with "Any Combination Of."
As for as the other filter, I tried to put in Gate, but then realized after looking at the Gates, the program doesn't seem to use the custom specs and instead returns "CARD_SUBTYPE_GATE" as it's type, so I guess the program doesn't recognize custom SPECS, which is fine because there really aren't many anyway.
As for as the other filter, I tried to put in Gate, but then realized after looking at the Gates, the program doesn't seem to use the custom specs and instead returns "CARD_SUBTYPE_GATE" as it's type, so I guess the program doesn't recognize custom SPECS, which is fine because there really aren't many anyway.
"There's an experience worse than blindness - it's the certainty that your vision is perfect and the horror that there's no world around you to see."
-
BloodReyvyn - Posts: 421
- Joined: 19 May 2013, 13:29
- Has thanked: 53 times
- Been thanked: 40 times
Re: [REL] Riiak's DotP 2013 Deck Builder v1.0.2.0
by RiiakShiNal » 28 May 2013, 17:23
This works perfectly for me, so I don't know what went wrong. I guess it's possible there is a card with a bad value somewhere in your installed mods.BloodReyvyn wrote:I set the filter for power to be Greater than or Equal to 5. Only other filters I was using was Blue, Black, Multicolored, and Red with "Any Combination Of."
The deck builder doesn't read the SPECS at all, because it doesn't really benefit the program.BloodReyvyn wrote:As for as the other filter, I tried to put in Gate, but then realized after looking at the Gates, the program doesn't seem to use the custom specs and instead returns "CARD_SUBTYPE_GATE" as it's type, so I guess the program doesn't recognize custom SPECS, which is fine because there really aren't many anyway.
Actually, the filter shouldn't have any problem handling custom types as long as they are added to the localization. If you see something in the program come up as [<some string>] then that means that the program could not find a localized string in the localization for it. For example in DECK_AMONGST_GODS, Urza's Power Plant has the wrong subtypes set for it the author of the card used "POWER" (unknown subtype) and "PLANT" (creature subtype) instead of "POWER PLANT" (land subtype) so it shows up in my window as "Land - Urza's [CARD_SUBTYPE_POWER] Plant" because CARD_SUBTYPE_POWER is not defined in the localization. In your case if you wanted to add Gate to your localization you could simply add:
- Code: Select all
<STRING key="CARD_SUBTYPE_GATE"><![CDATA[Gate]]></STRING>
Searching is similar if you were searching for contains gate it should have still shown up because gate is part of [CARD_SUBTYPE_GATE], if you were looking for equal gate then it would not have shown up due to missing the localization.
Edit: v1.0.2.1 is now up and has an additional check for the power/toughness filters and the localizations have been updated with the "Gate" subtype 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: 2185
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Who is online
Users browsing this forum: No registered users and 2 guests