Classic 1.60.1.70450: preliminary support, including the #62 UnitData crash fix (#65)

* Classic 1.60.1.70425: send the three new UnitData int32 to the owner only

The three int32 added after TaxiNodesID for client 70425 were written in
UnitData::WriteCreate for every viewer. The client only reads them for the
owner, so in the create of another player the 12 bytes misaligned the
PlayerData that follows in the same values block, and clients seeing another
player ran out of memory and crashed.

Write them only when the viewer is the owner. The update mask bits 132-134
are unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Classic 1.60.1.70450: note that the 70425 layouts apply

Client 70450 (wow_classic_beta, built 2026-10-15) is a rebuild of 70425:
- CASC root: 17 files changed, all DLLs (exception handlers, WowB_loader.dll);
  no DB2, model, map or interface data changed, nothing added or removed
- macOS client __cstring: byte-identical except the build number and dates
- WowB.exe: identical RTTI type set (1469 types)

ClassicOpcodes::IsBuild70425OrLater and IsBuild70291OrLater compare
realmlist.gamebuild with >=, so 70450 already gets the 70425 opcode group
shift and update field layouts. The client code is encrypted on disk, so the
packet readers themselves could not be compared; no sniff of 70450 exists yet.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Classic 1.60.1.70450 support: auth build_info

Adds build 70450 to build_info. Realms are not moved to 70450: a realm only
lists for and accepts clients of its exact gamebuild, so switching locks out
70425 clients, and worldserver applies sql/custom/auth on start. The switch is
a manual step (doc/Classic70450.md). bnetserver reads build_info only at
startup and needs a restart.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Classic 1.60.1.70450: document preliminary support

Evidence that 70450 is a rebuild of 70425, deployment steps (build_info,
bnetserver restart, manual realm switch, SkipBuildAuthKeyCheck) and known
limitations. Login and entering the world were tested on realm 70; full
protocol compatibility is not verified.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Classic 1.60.1.70450: document the included #62 crash fix

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Classic 1.60.1.70450: move the Forever realms 70-73 to 70450

Like every earlier client build file, the 70450 update now moves realms
70-73 to the new build, so fresh and existing installations come up on
70450 without manual SQL (before, a fresh installation stayed on 70425 and a
70450 client saw no realm). Only realms still on 70425 move; other realms and
realms on other builds are left alone, and the file is safe to run again.
After the update realms 70-73 only accept 70450 clients.

Tested with normal worldserver starts (database updater) on isolated
databases: fresh installation, a copy of a live 70425 auth database with a
custom realm and a realm on another build, one with realm 70 already on 70450,
the upgrade from the previous version of this file, and repeated runs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
This commit is contained in:
hordekle
2026-10-18 09:30:29 +08:00
committed by GitHub
co-authored by Claude Opus 5.5
parent 2a3ebd1275
commit e3abffa1e7
4 changed files with 63 additions and 1 deletions
+1
View File
@@ -4,6 +4,7 @@
Branch `forever` runs TrinityCore master against the **WoW Classic beta client 1.60.1.70338** (`_classic_beta_\WowB.exe`)
with a vanilla world (converted from VMaNGOS) and the Skyborne / Zephras Isle content.
Preliminary support for client 1.60.1.70450: see [doc/Classic70450.md](doc/Classic70450.md).
**Just want to play?** Use the Windows repack from the releases: extract, run `Setup.bat`, start the servers in the
Forever Launcher, press Play. No MySQL or compiling needed.
+50
View File
@@ -0,0 +1,50 @@
# WoW Classic beta 1.60.1.70450 (preliminary)
Status: **preliminary**. Login and entering the world with a 70450 client were tested successfully on realm 70
(2026-10-17). Full protocol compatibility is **not verified**.
## What changed in 70450
70450 (built 2026-10-15) is a rebuild of 70425 (built 2026-10-14):
- CASC root: 17 files changed, all DLLs (exception handlers, `WowB_loader.dll`). No DB2, model, map or interface data
changed, nothing was added or removed, so the 70425 client data (and `data/dbc` extracted from it) still applies.
- macOS client string table: byte-identical except the build number and dates.
- `WowB.exe`: the same set of RTTI types as 70425.
The server picks the Classic opcode group shift and update field layouts with `realmlist.gamebuild >= 70291` and
`>= 70425`, so a realm on 70450 uses the 70425 protocol. No code change was needed for 70450 itself.
## Included: crash fix from #62
This branch includes the fix from #62 unchanged (commit `f50de2d773`, merged so it keeps its SHA): the three UnitData
int32 that client 70425 added after `TaxiNodesID` are written only in the owner's own create. Sent to every viewer they
shifted the PlayerData that follows in the create of another player, and clients seeing other players ran out of memory
and crashed. The fix applies to every realm with `gamebuild >= 70425`, so to 70425 and 70450 alike. Once #62 is merged
upstream this commit drops out of the branch's diff.
## Installation
`sql/custom/auth/2026_10_17_00_auth_classic_beta_70450.sql` is applied by worldserver's database updater on its next
start, like every other `sql/custom` file (fresh and existing installations alike). It adds build 70450 to `build_info`
and moves the Forever realms 70-73 from 70425 to 70450, like every earlier client build did. Realms with other ids or on
other builds are not touched.
**After the update the realms 70-73 only accept the 70450 client.** A realm only lists for and accepts clients of its
exact `gamebuild`, and one realm cannot serve 70425 and 70450 at the same time, so every player has to use 70450.
- Fresh installation: nothing to do by hand.
- Existing installation: restart bnetserver once after worldserver applied the update; it reads `build_info` only at
startup, and until then it does not know 70450.
- To keep a realm on 70425 (or go back), set its `gamebuild` to 70425 again; bnetserver re-reads the realm list every
`RealmsStateUpdateDelay` seconds, no restart needed. The update is not applied a second time.
Keep `Network.SkipBuildAuthKeyCheck = 1` in `worldserver.conf`: no auth key is known for 70450.
## Known limitations
- The client code is encrypted on disk, so the 70450 packet readers could not be compared with 70425, and there is no
official 70450 sniff yet. Opcodes, packet layouts and update fields are assumed unchanged from 70425 based on the
evidence above and the successful login, not on a full check.
- The client has to be started with a launcher that supports 70450; launcher support is outside this repository.
- Known 70425 issues apply to 70450 too, e.g. #63 (Auto Shot arrows drawn as a checkered cube; not fixed here).
@@ -0,0 +1,10 @@
-- WoW Classic beta client (wow_classic_beta, WowB.exe) 1.60.1.70450
DELETE FROM `build_info` WHERE `build`=70450;
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`) VALUES
(70450,1,60,1,NULL);
-- No auth key is known for Win-x64-WoWB 70450 yet; see Network.SkipBuildAuthKeyCheck in worldserver.conf
-- The Forever realms 70-73 move from 70425 to 70450: they only accept 70450 clients afterwards.
-- Other realms and realms on other builds are left alone.
UPDATE `realmlist` SET `gamebuild`=70450 WHERE `id` IN (70,71,72,73) AND `gamebuild`=70425;
@@ -38,7 +38,8 @@ namespace ClassicOpcodes
/// client 70291 or later (Classic.OpcodeGroupShift / realm build): also selects that build's changed packet and update field layouts
TC_GAME_API bool IsBuild70291OrLater();
/// client 70425 or later (realm build): selects that build's update field layouts
/// client 70425 or later (realm build): selects that build's update field layouts. Client 70450 keeps them: same game data
/// (only DLLs changed in CASC), same client strings except build number and date, same RTTI types as 70425
TC_GAME_API bool IsBuild70425OrLater();
/// server opcodes whose Classic number is not known yet and that crash the client when sent with the shifted retail number