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.
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.
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).
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.
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.
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.
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.
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).
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.
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.
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.
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.
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.
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.
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).
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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).
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.
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.
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.
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.
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.
A periodic damage tick dropped every fraction: the aura amount was cut to a whole number, so was each part
of the caster's bonus, and so was the result. Rend rank 1 (16 over 9 sec in its tooltip, 5.33 a tick)
dealt 5 a tick, and +12% from Improved Rend rank 1 (5.97) still dealt 5: the talent did nothing visible.
SpellDamageBonusDoneExact computes the done damage without rounding (SpellDamageBonusDone rounds it as
before for every other caller); a periodic damage tick deals the whole points and carries the rest to its
next tick, so the ticks add up to the full amount. The aura's estimated points sent to the client keep
the fraction too. Damage scripts still see whole numbers; a value they change is taken as given.
Reported by arrathem.
Bows, guns, crossbows and thrown weapons took the two-hand column of
RandPropPoints and wands the one-hand column, as on retail. The Classic
1.60 client draws their tooltips from the fifth column (the relic one),
so the server gave far more stats than the tooltip showed: Mithril
Blunderbuss 10508 +17 Agility instead of +5, Ragefire Wand 7513 +4
Intellect instead of +3 (checked with the client's ItemSparse and
RandPropPoints). Every ranged weapon now takes the fifth column. Bot
gear scoring reads the same function, so it follows.
Found by the Everlake core (GPL), written as our own code; credit in
NOTICE.md.
A map thread loads and unloads navmesh tiles between its own path searches,
so its searches never see a half-changed tile. A thread that is not a map
thread (bot logic threads) searches while the map threads change tiles, and
Detour then reads a tile that is being added or freed.
There is now one navmesh tile lock:
- every tile or mesh change takes it exclusively: tile load and unload, mesh
creation, map and instance unload, the dynamic tile swap and the
handcrafted road retag. The file is read before the lock is taken, so only
the change itself waits;
- MMAP::NavMeshReadLock takes it shared for the length of a search, counted
per thread so nested locks are free; a tile change on a thread that holds
one asserts instead of hanging;
- while a ScopedThreadNavMeshQuery is active, GetNavMesh and GetNavMeshQuery
take the read lock for their own lookup, so a mesh or instance being added
on a map thread is never read half-built.
Map threads search without the lock, as before. A thread's own queries are
dropped after any instance unload, so a long-lived thread keeps only the
queries of instances it still uses (about 350 KB each).
A Skyborne at level 60 saw an empty trainer window at Genn Fairweather (Tornn) while the data is the
official one. SendSpells now logs (debug, entities.player) every spell it sends with its state and
every spell it leaves out for class and race, so the window can be explained from the log.
The official realm sends EncounterJournalDisabled (42) = 1, which keeps the Adventure Guide (Shift-J)
closed. Classic.AdventureGuide = 1 sends 0 instead, so the guide shows dungeon and raid boss abilities
and loot. Default 0, as on the official realm.
WorldSocket.cpp used Trinity::Impl::ByteArrayToHexStr without including Util.h. MSVC found it through
the precompiled header; a GCC build without it stops on an undeclared name.
The Network.ConnectionsPerIp slot was held until the WorldSocket object was deleted. The WorldSession
keeps its socket alive until the session itself goes (logout delay, reconnect window), so closed
connections kept their slots, and after 16 of them a player was refused with no connection open.
OnClose now gives the slot back; CloseSocket runs it once per socket.
A refused create only logged "invalid appearance attributes", which cannot tell a client sending
customization choices of another build from options missing in the server's DB2. ValidateAppearance
now logs (debug, entities.player.cheat) which option and choice failed and why. Skyborne creation
was refused for one joined player while Human worked (SIN).
A hunter pet refused food the client says it eats: an item's food type
came only from item_template_addon, which lacks many of the client's
pet foods. The type is now the client's Item.ItemPetFoodID, and the
addon table fills in only an item the client gives none. A food type
outside the family's 32-bit diet mask is no food.
.appear took the close point's height from the ground the map knows at
that spot; on a bridge, an upper floor or in a cave the GM landed far
above or below the target. A close point more than 2 yards off the
target's height now takes the target's height.
Both ideas from the Everlake core and Trixx34's fork, written as our
own code; the Everlake credit is in NOTICE.md.
An appearance was only collected when its item was in ItemSearchName. The Classic client's
ItemSearchName holds only part of the items, and none of the items that come from hotfixes, so
5628 of the 16900 items with an appearance, among them the Ginn-su Sword, never reached the
collection however often they were worn. An item in ItemSparse now counts too. Items already on a
character are added at the next login. Reported by shredxgod.
Every time a bot moves (and on every visibility pass) the core ran
CanSeeOrDetect for each object near it to keep the bot's client guid list,
the list of what its client has in view. Every use of that list in the core
decides a packet: object creates and destroys, area messages, quest giver
status, group member updates. A bot has no client and gets no packets, so
the work bought nothing. In a city with 120 bots that is thousands of checks
a second.
With Bots.SkipClientVisibility = 1 (default) Player::UpdateVisibilityOf
returns at once for a bot and UpdateVisibilityForPlayer clears its list.
What other players and creatures see of the bot is unchanged (that runs on
their side), and so is creature aggro on bots (CreatureUnitRelocationWorker
still runs from the relocation notifiers). 0 turns the checks back on with
.reload config, for timing both ways on one build.
A bot session has no client: BotSession::SendPacket throws every packet
away. The server still built a create, values, out of range or destroy
block for each bot that sees an object, for every changed object, every map
update. On a bot realm nearly every player in view is a bot, so a 40 player
raid wrote each changing unit about 40 times per step for nobody.
With Bots.SkipClientPackets = 1 (default) those blocks are not built for a
bot: BaseEntity::BuildFieldsUpdate, SendUpdateToPlayer, DestroyForPlayer,
SendOutOfRangeForPlayer, Player::UpdateVisibilityOf, VisibleNotifier and
SendInitialVisiblePackets return before writing anything for it. The
player's client guid list (HaveAtClient) is still kept exactly as before, so
group, spell and visibility rules see no difference. Human players are not
touched. 0 builds them as before, so the same build can be timed both ways
with .reload config.