Commit Graph
18415 Commits
Author SHA1 Message Date
Karrz1 9df935eed5 PlayerbotV2: bot module update
conf/zz-forever-bots.conf ships the WoW Forever repack settings: world bots on with the
16-29 GB crowd preset (RssBudgetMb 6000), start zone caps, spawn pacing, and the auction
house bot listing every quality on the neutral house with a fair-price buyer. A
playerbot.conf next to worldserver.conf is read too; one in worldserver.conf.d is not
loaded twice.
2026-10-27 23:06:42 +00:00
Karrz1 646fcbe814 Merge forever into forever-bots 2026-10-27 20:18:14 +00:00
Karrz1 87b77da498 Merge pull request #176 from advocaite/karrz-data-npc-fixes
NPCs: Anachronos, Archmage Celindra and Jorel Windsinger can be talked to, Garments NPCs can be helped, stock dungeon scripts dropped
2026-10-27 19:32:12 +00:00
Karrz1 11f036c3ef Merge pull request #175 from advocaite/karrz-data-quest-fixes
Quests: levels, faction requirements, retail links and rewards that blocked chains
2026-10-27 19:32:00 +00:00
Karrz1 21c6e9d154 Merge pull request #174 from advocaite/karrz-data-trainers-zephras-sweep
Trainers: Zephras Isle and Forever trainers that could not train
2026-10-27 19:31:47 +00:00
Karrz1 53a02aa231 Merge pull request #173 from advocaite/karrz-data-trainers
Trainers: missing ranks, trainer lists and spell levels
2026-10-27 19:31:34 +00:00
Karrz1 dd3a6fdc39 Merge pull request #172 from advocaite/karrz-data-class-quest-masks
Quests: class quests are offered only to their class
2026-10-27 19:31:22 +00:00
Karrz1 0e10db2a1e Merge pull request #171 from advocaite/karrz-data-escort-event-quests
Quests: escort and event quests that never completed
2026-10-27 19:31:09 +00:00
Karrz1 e0fbbd30ce Merge pull request #170 from advocaite/karrz-data-quest-objectives
Quests: objectives that could not complete get their credit, source or hostile summon
2026-10-27 19:30:57 +00:00
Karrz1 bfe7c8b79b Merge pull request #169 from advocaite/karrz-data-quest-givers
Quests: givers, turn-ins and quest giver flags for quests that had none
2026-10-27 19:30:44 +00:00
Karrz1 f16deb8f5c Merge pull request #167 from advocaite/karrz-stab-missing-creature-models
World: drop creature models the Classic client does not have
2026-10-27 19:30:19 +00:00
Karrz1 6426cdeadb Merge pull request #161 from advocaite/karrz-stab-account-data-1mib
Account data: store up to 1 MiB per type, warn when data is dropped
2026-10-27 19:29:03 +00:00
Karrz1 79e63d41c2 Merge pull request #152 from advocaite/karrz-client-70634
Classic 1.60.1.70634: auth support, and Realm.AlsoAcceptBuilds for older clients
2026-10-27 19:27:10 +00:00
Karrz1 f085be9a61 Merge pull request #129 from MShkolenko/forever-guessed-quest-loot-chances
DB/Loot: raise guessed 40% quest drop chances to the Wowhead Classic rate
2026-10-27 19:25:09 +00:00
Karrz1 9ca3ba7035 Merge pull request #120 from advocaite/karrz-zephras-class-quests
Quests: Zephras class quests only offered to their own class
2026-10-27 19:24:58 +00:00
Karrz1 029399264b Merge pull request #114 from dqhoang/fix/quest-objective-preserve-quest-items
HORDE QUEST: Traditions of the Bluff
2026-10-27 19:24:48 +00:00
Karrz1 f7e2f72ee9 NPCs: Anachronos, Archmage Celindra and Jorel Windsinger can be talked to, Garments NPCs can be helped, stock dungeon scripts dropped 2026-10-27 18:02:16 +00:00
Karrz1 8fc765067f Trainers: Zephras Isle and Forever trainers that could not train 2026-10-27 17:56:43 +00:00
Karrz1 42bc7507f4 Trainers: missing ranks, trainer lists and spell levels 2026-10-27 17:56:43 +00:00
Karrz1 5ff02036d3 Quests: class quests are offered only to their class 2026-10-27 17:56:42 +00:00
Karrz1 de0bd6c0c8 Quests: levels, faction requirements, retail links and rewards that blocked chains 2026-10-27 17:56:08 +00:00
Karrz1 6c662ceb7d Quests: escort and event quests that never completed 2026-10-27 17:56:07 +00:00
Karrz1 f4504ab15d Quests: objectives that could not complete get their credit, source or hostile summon 2026-10-27 17:56:07 +00:00
Karrz1 cb1f8e37ec Quests: givers, turn-ins and quest giver flags for quests that had none 2026-10-27 17:56:07 +00:00
Karrz1 df12238185 Classic 1.60.1.70634: auth support, and Realm.AlsoAcceptBuilds for older clients
Battle.net patched the WoW Forever game to 70532, 70630 (2026-10-26) and 70634
(2026-10-27, UI data only). Adds their build_info rows and moves realms 70-73
to 70634.

Realm.AlsoAcceptBuilds in bnetserver.conf lets a realm also list for and accept
other client builds with the same game data and protocol, so 70630, 70532 and
70450 clients can keep playing on a 70634 realm. Default empty: only the realm's
own build.
2026-10-27 16:10:02 +00:00
Karrz1 30c41ce940 World: drop creature models the Classic client does not have
13,683 creature_template_model rows on 10,852 creatures point at a
CreatureDisplayID missing from the client's CreatureDisplayInfo.db2. The
server already skips each one at startup and logs "lists non-existing
CreatureDisplayID id (...), this can crash the client.", so they are never
used in game. Only rows of creatures that keep at least one valid model are
removed; creatures with no valid model are left as they are.
2026-10-27 15:04:17 +00:00
Karrz1 4e7a436213 Account data: store up to 1 MiB per type, warn when data is dropped
The handler dropped any upload that decompressed to more than 64 KiB
without a reply or a warning, and both account data tables used a
64 KiB blob. Raise the limit to 1 MiB, widen the columns to mediumblob,
log a warning with account, player, type and size whenever data is
dropped, and store only the bytes zlib actually produced.
2026-10-27 15:04:16 +00:00
MAXIMUS 2b92aaf988 DB/Loot: raise guessed 40% quest drop chances to the Wowhead Classic rate 2026-10-25 22:52:52 +03:00
zsolt6kandClaude Opus 5.5 91d49b230f Spells: Soul Link puts its visible buff on both the warlock and the demon (#119)
Soul Link (19028) made the demon cast 18814 (OLDSoul Link Effect) on the
warlock: a hidden aura that only splits damage. Nothing showed on either,
so the spell seemed to do nothing, and the 3% damage bonus was missing.

The demon now casts 25228 on itself. It is a pet area aura that also
reaches the warlock, with the demon as caster: both show the Soul Link
buff and deal 3% more damage, and the demon takes 30% of the damage done
to the warlock.

A re-runnable custom characters update deletes the saved 18814 auras: pet
GUIDs are counted from 1 again after a restart, so a saved one could split
damage to a new demon on top of 25228.

Tested in game: the buff shows on both, and the warlock takes less damage.

Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-10-24 12:40:14 +08:00
Karrz1 7e1accc38f Quests: Zephras class quests only offered to their own class
The sniffed class quests in Thendal Grove (92482 hunter, 92483 rogue, 92484 shaman, 92485 druid) carry no AllowableClasses, so Rorian the Dayseeker offers the hunter and druid quests to every class. Set the class mask in quest_template_addon.
2026-10-23 18:08:22 +00:00
Advocaite 27a3957d18 Merge forever (PRs #93 #94 #95 #105 #107 #109 #110 #111) into forever-bots
# Conflicts:
#	src/server/game/Entities/Pet/Pet.cpp
#	src/server/game/Maps/Map.cpp
2026-10-23 19:12:23 +08:00
Duy Hoang fdf4c99fcc Classic 1.60: store all 360 action buttons (#109)
The 1.60 client sends 360 action buttons (SMSG_UPDATE_ACTION_BUTTONS decoder
asserts 8 * 360 + 1). The server only stored 180 (MAX_ACTION_BUTTONS) and the
packet zero-padded 180-359, so anything bound above 180 was dropped: the
controller UI bound CMSG_SET_ACTION_BUTTON button 187 and it came back blank
on every relog.

Raise MAX_ACTION_BUTTONS to 360, send 360 real buttons, key ActionButtonList
and Add/Remove/GetActionButton/IsActionButtonDataValid by uint16, accept the
full uint16 button index from the client, and widen character_action.button
to SMALLINT (base schema + a re-runnable custom characters update).
2026-10-23 19:00:34 +08:00
Duy Hoang af2641d729 DB/Quest: Traditions of the Bluff - the incense ingredients are sold by their vendors
Quest 97485 asks the player to buy four ingredients from the Thunder Bluff
suppliers, but world.npc_vendor only carried one of the four rows (Naal
Mistrunner 3027 / 278083 Ceremonial Flint and Tinder). With no Bundle of
Herbs, no Bundle of Dried Cedar Twigs and no Sinew Thread on the vendors,
Craft Incense (1303520) could not be cast at all and the quest was
impossible to complete - reported as "the items are not sold at the
merchants".

Add the three missing rows, copied from Naal's existing one (maxcount 0, no
extended cost, no player condition: the ingredients are plain cheap vendor
goods, not quest-gated):
  3014 Nida Winterhoof  - 278079 Bundle of Herbs
  3012 Nata Dawnstrider - 278080 Bundle of Dried Cedar Twigs
  3005 Mahu             - 278081 Sinew Thread

All four items resolve on the client build the server runs (`.lookup item`
lists 278079/278080/278081/278083 next to their 281041-281044 duplicates),
so only the vendor rows were missing. Idempotent ON DUPLICATE KEY UPDATE,
safe to re-run.
2026-10-22 00:11:27 -07:00
Advocaite e746ef33e9 Merge forever (PRs #81 #82 #90) into forever-bots 2026-10-20 09:09:59 +08:00
Julian 367ac384fa DB/Loot: Wilted Peacebloom and Poor Copper Vein have loot (#81)
The Forever starting-zone nodes came from the sniffs, which never saw one opened, so both gave "There is no loot.":
Wilted Peacebloom (656160 and its Tauren Cultivation twin 657454) now gives 1 Peacebloom, Poor Copper Vein (562111)
1 Copper Ore and 1 Rough Stone, all 100% (Wowhead Forever).
2026-10-20 09:09:18 +08:00
Advocaite 8e4f143098 Merge forever (PRs #73 #74 #75 #80 #83 #85 #86) into forever-bots 2026-10-20 09:07:29 +08:00
Karrz1 956aff2834 Bots: module update (raid tactics, group control, world-bot pool, riding, starter gear, combat fixes) (#71)
* Bots: module update (raid tactics, instance entry, world-bot and combat fixes)

* Bots: module update from the current build (follow-the-owner on drops, group-human instance entry, raid-ready and population fixes)

* Bots: group control, pool balance at every level, starter outfit for low world bots, riding tiers and mount fallback

* World bots: no quest hub for a bot that can take no quest there (#87)

* World bots: no quest hub for a bot that can take none there (ring spot instead); move_abandon logs why the bot did not move

* Starter outfit: wait while the bot casts or fights, and leave quivers and ammo out of the pieces that must be worn

* Bots: seven small cleanups of the bot rules (#88)

* Bots: one OwnerOrders struct holds the owner's orders (command, follow, stance, windows) and the cross-thread fields are now locked

* Bots: one pet attack order per combat tick; drop the warlock and hunter duplicates, new victim ordered at once and the same one every 3 s

* Raids: one script_names_target() test for the boss script's kill target, used by the raid dispatch and both generic pickers

* Bots: idle:rest sits a solo bot under 50% health that has nothing to eat

* Bots: remove the retail rotations of the nine vanilla classes (every spec is already overridden by the Classic rotation)

* Group: one movement_owned_elsewhere test for the follow, slot move and recall gates

* Bots: the threat drop spells and the 60/80 percent triggers live next to the other threat limits in ThreatLimits.h

* Trade: reagents of a recipe the bot knows, from the owner or a group mate, are a gift; trade line in the command guide (#89)
2026-10-20 09:05:38 +08:00
Karrz1 249de23e2a Waypoint NPCs: restore the mount hidden by their spawn addon row (#86)
Spawn creature_addon rows with mount 0 replace the template addon, so 14 mounted NPCs walked on foot. Copy the template mount onto those rows.
2026-10-20 09:04:35 +08:00
Karrz1 a44e286e36 Teldrassil: give Moon Priestess Amara her sabercat mount back (#85)
Her spawn's creature_addon row (added for the waypoint path) set mount 0 and replaced the template addon, which has mount 6080.
2026-10-20 09:04:29 +08:00
Advocaite 9680562527 Merge forever (PR #65, client 70450) into forever-bots 2026-10-18 09:33:09 +08:00
hordekleandClaude Opus 5.5 e3abffa1e7 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]>
2026-10-18 09:30:29 +08:00
Advocaite c4e0eb4d3e Merge forever (70425 layouts, PRs #28 #29 #59 #60 #62 #64 #69) into forever-bots 2026-10-18 09:17:51 +08:00
MAXIMUS 2a3ebd1275 DB/Locales: ruRU quest texts, book pages and greetings from TDB 3.3.5 (#29)
* DB/Locales: ruRU quest texts, book pages and greetings from TDB 3.3.5

* DB/Locales: ruRU quest texts, book pages and greetings from TDB 3.3.5

* DB/Locales: ruRU quest texts, book pages and greetings from TDB 3.3.5

* DB/Locales: ruRU quest texts, book pages and greetings from TDB 3.3.5
2026-10-18 09:15:10 +08:00
MAXIMUS c1c02c2931 DB/Gossip: link 1381 gossip options to their client BroadcastText (#28) 2026-10-18 09:15:04 +08:00
Advocaite e9e5593433 Classic 1.60.1.70425: client build and update field changes
- auth: build_info 70425, realms 70-73 on gamebuild 70425
- ClassicOpcodes::IsBuild70425OrLater (realm build >= 70425)
- UnitData: three int32 after TaxiNodesID for every viewer (bits 132-134),
  every later bit three higher
- ActivePlayerData: a float before HomeRealmTimeOffset (bit 121, the fields
  skip the fixed group bit 134), a new optional after ChallengeModeData
  (group 166 with ViewedOutfit and TransmogMetadata, bit 169), InvSlots group 170

Layouts from the 70425 client readers compared with 70291 and an official
70425 sniff; opcodes and PlayerData are unchanged.
2026-10-16 18:22:15 +08:00
Advocaite 136f222fc2 Merge forever (PR #58, class trainers, sniff rerun) into forever-bots 2026-10-15 04:14:29 +08:00
Advocaite 8a864593bb Classic 1.60: official class trainer lists, sniff import rerun (#58)
- Every class trainer uses the official class trainer lists of the sniffs (SMSG_TRAINER_LIST up to 70374): the lists of warrior, rogue, priest, mage and warlock (1, 5, 7, 8, 13, 14, 22, 23, 25, 26) are added, and the 196 vanilla class trainers move from their vanilla lists to the official full or starting-zone list of their class. Fixes Aimed Shot rank 1 missing at hunter trainers (trainable on Forever) and the new Counterattack rank at 30.
- Sniff import rerun over the new captures (hotfixes, world, NPCs, maps, quest levels).
2026-10-15 04:14:17 +08:00
AdvocaiteandKarrz1 c56f6ce085 DB/World: empty tables of the vanilla spell value framework (#56)
Schema only (classic_spell_value, classic_spell_cost, creature_classic_melee, classic_spell_info, classic_spell_twin), no data; the core does not read them. Same files as the bots branch, so the normal and the bots worldserver can share one world database (bots repack).

Co-authored-by: Karrz1 <[email protected]>
2026-10-14 22:58:44 +08:00
Advocaite 8a3b9eb688 Merge forever (PR #53, Lazy Peons) into forever-bots 2026-10-14 22:04:08 +08:00
Karrz1 d276e6b43b Lazy Peons (quest 5441): credit the peon objective for the Classic quest (#53)
* Lazy Peons (5441): credit the peon objective for the Classic
quest

Reason: using the Foreman's Blackjack on a sleeping Lazy Peon does not add +1 to quest 5441 (Lazy Peons).

Why: the credit is given by npc_lazy_peon, which had two gaps for the Classic data. The Lazy Peon (10556) has no ScriptName, so the script never runs, and the script only gives credit while the retail quest 37446 is incomplete, not the Classic quest 5441.

Fix: bind npc_lazy_peon to creature 10556 and accept either quest being incomplete.

* Lazy Peons (5441): add the ScriptName SQL missing from the previous commit

The previous commit only carried the C++ change. This adds the update that binds npc_lazy_peon to creature 10556.
2026-10-14 22:03:54 +08:00