It is currently 16 Apr 2024, 19:28
   
Text Size

Mtgdb.Gui: search MTG cards, build decks, manage collection

New decks and cards for Stainless Games' release

Moderator: CCGHQ Admins

Re: Mtgdb.Gui: search MTG cards, build decks, manage collect

Postby aidscoi168 » 03 Jan 2019, 16:23

About the collection from MTG Arena, did it will merge with the real card collection ? any option to make it separate ?
aidscoi168
 
Posts: 211
Joined: 31 Dec 2016, 17:49
Has thanked: 58 times
Been thanked: 28 times

Re: Mtgdb.Gui: search MTG cards, build decks, manage collect

Postby hidalgo » 04 Jan 2019, 02:40

No, it will replace it.

Let me modify the instruction:

do steps 1-5 from previous instruction

step 6. Save imported previous collection in Mtgdb.Gui v4 to a file

Now you have your previous collection in a fil compatible with Mtgdb.Gui v4
You can allways import MTGArena collection again an then go back to the previous collection.
User avatar
hidalgo
 
Posts: 354
Joined: 17 Oct 2016, 21:51
Location: Russia, Moscow
Has thanked: 58 times
Been thanked: 80 times

Re: Mtgdb.Gui: search MTG cards, build decks, manage collect

Postby aidscoi168 » 04 Jan 2019, 05:35

i mean the 2 collections will merge or have any icon or mark to help us identity which cards in which collection ( as i mainly use real card collection and don't want misunderstanding that i own the digital cards as real cards )
aidscoi168
 
Posts: 211
Joined: 31 Dec 2016, 17:49
Has thanked: 58 times
Been thanked: 28 times

Re: Mtgdb.Gui: search MTG cards, build decks, manage collect

Postby hidalgo » 04 Jan 2019, 09:28

The application works with 1 collection at any given moment of time.
When you need to work with 2 or more collections you switch between them by saving / loading collection from file.

I don't see how this can be improved. Maybe you have an idea on that?

I could think of displaying the name of collection file somewhere, lilke in status row below serach result.

Then current [collection icon] [cards count] would be replaced by
[collection icon][collection name]: [cards count]
Attachments
collection-name.jpg
User avatar
hidalgo
 
Posts: 354
Joined: 17 Oct 2016, 21:51
Location: Russia, Moscow
Has thanked: 58 times
Been thanked: 80 times

Re: Mtgdb.Gui: search MTG cards, build decks, manage collect

Postby aidscoi168 » 04 Jan 2019, 10:07

If we have option to switch between collections ( include MTGonline ) i think it more convenient than manual import collections. As the app already have option to import collection in Arena, may we make this file in separate folder ?
aidscoi168
 
Posts: 211
Joined: 31 Dec 2016, 17:49
Has thanked: 58 times
Been thanked: 28 times

Re: Mtgdb.Gui: search MTG cards, build decks, manage collect

Postby hidalgo » 04 Jan 2019, 10:41

If we have option to switch between collections ( include MTGonline ) i think it more convenient than manual import collections
I don't understand what you mean. How is switching between collections better than manual import

Let me put how do I see it, correct me if I am wrong

switching between collections:
- user clicks collection menu
- a list of collections is displayed, 1 item per each collection file + 1 additional item for MTGArena collection
- user clicks on menu item
- collection is loaded & collection name is displayed somewhere in status row

manual import (as it works now):
- user opens load file menu
- user clicks load collection from file button
- user selects a collection from file dialog
- collection is loaded
User avatar
hidalgo
 
Posts: 354
Joined: 17 Oct 2016, 21:51
Location: Russia, Moscow
Has thanked: 58 times
Been thanked: 80 times

Re: Mtgdb.Gui: search MTG cards, build decks, manage collect

Postby aidscoi168 » 04 Jan 2019, 16:03

Yes thats what i mean "switching", we can have a button to click and choose 1 from n different collections to make the program load that specific collection. It help us not to manual import collection which is have several steps
aidscoi168
 
Posts: 211
Joined: 31 Dec 2016, 17:49
Has thanked: 58 times
Been thanked: 28 times

Re: Mtgdb.Gui: search MTG cards, build decks, manage collect

Postby hidalgo » 05 Jan 2019, 10:35

I agree what you suggest would be an improvement, and it's easy to do so I will.
User avatar
hidalgo
 
Posts: 354
Joined: 17 Oct 2016, 21:51
Location: Russia, Moscow
Has thanked: 58 times
Been thanked: 80 times

Re: Mtgdb.Gui: search MTG cards, build decks, manage collect

Postby aidscoi168 » 05 Jan 2019, 11:34

Thank you <3
aidscoi168
 
Posts: 211
Joined: 31 Dec 2016, 17:49
Has thanked: 58 times
Been thanked: 28 times

Re: Mtgdb.Gui: search MTG cards, build decks, manage collect

Postby Qumojo » 06 Jan 2019, 17:09

Update v4.0.0.0 is fantastic, thanks a lot for the new options [-o<

I am getting this, I've updated from v3.7.2.6 directly to v4, not sure why this message comes up:

error.png


Maybe something that I didn't read or missed somewhere? :oops:

Thanks again for your hard work =D>
Qumojo
 
Posts: 31
Joined: 11 Dec 2018, 14:32
Has thanked: 3 times
Been thanked: 2 times

Re: Mtgdb.Gui: search MTG cards, build decks, manage collect

Postby hidalgo » 07 Jan 2019, 13:37

I am getting this, I've updated from v3.7.2.6 directly to v4, not sure why this message comes up:
Hi, i have put incorrect URL to download the data. Will fix it in the next release.
In case you do not want to wait for the fix, you can correct <MtgjsonSource> tag etc\Mtgdb.Gui.default.xml like that:
Code: Select all
<MtgjsonSource Url="https://mtgjson.com/json/AllSets.json.zip" />
User avatar
hidalgo
 
Posts: 354
Joined: 17 Oct 2016, 21:51
Location: Russia, Moscow
Has thanked: 58 times
Been thanked: 80 times

Re: Mtgdb.Gui: search MTG cards, build decks, manage collect

Postby Qumojo » 07 Jan 2019, 16:20

Perfect, now working fine, thanks.
Qumojo
 
Posts: 31
Joined: 11 Dec 2018, 14:32
Has thanked: 3 times
Been thanked: 2 times

Re: Mtgdb.Gui: search MTG cards, build decks, manage collect

Postby hidalgo » 07 Jan 2019, 17:03

Qumojo wrote:Perfect, now working fine, thanks.
Sorry, turns out the guys from mtgjson messed with card IDs again, so I am afraid Mtgdb.Gui becomes broken with new data file.
So, it was God's hand who lead me to put incorrect Mtgjson URL to protect my users.

The thing is, I am working on cleaning the mess in your decks and collection that another change in mtgjson IDs is creating, but I am counting on the fact that users are not using the new Mtgjson file, otherwise the fix will be much harder to do.
User avatar
hidalgo
 
Posts: 354
Joined: 17 Oct 2016, 21:51
Location: Russia, Moscow
Has thanked: 58 times
Been thanked: 80 times

Re: Mtgdb.Gui: search MTG cards, build decks, manage collect

Postby aidscoi168 » 08 Jan 2019, 09:44

So it's ok to use current version of json file ( as i'm not found any issues yet ) or we can reuse older version ( which is still have recently sets ) ? If the option is using old version please include the data file in new version.
aidscoi168
 
Posts: 211
Joined: 31 Dec 2016, 17:49
Has thanked: 58 times
Been thanked: 28 times

Re: Mtgdb.Gui: search MTG cards, build decks, manage collect

Postby hidalgo » 08 Jan 2019, 13:23

( as i'm not found any issues yet )
The problem with the most resent data file will happen if

1. You downloaded 4.0.0.0
2. Used 4.0.0.0 some time, added some cards to collection, saved some decks to deck list
3. Downloaded new mtgjson file
4. Restarted Mtgdb.Gui

after 4. Mtgdb.Gui uses the IDs for cards in your decks / collections which do not match the IDs from data file.

Therefore you will see no cards in your deck, but the status showing 60 cards in Main deck tab header.

The same with collection, you will see say 400 cards in your collection in collection status row, but if you try to filter cards so that you only see cards from collection, you will see none.

Besides all that, some functionality will become completely broken, like Search bar.

Workaround if you really want to use most recent data file right now:

- 1. Do a fresh install Mtgdb.Gui v4.0.0.0
alternatively
1a. clear all .v2.json files from \history directory and subdirectories
1b. clear all data/index subdirectories

this will cause you to loose all the changes in decks / collection you made after v4.0.0.0

- 2. Manually download new mtgjson file and replace the one you have in \data directory
note: do not delete the old allSets-x.json, it's used to convert your collection / decks created with old data file.
- 3. Start Mtgdb.Gui

Then you should be fine, as Mtgdb.Gui v4 will never actually see the different IDs from previous mtgjson file.

Be aware, it is risky, there may be flaws in my reasoning behind the advice.
User avatar
hidalgo
 
Posts: 354
Joined: 17 Oct 2016, 21:51
Location: Russia, Moscow
Has thanked: 58 times
Been thanked: 80 times

PreviousNext

Return to Magic: The Gathering - Duels of the Planeswalkers

Who is online

Users browsing this forum: No registered users and 20 guests


Who is online

In total there are 20 users online :: 0 registered, 0 hidden and 20 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 20 guests

Login Form