Commit Graph
100 Commits
Author SHA1 Message Date
Karrz1 69f6f6249c Bots: hired bots (sellsword brokers) in the bot module, as their own part (Hire/)
Ubuntu x64 / build (clang-17, clang++-17, <nil>, 1) (push) Waiting to run
Ubuntu x64 / build (clang-17, clang++-17, ccache, 0) (push) Waiting to run
Ubuntu x64 / build (gcc-13, g++-13, <nil>, 1) (push) Waiting to run
macOS arm64 / build (push) Waiting to run
Windows x64 / build (push) Waiting to run
The hire brokers were in the world database without their code, so for a server built from this source the
Sellsword Captains, Veteran Recruiters and Black Market Brokers did nothing. Here is the code, as it runs in the
WoW Forever Bots repack, built so it can be left out or replaced:

- Hire/: the brokers' gossip (npc_fb_hire_broker), the contracts (HireMgr), the rules (HirePolicy.h: prices,
  grades, upkeep, who must hire) and HireModule.cpp, which registers them. Hire/README.md explains the grades,
  the Playerbot.Hire.* settings, the commands and how another hire module plugs in.
- HireHooks.h/.cpp and HireTypes.h: the one door between the bot module and hired bots. `.bot add`, `.bot call`,
  `.bot delete`, the Group Finder, companion upkeep, gear and the add-on ask Fleet::Hiring(); without a hire
  module the answer is "no hired bots" and companions are free as before.
- CMake option PLAYERBOT_V2_HIRE (default on). Off: `.bot hire` and the brokers say there are no hired bots.
- `.bot hire [on|off]`, the ForeverBots add-on's hired-bots-only view (ForeverBots_Hire.lua, /fb hire), the
  Playerbot.Hire.* settings in playerbot.conf.dist (Mode 0 = off by default).
- SQL: the 39 brokers and their gossip menu (world, same files as the repack), the contracts table
  (sql/playerbot_v2/0037_hired_bots.sql, applied by the module at start).
- tests/game/ClassicHirePolicy.cpp pins the rules.
2026-11-24 11:30:11 +00:00
Karrz1 0e233adfd9 PlayerbotV2: migration 0063 column comments without a semicolon
Ubuntu x64 / build (clang-17, clang++-17, <nil>, 1) (push) Canceled after 0s
Ubuntu x64 / build (clang-17, clang++-17, ccache, 0) (push) Canceled after 0s
Ubuntu x64 / build (gcc-13, g++-13, <nil>, 1) (push) Canceled after 0s
macOS arm64 / build (push) Canceled after 0s
Windows x64 / build (push) Canceled after 0s
The migration runner splits statements on every ';' outside a whole-line comment, so the 'ChrRaces id; 0 = any race' column comments cut the first CREATE TABLE in two and MySQL error 1064 stopped the worldserver at start (PR #394).
2026-11-24 11:11:13 +00:00
Karrz1 fb929dccd5 Merge PR 397: bot channel posts name the mobs actually nearby
Ubuntu x64 / build (clang-17, clang++-17, <nil>, 1) (push) Canceled after 0s
Ubuntu x64 / build (clang-17, clang++-17, ccache, 0) (push) Canceled after 0s
Ubuntu x64 / build (gcc-13, g++-13, <nil>, 1) (push) Canceled after 0s
macOS arm64 / build (push) Canceled after 0s
Windows x64 / build (push) Canceled after 0s
Brings in Zapgun's local fauna line for bot channel posts (PR #397).
2026-11-24 00:51:23 +00:00
Karrz1 34b29ca490 Merge PR 394: race/sex RPG first names and surnames for bot characters
Brings in Zapgun's RPG names for bots, with the migrations as 0063/0064 (PR #394).
2026-11-24 00:51:19 +00:00
Karrz1 4345001212 PlayerbotV2: rpg names migrations as 0063/0064
Bot migrations are numbered in one sequence and 0062 is the last one in use, so 9001/9002 become 0063/0064 (file names, headers and schema_version rows). The conf and the missing-tables warning now point at those migrations instead of a local sql-changes folder.
2026-11-23 23:18:32 +00:00
Karrz1 7509ecbfcc 0.1.39.1: put back the dungeon door, lever and event scripts
Ubuntu x64 / build (clang-17, clang++-17, <nil>, 1) (push) Canceled after 0s
Ubuntu x64 / build (clang-17, clang++-17, ccache, 0) (push) Canceled after 0s
Ubuntu x64 / build (gcc-13, g++-13, <nil>, 1) (push) Canceled after 0s
macOS arm64 / build (push) Canceled after 0s
Windows x64 / build (push) Canceled after 0s
2026_11_05_99 (the 11-05 Forever quest restore) deleted the rows of the
classic script files that write through a world. prefix, so every install
since 0.1.30 lost them: Blackrock Depths, Scarlet Monastery, Deadmines,
Shadowfang Keep and Scholomance doors and levers (the Shadowforge Lock no
longer turns the big door), the Emberseer doors, the UBRS, Scholomance and
Uldaman event scripts and the EventAI of 60 creatures including Rajaxx.

2026_11_11_29: a server's own .tele entries on ids 2342-2399 move to free
ids, so the Forever dungeon files no longer stop the worldserver with
"Duplicate entry '2356' for key 'game_tele.PRIMARY'".
2026_11_22_47: the gameobject door lists set the door state (they never
moved a door that sat in its spawn state).
2026_11_22_48: puts back the 353 smart_scripts rows, the lever AINames, the
Stratholme service entrance script, Rajaxx's AIName and quest 5525's
SmartQuest.

SQL only, no code change.
2026-11-22 14:48:49 +00:00
Karrz1 ad481fc75a README: built on TrinityCore, links point to ForeverCore 2026-11-22 01:58:19 +00:00
Karrz1 b441bf74e0 0.1.39: bots and core since 0.1.38 (Naxxramas fights, hunter companions get their pet, dungeon runs, bug fixes) 2026-11-21 17:45:23 +00:00
Karrz1 3dbefce057 Merge forever into forever-bots: core hooks, kick request getter, new client build docs 2026-11-20 08:12:29 +00:00
Karrz1 d02645dd21 Merge pull request #374 from Karrz1/hook-after-reload
Scripts: hook after a .reload command
2026-11-20 07:56:06 +00:00
Karrz1 0c7c82fee3 Merge pull request #373 from Karrz1/hook-world-thread-check
World: check for code running on the world thread
2026-11-20 07:55:59 +00:00
Karrz1 f04796f52d Merge pull request #372 from Karrz1/hook-instance-boss-states
Instances: public list of a map's boss states
2026-11-20 07:55:52 +00:00
Karrz1 d6bc65272c Merge pull request #370 from pjerra/core/kick-requested-getter
WorldSession: add IsKickRequested() for sessionless bot sessions
2026-11-20 07:28:35 +00:00
Karrz1 864dd9f1b7 Merge pull request #369 from pjerra/doc/new-client-build
Docs: how to add a new client build (70959 as the worked example)
2026-11-20 07:27:58 +00:00
Karrz1 a66b6b80ef NOTICE: our bot module work is GPL-2.0-or-later; list agatho and ike3 parts 2026-11-19 22:12:00 +00:00
Karrz1 2eced52e48 Scripts: hook after a .reload command
OnConfigLoad(true) fires part way through a config reload and nothing
fires after a table reload, so a module (bots) keeps stale copies of
config values or reloaded tables until restart. WorldScript::OnAfterReload
now runs once a .reload command (in game, console or remote) finished
without error, with the full command path such as "reload config" or
"reload creature_template". Nothing listens to it in the core, so no
behaviour change.
2026-11-19 22:11:58 +00:00
Karrz1 e871b44915 World: check for code running on the world thread
Modules that start their own work (bots) need to know whether they may
touch world-thread-only state now or must queue it for the next world
tick. The world thread id is recorded at startup and on each world tick
and compared against the caller. No behaviour change.
2026-11-19 22:11:57 +00:00
Karrz1 062057117e Instances: public list of a map's boss states
GetBossState(id) needs the caller to already know every boss id. Code
outside the instance script (bot modules planning a run) wants all of
them at once, in boss id order. Read only copy of existing data, no
behaviour change.
2026-11-19 22:11:57 +00:00
Karrz1 25fc7ca3a6 0.1.38: core fixes since 0.1.37.6 (spells, talents, auction house prices, Scourge Invasion, world data, client 70959 hotfixes) 2026-11-18 21:11:41 +00:00
Karrz1 8e679df0e1 0.1.38: bots and core since 0.1.37.6 (Naxxramas: Patchwerk, Grobbulus, Gothik, Maexxna, Sapphiron; raid healers and tanks; bug fixes) 2026-11-18 21:11:41 +00:00
Karrz1 55abf2778d Skinning loot for ten starting-zone beasts (contributed by Jay Oliver, PR #349) 2026-11-18 17:28:58 +00:00
Karrz1 af09b9af9b Skinning loot for ten starting-zone beasts (contributed by Jay Oliver, PR #349) 2026-11-18 17:28:58 +00:00
Karrz1 f4e2da674b Merge PR #348 from bozmund: right-click cosmetic appearance unlocks 2026-11-18 17:28:57 +00:00
Karrz1 4d331615c3 Hotfixes: Blizzard's live pushes of client 70959
The item, spell and quest rows Blizzard pushed with client 1.60.1.70959
(hotfix ids 2100000-2100999), as shipped in WoW Forever 0.1.37.6.
2026-11-18 13:21:37 +00:00
Karrz1 c03419870f Hotfixes: Blizzard's live pushes of client 70959
The item, spell and quest rows Blizzard pushed with client 1.60.1.70959
(hotfix ids 2100000-2100999), as shipped in WoW Forever 0.1.37.6.
2026-11-18 13:21:37 +00:00
Karrz1 8787ad720a Accept client 1.60.1.70959: auth build_info row
Blizzard's Battle.net update of 17 November (client 1.60.1.70959). The realm stays on
gamebuild 70707; this row lets bnetserver and worldserver accept the new client
next to the older builds.
2026-11-18 13:19:45 +00:00
Karrz1 c6cc5d65dd Accept client 1.60.1.70959: auth build_info row
Blizzard's Battle.net update of 17 November (client 1.60.1.70959). The realm stays on
gamebuild 70707; this row lets bnetserver and worldserver accept the new client
next to the older builds.
2026-11-18 13:19:45 +00:00
Karrz1 9e7e4694f5 Bots: SIN's trade fix in the public tree too (the old .bot trade command row goes, the trade frames stay allowed) 2026-11-16 22:18:38 +00:00
Karrz1 db8b0d73e8 ForeverBots: the Combat nameplates entry in the minimap menu 2026-11-16 22:17:54 +00:00
Karrz1 234aaf60bb Forever Combat Nameplates: the realm's answer counts whatever shape the sender's realm part has (Name-Realm or Name Realm) 2026-11-16 22:04:37 +00:00
Karrz1 6517af05aa SIN's fixes: clean the rows of our replaced 0.1.37 files before his SQL runs (updated installs) 2026-11-16 21:57:23 +00:00
Karrz1 9d64732bd9 Client data extraction: automatic worker count (cores - 2, at most one per 2.5 GB RAM), below normal priority, tile progress for mmaps, exit 0 at the end (GitHub #13) 2026-11-16 21:37:06 +00:00
Karrz1 4d5a9f00db ForeverBots: say "the bot window opens when combat ends" once per fight
hf-01372 (Karrz): pressing the window key or the minimap button again
and again in a fight printed the line eight times. The wait is now said
once per fight for each wish (open or close), like the tab wait already
was; the flag clears when combat ends. Opening and closing work as
before.
2026-11-16 21:18:24 +00:00
Karrz1 f477d6cd81 Config: pathfinding and Hardcore keys read once at start, no console flood
A worldserver.conf from before 0.1.37 has no Pathfinding.PetLiquidCost,
and the pet path filter read it with sConfigMgr on every path of every
player's pet, so each read printed "Missing name ... in config file"
and the console filled with it (0.1.37.1). The other pathfinding keys
(PreferRoads, RoadCost, RoadCostMounted, SlopeCoefficient) were read
the same way on every path of every unit, and Classic.Hardcore on every
resurrection, and Classic.Hardcore was not in worldserver.conf.dist at
all.

All six are World config values now: read once at start (and on
.reload config, except Classic.Hardcore), with at most one warning
each, and the hot paths read the stored value. Classic.Hardcore gets
its entry in worldserver.conf.dist.
2026-11-16 20:59:51 +00:00
Karrz1 1fd207f31a Westfall: Testing the Wells kit works at the real wells, map markers for Alba's quests
Replaces 0151 for 0.1.37.2, on top of the existing Testing the Wells
script (one version only). The wells move to the quest data points
through the Westfall map fit on 44 spawns (the first version fitted on
two NPCs and its Jansen Stead well was 35 yards off, outside its 25
yard reach); the reach is 35 yards. A player who already has that
farm's sample gets no second one and no error. Testing the Wells and
Murloc Gills get their quest map areas (new world SQL _16_16; the
spell script name and the caster target stay as they are).
2026-11-16 20:58:52 +00:00
Karrz1 cfb785f621 SQL comments: Karrz, not a first name 2026-11-16 20:52:59 +00:00
Karrz1 7474e32921 Quests: SIN's Banner of the Fallen quest rows
SIN's Banner of the Fallen rows from his Quest and World Fixes for
0.1.36, unchanged. The quest already exists on our data, so his quest,
addon, level, giver and ender inserts change nothing; his kill objective
99086585 (Headsplitter) is added.

Code by SIN (1amcoff1n). His statements unchanged.
2026-11-16 20:52:49 +00:00
Karrz1 b845b6b48b Quests: SIN's Rethban Caverns objective delete
The extra catch-all exploration objective of quest 1699 goes, as SIN
wrote it in his Quest and World Fixes for 0.1.36 (quest 1699 already
completes from area trigger 482).

Code by SIN (1amcoff1n). His statement unchanged.
2026-11-16 20:52:49 +00:00
Karrz1 ceeed3aec4 Teldrassil: SIN's Lynessa Duskblossom spawn fix
chris picked SIN's version. Her three-spot pool comes back as it was in
0.1.35 (our 0.1.36 file had deleted two spots, moved the third into the
den and dropped the pool), then SIN's apply.sql runs unchanged and moves
spot 27574402 onto the floor he picked in game.

Code by SIN (1amcoff1n), Ban'ethil Barrow Den spawn fix for 0.1.35.
2026-11-16 20:52:49 +00:00
Karrz1 76c955c1c9 SQL comment: Karrz, not a first name 2026-11-16 20:48:31 +00:00
Karrz1 72a4681929 Bots: quest items from personal-loot chests count as chest sources
Most quest chests of the current client give their item as personal
loot (chest data 30). The objective locator only read the legacy loot
id, so bots never found those chests for item objectives.
2026-11-16 20:48:21 +00:00
Karrz1 9cb71c6f9e Russian text for Forever NPC lines and gossip (GitHub #12)
A Russian client saw Tirisfal NPCs speak English ("Get away from me,
monster!", the paladin trainer's greeting, the Scarlet Convert's "No! No,
no, no!"). The Forever broadcast texts from the beta sniffs had no ruRU
row, and many creature lines and gossip options carry no broadcast text
and had no ruRU locale row either.

Fill the gaps from the Azeroth project (Sakhwoow/WoWForever, GPL-2,
branch forever 637626e): their ruRU sniffs and translations, taken only
where their English matches ours word for word and we had no Russian.
337 broadcast texts, 1214 creature lines, 717 gossip options. Gaps only,
safe to run again.
2026-11-16 20:48:21 +00:00
Karrz1 1207bfcca8 Stonetalon: Gerenzo's Orders attackers come in waves, not standing ready
Seven base-data spawns stood stacked on the spot the event's waves come
from, so the attackers were there before the quest was taken. The
event script summons the waves itself; VMaNGOS has no spawns there.
2026-11-16 20:48:21 +00:00
Karrz1 d8a3fa08e9 Thendal Village: the Minor Manifestation of Earth stands on its rock
The shaman quest giver stood 1.2 yd inside the rock (ground probe of
step 146). It now stands on the rock top.
2026-11-16 20:48:21 +00:00
Karrz1 90d159d9fc Camping: sitting in a Camp Chair at the edge of the camp rests at its fire
The chair goes a yard in front of the player who places it, so a chair
placed at the edge of the fire's reach stood just outside it and sitting
in it never started the camp rest. A Camp Chair now belongs to the fire it
stands near, like any camp feature.
2026-11-16 20:48:21 +00:00
Karrz1 bd3c32c23c Moonglade: each player opens their own Great Cat Spirit relic
The relics were old shared chests: the first player or bot to open one
took it away from everybody for 5 minutes. They now give personal loot
like the quest chests of the current client.
2026-11-16 20:48:21 +00:00
Karrz1 e14538457b Sleeping Bag chain: the Horde can start it at the Burned-Out Remains
The restored data gave the Horde remains and both Nailed Planks the
Stormwind faction, so Horde players saw no quest on them. They are
neutral now. The two remains that share a spot in Westfall are each
seen only by their own faction.
2026-11-16 20:48:21 +00:00
Karrz1 e87028a9e1 Westfall: the Engineering part of Harvesting the Harvesters needs Engineering
Ozwin Ironsprocket has three quests with the same name. 92910 and 92911
are the Engineering part, but had no skill requirement, so anybody got
the Assembly and then a quest only an engineer can make parts for. Both
now need Engineering and the Assembly drops only for engineers.
2026-11-16 20:48:21 +00:00
Karrz1 5e99649786 Units: SIN's collision height fix as he wrote it
SIN's fix for creature models whose client data stores a negative
'unset' collision height (-20000000, model 34 and others): such a model
now gets the default collision height (2.03128), and a mount height
that is not set is ignored. Some raptors' melee swings failed the line
of sight check because of it.

This replaces our fix for the same bug, which took the top of the
model's bounding box instead (CreatureModelDataEntry::GetCollisionHeight,
removed). For those 68 models the height is now the default, not the
model's own.

Code by SIN (1amcoff1n), Invalid creature collision heights for 0.1.35.
Applied as written; only the hunk position differs in our Unit.cpp. To build,
the bot module's collisionprobe command now prints the raw model height
(it called the removed helper).
2026-11-16 20:48:01 +00:00
Karrz1 f9a38bb173 Camping: Arcane Salvager, Field Guide, Loom and Molten Foundry give their buff
The four tier 2/3 camp features were missing from the feature list, so a
camp that upgraded its Lute, Chair, Banner or Lodestone lost that buff and
the minute of rest only started over.
2026-11-16 20:48:01 +00:00
Karrz1 cfc3a1f60d Bots: a hunter bot revives its pet after the body is gone (SIN's fix)
SIN's Hunter Bot Pet Revive for 0.1.37, as he wrote it. The snapshot
marks a dead pet saved in an active stable slot; Call Pet waits while
there is one, and Revive Pet runs for it with or without a body, both
in the combat rotation and in the idle pet upkeep.

Code by SIN (1amcoff1n). Applied unchanged.
2026-11-16 20:48:01 +00:00
Karrz1 575aec0aec Creature sizes: VMaNGOS sizes no longer applied twice
The import copied VMaNGOS display_scale (the whole creature size) into
DisplayScale, which the 1.60 client multiplies with the model scale. 158
rows (Duskbats, many bosses and beasts) were shrunk or grown twice.
2026-11-16 20:48:01 +00:00
Karrz1 1aed7f509d Bots: one click on Trade accepts a trade with a bot (SIN's fix)
SIN's Bot Trading fix for 0.1.36, as he wrote it. The add-on puts its
own button over the stock Trade button; when a bot is the trader it
asks the server for a view of the trade, and a click sends that view
back, so the server accepts only the trade the player saw. Solo
players send the request as a hidden whisper to themselves; grouped
players use the add-on channel.

Code by SIN (1amcoff1n). Applied unchanged; only the add-on version
is set to 0.6.22.
2026-11-16 20:48:01 +00:00
Karrz1 aad3c4ca2c Dark Neophyte: casts Shadow Bolt
The Forever template had no AI or spells, so the Tirisfal cultists only
meleed. Shadow Bolt and timing follow the VMaNGOS level 10-12 casters.
2026-11-16 20:48:01 +00:00
Karrz1 3e12e201a3 SIN's fixes: take out our rewrites before his own code goes in
Our own versions of SIN's 0.1.37 fixes come out, so his code can go in
as he wrote it: bot trading, Excavation Tools and the Ironforge banner
site, the Algaz and Rethban Gauntlet quests and map pins, the Deadmines
cannon, the Lakeshire posters and Redridge grunt, the Darnassus guild
vault, the Warpwood Crusher size, the hunter bot pet revive and the
open-world respawns.

Kept: the Ironforge guild vault (not part of SIN's packs) and the
Goldshire/Northshire trainer duplicates fix (2026_11_14_02, made
before his pack and covering all four NPCs).
2026-11-16 20:48:01 +00:00
Karrz1 a90cbb2098 Touch of the Grave: drains for Undead priests, mages and warlocks too
The 1.60 client gives Undead casters their own copy of the racial, 1260201
(30%), while warriors, paladins and rogues learn 1260189 (20%). Only 1260189
had the script that casts the drain, so casters never drained.
2026-11-16 20:48:01 +00:00
Karrz1 520b201c97 Tirisfal: SIN's Whispering Forest fix (Longtooths gone, one Whispering Horror)
His apply.sql with its checks and backup tables, written as plain statements so the
DB updater can run it, and fitted to our 0.1.36 Horror pool. Fix by SIN.
2026-11-16 20:48:01 +00:00
Karrz1 1fad0e70e6 Razorfen Downs: SIN's Tuten'kash gong fix as he wrote it
Our version of SIN's gong fix (0.1.36) already had his logic; the file
now matches his patch exactly (std::set and a uint32 wave counter,
his comments).

Code by SIN (1amcoff1n), Tuten'kash Gong Fix for 0.1.35. His prebuilt
worldserver.exe is not used.
2026-11-16 20:48:01 +00:00
Karrz1 511ddb39c0 Units: SIN's collision height fix as he wrote it
SIN's fix for creature models whose client data stores a negative
'unset' collision height (-20000000, model 34 and others): such a model
now gets the default collision height (2.03128), and a mount height
that is not set is ignored. Some raptors' melee swings failed the line
of sight check because of it.

This replaces our fix for the same bug, which took the top of the
model's bounding box instead (CreatureModelDataEntry::GetCollisionHeight,
removed). For those 68 models the height is now the default, not the
model's own.

Code by SIN (1amcoff1n), Invalid creature collision heights for 0.1.35.
Applied as written; only the hunk position differs in our Unit.cpp. To build,
the bot module's collisionprobe command now prints the raw model height
(it called the removed helper).
2026-11-16 20:48:01 +00:00
Karrz1 8d6d861814 Respawns: SIN's open-world dynamic respawns on by default
chris wants the faster open-world respawns on in 0.1.37. Respawn.DynamicMode
now defaults to 1 (code and worldserver.conf.dist), as SIN's Respawn All
OpenWorld README sets it, so his spawn groups 901035 and 901036 scale
their respawn with the players in the zone (creature rate 10, minimum
10 seconds, the stock defaults). Set it to 0 to turn it off.
2026-11-16 20:48:01 +00:00
Karrz1 e7cfba6542 Skinning: SIN's skinning knife fix as he wrote it
Our version (b5c73ffe7) already had SIN's code line for line; only the
comment was ours. It now carries his comment, so the fix is his as
given.

Code by SIN (1amcoff1n), Skinning Knife for 0.1.35. His prebuilt
worldserver.exe is not used.
2026-11-16 20:48:01 +00:00
Karrz1 f6c8be4a43 Quests and world: the rest of SIN's 0.1.36 fixes (Snowbound, Ylva, Gar'im, Daggerfang)
The parts of SIN's Quest and World Fixes that were held back, now in
as he wrote them:
- Snowbound: the Ceramic Jar's snow focus moves to the snow patch at
  the tunnel, with a map pin there.
- Banner of the Fallen: raising the banner at Ylva starts three waves
  ending in Headsplitter (classic_npc_ylva_banner and the banner spell
  check); Headsplitter's two world spawns go.
- Incinerator Gar'im stands in the cave, with his map pin there.
- Daggerfang: his 25 shore spots share one pool with one up at a time.

Our own versions of the Snowbound map area (2026_11_13_40) and the
Daggerfang pool (2026_11_13_36), not released yet, come out so his
apply as written (both would otherwise shadow his rows).

Code by SIN (1amcoff1n). Changed only to fit our tree: his SQL is
renumbered to 2026_11_16_68/69, and the statements are taken from his
2026_11_14_01 and _03 files.
2026-11-16 20:48:01 +00:00
Karrz1 abdaa8e45d Respawns: SIN's open-world dynamic respawn groups, off by default
SIN's Respawn All OpenWorld change, as he wrote it: spawn group 901035
(his hand-picked spawns in Riverglades, Shen'dralas and Zephras Isle)
and spawn group 901036 (normal outdoor combat creatures on maps 0, 1
and 2991), both flagged for dynamic respawn rate. Nothing changes until
an operator sets Respawn.DynamicMode = 1; the default stays 0. With it
on, every player in the zone counts, bots too (stock behaviour).

Code by SIN (1amcoff1n). Changed only to fit our tree: renumbered to
2026_11_16_66/67 and a comment line on top. His README, rollback and
spawns list are not shipped.
2026-11-16 20:48:01 +00:00
Karrz1 c0f6e1275f World: SIN's Warpwood Crusher size and Darnassus guild vault
SIN's own SQL for 0.1.37, as he wrote it:
- Warpwood Crusher (13021, display 12929) drawn at scale 1.0, not 3.5.
- A Guild Vault in front of Idriana in the Bank of Darnassus.

Code by SIN (1amcoff1n). Changed only to fit our tree: renumbered to
2026_11_16_64/65, and a comment line on top. The vault file runs after
2026_11_15_59, which places the live Darnassus vaults; his file adds
its vault only when the bank has none, so on our data it adds nothing.
His Install.ps1, verify and rollback scripts are not shipped.
2026-11-16 20:48:01 +00:00
Karrz1 8aaf51b4a1 Quests and world: SIN's Quest and World Fixes for 0.1.36
SIN's own code, as he wrote it:
- Deadmines: the cannon event waits for the Iron Clad Door, opens it
  when ready and completes after the final alarm.
- Items: an item leaves its owner's update queue when it is saved,
  marked unchanged or deleted, so a save never reads a deleted item.
- Excavation Tools: players who can take the quest can loot the
  starter; both drops are certain when eligible.
- Algaz and Rethban Gauntlet no longer complete early; map pins for
  quests 273, 455 and 1699.
- Ironforge banner spell focus at Ylva; the stuck Blackrock Grunt and
  the Lakeshire posters moved.

Code by SIN (1amcoff1n). Changed only to fit our tree: the SQL files
are renumbered to 2026_11_16_60-63 (his numbers were taken), and these
parts of his pack stay out because they are held or were not taken:
the Banner of the Fallen quest rows, the Ylva banner script and the
Headsplitter delete, the Snowbound map pin and focus move, Gar'im's
move, the 273/1699 objective delete and the Daggerfang pool.
2026-11-16 20:48:01 +00:00
Karrz1 cf8f7322b9 SIN's fixes: take out our rewrite of the item update queue fix
Our version of SIN's item update queue fix (76f0640c9) comes out so his
code can go in as he wrote it.
2026-11-16 20:48:01 +00:00
Karrz1 dc490d7e2b Bots: one click on Trade accepts a trade with a bot (SIN's fix)
SIN's Bot Trading fix for 0.1.36, as he wrote it. The add-on puts its
own button over the stock Trade button; when a bot is the trader it
asks the server for a view of the trade, and a click sends that view
back, so the server accepts only the trade the player saw. Solo
players send the request as a hidden whisper to themselves; grouped
players use the add-on channel.

Code by SIN (1amcoff1n). Applied unchanged; only the add-on version
is set to 0.6.22.
2026-11-16 20:48:01 +00:00
Karrz1 3241bb64e6 SIN's fixes: take out our rewrites before his own code goes in
Our own versions of SIN's 0.1.37 fixes come out, so his code can go in
as he wrote it: bot trading, Excavation Tools and the Ironforge banner
site, the Algaz and Rethban Gauntlet quests and map pins, the Deadmines
cannon, the Lakeshire posters and Redridge grunt, the Darnassus guild
vault, the Warpwood Crusher size, the hunter bot pet revive and the
open-world respawns.

Kept: the Ironforge guild vault (not part of SIN's packs) and the
Goldshire/Northshire trainer duplicates fix (2026_11_14_02, made
before his pack and covering all four NPCs).
2026-11-16 20:48:01 +00:00
Karrz1 01adc5e98f ForeverBots: Combat nameplates on/off in the minimap button menu
The minimap menu gets an entry for SIN's Forever Combat Nameplates that
shows its state (on / off) and switches it without typing. His add-on is
on while Enemy Unit Nameplates are on and Always Show Nameplates is off,
so the entry flips Always Show (and turns enemy nameplates on if they
were off). Greyed out when his add-on is not loaded; refused in combat,
where the client does not change nameplate settings. Russian text added.
SIN's add-on is unchanged.
2026-11-16 20:28:48 +00:00
Karrz1 72664bb5ea Forever Combat Nameplates: log the realm side of the add-on handshake
On a 70938 client the add-on keeps waiting for the realm's answer. The
realm now logs each step under server.combatplates (shown at the
default Logger.server level): the prefix registration and whether READY
went out, each ON/OFF request or why it was dropped, and the ACK sent.
No behaviour change.
2026-11-16 20:24:43 +00:00
Karrz1 23a6fbe1f5 Forever Combat Nameplates: English messages, Russian on ruRU clients
The four chat messages of the add-on were German. They are English now,
with Russian text when the client locale is ruRU. Only the printed text
changes; the add-on logic is SIN's 3.0 as before.
2026-11-16 20:14:25 +00:00
Karrz1 2e9a87bb12 Forever Combat Nameplates: no grey name left over a mob that died mid-fight
A dead hostile NPC is no longer a valid attack target, so SIN's filter let its plate go and the client drew a large grey
name over the corpse while the fight went on. A corpse is out of every fight: an unfriendly one keeps its plate hidden.
The rest of SIN's check is unchanged.
2026-11-16 20:14:25 +00:00
Karrz1 2d884c5892 Forever Combat Nameplates: run on client 70532 and every later build
SIN's 3.0 accepts only build 70532: the add-on stops at its first line on any other build, and the realm ignores the
ON/OFF request and sends no READY to other builds. On our 70938 client it therefore did nothing. The three checks now
take 70532 and later; nothing else in SIN's code changes.
2026-11-16 20:10:27 +00:00
Karrz1 86c0d65f80 Forever Combat Nameplates: run on client 70532 and every later build
SIN's 3.0 accepts only build 70532: the add-on stops at its first line on any other build, and the realm ignores the
ON/OFF request and sends no READY to other builds. On our 70938 client it therefore did nothing. The three checks now
take 70532 and later; nothing else in SIN's code changes.
2026-11-16 20:10:27 +00:00
Karrz1 7721e314b0 Package SIN's Forever Combat Nameplates add-on next to ForeverBots and ForeverDots
The add-on 3.0 as given (lua, toc, COPYING) in Addon/ForeverCombatNameplates. The package, the add-on zip, Install.cmd, the
add-on installer, the launcher and the uninstaller handle it like ForeverDots. NOTICE credits SIN (GPL-2.0).
2026-11-16 20:10:27 +00:00
Karrz1 6c6572e1a8 Package SIN's Forever Combat Nameplates add-on next to ForeverBots and ForeverDots
The add-on 3.0 as given (lua, toc, COPYING) in Addon/ForeverCombatNameplates. The package, the add-on zip, Install.cmd, the
add-on installer, the launcher and the uninstaller handle it like ForeverDots. NOTICE credits SIN (GPL-2.0).
2026-11-16 20:10:27 +00:00
Karrz1 f33e4b64fa Revert our combat-only nameplates (SIN's Forever Combat Nameplates replaces them)
Reverts 1c33b428e, a7f630fbe and e0f252c1b: the /fb plates switch in ForeverBots, the PLATES add-on request, our server
filter and its corpse fix. The next commit puts in SIN's Forever Combat Nameplates 3.0 in their place.
2026-11-16 20:10:27 +00:00
Karrz1 9d364b1ae5 Forever Combat Nameplates 3.0 by SIN: enemy health bars only over mobs that fight you or your pet
SIN's realm side as given (source/CombatNameplates-server.patch of Forever Combat Nameplates 3.0): with his add-on's
FCN_PLATES1 request, a hostile NPC that is in no fight with the player or the player's pet goes to that player's client
with UNIT_FLAG3_FORCE_HIDE_NAMEPLATE and keeps its plain red name; one that joins the fight gets its health bar.
The only change to his patch: in the templated Player::UpdateVisibilityOf his refresh sits inside our headless-client
check, in front of the create block as in his version. Credit: SIN.
2026-11-16 20:10:27 +00:00
Karrz1 cde6c2099c Revert our combat-only nameplates (SIN's Forever Combat Nameplates replaces them)
Reverts 1c33b428e, a7f630fbe and e0f252c1b: the /fb plates switch in ForeverBots, the PLATES add-on request, our server
filter and its corpse fix. The next commit puts in SIN's Forever Combat Nameplates 3.0 in their place.
2026-11-16 20:10:27 +00:00
Karrz1 6f36a6b380 .time day / night: change the sky and the light, not only the clock
The client takes the frozen clock in the middle of a session (its clock
shows 12:00) but does not light the world again from it, so the sky
stayed as it was until the next login. Put a fixed light over every
area light of the map with SMSG_OVERRIDE_LIGHT, the packet scripted
events use to darken a zone: Light 15377 (daylight) or 16854 (night),
two Forever client lights with a single keyframe that look the same at
any hour. .time auto gives the map its own lights back.

Sent on .time and on every map entry, open world maps only (a dungeon
keeps its own light). A zone's scripted light still wins, and when it
ends, a player with their own sky goes back to it, not to the map's
light. The idea and the two lights come from SIN's Personal Day and
Night pack (0.1.35); written as our own on top of the day cycle.
2026-11-16 19:57:06 +00:00
Karrz1 006493cd98 Merge forever (0.1.37.2) into forever-bots 2026-11-16 22:17:03 +00:00
Karrz1 ac91566dcd .time day / night: change the sky and the light, not only the clock
The client takes the frozen clock in the middle of a session (its clock
shows 12:00) but does not light the world again from it, so the sky
stayed as it was until the next login. Put a fixed light over every
area light of the map with SMSG_OVERRIDE_LIGHT, the packet scripted
events use to darken a zone: Light 15377 (daylight) or 16854 (night),
two Forever client lights with a single keyframe that look the same at
any hour. .time auto gives the map its own lights back.

Sent on .time and on every map entry, open world maps only (a dungeon
keeps its own light). A zone's scripted light still wins, and when it
ends, a player with their own sky goes back to it, not to the map's
light. The idea and the two lights come from SIN's Personal Day and
Night pack (0.1.35); written as our own on top of the day cycle.
2026-11-16 19:57:06 +00:00
Karrz1 e0a89aa84c Spells: Elemental Blessing and Energized tooltips show the doubled amount
Next to an Elemental Convergence or a ley line, Skysight and Read Ley Line give the doubled buff (30% speed, 100%
regeneration, classic_spell_skyborne_racial_focus), but the aura did not send its amounts, so the client tooltip kept
the client data's 15% / 50%. Both auras now send their real amounts (SPELL_ATTR8_AURA_POINTS_ON_CLIENT).
2026-11-16 18:30:20 +00:00
Karrz1 448c7020e4 README: what the bots got in 0.1.37 2026-11-16 18:20:06 +00:00
Karrz1 7ba757a5fe Merge forever (0.1.37 README) into forever-bots 2026-11-16 18:19:57 +00:00
Karrz1 4a9df3dd71 README: client 1.60.1.70938, the new 0.1.37 switches, thanks SIN 2026-11-16 18:19:49 +00:00
Karrz1 c5edd7d9bb Merge forever (0.1.37) into forever-bots 2026-11-16 18:18:27 +00:00
Karrz1 04cc28f8df Build without precompiled headers: Random.cpp, the game utilities services include what they use 2026-11-16 18:18:10 +00:00
Karrz1 fa476bb2be Bots: register .bot trade, answer the raid reset words, and load ForeverBots_Trade.lua 2026-11-16 17:38:52 +00:00
Karrz1 0c5a1ef6e1 Items: weapon proc rates measured on the Forever realms
37 chance-on-hit weapons get the procs per minute that wowsims/forever counted
from Forever combat logs. The game files give them no rate, so they rolled the
weapon speed rate (about 1 per minute) or a vanilla rate (Flurry Axe 1.8,
Skullforge Reaver 2). Rows wowsims keeps only as unverified vanilla or Season
of Discovery carry-overs, Felstriker 0.6 among them, are left on our rates.
2026-11-16 17:33:12 +00:00
Karrz1 eb8fff366e Comments name Karrz, not a first name, in this release's code 2026-11-16 17:22:58 +00:00
Karrz1 6e5700a18e Comments name Karrz, not a first name, in this release's code 2026-11-16 17:22:58 +00:00
Karrz1 c913d1a8ae SQL notes: name Karrz, not a first name, in four new world files 2026-11-16 17:19:45 +00:00
Karrz1 b3032326b7 Knot Thimblejack: talk flag and gossip menu, so his window opens
Right-clicking Knot opened nothing even with his text in place: he only
had the quest giver flag (as in vanilla), and this client opens his
script's gossip window only for a creature with the talk flag, which
the server shows only when the creature has a gossip menu with an
existing text (Player::CanSeeGossipOn). He gets npcflag GOSSIP |
QUESTGIVER and menu 91014338 with his own text.

Checked the other scripted Classic NPCs with an OnGossipHello: Zap,
Jhordy and Omarion already have the talk flag; Knot was the only one
without it.
2026-11-16 17:04:31 +00:00
Karrz1 01e37d09ae Bots: a companion answers its player's guild invite
0141 did not do it: Chaelanna, grouped with her player, had the invite
pending and never ran idle:guild_invite_accept. Every "idle:guild_"
rule counts as a world errand, and world errands are skipped for a bot
led by a player, so the accept rule never reached its gate. Accepting
an invite takes the bot nowhere; it is no errand now.

IsWorldErrand moves to Bot/IdleRuleErrands.h so a Catch2 case can check
the list.
2026-11-16 17:04:30 +00:00
Karrz1 87bb920174 Classic teachers: Zap, Jhordy, Omarion and Knot show their texts and teach
Zap Farflinger answered every engineer with the spirit healer's line
("It is not yet your time..."): the script sent 6092, a gossip menu id,
as the text id. Zap and Jhordy Lapforge now send the texts of their own
menus (Zap 7249, or 7254 once the Dimensional Ripper is known; Jhordy
7251, or 7253). Their learn line asked for option 2 of menus 6092 /
6094, which only have option 0 here, so a Goblin or Gnomish engineer at
260 never saw it either. It is option 0 now; choosing it teaches the
device and closes the window.

Master Craftsman Omarion's pattern page showed another NPC's line
(Classic npc_text 8508 is "I'm sure that help from Farstrider Enclave
will be here soon..." in this world); it has its own text now, "Perhaps
I can teach you something..." (BroadcastText 12258). After a pattern
was learned the page came back with only "I need to go": it now comes
back with the profession's other patterns, each listed while its own
recipe is unknown.

Knot Thimblejack opened nothing when right-clicked: his texts 6795 /
6883 are not in this world, and a gossip whose text the realm cannot
answer never opens on the client. They have ids of their own now
(BroadcastText 9220 and 9369).

SQL: 2026_11_16_04_world_classic_scripted_npc_texts.sql (npc_text
91016365, 91014338, 91014339).
2026-11-16 16:47:42 +00:00
Karrz1 13b04ef8df Combat nameplates: no grey name left over a mob that died mid-fight
A dead mob is no longer a valid attack target, so the filter let its
plate go and the client drew it as a large grey name over the corpse
while the fight went on (Noxious Plaguebat, Eastern Plaguelands). A
corpse is out of every fight: an unfriendly one stays hidden.
2026-11-16 16:47:42 +00:00
Karrz1 59ef90655f Spells: Rallying Cry, Warchief's Blessing and Slip'kik's Savvy give their effects
The client's world buff spells are dummy auras that only carry the numbers; live puts the effect on hidden copies
(1304452, 1304594, 1304751). Each dummy effect now becomes the aura the copy has:

- Rallying Cry of the Dragonslayer 22888: +10% crit chance (all), +140 attack power, +140 ranged attack power,
  +80 spell damage and +80 healing.
- Warchief's Blessing 16609: +300 health, 15% melee, ranged and cast speed, 10 mana per 5 sec.
- Slip'kik's Savvy 22820: +3% crit chance (all).

Spirit of Zandalar 24425 and Fengus' Ferocity 22817 already carry real auras in the client data.
2026-11-16 16:45:09 +00:00
Karrz1 90413ecffb Spells: Feral Charge turns into Feral Charge (Cat) in Cat Form
Feral Charge 1238122 swaps on the action bar through two hidden form spells, 414925 (Cat Form: override to Feral
Charge (Cat) 414924) and 1238124 (Bear, Dire Bear Form: override to Feral Charge (Bear) 16979). Nothing in the client
data teaches them, so no druid had them: in Cat Form the button stayed on the bear version and could not be used.

- World SQL: learning Feral Charge teaches both (spell_learn_spell, not shown in the spellbook). Existing druids get
  them at their next login; the shapeshift casts the one that fits the form (HandleShapeshiftBoosts).
- Player::AddSpell: such a hidden form spell learned while already in one of its forms goes on at once instead of
  waiting for the next shapeshift.
2026-11-16 16:41:32 +00:00
Karrz1 6bc651e5b5 Spells: Mol'dar's Moxie and Songflower Serenade give their stats
Both world buffs are dummy auras in the Classic client data and did
nothing. Mol'dar's Moxie (22818) now raises stamina by 15%, and
Songflower Serenade (15366) gives 5% critical strike chance and 15 to
all stats. Songflower's two effects are told apart by their amounts.
Found in the Patchwerk soak runs: both buffs were on every tank, and the
tanks' health matched the other buffs exactly without them.
2026-11-16 16:40:08 +00:00