server: no Side Deck limit, YGOPRO_MAX_SIDE 99 (TICKET-465, v1.7.3)
LoadDeck dropped Side Deck cards past 15 while it received the deck, with no error. The cap is 99 now, like the Extra Deck; DECKCOUNT_SIDE too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9f924161d6
commit
d1df1ffd67
3 files changed
+14
-3
No files matched your search
@@ -5,6 +5,15 @@ wire protocol, the engine message stream, the setup pairs and the Lua API. A row
|
||||
change first shipped in the Unity repo, the ticket, and the contract part it touched. Rows 0001-0024
|
||||
are the fork patches replayed into this repo as commits (`git log --oneline -- server/gframe core`).
|
||||
|
||||
## v1.7.3 — 2026-12-05
|
||||
|
||||
No Side Deck limit: the cap is 99, like the Extra Deck. No new export, message or capability bit:
|
||||
exports 336 / 857 / 851, protocol 12, capabilities `0xF7FF`.
|
||||
|
||||
| Date | Change | Ticket | Contract part |
|
||||
|---|---|---|---|
|
||||
| 2026-12-05 | Server: `YGOPRO_MAX_SIDE` 15 -> 99 in `server/gframe/deck_manager.h` (`SIDE_MAX_SIZE`). `DeckManager::LoadDeck` dropped every Side Deck card past the cap while it RECEIVED the deck, before any rule check and with no error, and `CheckDeck` refused a longer Side Deck. `DECKCOUNT_SIDE` (server mode) is 99 too. The hard bound stays `SIDEC_MAX` (250). Every player of a room needs this engine, or the old one drops the surplus. | TICKET-465 | (b) wire: behaviour |
|
||||
|
||||
## v1.7.2 — 2026-11-12
|
||||
|
||||
In Tag, a Field Spell takes the team's free Field slot when the playing partner's slot is taken. No new export, message
|
||||
|
||||
@@ -253,7 +253,7 @@ carry a new feature inside another feature's message.
|
||||
| Patch | Change |
|
||||
|---|---|
|
||||
| 0002 | Tag duel: teammates share one visible hand. |
|
||||
| 0003 | `YGOPRO_MAX_EXTRA` = 99: `CTOS_UPDATE_DECK` with up to 99 extra deck cards is accepted (the stock server dropped the surplus silently while receiving). Rush rulesets cap it lower in the client. |
|
||||
| 0003 | `YGOPRO_MAX_EXTRA` = 99: `CTOS_UPDATE_DECK` with up to 99 extra deck cards is accepted (the stock server dropped the surplus silently while receiving). |
|
||||
| 0005 | The server keeps listening after the duel starts. A late observer gets `STOC_DUEL_START` and a field resync (`STOC_GAME_MSG` with `MSG_RELOAD_FIELD`), unmasked when spectators see all. |
|
||||
| 0016 | Tag: team B is loaded as seat 2 main deck + seat 3 tag deck, the prompt owner starts at seat 2; with core patch 0015 the turn order is seat 0, 2, 1, 3. |
|
||||
| 0018 | Spectators see all: every observer gets the UNMASKED stream (both hands, draws, set cards, extra, banished, the 0005 snapshot) unless the setup pair `ygol.room.spectatorview=hidden` is present, which restores the stock masked stream byte for byte. Duelists' streams never change. |
|
||||
@@ -263,6 +263,7 @@ carry a new feature inside another feature's message.
|
||||
| v1.4.0 | Life points per side: with the setup pair `ygol.side.b.lp=<n>` (section (d)) seat side B (seat 1; Tag seats 2 and 3) starts at `n` LP and side A at slot 8; without it both sides start at slot 8, as before. `set_player_info` gets each duel player its own LP, and `MSG_START` (the start and the late-watcher snapshot) carries `lp[0]`, `lp[1]` in duel player order: the side that goes first is player 0, so the two values swap when side B won the toss. `STOC_JOIN_GAME`'s `start_lp` stays side A's. Single, Match (every duel) and Tag; no new message, no capability bit. |
|
||||
| v1.5.0 | Tag two Field slots (proposal 45, TICKET-384; core `field::has_two_fields` = `DUEL_TAG_MODE` on Master Rule 4 or 5): a team has a Field slot per partner, Spell/Trap sequence 5 for the partner who plays the team's first turn and 6 for the other (`player_info::tag_partner` flips in `tag_swap`). A Field Spell that lands (activated, Set, `Duel.MoveToField` to `LOCATION_FZONE`) goes to the playing partner's slot and replaces only the card there; while that slot is taken and the other is free it takes the free one (since v1.7.2; before, only a card that changed control did). A Set opens only the landing slot's bit in `MSG_SELECT_PLACE`. `LOCATION_FZONE` covers both slots (`Card.IsLocation`, `Duel.GetMatchingGroup` and the other filters, `Duel.IsEnvironment`, `Duel.CheckLocation(p, LOCATION_FZONE, 0/1)`), `Duel.GetFieldCard(p, LOCATION_FZONE, 0)` is the playing partner's field, else the other one, and sequence 1 the remaining one; `Duel.GetFieldCard(p, LOCATION_SZONE, 6)` works. The second field reaches a client as `MSG_MOVE` to Spell/Trap sequence 6 and in `MSG_RELOAD_FIELD`'s sixth Spell/Trap entry: no new message. Singles, Match and Master Rule 3 (where slot 6 is a Pendulum Zone) are unchanged. Scripts that name Spell/Trap sequence 5 by number see one field (the TICKET-384 closing note lists them). Capability `0x1000`, protocol 9 -> 10. |
|
||||
| v1.6.0 | Tag shared Extra Deck (proposal 53, TICKET-433): with the setup pair `ygol.tag.extra=shared` (section (d)) `TagDuel` sets the duel option `DUEL_TAG_SHARED_EXTRA` `0x200`. `start_duel` moves each team's `tag_list_extra` into `list_extra` (the first partner's cards first) and renumbers the sequences, so either partner can Summon any of the cards; `tag_swap` leaves the Extra Deck alone, `MSG_TAG_SWAP` keeps its layout and sends the one list, and `ygol_query_tag_cards` / `0x5F` report an Extra count of 0. The opening `MSG_START` carries the sum of both partners' Extra Decks, and the opening Extra Deck refreshes run after `start_duel`. The core has one `owner` per team, so each card has `card::tag_member`, set once when it is loaded (0 `new_card`, 1 `new_tag_card`), and `RefreshExtra` adds `QUERY_TAG_MEMBER` to its flag in such a duel (section (c), Query records). Replays need no format change: `opt` holds the option and every reader passes `opt` to `start_duel`; a reader that writes its own `MSG_START` before `start_duel` must add the partner's Extra count. An older engine ignores the option and plays such a replay wrongly. Without the pair every stream is unchanged. Capability `0x4000`, protocol 10 -> 11. |
|
||||
| v1.7.3 | `YGOPRO_MAX_SIDE` = 99 (and `DECKCOUNT_SIDE` in server mode): `CTOS_UPDATE_DECK` with up to 99 Side Deck cards is accepted, at the first deck and when side-decking between Match duels (before, the server dropped Side cards past 15 silently while receiving). No new message or capability bit (TICKET-465). |
|
||||
|
||||
### Replay
|
||||
|
||||
|
||||
@@ -27,7 +27,8 @@
|
||||
#endif
|
||||
|
||||
#ifndef YGOPRO_MAX_SIDE
|
||||
#define YGOPRO_MAX_SIDE 15
|
||||
// [YGOL] TICKET-465: no Side Deck limit, same silent truncation in LoadDeck as the Extra Deck above; SIDEC_MAX (250) is the real bound.
|
||||
#define YGOPRO_MAX_SIDE 99
|
||||
#endif
|
||||
|
||||
namespace irr {
|
||||
@@ -129,7 +130,7 @@ extern DeckManager deckManager;
|
||||
#endif
|
||||
|
||||
#ifndef DECKCOUNT_SIDE
|
||||
#define DECKCOUNT_SIDE 15
|
||||
#define DECKCOUNT_SIDE 99 // [YGOL] TICKET-465
|
||||
#endif
|
||||
|
||||
#ifndef DECKCOUNT_EXTRA
|
||||
|
||||
Reference in new issue
Block a user