Commit graph

925 commits

Author SHA1 Message Date
tiera3
e3e5f3fa28
Rework Scryfall Image Downloads (#11926)
* Rework Scryfall Image Downloads

Now autoconverts collector numbers ending in "*" or "+" or "Ph" so not as many direct links required.
Uses a third attempt with &variation=true which is needed for the 79 cards that are marked as variations.
Fully tested image downloads with language set to russian to ensure fallbacks work correctly.

Restored comments to match scryfall names instead of the .java file names
Added check for api link ending in "/"
Added workaround comments.
Created prepareCardNumber in ScryfallImageSupportCards.java to use for the shared code.

A couple of comments of scryfall set names:
Commander Legends: Battle for Baldur's Gate
Game Night: Free-for-All

Comment for Viscera Seer re issue 11157
2024-05-25 18:33:23 -04:00
Oleg Agafonov
1b5f8ce1af GUI: fixed wrong background rendering of card's popup window (related to #12261), deleted un-used code; 2024-05-20 23:19:51 +04:00
grimreap124
f53c9da3e4
GUI: added stacked feature for a same creature tokens (#12256) 2024-05-20 09:15:15 +04:00
grimreap124
61b7918fe6
GUI: fixed bugs with some stacked tokens (closes #12246, related to #12242) (#12248) 2024-05-18 22:56:01 +04:00
PurpleCrowbar
a95b988ac7 Add SCD token images 2024-05-15 03:18:53 +01:00
grimreap124
7e7287e7eb
GUI: added stacked feature for a non-creature tokens like Food and Treasure (#12242) 2024-05-14 08:55:54 +04:00
karapuzz14
bb783a318e
Added [YDMU] Alchemy: Dominaria set. Implemented Vinesoul Spider, Slimefoot, Thallid Transplant. (#12157) 2024-05-04 17:34:25 -04:00
theelk801
daa8996398 [M3C] add set 2024-04-30 17:01:09 -04:00
PurpleCrowbar
66f09decfc Add OTP token images 2024-04-28 21:37:40 +01:00
PurpleCrowbar
fd6f2f48df Add BIG token images 2024-04-28 21:29:48 +01:00
PurpleCrowbar
7cbdef627c Add OTJ token images 2024-04-28 21:22:13 +01:00
PurpleCrowbar
371391b2e3 Add OTC token images 2024-04-28 21:09:06 +01:00
Susucre
a69583dbfc
images: added support of meld cards, fixed #11778 (#12083) 2024-04-08 23:57:13 +04:00
Susucre
3e75f93c20 [OTJ] Implement custom play booster generation
Much can be improved from there, but it is a rough
first implementation of a slot-based play booster.
2024-04-05 00:09:21 +02:00
theelk801
5af2762629 [OTP] add set 2024-04-02 21:29:30 -04:00
theelk801
83e2b9b492 [OTC] add set 2024-03-27 11:17:57 -04:00
PurpleCrowbar
e5759bbd9e
[PH17] Implement Inzerva, Master of Insights (#11774)
* Remove superfluous code from fateseal effect
2024-03-07 19:02:52 -05:00
tiera3
6a90e295a2
add set: [SLP] Secret Lair Showdown (#11908)
Commented out MB1 and FMB1 so they stop showing failed download errors due to #11806
2024-03-06 18:47:49 -05:00
tiera3
484ff1eaff
[SCD] added new set Starter Commander Decks (#11893, #11897) 2024-03-04 14:56:22 +04:00
tiera3
057fa2694d
images: fixed missing images download from SLD and other sets (#11883) 2024-02-29 17:21:04 +04:00
Oleg Agafonov
734e2fae0f refactor: removed outdated or un-used code (part of #11873) 2024-02-29 07:50:13 +04:00
PurpleCrowbar
3aa44bc7ef Add MKC token images 2024-02-29 02:02:03 +00:00
Oleg Agafonov
e38a79f231
Face down images and cards rework (#11873)
Face down changes:
* GUI: added visible face down type and real card name for controller/owner (opponent can see it after game ends);
* GUI: added day/night button to view real card for controller/owner (opponent can see it after game ends);
* game: fixed that faced-down card can render symbols, abilities and other hidden data from a real card;
* images: added image support for normal faced-down cards;
* images: added image support for morph and megamorph faced-down cards;
* images: added image support for foretell faced-down cards;

Other changes:
* images: fixed missing tokens from DDD set;
* images: no more client restart to apply newly downloaded images or render settings;
* images: improved backface image quality (use main menu -> symbols to download it);
2024-02-29 01:14:54 +04:00
tiera3
f84f871e57
add [ANB] Arena Beginner Set (#11868)
* Remove Shorecomber Crab from ArenaNewPlayerExperienceExtras where it was incorrectly listed
2024-02-27 22:42:33 -05:00
PurpleCrowbar
4235949c55 Add MKM token images 2024-02-28 01:07:04 +00:00
PurpleCrowbar
90aa4f84b8 Add RVR token images 2024-02-26 15:53:32 +00:00
PurpleCrowbar
b847e9d0d7 Add LCC token images 2024-02-26 15:22:23 +00:00
theelk801
99c4ab73c0 [ACR] add set 2024-02-24 09:46:41 -05:00
theelk801
41b443bf77 [BLB] add set 2024-02-24 09:44:44 -05:00
theelk801
71b524be1b [BIG] add set 2024-02-24 09:42:24 -05:00
theelk801
4ffcfd5c55 [MH3] add set 2024-02-24 09:39:07 -05:00
theelk801
86a97aa1f1 [OTJ] add set 2024-02-24 09:38:34 -05:00
Oleg Agafonov
34816be219 GUI: added missing image info in card popup hint (works in any render mode, support cards, tokens, emblems, etc - can be disabled in Preferences, related to #7759, #2158); 2024-02-19 12:40:35 +04:00
Oleg Agafonov
a81cb306d4 [LTR] fixed card number of The One Ring (0 number for tokens only); 2024-01-20 15:33:15 +04:00
Oleg Agafonov
258a98bddd images: added double faced images support from REX, improved errors processing; 2024-01-20 15:29:05 +04:00
theelk801
38da7770c1 [MKC] add set 2024-01-16 17:00:07 -05:00
PurpleCrowbar
6439c97e82
[PH19] Implement The Cinematic Phoenix (#11657) 2024-01-14 22:34:37 -05:00
PurpleCrowbar
41bdd5258c Add LCI token images 2024-01-07 19:19:34 +00:00
theelk801
9df074880f [RVR] add set 2023-12-13 09:23:13 -05:00
PurpleCrowbar
1006115912 Add Incubator token images. Related to #11535 2023-12-09 21:12:14 +00:00
theelk801
a242e2fa18 [CLU] add set 2023-12-05 22:10:41 -05:00
theelk801
115766df3d [MKM] add set 2023-12-05 21:47:03 -05:00
Oleg Agafonov
cacf8226aa refactor: fixed wrong random value usage 2023-11-28 21:48:41 +04:00
Oleg Agafonov
63290d3ed6 GUI: fixed not working card popup near screen border, improved card popup for chat and choose dialogs; 2023-11-25 17:27:59 +04:00
Oleg Agafonov
d1f9e9cc90 Improved stability and other related fixes:
* server: added limit to max chat message (related to #11285);
* gui: fixed possible error after auto-submit deck;
* gui: fixed possible error after end game dialog;
* refactor: other code improves;
2023-11-25 12:29:54 +04:00
Oleg Agafonov
53add71826 Improved network stability and other related fixes:
* server: fixed that a critical errors ignored in user commands threads (now it will be added to the logs);
* network: fixed frozen user responses in some use cases;
* network: fixed accidental and incorrect user responses (only latest response will be used now);
* network: improved freeze logs, added problem method name and code's line number;
* cheats: removed outdated deck and card load logic (only init.txt commands supports now);
* cheats: fixed wrong priority after add card dialog (closes #11437);
* cheats: improved stability and random errors on cheat executes (related to #11437);
* docs: added details on network and thread logic, human feedback life cycle, etc (see HumanPlayer, ThreadExecutorImpl);
2023-11-24 21:22:16 +04:00
Oleg Agafonov
4ba3e1fec5 images: improved support of scryfall download (added timeout for compatibility with api rate limits) 2023-11-23 14:00:38 +04:00
PurpleCrowbar
8fc880c23b Remove several invalid sets from token image database 2023-10-20 17:32:38 +01:00
theelk801
5bed13eb9f [PIP] add set 2023-10-19 16:26:48 -04:00
Susucre
1acb1d6c9a
Tweak the Pillar of the Paruns format (#11197) 2023-09-24 22:09:38 -04:00