Commit Graph
47004 Commits
Author SHA1 Message Date
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
pjerra 6e2cc26478 WorldSession: make forceExit a std::atomic<bool>
KickPlayer stores it from map-update, world, ban and GM-command paths while
UpdateSessions and IsKickRequested read it, so a plain bool is a data race.
Every access now uses std::memory_order_relaxed explicitly.
2026-11-20 02:37:14 +01:00
pjerra 1d62511b75 WorldSession: add IsKickRequested() for sessionless callers 2026-11-20 00:39:03 +01: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
pjerra 9b83ba57dc Docs: how to add a new client build, with 70959 as the worked example 2026-11-19 22:57:58 +01: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
bozmund 882ea2c1be Handle right-click cosmetic appearance unlocks 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
bozmund e1334a0587 Handle right-click cosmetic appearance unlocks 2026-11-18 10:48:22 +01: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