Commit Graph
10 Commits
Author SHA1 Message Date
donnyandClaude Fable 5.1 3993b8c5e5 server: 0023-attack-preview-server
TICKET-378: the attack preview over the wire. CTOS/STOC 0x5E: the seat whose battle prompt is open asks for pairs, the host answers from its embedded core (ygol_preview_attack). Capability bit 0x400, protocol 8.

Replayed from Tools/YGOLegacy/patches/0023-attack-preview-server.patch in the Unity repo.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-14 20:59:00 -07:00
donnyandClaude Fable 5.1 27c35b81bd server: 0020-profile
TICKET-360: profile. CTOS/STOC 0x5D (98 bytes): a seated human's avatar id and frame id, stored per seat, in the join snapshot, swapped with the seat. Capability bit 0x200, protocol 7.

Replayed from Tools/YGOLegacy/patches/0020-profile.patch in the Unity repo.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-14 20:58:59 -07:00
donnyandClaude Fable 5.1 a9e5f2d5eb server: 0018-spectators-see-all
TICKET-326: spectators see everything. Without the pair ygol.room.spectatorview=hidden every observer gets the unmasked stream, the late-watcher snapshot included; with it the stock masked stream.

Replayed from Tools/YGOLegacy/patches/0018-spectators-see-all.patch in the Unity repo.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-14 20:58:59 -07:00
donnyandClaude Fable 5.1 2c081162ff server: 0017-coin-toss
TICKET-328: the server rolls the coin: STOC 0x5B to every seat and watcher, the stock SELECT_TP to the chooser, a one-shot 10 s timer that answers FIRST for them; game 2+ sends face 0xFF. Capability bit 0x80, protocol 5.

Replayed from Tools/YGOLegacy/patches/0017-coin-toss.patch in the Unity repo.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-14 20:58:58 -07:00
donnyandClaude Fable 5.1 ba3264a943 server: 0013-seat-state
Seat state (0x59): a seated duelist says what it is doing (picking a deck); stored per seat, replayed in the join snapshot, cleared on leave / move / start. Capability bit 0x20, protocol 3.

Replayed from Tools/YGOLegacy/patches/0013-seat-state.patch in the Unity repo.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-14 20:58:58 -07:00
donnyandClaude Fable 5.1 cea91450f2 server: 0012-rules-restart
TICKET-286: the rules restart (0x54-0x58): Prepare / ack / Commit barrier, a replacement server opened by the bootstrap secret, Reserved seats with tokens and a deadline.

Replayed from Tools/YGOLegacy/patches/0012-rules-restart.patch in the Unity repo.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-14 20:58:57 -07:00
donnyandClaude Fable 5.1 9dbe0437f6 server: 0011-host-seats-rules-restart
TICKET-285: the host plans every seat (Open / Cpu, 0x50), a bot claims its Cpu seat with a token before JoinGame (0x51), host swap 0x52 and move 0x53; capability bit 0x8, protocol 2.

Replayed from Tools/YGOLegacy/patches/0011-host-seats-rules-restart.patch in the Unity repo.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-14 20:58:57 -07:00
donnyandClaude Fable 5.1 76e359f6cf server: 0009-setup-pairs
TICKET-258: ygol.<key>=<value> tokens after slot 11 go into the duel registry before special.lua, into the replay pairs block and to every joiner as STOC 0x43; argv sized from the token count.

Replayed from Tools/YGOLegacy/patches/0009-setup-pairs.patch in the Unity repo.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-14 20:58:57 -07:00
donnyandClaude Fable 5.1 00a715f181 server: 0006-feature-messages
TICKET-170: Capability / Appearance / Dialogue as real messages (0x40-0x42), sender stamped from the connection, appearance replayed in the join snapshot.

Replayed from Tools/YGOLegacy/patches/0006-feature-messages.patch in the Unity repo.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-14 20:58:56 -07:00
donnyandClaude Fable 5.1 da27435cdb server: import the duel server (nanahira/ygopro server at 52c868ce)
The server tree of https://code.moenext.com/nanahira/ygopro.git, branch
server, commit 52c868ce071ea0f2fcb0cf39bf2fb4151d12b90c, stock: gframe/,
premake5.lua, .ci/, LICENSE, and gframe/ygopro.rc + .ico (upstream keeps
them in resource/ and copies them in before building). No game assets, no
scripts, no ocgcore submodule: the core is ../core.

The third-party sources upstream's Windows CI downloads are vendored here
at the positions its premake expects, each with its premake fragment from
upstream's premake/ folder inside it: lua 5.4.8, sqlite 3.53.3, libevent
2.1.13-stable (tests, samples and autotools helpers left out; the files
its Windows prebuild copies into include/ left out), zlib 1.3.2 (contrib
and examples left out), xz 5.8.3 (src/liblzma + src/common only), and
irrlicht 1.9 from mycard at 20f86d25: include/ plus the source/Irrlicht
headers and the 11 .cpp files the server's zip reader project compiles.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-14 20:58:21 -07:00