Merge forever (client 1.60.1.70790) into forever-bots
# Conflicts: # README.md # src/tools/vmap4_extractor/vmapexport.cpp
This commit is contained in:
@@ -10,9 +10,9 @@
|
||||
Branch `forever-bots` is `forever` plus Karrz's player bots (`src/modules/PlayerbotV2`). Questions about the bots go to
|
||||
[Karrz's Discord](https://discord.gg/7kJH4YyvZf).
|
||||
|
||||
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).
|
||||
Branch `forever` runs TrinityCore master against the **WoW Forever client 1.60.1.70790** (`_forever_\Wow.exe`, Battle.net
|
||||
product `wowf`; until 70658 it was the Classic beta, `_classic_beta_\WowB.exe`) with a vanilla world (converted from
|
||||
VMaNGOS) and the Skyborne / Zephras Isle content. Client 1.60.1.70450 notes: 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.
|
||||
@@ -61,9 +61,10 @@ the **server PC also needs the hosts entry** from step 3 (else bnetserver stops
|
||||
LoginREST.ExternalAddress"). On Linux, `contrib/linux/configure_server.sh` writes both configs from the `.dist` files.
|
||||
|
||||
**Game data (maps, vmaps, mmaps).** Run the tools built from this branch in the **World of Warcraft** folder (the one that
|
||||
holds `.build.info` and `_classic_beta_`). The Forever client is the CASC product **`wow_classic_beta`**; this branch's
|
||||
extractors use it by default (TrinityCore's own default `wow` = retail fails with "Error opening casc storage / No locales
|
||||
detected"; on older builds of the tools pass `-p wow_classic_beta`):
|
||||
holds `.build.info` and `_forever_`). Since client 1.60.1.70790 the Forever client is its own CASC product **`wowf`**
|
||||
(`_forever_\Wow.exe`; before that it was `wow_classic_beta` in `_classic_beta_\WowB.exe`). This branch's extractors use `wowf`
|
||||
by default (TrinityCore's own default `wow` = retail fails with "Error opening casc storage / No locales detected"; for an
|
||||
old beta install pass `-p wow_classic_beta`):
|
||||
```
|
||||
mapextractor
|
||||
vmap4extractor
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
-- WoW Forever client 1.60.1.70790 (2026-11-05). From this build the game is its own Battle.net product: "wowf", installed in
|
||||
-- World of Warcraft\_forever_ with Wow.exe (before: wow_classic_beta, _classic_beta_\WowB.exe). The Forever realms 70-73 and the
|
||||
-- bots realm 74 move to 70790. To let older clients keep joining them, list those builds in bnetserver.conf:
|
||||
-- Realm.AlsoAcceptBuilds = "70658,70634".
|
||||
-- No auth key is known for 70790: keep Network.SkipBuildAuthKeyCheck = 1 in worldserver.conf.
|
||||
-- bnetserver and worldserver read build_info only at startup: restart both after this update. Safe to run again.
|
||||
DELETE FROM `build_info` WHERE `build`=70790;
|
||||
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`) VALUES
|
||||
(70790,1,60,1,NULL);
|
||||
|
||||
UPDATE `realmlist` SET `gamebuild`=70790 WHERE `id` IN (70,71,72,73,74) AND `gamebuild` IN (70450,70532,70630,70634,70658);
|
||||
@@ -118,6 +118,16 @@ bool ClassicOpcodes::IsBuild70425OrLater()
|
||||
return later;
|
||||
}
|
||||
|
||||
bool ClassicOpcodes::IsBuild70790OrLater()
|
||||
{
|
||||
static bool const later = []()
|
||||
{
|
||||
std::shared_ptr<Realm const> realm = sRealmList->GetCurrentRealm();
|
||||
return realm && realm->Build >= 70790;
|
||||
}();
|
||||
return later;
|
||||
}
|
||||
|
||||
uint32 ClassicOpcodes::TranslateClientOpcode(uint32 classicOpcode)
|
||||
{
|
||||
if (uint32 shift = ExtraGroupShift())
|
||||
@@ -125,6 +135,18 @@ uint32 ClassicOpcodes::TranslateClientOpcode(uint32 classicOpcode)
|
||||
// client: the connection group (70245 0x45) moved to 0x46
|
||||
if (OpcodeGroup(classicOpcode) == ClassicClientConnectionGroup + shift)
|
||||
classicOpcode = WithOpcodeGroup(classicOpcode, ClassicClientConnectionGroup);
|
||||
// client 70790 (the WoW Forever product) added two messages to the main client group: official 70532 vs 70790 sniffs have
|
||||
// SET_ACTION_BUTTON (0x62) unchanged and everything seen from QUERY_REALM_NAME (0xB5) on two higher.
|
||||
// Classic.ClientMainGroupInsertIndex70790 = the 70790 index of the first new message; the two new ones stay unknown
|
||||
if (OpcodeGroup(classicOpcode) == ClassicClientConnectionGroup - 1 && IsBuild70790OrLater())
|
||||
{
|
||||
static uint32 const clientInsertIndex70790 = uint32(sConfigMgr->GetIntDefault("Classic.ClientMainGroupInsertIndex70790", 0x63));
|
||||
uint32 index = classicOpcode & 0xFFFF;
|
||||
if (index >= clientInsertIndex70790 + 2)
|
||||
classicOpcode -= 2;
|
||||
else if (index >= clientInsertIndex70790)
|
||||
return WithOpcodeGroup(0xFFFF, OpcodeGroup(classicOpcode) - 1); // no handler: logged as an unknown opcode
|
||||
}
|
||||
// and the main client group 0x44 got one more message between 70245 index 0x13A and 0x150 (sniffs 2026-10-09: 0x13A
|
||||
// BATTLE_PAY_OPEN_CHECKOUT unchanged, 0x150 -> 0x151; RECENT_ALLY_REQUEST_DATA, ACCEPT_SOCIAL_CONTRACT, club finder are
|
||||
// above it). Classic.ClientMainGroupInsertIndex = the 70291 index of the new message, everything after it is one lower.
|
||||
@@ -146,6 +168,13 @@ uint32 ClassicOpcodes::TranslateServerOpcode(uint32 coreOpcode)
|
||||
static uint32 const insertIndex = uint32(sConfigMgr->GetIntDefault("Classic.MainGroupInsertIndex", 0x98));
|
||||
if (group == FirstRetailServerGroup + 1 && (classicOpcode & 0xFFFF) >= insertIndex)
|
||||
++classicOpcode;
|
||||
// client 70790 (the WoW Forever product) added another message to the main server group: official 70338/70532 vs 70790
|
||||
// sniffs have every index up to 0xDE (INSTANCE_INFO) unchanged and every one from 0xED (ACHIEVEMENT_EARNED) one higher,
|
||||
// 49 messages in all. Nothing in 0xDF..0xEC was seen, so Classic.MainGroupInsertIndex70790 = its first moved index, in
|
||||
// the numbering above (70291..70658)
|
||||
static uint32 const insertIndex70790 = uint32(sConfigMgr->GetIntDefault("Classic.MainGroupInsertIndex70790", 0xDF));
|
||||
if (group == FirstRetailServerGroup + 1 && IsBuild70790OrLater() && (classicOpcode & 0xFFFF) >= insertIndex70790)
|
||||
++classicOpcode;
|
||||
if (group >= FirstRetailServerGroup + 1 && group <= LastRetailServerGroup + 1)
|
||||
classicOpcode = WithOpcodeGroup(classicOpcode, group + shift);
|
||||
}
|
||||
|
||||
@@ -42,6 +42,9 @@ namespace ClassicOpcodes
|
||||
/// (only DLLs changed in CASC), same client strings except build number and date, same RTTI types as 70425
|
||||
TC_GAME_API bool IsBuild70425OrLater();
|
||||
|
||||
/// client 70790 or later (realm build): the WoW Forever product, one more message in the main server group
|
||||
TC_GAME_API bool IsBuild70790OrLater();
|
||||
|
||||
/// server opcodes whose Classic number is not known yet and that crash the client when sent with the shifted retail number
|
||||
TC_GAME_API bool IsServerOpcodeBlocked(uint32 coreOpcode);
|
||||
|
||||
|
||||
@@ -4832,6 +4832,23 @@ Classic.OpcodeGroupShift = -1
|
||||
|
||||
Classic.MainGroupInsertIndex = 152
|
||||
|
||||
# Classic.MainGroupInsertIndex70790
|
||||
# Description: Client 70790+ (realmlist.gamebuild >= 70790): first index (decimal, in 70291..70658 numbering) of the
|
||||
# main server message group that moved up by one more. The official sniffs narrow it to 223..237
|
||||
# (0xDF..0xED): INSTANCE_INFO (0xDE) is unchanged, ACHIEVEMENT_EARNED (0xED) moved. Messages in that
|
||||
# range include mail results (0xE5, 0xE6) and scenes (0xE0, 0xE1).
|
||||
# Default: 223
|
||||
|
||||
Classic.MainGroupInsertIndex70790 = 223
|
||||
|
||||
# Classic.ClientMainGroupInsertIndex70790
|
||||
# Description: Client 70790+ (realmlist.gamebuild >= 70790): 70790 index (decimal) of the first of the two messages
|
||||
# added to the main client group; the client messages after them are two lower. The official sniffs
|
||||
# narrow it to 99..179 (0x63..0xB3): SET_ACTION_BUTTON (0x62) is unchanged, QUERY_REALM_NAME (0xB5) moved.
|
||||
# Default: 99
|
||||
|
||||
Classic.ClientMainGroupInsertIndex70790 = 99
|
||||
|
||||
# Classic.ClientMainGroupInsertIndex
|
||||
# Description: Client 70291+: 70291 index (decimal) of the message added to the main client group; the client messages
|
||||
# after it are one lower in 70245 numbering. The sniffs narrow it to 315..336 (0x13B..0x150).
|
||||
|
||||
@@ -123,7 +123,7 @@ float CONF_flat_liquid_delta_limit = 0.001f; // If max - min less this value - l
|
||||
|
||||
uint32 CONF_Locale = 0;
|
||||
|
||||
char const* CONF_Product = "wow_classic_beta"; // Classic 1.60 fork: the Forever client (pass -p wow for retail)
|
||||
char const* CONF_Product = "wowf"; // Classic 1.60 fork: the Forever client, its own product since 1.60.1.70790 (-p wow_classic_beta for the old beta, -p wow for retail)
|
||||
char const* CONF_Region = "eu";
|
||||
bool CONF_UseRemoteCasc = false;
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@ bool preciseVectorData = false;
|
||||
std::string ListfilePath;
|
||||
Road::ListfileMap g_wmoListfileStorage;
|
||||
Road::ListfileMap const* g_wmoListfile = nullptr;
|
||||
char const* CascProduct = "wow_classic_beta"; // Classic 1.60 fork: the Forever client (pass -p wow for retail)
|
||||
char const* CascProduct = "wowf"; // Classic 1.60 fork: the Forever client, its own product since 1.60.1.70790 (-p wow_classic_beta for the old beta, -p wow for retail)
|
||||
char const* CascRegion = "eu";
|
||||
bool UseRemoteCasc = false;
|
||||
uint32 DbcLocale = 0;
|
||||
|
||||
Reference in New Issue
Block a user