Commit Graph
32048 Commits
Author SHA1 Message Date
bozmund e1334a0587 Handle right-click cosmetic appearance unlocks 2026-11-18 10:48:22 +01: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 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 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 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 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 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 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 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 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 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 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 04cc28f8df Build without precompiled headers: Random.cpp, the game utilities services include what they use 2026-11-16 18:18:10 +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 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 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 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 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 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 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 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 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 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 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 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