Commit Graph
46641 Commits
Author SHA1 Message Date
Karrz1 91fb7c8f74 Spells: Forever.VanillaAoE puts Consecration and Improved Blizzard back to vanilla
WoW Forever reworked both spells. Consecration ticks a small hit on every
enemy plus a bigger hit the text gives only to the first 4 (rank 1: 2 + 4 a
second, vanilla 8). Improved Blizzard chills 15 / 25 / 40% where vanilla
chilled 30 / 50 / 65%.

New worldserver.conf switch Forever.VanillaAoE, default 0 (the Forever
spells, nothing changes). With 1:
- Consecration: each tick hits every enemy in it for the vanilla tick
  (8 / 15 / 24 / 35 / 48, so 64 to 384 over 8 sec) with the same 0.042
  spell power a tick (about 33% over the 8 ticks). Mana is vanilla already.
- Improved Blizzard: the Chill takes the vanilla amount of the same rank.
- At startup the client gets the matching rows (tick values, the five
  Consecration mana rows, curve 83071), so tooltips show the vanilla numbers
  and a client with Blizzard's live cache stops showing 73 mana. The server's
  own spells are built before this and are not touched.

The numbers live in the pure header ClassicVanillaAoe.h, checked by
tests/game/ClassicVanillaAoe.cpp ([ClassicVanillaAoe]).
2026-11-14 09:36:59 +00:00
Karrz1 90214328e9 Battle.net friends: a character's name can be the invite target
With title friends on, the Add Friend box sends a typed character name
("Ora" or "Ora Brightleaf") as the friends v2 invitation target. FindAccount
only matched BattleTags and e-mail addresses, so the request always came back
undeliverable. A name with no '#' or '@' that matches no BattleTag is now read
as a character name (the surname, when given, has to match) and the
invitation goes to that character's Battle.net account.

Idea from buildthehomelab/wow-trinitycore-everlake, commit 91a0a952a, by Bob (GPL-2.0), rewritten for our names, which are unique without the surname. Thank you!
2026-11-14 09:36:57 +00:00
Karrz1 2dc844aaa0 Zephras Isle: the fixed copies of scene NPCs go, and the spire storms can be fought
Hostile, unattackable story NPCs stood all over Zephras Isle (High Priestess
Lorthuna "Level ??" and a Living Storm by Belathaan, for one). They are fixed
copies of NPCs our scene scripts summon, put back by the quest data restore
(2026_11_05_99) and the Azeroth spawn import (2026_10_27_70). The 24 spawns
are removed by NPC and map, so a later rerun of those imports is cleaned up
too. Malevolent Storm loses immune-to-players (players kill and loot it on
live), the Falaath inn Lorthuna and Skypriest Aanders show only while Among
the Faithful is in the quest log, and the Slain Fledglings get the corpse
aura. Safe to run more than once.

From buildthehomelab/wow-trinitycore-everlake, commit b0af76175, by Bob (GPL-2.0). Thank you!
2026-11-14 09:36:57 +00:00
Karrz1 a688e13678 Wailing Caverns: the unfinished Naralex ritual can be started again after the Disciple respawns
After a wipe the respawned Disciple of Naralex had no gossip, so the ritual
could not be retried. His Reset now re-arms an unfinished ritual through the
instance's four fang bosses check. An escort in progress and a finished
Mutanus are left alone.

From buildthehomelab/wow-trinitycore-everlake, commit cf94ab010, by Bob (GPL-2.0). Thank you!
2026-11-14 09:36:57 +00:00
Karrz1 e5f91bdcbc Blackfathom Deeps: the shrine event stays open until the queued waves have spawned and died
The instance checked the event's end before it sent the queued waves, so a
long server tick could open the door while waves still had to spawn. The
end check now waits for every wave timer to run out.

From buildthehomelab/wow-trinitycore-everlake, commit 3ebaf3571, by Bob (GPL-2.0). Thank you!
2026-11-14 09:36:57 +00:00
Karrz1 edcd627657 Pets: Move To works like Stay at the clicked spot
After the pet bar's Move To a pet never fought again until it was dismissed
and called back: PetAI only knew Stay and Follow, so it sent the pet home on
the next update and refused every target, even an explicit Attack. Move To
now counts as Stay at the new spot everywhere the code checked for Stay (pet
AI attack, chase and return, catch-up and travel parking, resurrect, possess),
and the handler stores the clicked spot as the stay position (the spline had
not started yet, so it saved where the pet stood). Test: PetStayCommand.

From buildthehomelab/wow-trinitycore-everlake, commit 5ad51b11b, by Bob (GPL-2.0). Thank you!
2026-11-14 09:36:57 +00:00
Karrz1 477219538d Pets: water costs more than ground, and steep banks are open to them
A hunter's pet swam to reach targets on land, ran long detours along the
shore and turned back and forth near water. Detour gave water the cost of flat
ground, and with Pathfinding.SlopeCoefficient = 1.0 (the bot config) sloped
land costs up to 2x, so water was the cheapest ground there is. A player's
walking pet or guardian now pays Pathfinding.PetLiquidCost (default 2.5) per
yard of water, magma or slime. Out of combat creatures keep off steep
polygons, so a pet could not climb a steep bank to its owner; a player's pet
now has steep ground open, as its owner does. Other creatures and players are
not affected.

From buildthehomelab/wow-trinitycore-everlake, commit f17c2c455, by Bob (GPL-2.0). Thank you!
2026-11-14 09:36:57 +00:00
Karrz1 e3da161022 Add the 14 Nov live data check: EG Link 70790/70888/70938, Questie 4dbb8244
2026_11_14_96 (EG Link e0f85859, CC BY 4.0): 2 object templates (Kurzen Supply
Crate, Arcane Salvager), live story text for 8160, Zandalar standing objectives
for 8062/8064/8066/8073, 2 reward display spells, the Call of Fire (98517)
quest record, and Thistle Boar skinning.

2026_11_14_97 (Questie, GPL-3.0): Facing Negolash needs either Captain's
Cutlass, Camping 101: Engineering 98285 is Horde only, both librarians give 8
book quests, and Call of Fire givers, turn-ins and breadcrumb.

NOTICE: list the two new files under the Questie and EG Link credits.
2026-11-14 09:25:50 +00:00
Karrz1 d3f9b2a8dc World: EG Link live data from commit e0f8585 (70888 update, first 70938 folder)
72 object templates and 8 quest loot rows we lacked, 2 quest turn-ins,
the Betrayed kill counts (6, not 10), 12 quest texts as live shows them
and Apprentice Blacksmith at level 1. Live trainer prices are left out.
eg_compare.py: a build folder without quest_prerequisites.json is fine.
2026-11-14 09:25:29 +00:00
Karrz1 f1c1509c6f Hotfixes: live pushes 114052-114091 for client 70938
Windfury Totem, Arcane Blast, Berserker Rage, Wild Growth, Siphon Life,
world buff consumables, T1 hunter 5 piece bonus, 20 items and 2 quests.
Only tables the server reads; hotfix_data ids 2091000-2091999.
2026-11-14 09:25:29 +00:00
Karrz1 82b30ef184 Day and night: a realm-wide sky speed and a sky of your own
Forever.DayCycle.Speed (worldserver.conf, default 1) makes the sky run
1x (the realm's clock, as before) up to 24x for the whole realm. The time
of day shown is worked out from the realm's local time alone, so every
player sees the same sky, also after a restart. Only the sky changes:
events, resets, respawns and scripts keep the realm's own time.

.time day and .time night keep noon or midnight for one character,
wherever it goes, and .time auto brings the realm's sky back; .time says
which one is set. Every player may use it (permission 1000, Role:
Player). The choice is kept in character_day_cycle, loaded with the other
login queries and saved with prepared async statements, and goes when
the character is deleted.

The clock is sent at login and at every map change, as before, and right
away by .time. The pure part (DayCycle.h) has unit tests.
2026-11-14 09:08:43 +00:00
Karrz1 5b27c607b0 Darkshore live data: the name fix uses REGEXP_LIKE, which MySQL 8.4 accepts on utf8mb4
REGEXP BINARY on a utf8mb4 column fails with error 3995 on MySQL 8.4, so the world update
stopped at this file. REGEXP_LIKE with the 'c' flag is the same case-sensitive match.
2026-11-14 08:49:37 +00:00
Karrz1 e09379b8ff Combat-only enemy nameplates: the server hides the plate of mobs outside your fight
With Enemy Unit Nameplates on and Always Show Nameplates off the client
shows a health bar over every hostile mob in range. The client-side CVar
switch of the first version could not fix that: once combat started
every nearby enemy got a bar, also one that never joined the fight.

The server now decides per viewer. A player who asks for it
(Player::SetCombatPlateFilter, the ForeverBots add-on's PLATES request)
gets UNIT_FLAG3_FORCE_HIDE_NAMEPLATE on every attackable NPC that is in
no live fight with him, his pet or a member of his group on the map. It
is checked when the NPC comes into view and four times a second after,
so a mob that joins the fight gets its bar and the client draws the
plate and the plain name itself. Script-forced plates and player-
controlled units keep what they have. A UI reload clears it; the add-on
asks again on every loading screen and when either setting changes.

The add-on drops the CVar switch: the filter is on by default and only
asks with those two settings; /fb plates on|off|status.
2026-11-14 08:12:00 +00:00
Karrz1 6edacb88f1 Add Talaelar's raw fish and fix more player names in Russian texts
From the 11-13 22:59 live capture (Darkshore, Darnassus): Talaelar
sells six raw fish like Laird, and the names Wrestlecake, Rainon and
Makky typed into 176 Russian quest texts become $n.
2026-11-14 08:12:00 +00:00
Karrz1 1de9a4aba3 Redridge: the Lakeshire posters hang on the wall, and the stuck Blackrock Grunt stands on walkable ground
The two large posters in Lakeshire stood under the building floor and now hang beside the Wanted notice; the standing Blackrock Grunt at 68,79 had no walkable ground under it and moves 5 yards (Discord "bugs 4", 2026-11-13). Both positions are placed by eye and checked on the PC.

Idea from SIN's fix pack for 0.1.36; written again here.
2026-11-14 08:10:11 +00:00
Karrz1 22c661080e Quests: Excavation Tools always holds its starter for those who can take it, and the Ironforge standard can be raised at Ylva
The starter of Excavation Tools (86613) dropped from the chest at 30%, so a player who could take the quest mostly found the chest empty; it now drops every time for them (the quest item keeps 70%). Banner of the Fallen (86585): raising the standard needs a spell focus that nothing in the world had; one now stands at Mountaineer Ylva (Discord "bugs 4", 2026-11-13).

Idea from SIN's fix pack for 0.1.36; written again here.
2026-11-14 08:10:10 +00:00
Karrz1 c4a9176886 Quests: Algaz and Rethban Gauntlet no longer show complete too early, and four quests show where to go
The Algaz Gauntlet (455) and The Rethban Gauntlet (1699) kept the old area trigger completion flag next to their real trigger objective, so walking into the trigger told the client the whole quest was done while kills were still open. The flag goes. Resupplying the Excavation (273), The Algaz Gauntlet and The Rethban Gauntlet get a map area for their objective, and the map area for Incinerator Gar'im (95999) follows him to where 0.1.36 moved him (Discord "bugs 4", 2026-11-13).

Idea from SIN's fix pack for 0.1.36; written again here.
2026-11-14 08:10:10 +00:00
Karrz1 5e8652bda3 Items: an item leaves its owner's save list for real, so a save never reads a deleted item
An item waiting for the next inventory save is kept in a list on its owner. When the item was marked unchanged, only its place was forgotten and the pointer stayed in the list; if the item was then changed again it was added a second time, and if it was deleted in between, the next save read a deleted item (a crash or a dropped player). The item now remembers whose list holds it, takes itself out of that list when it is marked unchanged or deleted, the save takes every item out before saving it, and a player clears the list before going away. The place is a uint32 instead of an int16.

Idea from SIN's fix pack for 0.1.36 (reported as players dropped during a quest turn-in); written again here. No case of ours is reproduced yet.
2026-11-14 08:10:10 +00:00
Karrz1 6428ea4255 Deadmines: the cannon starts the Iron Clad Door event again if it did not run
The cannon marked the door event as started even when the instance did not know the Iron Clad Door yet. Then no timer ran, Mr. Smite never called the alarm and the cannon could not start it again (Discord "bugs 4", 2026-11-13). Now the event only counts as started once the door is there, it is reset when Mr. Smite is missing, and it is marked done after the second alarm.

Idea from SIN's fix pack for 0.1.36; written again here.
2026-11-14 08:10:10 +00:00
Karrz1 a582854e69 Quests: library books disappear once their quest is turned in
The 29 book objects of the library book quests stayed highlighted and
lootable after the book was handed in. Each is now hidden for a player who
has turned in its quest.
2026-11-14 08:09:43 +00:00
Karrz1 fa0339f57d World: Legging It spiders are level 5-6
The Ridgeshade Creepers and Lurkers in Durotar had no level data and
spawned at level 1.
2026-11-14 08:09:42 +00:00
Karrz1 9daeae28c2 Quests: map areas for Elemental Bracers and This Fruit Could Bite Back
Elemental Bracers (Ashenvale) only showed its turn-in; it now marks the
Befouled Water Elementals around Lake Falathim. This Fruit Could Bite Back
(Durotar) had no map area at all; it now marks the Prickly Pear spots west
of Razor Hill and Cook Torka.
2026-11-14 08:09:42 +00:00
Karrz1 87b65d413b Shadowfang Keep: Fenrus voidwalkers open the door, Vincent dies in Arugal's intro
Fenrus' death called a timed action list on himself, which never runs on a
dead creature, so the four Voidwalker Minions never came and the door to the
upper courtyard stayed shut. The voidwalkers now start their own list when
summoned, heal each other, and report aggro, evade and death to the instance.

Arugal's courtyard intro lost the step where Deathstalker Vincent is struck
down (VMaNGOS generic script 10000); it is back after the fourth line.
2026-11-14 08:09:42 +00:00
Karrz1 41fd63d9a4 World: one of each new Elwynn hunter trainer, pet trainer and Sam Sarsaparilla
The 0.1.36 spawns of Tordrin Sternblade, Josephine Carson, Isaac Chan
and Sam Sarsaparilla stood next to the sniffed spawns of the same NPCs,
so Northshire had two Tordrins. Ours go where a sniffed one stands.
2026-11-14 08:09:42 +00:00
Karrz1 6e805e62c1 Quests: Lesson in Divinity plans drop from the Venomweb Vale Scarlets again
The Scarlet Crusade Attack Plans (94440) drop again from the Scarlet
Zealot and Scarlet Friar, the creatures the client lists the item for and
the ones the quest text sends players to. A cleanup had left the drop
only on the Tarnished Zealots of the west coast. The quest's map area
also covers the Scarlet camp in Venomweb Vale.
2026-11-14 08:09:42 +00:00
Karrz1 8a0db3fd28 Quests: Moonglade teaches Teleport: Moonglade to Skyborne druids
The Forever copies of the druid quest Moonglade (94913 Horde from Turak
Runetotem, 94914 Alliance from Sheldras Moontree) had no SourceSpellID,
so taking them did not teach Teleport: Moonglade. 94913 also had no
class mask. Both now match 5922 (druids only, spell 19027 on accept).
2026-11-14 08:09:41 +00:00
Karrz1 7d98c507e6 Bots: fill the open places on an altar a person in the group used
The Altar of Archaedas and the Altar of the Keepers in Uldaman (and the
Blackrock Altar in UBRS) are rituals that fire only after three different
players of one group have used them. A person playing with bots could not
start Archaedas or the Stone Keepers: the bots never used the altar unless
told "use altar" by name.

The snapshot now carries ritual objects without an owner and marks the
ones a person in the bot's group has used while places are still open.
The group's bots within 30 yards are picked in guid order, the same pick
in every bot's snapshot, so only as many bots go as places are open. The
picked bot walks over through the "use" order path and uses the altar,
re-checking just before the use that it is still needed, and goes back
to following afterwards (an altar without an owner has no channel to
keep).

GameObject gets read access to its unique users for this.
2026-11-14 08:09:41 +00:00
Karrz1 9feebf8107 Quests: Banner of the Fallen can be taken in Loch Modan
The quest was missing from the world database, so Mountaineer Ylva had nothing to offer. It is built from EG Link (CC BY 4.0) and Questie's Forever traces: texts, level, objectives with their live ids, rewards, giver and ender, plus map areas.
2026-11-14 08:09:23 +00:00
Karrz1 7bc82ad45f Quests: Snowbound shows where the Ceramic Jar works
The jar only works within 30 yards of the South Gate snow in Dun Morogh, but the quest only had a map area for its turn-in in Loch Modan. The objective now has its own map area at the snow.
2026-11-14 08:09:23 +00:00
Karrz1 8f529d0d34 Quests: A Lesson in Divinity shows where to go
No part of the chain had a map area. Each part now marks its turn-in, and the Scarlet plans part marks the Tarnished Zealot camp on the Tirisfal coast, the only mobs that drop the plans.
2026-11-14 08:09:23 +00:00
Karrz1 515f94be11 Quests: The Fargodeep Mine and How Big a Threat? can be turned in
Both triggers of The Fargodeep Mine are gone from the 1.60 client, so they come back as server-side area triggers at the vanilla spots, like How Big a Threat?. The SmartAI complete-quest action now also fills the quest's catch-all area trigger objective, as a client trigger does; before, How Big a Threat? got explored but its objective stayed open.
2026-11-14 08:09:23 +00:00
Karrz1 f5a5b7dc37 Loot: a quest chest that holds the item starting its quest opens for players who can take that quest
Excavation Tools (86613) is started by an item that drops only from the Excavation Tools chest, and that chest also holds the quest's objective item. A chest with quest loot only opened for players already on one of its quests, so nobody could ever loot the item that starts the quest. A chest now also counts as quest loot for a player when it holds an item that starts a quest the player can still take and does not carry yet, the same terms on which the loot already hands out such an item.
2026-11-14 08:09:23 +00:00
Karrz1 81c906e5ee Quests: Resupplying the Excavation can be completed again
A catch-all area trigger objective from the shipped world database stayed after the quest lost its trigger, so it could never be filled and the quest never completed.
2026-11-14 08:09:22 +00:00
Karrz1 a0815a1bd6 Loch Modan: Daggerfang turns up at one of its 25 spots at a time
The AnoCore port put a Daggerfang on every one of its 25 map pins along the shore. They become one pool with one Daggerfang up.
2026-11-14 08:09:22 +00:00
Karrz1 323e80d2da World events: event quests are only offered while their event runs
The vMaNGOS event quests sat in game_event_seasonal_questrelation, which only drives the once-per-event reset here, so Children's Week and the other event quests could be taken all year, and the Children's Week whistle then did nothing. Their quest giver relations move to the game event quest tables, which the event switches on and off.
2026-11-14 08:09:22 +00:00
Karrz1 8273da401b Wailing Caverns: the stack of fifteen Deviate Nightmares in the cave is gone
The AnoCore port spawned fifteen Deviate Nightmares on one spot. Neither the base world nor vMaNGOS has a standing Deviate Nightmare, and every other Wailing Caverns count matches vMaNGOS.
2026-11-14 08:09:22 +00:00
Karrz1 0825b07893 Escorts: the OOX robots and Kaya give quest credit, and escorts that run in Classic run again
Rescue OOX-17/TN!, Rescue OOX-09/HL!, Rescue OOX-22/FE! and Protect Kaya started their path with the creature itself as
target, so no player was stored and nobody was credited at the end. The path now starts on the player who took the
quest, and the escort despawns 3 seconds after the end, as in VMaNGOS.

Converted start scripts that set run before the path had no effect, because SmartAI takes walk or run from the path.
The four such paths now run, among them The Defias Traitor (The Defias Brotherhood), reported by Voldemar Greed.
2026-11-14 08:09:21 +00:00
Karrz1 172d839947 Skinning: a knife in a profession bag in the fifth bag slot counts as a tool again
A profession bag may sit in the reagent bag slot on Classic, and storing and bag sorting already use it, but the tool
check (Player::HasItemTotemCategory) only searched the four regular bag slots. After Clean Up Bags moved the skinning
knife into a skinning bag there, skinning failed for want of a knife. The same applied to a mining pick.

Reported and first fixed by SIN.
2026-11-14 08:09:21 +00:00
Karrz1 e9deab4314 Classic 1.60: profession caps stay at the learned rank at login
The Classic child lines (2937-2948) carry ParentTierIndex 4, and the "enable
parent skill line" step in _LoadSkills set the profession to that rank, so
every profession became 300 (Artisan) at the next login. SetSkill already
skips profession child lines there; _LoadSkills does too now.

From tpyle/TrinityCore, commit 14a56f8a57, by Thomas Pyle (GPL-2.0). Thank you!
2026-11-14 08:07:57 +00:00
Karrz1 b47e6dfed1 Handle Classic instance reset intervals on calendar boundaries - regression coverage
From KylRikul/TrinityCore, commit b46cfb945f, by KylRikul (GPL-2.0). Thank you!
2026-11-14 08:07:57 +00:00
Karrz1 07981e3c45 Handle Classic instance reset intervals on calendar boundaries
From KylRikul/TrinityCore, commit b99fba2b9e, by KylRikul (GPL-2.0). Thank you!
2026-11-14 08:07:57 +00:00
Karrz1 59241e25ea Handle Classic instance reset intervals on calendar boundaries
From KylRikul/TrinityCore, commit 87cf93adf2, by KylRikul (GPL-2.0). Thank you!
2026-11-14 08:07:57 +00:00
Karrz1 d41b7aaca0 test: cover charged modifiers and legacy proc controls
From KylRikul/TrinityCore, commit c9e88b7058, by KylRikul (GPL-2.0). Thank you!
2026-11-14 08:07:57 +00:00
Karrz1 218f2c1681 test: cover native proc charge event filtering
From KylRikul/TrinityCore, commit d626ff38e7, by KylRikul (GPL-2.0). Thank you!
2026-11-14 08:07:57 +00:00
Karrz1 ce397ff477 Classic: generate defaults for native charged spell modifiers
From KylRikul/TrinityCore, commit 671b4e9226, by KylRikul (GPL-2.0). Thank you!
2026-11-14 08:07:57 +00:00
Karrz1 88264a17fb Classic: preserve proc charges on unrelated event types
From KylRikul/TrinityCore, commit b4af1e522d, by KylRikul (GPL-2.0). Thank you!
2026-11-14 08:07:57 +00:00
Karrz1 ff51af8729 test: cover Scatter Shot cancellation of Auto Shot
From KylRikul/TrinityCore, commit fbcf12ae0a, by KylRikul (GPL-2.0). Thank you!
2026-11-14 08:07:57 +00:00
Karrz1 ae1a595ce3 test: add isolated real map fixture for spell lifecycle checks
From KylRikul/TrinityCore, commit f5edcd618a, by KylRikul (GPL-2.0). Thank you!
2026-11-14 08:07:57 +00:00
Karrz1 bbeaa54280 fix: stop Classic Auto Shot after successful Scatter Shot
From KylRikul/TrinityCore, commit 5744e28093, by KylRikul (GPL-2.0). Thank you!
2026-11-14 08:07:57 +00:00
Karrz1 7d4fc187c2 Realm: warn when an also-accepted build has no build_info row; custom SQL no longer hidden from git
Realm.AlsoAcceptBuilds lets a client build in, but the login also needs that build's auth build_info row, which comes from sql/custom/auth/*_auth_classic_<build>.sql. A repack with the auth updates turned off never gets it and the login fails with nothing in the log (asked on 2026-11-14 about 70938). The realm list now logs an error for each listed build without a row.

sql/custom/{auth,characters,hotfixes,world}/.gitignore ignored *.sql (from upstream), so a new custom file was left out of a commit unless added with -f: it happened to the 70888 and the 70938 auth rows. Every custom file here ships, so nothing is ignored now.
2026-11-14 08:07:57 +00:00