Commit Graph
13 Commits
Author SHA1 Message Date
Advocaite 48e2741ed4 Classic 1.60: client build 1.60.1.70245 2026-10-07 08:08:44 +08:00
Advocaite 3f77d65e99 Classic 1.60: Battle.net friends, authenticator, social window, Discord two-way chat
Battle.net (bnetserver + worldserver tunnelled services)
- Authenticator: TOTP secret per Battle.net account, login asks for the code
  (client AUTHENTICATOR state), secured accounts get the +4 backpack slots
- BattleTag column, sent at login and in presence
- Friends v2: subscribe, invitations, accept/ignore/revoke, remove, notes;
  friends kept in auth (battlenet_friends, battlenet_friend_invitations)
- Presence v2: own and friends' presence (character, race, class, level,
  zone, faction group), status and broadcast passed through, appear offline
- Whisper v2 between friends on the same realm
- Unasked friends/block list Subscribe results and connection status as the
  official server sends them

Social window and Group Finder
- Social window side tabs: mirror vars (socialUIEnabledClient etc.), character
  name friends kept (legacyFriendSystemEnabledClient)
- Recent Allies: party, raid, trade, whisper and fought-together interactions,
  online state and zone; RolodexType hotfix gives grouping a reason text
- Group browser member roles, level and class; listing name/comment/play style
- Party invite reads the Classic target realm address instead of proposed roles

Character select and misc
- Character list as regionwide entries: money and professions in the tooltip
- Official feature flags and game rules (Classic.OfficialFeatureFlags)

Discord
- In-game Discord channel relayed both ways (.discord say, /join and /leave)
- Bot: faction counts, uptime, show/announce switches, [A]/[H] tags, LFG posts
  with roles, tidy status channel

Support site
- Account page: Battle.net account, game accounts, characters, authenticator
  setup with QR code
2026-10-07 04:39:01 +08:00
Advocaite a024d27a6f Classic 1.60: client build 1.60.1.70235, its first hotfix request no longer disconnects
A new client build has an empty hotfix cache and asks for every hotfix in one
CMSG_HOTFIX_REQUEST (66 KB for 70235). The oversized-packet exception compared
the header's Classic opcode (0x440011) with TC's CMSG_HOTFIX_REQUEST, so the
request was dropped as malformed and the client was disconnected before the
character list. Translate the opcode first.

Map extractor also extracts LightDataGlobalVolumeFog (Classic 1.60 global fog).
2026-10-06 08:31:28 +08:00
Advocaite d0dde7b468 Classic 1.60: Zephras story quests, SQL updater rewrite, companion pets, gathering and combat fixes
Story and world
- Scripted Zephras story chain: Talaanis crystal scene, Valennia muster, the Ayessa spire battle (Lorthuna, Rohash, storms, rift, portal back to Valanaar), Rohashi winds launch, secluded house, injured cave druids
- Phases and quest chain fixes (Prepare for Battle, Confront Lorthuna, The Fate of Zephras), Al'Aketh hill fight, peacekeeper/Ayessa factions
- Talk-to quest objectives credit on gossip and questgiver hello
- Phase shift flags are 1 byte (client crash accepting Prepare for Battle)
- Reputation: Classic standing packet (change field), no reputation for the other side's faction
- Wisps fly (Floating), inns rested (6 missing vanilla taverns, server side inn triggers on Zephras)
- Teleports for every new Forever map

Database updater
- Applies SQL over its own multi statement connection (the mysql client silently stopped reading files)
- Reapplies every later custom file once an earlier one is reapplied
- No apostrophes in SQL comments; reapplied the fixes the sniff import had undone

Professions and items
- Skinning loot for Zephras beasts, skill-ups for herbalism, mining and skinning (no parent skill line, no content tuning)
- Vanilla chests (herbs, veins, treasure) consumed on loot (ChestFlags)
- Profession books 247840/247841/247846, gathering extras (Pristine Leather, Frilled Lichen, Pyrite, seeds)
- Companion pets: journal packet (Classic int64), creatures and models for the new Forever pets
- .legacy points command to test the Legacy trees

Combat
- Player, pet and trap spells use flat base points (Scorch), vanilla 14 AP per DPS
- Spell crits 150%, no extra spell crit against lower level targets
2026-10-05 08:01:14 +08:00
Advocaite 1655eb7831 Classic 1.60: client build 1.60.1.70205 2026-10-03 13:49:16 +08:00
Advocaite 36a1675d52 Classic 1.60: in-game Help window opens our support site, armory, 2026-10-03 content fixes
Support window and website:
- CMSG_GENERATE_SSO_TOKEN (Classic 0x44013A) answered with SMSG_GENERATE_SSO_TOKEN_RESPONSE; a token is also stored when the Help
  window opens (CMSG_GM_TICKET_GET_SYSTEM_STATUS) so the site knows the account and character (auth.battlenet_sso_tokens)
- contrib/support_site: support pages (unstuck, bug reports, tickets, FAQ, staff view) and a public armory with item tooltips and
  rate limits; the launcher points the client's Help URL at it
- .armory export: items and race/class/skill/achievement names for the armory (world.armory_item, armory_name, armory_icon)
- .unstuck from the console no longer crashes on a player in combat or in flight

Other 2026-10-03 work: stealth bandits, energizing vortex, Skycutter announcements, Tauren plainsrunning, orchard bandits,
free character bank tab, trainer/vendor gossip options, auction house, taxi, gameobject level field, animation state id.
2026-10-03 06:56:11 +08:00
Advocaite ec138b4e1f Classic 1.60: re-runnable custom SQL, camp Boosted Rest, weapon enchants, sniffed unit flags
- Custom SQL safe to run twice (the updater re-runs files whose content changed): guarded column adds, Guild Finder
  tables no longer dropped
- Camping: the campfire rest gives the Boosted buff of each camp feature nearby; Boosted Rest raises rested experience to
  5% of a level (Camp Tent)
- Classic spell effect 360 (poisons, shaman imbues, Spellstone) handled as a temporary weapon enchant; imbues without an
  item target enchant the main hand weapon, duration from the spell when the enchant has none
- Sniff import: unit flags read correctly (VisibleItem layout), quest NPCs immune with their real reputation factions,
  Camp Tent not selectable
2026-10-02 17:36:48 +08:00
Advocaite b2a6c9ac86 Classic 1.60: Zephras Isle from sniffs, hunter ranged slot and ammo, quest levels, client 70170
- Sniff imports of the new zone (map 2991): creatures, spawns (corpses, summons and hurt mobs filtered), quests with chains
  from the player's turn-ins, POIs, levels, auras, vendors, trainers, gossip, quest texts, loot, page texts, hotfix records
- Creature AI from sniffed casts (Roiling Winds Wind Spike and corpse model, Al'Aketh Shock, ...), Al'Aketh factions
- Creature queries: read the batched entries of a query (names were Unknown)
- Hunters: ranged weapons in the ranged slot, ranged spell item check, ammo (CMSG_SET_AMMO, AmmoID), Blizzard's game rules
  (rule 177 enables the ammo slot), item zone flags, starting action bars
- Vanilla base stats, Classic quest levels in the quest log, quest min/max levels from quest_classic_level
- Fixes: reclaim corpse opcode, Skysight crash (ModCastingSpeedNeg 1.0), gameobject/corpse spell targets need a hit status,
  trap playerCast, Remote Access sessions closed at shutdown
- Skyborne racials, Zephras graveyards, Halaan's Gift gossip, Elemental Convergence trap, campfire Boosted Rest
- Group Finder roles/search, /who, auth for client builds 70124 and 70170
2026-10-02 12:28:59 +08:00
Advocaite 220d21f1e8 Classic 1.60: death recap (deathcam replays), client build 70058
Records the last seconds around players; on death announces [Recap #n] and replays it with private actors (mirror images for players) while the viewer's camera follows the victim. Viewers on other continents are taken there and back. .recap <n> / .recap stop, Recap.* config.
2026-09-30 07:55:17 +08:00
Advocaite b7a41b6f32 Classic 1.60: ruleset realms, hardcore, surnames, vanilla graveyards
Ruleset realms (contentSetId, one worldserver per ruleset), ruleset switch fix, hardcore permanent death, surnames, Undead Paladin and new class combos, vanilla graveyards.
2026-09-30 04:20:13 +08:00
Advocaite d3a1cbb8db Classic 1.60: add custom SQL, realm 70 auth update, remove debug logging 2026-09-28 21:18:54 +08:00
Advocaite cd640c7067 Classic 1.60.1.70009 (WoW Classic beta) client support
- Bnet/login flow for the Classic client (super districts, last char played, sub-region 70-1-70)
- Classic opcode translation (server + client tables), blocked/changed messages
- Classic packet layouts: char enum/create/name check, feature status, trainer list,
  creature/quest query responses, action buttons, loot
- Update fields: Classic create layouts and changes-mask remaps for Unit/Player/ActivePlayer data
- Skyborne races (95/96), fixed vanilla creature levels, height lookup for recorded spawns
- Custom SQL: auth realm, hotfix layouts, Skyborne, Northshire (VMaNGOS), trainers, vendors, Zephras Isle
2026-09-28 05:23:04 +08:00
Naios 352012e531 Core/Updates: Add an automatic database update system. Automatically detects new and edited sql updates through file lists and hashing. Detects renames, deletes and is able to create and auto import full databases. * cleanups in main.cpp of world & bnetserver * refactoring in DatabaseWorkerPool.h & MySQLConnection.cpp
Make sure you re-run cmake, because boost::iostreams was added as dependency.
Maybe you need to install libboost-iostreams1.55-dev on unix as well.

Import every update manual until (included) those INSERT IGNORE updates for each database.

Thanks DDuarte and Shauren for your amazing ideas, help and advises.

In hope that nobody gets a "Your database structure is not up to date..." anymore ,-)

Signed-off-by: Naios <[email protected]>
Signed-off-by: Nayd <[email protected]>
2015-03-21 14:09:38 +00:00