LackeyCCG

LackeyCCG Forum => Plugins & Plugin Creation Forum => Topic started by: waffle911 on June 02, 2012, 11:42:29 PM

Title: Magic Card Image Problem (with solution; please read)
Post by: waffle911 on June 02, 2012, 11:42:29 PM
Since downloading the MTG plugin about a month ago, I noticed some cards would return an error when attempting to load their images. I tried re-installing the plugin from scratch using the most recent version with the same results. Looking at each error, I found what image file it attempted to load and compared it with its respective entry in the CardImageURLs files. Here are the cards in question:

Apocalypse {CardImageURLs1}
128a: Fire // Ice (http://magiccards.info/scans/en/ap/128a.jpg)
129a: Illusion // Reality (http://magiccards.info/scans/en/ap/129a.jpg)
130a: Life // Death (http://magiccards.info/scans/en/ap/130a.jpg)
131a: Day // Night (http://magiccards.info/scans/en/ap/131a.jpg)
132a: Order // Chaos (http://magiccards.info/scans/en/ap/132a.jpg)

Dissension {CardImageURLs2}
149a: Bound // Determined (http://magiccards.info/scans/en/di/149a.jpg)
150a: Crime // Punishment (http://magiccards.info/scans/en/di/150a.jpg)
151a: Hide // Seek (http://magiccards.info/scans/en/di/151a.jpg)
152a: Hit // Run (http://magiccards.info/scans/en/di/152a.jpg)
153a: Odds // Ends (http://magiccards.info/scans/en/di/153a.jpg)
154a: Pure // Simple (http://magiccards.info/scans/en/di/154a.jpg)
155a: Research // Development (http://magiccards.info/scans/en/di/155a.jpg)
156a: Rise // Fall (http://magiccards.info/scans/en/di/156a.jpg)
157a: Supply // Demand (http://magiccards.info/scans/en/di/157a.jpg)
158a: Trial // Error (http://magiccards.info/scans/en/di/158a.jpg)

Invasion {CardImageURLs2}
292a: Stand // Deliver (http://magiccards.info/scans/en/in/292a.jpg)
293a: Spite // Malice (http://magiccards.info/scans/en/in/293a.jpg)
294a: Pain // Suffering (http://magiccards.info/scans/en/in/294a.jpg)
295a: Assault // Battery (http://magiccards.info/scans/en/in/295a.jpg)
296a: Wax // Wane (http://magiccards.info/scans/en/in/296a.jpg)

Planar Chaos (PLC) {CardImageURLs3}
112a: Boom // Bust (http://magiccards.info/scans/en/pc/112a.jpg)
113a: Dead // Gone (http://magiccards.info/scans/en/pc/113a.jpg)
114a: Rough // Tumble (http://magiccards.info/scans/en/pc/114a.jpg)

Time Spiral (Time Shifted) (TSTS) {CardImageURLs4}
106a: Assault // Battery (http://magiccards.info/scans/en/tsts/106a.jpg)

The above were fixed by appending "a" to the end of the image number in both the file name and URL in their respective CardImageURLs lists.


Planeshift {CardImageURLs3}
74: Tahngarth, Talruum Hero (http://magiccards.info/scans/en/ps/74a.jpg)
107: Ertai, the Corrupted (http://magiccards.info/scans/en/ps/107a.jpg)
133: Skyship Weatherlight (http://magiccards.info/scans/en/ps/133a.jpg)

Unhinged {CardImageURLs4}
120: Who/What/When/Where/Why (http://magiccards.info/scans/en/uh/120a.jpg)

Commander {CardImageURLs5}
92: Nezumi Graverobber (http://magiccards.info/scans/en/cmd/92a.jpg)

These were fixed by appending "a" only to the end of the URL in their respective CardImageURLs lists.

Of note, Commander's "198a: Fire // Ice (http://magiccards.info/scans/en/cmd/198a.jpg)" already had the correct file name and URL.
Title: Re: Magic Card Image Problem (with solution; please read)
Post by: Bort on June 05, 2012, 06:47:31 AM
Thanks. This is now fixed if people just update. They will need to relaunch after the update.
Title: Re: Magic Card Image Problem (with solution; please read)
Post by: EdrickV on June 25, 2012, 09:27:28 PM
Quote from: waffle911 on June 02, 2012, 11:42:29 PM
Apocalypse {CardImageURLs1}
128a: Fire // Ice (http://magiccards.info/scans/en/ap/128a.jpg)
129a: Illusion // Reality (http://magiccards.info/scans/en/ap/129a.jpg)
130a: Life // Death (http://magiccards.info/scans/en/ap/130a.jpg)
131a: Day // Night (http://magiccards.info/scans/en/ap/131a.jpg)
132a: Order // Chaos (http://magiccards.info/scans/en/ap/132a.jpg)

Commander {CardImageURLs5}
92: Nezumi Graverobber (http://magiccards.info/scans/en/cmd/92a.jpg)


The cards above will not download for me, either via hovering or the download missing cards button. In the case of the Commander one, the image filename it looks for (from allcards.txt) and the filename from the URL do not match. (92.jpg vs 92a.jpg) Don't know what the problem with the Apocalypse cards is. (Saving those images to the right folders manually does work.)

Also, when trying to update, I keep getting this message:
There is a newer version of plugins/magic/CardImageURLs1.txt Local checksum:18073824. Remote checksum:18074309.

I even tried deleting all the CardImageUrl text files and having it redownload them and it still does that every single time I try to update. (With restarts after updating.)