Commit Graph
47012 Commits
Author SHA1 Message Date
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
Karrz1 33d48155e3 Core: a knockback or a pull moves a bot player
A bot has no client to answer SMSG_MOVE_KNOCK_BACK, so knockbacks and pulls never moved it. The server now flies it as it flies a creature. naxx21: Magnetic Pull left Thaddius' tanks where they stood and both adds walked off their platforms.
2026-11-16 16:40:08 +00:00
Karrz1 15d127278c Bots: supplies the owner hands over are a gift, not bought
Five Brilliant Mana Oil traded to a healer bot by its player were
answered with "i'll give you 10s for that": only gear upgrades, gear
for later levels and recipe reagents counted as gifts. A potion,
elixir, flask, food or drink, weapon oil or stone, or bandage the bot
can use itself is now a gift from its owner or a group mate too.
Strangers still sell it at the fair price.
2026-11-16 16:35:31 +00:00
Karrz1 6428725cce Guilds: no "Guild Dungeon Challenge complete" line in Classic
Classic has no guild challenges, but the client still asks for them
when the guild window refreshes. Our retail answer goes out on the
Classic number the client shows as a completed challenge, so after a
guild invite (window open) chris got "Guild Dungeon Challenge
complete! Guild has earned 0 gold.". The answer is no longer sent to
Classic clients.
2026-11-16 16:26:41 +00:00
Karrz1 4e78f3b05b Bots: a bot following its player answers a guild invite
The guild invite accept rule ran at priority 853, below the owner
orders. A bot on a Follow order fires idle:owner_following (990)
every tick, which ends the tick, so a /ginvite from its player was
never accepted. The accept moves nothing and only fires once per open
invite, so it now runs at 997, above the owner orders. The accept is
logged ("[guild_invite] ... accepts").
2026-11-16 16:26:41 +00:00
Karrz1 c0a59e639a Creature AI: Marzon keeps his aggro line in his own script
Marzon the Silent Blade (1755) says his aggro line in
classic_npc_marzon_the_silent_blade (The Attack!, 434), so the VMaNGOS
file no longer gives him a SmartAI aggro line. He stays in its
cleanup lists so rows an earlier draft gave him are removed.
2026-11-16 13:21:50 +00:00
Karrz1 1cfb447ecd Creature AI: the 16-creature VMaNGOS file only adds rows
2026_11_16_02 failed on a world DB where Marzon the Silent Blade
already has texts 0-3 (Lord Gregor Lescovar's scene): our new text
used group 0 too. Its first DELETE also removed every SmartAI row of
the 16 creatures, not only ours. Now the events use ids from 100,
the texts group 20, and only rows with a 'VMaNGOS EventAI' comment
are removed, so a creature's own AI and texts stay. The AIName is
only set where it is empty or SmartAI already. Safe on a DB where
the earlier version ran up to the texts.
2026-11-16 13:21:50 +00:00
Karrz1 6d7ca728bc Reapply "Creature AI: VMaNGOS events the conversion left out, for 16 creatures without any AI"
This reverts commit 51acb8812517970b06c7abf277fd5b7091ae7911.
2026-11-16 13:21:50 +00:00
Karrz1 af2ce75db6 World: Northshire, Goldshire, Elwynn and Stormwind data from the 16 Nov live capture
Quest hand-in texts 91741 and 92124 in full, Senegal as a companion pet,
three factions, newer models for rabbits, kobolds, cows and the orphans
with their creature_model_info rows, the Northshire Guard's crossbow and
the sign data. Defias Thug keeps its models.
2026-11-16 13:21:43 +00:00
Karrz1 3b17969395 Spells: the cat Feral Charge jump comes from the effect 175 handler alone
The script's launch hook did the same MoveJump as SPELL_EFFECT_JUMP_DEST_3
(EffectJumpDest) and prevented the default. One code path now serves the
cat charge and Spirit Leap; the script keeps its rooted check.
2026-11-16 13:21:43 +00:00
Karrz1 286a69b66e Spells: the cat Feral Charge script names effect 175 SPELL_EFFECT_JUMP_DEST_3 and keeps one jump
The effect 175 change renamed SPELL_EFFECT_175 to SPELL_EFFECT_JUMP_DEST_3
and runs it through EffectJumpDest, which broke the build of the cat
Feral Charge script (still using the old name). The script does the jump
itself, so it now prevents the default effect: one jump, not two.
2026-11-16 12:57:24 +00:00
Karrz1 7474667f44 Revert "Creature AI: VMaNGOS events the conversion left out, for 16 creatures without any AI"
This reverts commit 0e44795f790bcc8f2f659bf04f9726635cc60c26.
2026-11-16 12:56:59 +00:00
Karrz1 cc7a45b6f1 Guilds: the invite message carries the inviter's surname
Live 70938 (sniff 4, 2026-11-15) sends the inviter's surname with a
9 bit length after the name, like the other guild messages: bits name
(6), surname (9), guild (7), old guild (7), and the surname text right
after the name text. Our 6/7/7 layout put the guild name length off by
9 bits, so the invite popup could show a wrong guild name.
2026-11-16 12:56:23 +00:00
Karrz1 0191ae1aa7 Duels: winner message in the Classic layout, with surnames
Live 70938 (sniff 5, 2026-11-16) sends both names of the duel winner
message as zero-terminated strings with 24 bit lengths, then the Fled
bit, both realms and the names. We sent the retail 6 bit lengths, so
the client read our lengths and realms as one 24 bit length, so the
names in the duel result line could not be read right. Live also sends each name with
its surname ("Name Surname"); ours now does the same.
2026-11-16 12:56:22 +00:00
Karrz1 40408a59c5 Core: a reload reads the config directory again
LoadAdditionalDir kept the names of the files worldserver.conf.d held at
startup, and Reload read only those. A file added to the directory later was
never read by `.reload config` (it needed a restart), and a file removed
from it made every later reload report an error.

The directory itself is now kept, in its place in the load order, and every
reload lists it again in name order: a new file is read, a removed one is
dropped. Files added one by one with keepOnReload are kept as before. The
order stays worldserver.conf, base files, additional files and directories
in the order they were added, environment.
2026-11-16 12:56:22 +00:00
Karrz1 d647826394 Add the 16 Nov live hotfix records and the live First Aid trainer list 2026-11-16 12:29:30 +00:00
Karrz1 d0ced908fa Spells: Pick Pocket on empty pockets says "There is no loot."
A low-level rogue's Pick Pocket often makes an empty loot: the money is
10 x (0..mob level / 2 + 0..player level / 2) copper, so both rolls can
be 0, and the Tirisfal Scarlets' item chances add up to about 28%. The
empty loot was sent as is, the client showed nothing, and the next try
on the same mob said "already pickpocketed" (Discord 11-16, undead
rogue in Tirisfal). An empty pickpocket now answers with the client's
own "There is no loot." error; the pockets stay picked until the refill
timer, as before.
2026-11-16 12:18:56 +00:00
Karrz1 e29b5b1438 Pets: a hunter pet swings at 2.0 s and keeps its wild speed through a Faster / Slower Attack passive
The 1.60 client has ten hunter pet passives (skill line 270): Faster
Attack I-VII (+17 .. +100% attack speed) and Slower Attack I-III (-17,
-20, -26%). On a 2.0 s pet they give exactly the common wild speeds,
1.7 .. 1.0 s and 2.34 .. 2.52 s. Our pets kept the beast's wild speed
as their base swing time instead, so the pet frame showed a raw speed
and no passive.

A hunter pet now has a 2.0 s base swing and learns the passive nearest
to its beast's wild speed (by ratio; 0 or 2.0 s: none) as a family
spell, so it is not saved and comes back on every summon. Attack power
still counts per second of the wild speed, so a pet's damage per second
is what it was: Frenzy and other haste still add to it.

Dev world DB 11-16, tameable beasts by wild speed: 2.0 s or none 11110,
1.5 s 275, 1.0 s 38, 3.0 s 37, 1.3 s 33, 1.2 s 17, 1.4 / 1.6 / 2.4 s 16
each. The 3.0 s beasts (and a few odd ones) take the nearest step, so a
3.0 s pet swings at 2.52 s now.

Idea from the Everlake core (GPL), written as our own code; the credit
is in NOTICE.md.
2026-11-16 12:18:56 +00:00
Karrz1 87c9dc685c PlayerbotV2: raid healers put Brilliant Mana Oil on their weapon
Healer bots never used a weapon oil: the damage casters get Brilliant
Wizard Oil, and the healers' pick named in its comment did not exist.
Brilliant Mana Oil (20748) gives +12 mana every 5 s and +25 healing for
30 minutes, about 720 mana over a 5-minute boss fight, a tenth of a raid
healer's pool. Nefarian 11-14: ten healers at 18% mana when he landed.

The healer raid kit stocks five (stock only, like the casters' oil and
potions), and idle:classic_weapon puts one on the main hand while it
carries no temporary enchant or under a minute of one. A Restoration
shaman that has the oil, or wears it, puts no imbue on the main hand: a
Rockbiter or Flametongue Weapon heals nothing and would replace the oil.
2026-11-16 12:17:59 +00:00
Karrz1 62156120fd Creature AI: VMaNGOS events missing from converted creatures
The VMaNGOS conversion dropped some events from creatures it did convert:
- Deadwood furbolgs: when one dies, the closest Deadwood Avenger in
  10 yards enrages with its emote.
- Twilight cultists in Silithus: when one dies, the closest Twilight
  Avenger in 10 yards casts Vengeance with the same emote.
- Hederine Slayer: Execute on a victim below 20% health.
2026-11-16 12:17:59 +00:00
Karrz1 2afc675dc5 Creature AI: VMaNGOS events the conversion left out, for 16 creatures without any AI
The VMaNGOS conversion (2026_09_28_15) skipped 228 creature_ai_events that VMaNGOS added or rewrote in its
2021-2026 migrations; 26 of those creatures have no AI of ours at all. The 16 with plain events are ported:
aggro lines (Marzon, Lillith Nefara, the Barov servants), flee at 15% (Dark Iron Ambusher, Wastewander
Scofflaw), Shadowy Assassin turning hostile, Silithid Swarm despawning after combat, Deepmoss Matriarch's
emote, the Darrowshire Poltergeist's talk, the Mortar Team dummies' Quiet Suicide, Spirit of Redemption's
body despawning, the Demon Portal and Enraged Felguard, the Lunar Festival Reveler's cheer. The ones that
need VMaNGOS conditions or are patch-gated are listed in the SQL and left for later.
2026-11-16 12:17:59 +00:00
Karrz1 43db564836 Build: compiles with clang 18 (Store purchase struct, missing includes)
clang refused WorldSession's Optional<ShopPendingPurchase>::emplace() in TokenHandler.cpp: the struct
was nested in WorldSession with default member initializers, so where the Optional member is declared
the struct is not yet default-constructible, and clang keeps that answer. GCC and MSVC accept it. The
struct now sits outside the class.

A clang pass over every game source without the precompiled header also found five files that relied
on it for an include: StatSystem.cpp (ClassicSpellValue.h), TokenPackets.h (Optional.h),
TraitPacketsCommon.cpp (Util.h), ClubMembershipService.cpp (Log.h), RecentAllies.cpp (Packet.h).
2026-11-16 12:17:59 +00:00
Karrz1 a09633b942 SmartAI: converted point arrivals wait for motion type 8, not 9
Six rows from the VMaNGOS EventAI conversion waited for MOVEMENTINFORM type 9, which is FLEEING in
this core; a MovePoint arrival reports type 8, so they never ran (same fault as Whitemane, 2026_11_12_35).
Deathstalker Vincent now lies down where he walks to (his move also used point 0 against an arrival on
point 1), the Theramore Sentries of The Missing Diplomat despawn after running off, and Lanti'gah
emotes at the bunker. The Grim Guzzler patrons get the same correction; nothing moves them to their
point yet.
2026-11-16 12:17:59 +00:00
Karrz1 5b6ef0ec40 Holidays: keep the event's length when the client gives no duration; Noblegarden runs again
SetHolidayEventTime dropped any holiday without a duration for stage 1, so its dates were never used.
The Forever client's Noblegarden (Holidays 181) has a date every spring and no duration at all. The
client's duration still wins when there is one; when there is none, the game_event row's length is kept.

Event 28 owns the 192 Noblegarden objects but had no start, no end and no holiday, so it never ran.
2026_11_16_00 links it to holiday 181, stage 1, with the row's 2880 minute length.

The missing-duration case was reported by the Everlake core (GPL),
github.com/buildthehomelab/wow-trinitycore-everlake.
2026-11-16 12:17:58 +00:00
Karrz1 2829457380 Omarion: teach the Naxxramas recipes with the trainer spells the client has
Craftsman Omarion cast the recipe spells 28212, 28213 ... to teach his 13 Argent Dawn patterns. All of
them but 28245 are missing from the Forever client, so the cast failed and 12 of the 13 recipes could
not be learned. He now casts the trainer spells 28251-28263; each one's LEARN_SPELL effect teaches
exactly the recipe of its menu line (checked against the client's SpellEffect data).

Reported by the Everlake core (GPL), github.com/buildthehomelab/wow-trinitycore-everlake.
2026-11-16 12:17:58 +00:00
Karrz1 bea67462d2 Classic teachers: Knot Thimblejack's quest check, transporters on Engineering 202
Knot Thimblejack offered the Gordok Ogre Suit recipes only when quest 5518 was both rewarded and
QUEST_STATUS_COMPLETE. A turned-in quest reads as QUEST_STATUS_REWARDED, so nobody ever saw the lines.

Zap Farflinger and Jhordy Lapforge checked skill line 2506 ("Classic Engineering") for 260. That line
is not in the Forever client, so no engineer could learn the Everlook or Gadgetzan transporter. They
now read Engineering's own line, 202.

Reported by the Everlake core (GPL), github.com/buildthehomelab/wow-trinitycore-everlake.
2026-11-16 12:17:58 +00:00
Karrz1 793588e458 Spells: handle effect 175 as a jump to dest (Feral Charge (Cat) leaps behind the target)
Classic 1.60 client data uses effect 175 for Feral Charge (Cat) 414924
and Spirit Leap 440605, with the same fields as SPELL_EFFECT_JUMP_DEST:
target TARGET_DEST_TARGET_BACK, MiscValue/10 and MiscValueB/10 as jump
heights, amplitude as speed. The server ran it as EffectNULL, so the cat
charge never moved the druid. Name it SPELL_EFFECT_JUMP_DEST_3, run it
through EffectJumpDest, give it a dest target type, the rooted check and
the charge attribute like the other jump effects.
2026-11-16 12:17:58 +00:00
Karrz1 7c979ad659 Spells: Shred, Ravage, Pounce, Backstab, Garrote and Ambush need the caster behind the target
The Classic 1.60 tooltips of these six spells say "Must be behind the
target", but nothing set SPELL_ATTR0_CU_REQ_CASTER_BEHIND_TARGET for
them, so they worked from any side. Mark them by spell family mask
(druid 0x38000, rogue 0x304); the masks match only these spells and
their Forever copies.
2026-11-16 12:17:58 +00:00
Karrz1 fe551379f5 Respawns: optional open-world scaling by real players, off by default
New switch Respawn.DynamicOpenWorld (default 0). When on, ordinary
open-world combat creatures respawn faster when many players quest in
the same zone, using the stock Respawn.DynamicRateCreature and
Respawn.DynamicMinimumCreature settings: with the defaults, timers
start to shrink above 10 players and never go below 10 seconds.

Which creatures count is read from the spawn and its template at
death, so no list of spawn ids has to be kept in step with the world
data: normal rank, on a continent, hostile to players or a beast that
is not friendly to them, and not in a spawn group, a pool or quest
spawn tracking. Elites, rares, bosses, service NPCs, quest givers and
enders, vehicles, triggers and civilians keep their timers.

Bots no longer count as players in the zone count, for this and for
the stock Respawn.DynamicMode, so a zone full of bots keeps the
normal timers.

Idea from SIN's open-world respawn patch; written again here.
2026-11-16 12:17:57 +00:00
Karrz1 0457d93832 Sapphiron wears the classic display 16033, so he can be summoned
His only model, display 113690, has no creature_model_info row and is
not in the 70938 client data: Creature::InitEntry refused him, and every
summon of him returned nothing, his lair's spawn event as well as the
naxx_sapphiron scenario's (1116: the summon at its lair failed). Display
16033 is in the client data with a creature_model_info row, and
Sapphiron (1) 29991 already wears it.
2026-11-16 11:59:24 +00:00
Karrz1 36316accba PlayerbotV2: Playerbot.Interact.AcceptInvitesFrom picks whose invite a bot takes
Playerbot.Interact.AutoAcceptInvites was parsed and never read: bots took
every invite. Every installed playerbot.conf holds friends_or_higher for
it, so making that key work would have started bots refusing strangers on
every realm. The new key AcceptInvitesFrom (anyone, guild, friends, none)
defaults to anyone, which is today's behaviour. The bot's owner and game
masters are always answered and the bots' own invites are not touched.
Friends are the bot's own friend list (whisper it "addfriend <name>"),
guild is friends plus guild members. A refused invite is declined and
logged.
2026-11-16 10:03:02 +00:00
Karrz1 d70d3ee5b6 PlayerbotV2: bot pickup groups break up again
Two world bots that grouped on their own (idle:invite_nearby_player) stayed
grouped until the next restart: grouped bots counted as tied up, outside
the world cap, the spawner never logged them out and the runtime group
hygiene left every pure-bot group alone, so the grouped count only grew
(GitHub #345).

A group a bot's own invite made is now noted as a pickup group
(Fleet/PickupGroups.h). Its bots count toward Playerbot.World.MaxBots, the
spawner breaks it up once none of its bots is near a player (they are then
logged out like any far world bot), and the group hygiene breaks it up at
the end of its 10 to 20 minute life. Never while a member fights, is being
teleported or is in an instance, and a group a player joined is his.
The [world] line counts pickup_groups and how many were broken up.
2026-11-16 09:57:46 +00:00
Karrz1 239bf21e7c worldserver.conf.dist: say what Corpse.Decay does not change
The respawn timer runs from the death (spawntimesecs and
Classic.Respawn.Level*Pct). Corpse.Decay only sets how long the body lies,
except for spawn groups in compatibility mode.
2026-11-16 09:30:11 +00:00
Karrz1 7b847dd3ec PlayerbotV2: a healer under level 10 heals in combat
Under level 10 every bot ran its class's spec 0 rotation, which is the
damage rotation for the druid, shaman and paladin. A healer companion of
those classes never healed its owner during a fight and only healed him
after it, through the out-of-combat heal that goes by role. On the Classic
realm a healer now keeps its healer rotation at any level: each class has
its heal from level 1 and the Classic healer rotations check every spell
before they cast it.
2026-11-16 09:30:10 +00:00
Karrz1 fccd406e48 Stormwind: the Scourge yell is only for an undead player 2026-11-16 07:12:03 +00:00
Karrz1 c926204aa3 Classic client connection group: retail index for 0x450009-0x45000F
The client sends 0x46000A (70938 numbers) right after every SMSG_RESUME_COMMS with a 4-byte client time:
that is CMSG_QUEUED_MESSAGES_END. Our table had these one place too high, so it was read as ENABLE_NAGLE,
which switched Nagle on after each loading screen, and HandleQueuedMessagesEnd never ran.
0x45000F is CMSG_LATENCY_REPORT.
2026-11-16 06:06:05 +00:00
Karrz1 47281587b9 Tests: the raid scenario count checks Kel'Thuzad's own scenario too 2026-11-15 23:51:03 +00:00
Karrz1 6f75a5c2ca Scenario: boss pulls log each raider's threat against the boss's victim
[pull_stats] gains the threat each raider holds on the boss, sampled once a
second: for the boss's victim its threat a second and how long the boss was
on it, for everyone else the peak percent of the victim's threat and the
seconds spent at 85 % or more of it. A DPS bot that sits there is capped by
the tank's threat, not by its rotation, so the line tells which of the two
limits the raid's damage before either is tuned.
2026-11-15 23:25:18 +00:00
Karrz1 85f522a7d2 Westfall, Elwynn and Stormwind: live data from the 11-15 English capture 2026-11-15 23:22:54 +00:00
Karrz1 b3e22257c7 Core: the master looter gets the give-to list even when a bot opened the loot first 2026-11-15 23:05:48 +00:00
Karrz1 88005d9f20 Core: auto loot with full bags no longer gets the player kicked for flooding 2026-11-15 23:04:51 +00:00
Karrz1 548a76325e Bots: a soak anchor is never let go as a companion whose owner left 2026-11-15 22:10:27 +00:00
Karrz1 f070d71e6d Core: a module config file sits below worldserver.conf.d
A module that wants its own config file (playerbot.conf) could only add it
with LoadAdditionalFile, after worldserver.conf.d was loaded. Its keys then
beat every conf.d override, at startup and after every reload, and the
module had to add the file again to re-read it, which put it on top once
more and listed it again for every later reload.

Trinity::Config::LoadBaseFile (ConfigBaseFile.h, kept out of Config.h, which
nearly every file includes) adds a file between the main file and the
additional files: worldserver.conf < base files < worldserver.conf.d <
environment. It rebuilds the config in that order at once, and
ConfigMgr::Reload keeps the order. Loading the same base file again only
reads it again. A file that cannot be read is not kept.
2026-11-15 21:26:39 +00:00
Karrz1 bc6b943603 Bots: one .reload config reloads the bot settings, conf.d wins
`.playerbot reload` re-added playerbot.conf on top of the merged config.
Any key in playerbot.conf then beat the same key in worldserver.conf.d
(test runs set Playerbot.World.SoakAnchors, PlayerbotV2.SnapshotBuildSplitMap
and the like there), so a test setting could vanish on reload. And
`.reload config` alone did not refresh the module's cached settings, so a
run needed both commands.

- playerbot.conf is loaded as a base file: worldserver.conf.d overrides it,
  at startup and after every reload.
- `.playerbot reload` reads every config file again in that order and takes
  the values; `.reload config` now also refreshes the module's settings
  (OnConfigLoad), so it is enough on its own.
- after every load and reload the log, and the `.playerbot reload` reply,
  show the effective ParallelSnapshotBuild, SnapshotBuildSplitMap,
  World.Enable and World.SoakAnchors.

Changes for a realm that has the same key in playerbot.conf and in
worldserver.conf.d with different values: the conf.d value now wins.
2026-11-15 21:26:39 +00:00