Commit Graph
91 Commits
Author SHA1 Message Date
Karrz1 d5a8027379 Bots: sell soulbound gear they have outgrown
A bot kept every soulbound piece it ever replaced (old quest rewards,
dungeon drops, the old weapon). They cannot go to the auction house or
be traded, the equip rule never puts them back on, and they filled the
bags until the bot could not loot.

A vendor visit, and the bag clearing a bot does with no vendor near, now
also sells such a piece when it is outclassed in every slot it could go
in: each holds a piece of the same kind (no two-hander against a
one-hander) that scores at least 5% higher for the bot's class and spec
and has at least its item level. An empty slot or a close call keeps it.
Never epics, quest or account-bound pieces, a piece still tradeable to
the group, shirts or tabards, and nothing while resistance gear or the
Onyxia cloak is worn or inside an instance.

Playerbot.Behavior.SellOutclassedGear (default 1).
2026-11-12 09:21:30 +00:00
Karrz1 89a0da4ea0 Bots: "accept" also takes quests that start from an item in the bags
A bot that loots a quest starting item (a letter, a head, a wanted note)
already took that quest by itself after a few seconds. Now the owner's
"accept" (and the AI bots bridge's accept) takes it at once as well, from
the item, the way a player right-clicks it, and says so. A refusal gets
its reason like any other accept. The snapshot keeps the item's guid so
the accept can name the item as the quest giver.

Quest objects (wanted boards, chests that give quests) were already in
the bot's offers and need nothing new.
2026-11-12 09:21:29 +00:00
Karrz1 6d00bb73ca Bots: say why a quest could not be taken
When a player tells a bot to take a quest ("accept", the AI bots bridge,
or a quest shared with the group) and the server refuses it, the bot
used to go quiet. Now it whispers the reason: level too low or too high,
not for its class or race, the quest before it not done, already done
or in the log, another quest rules it out, daily not reset yet, quest
log full, no bag room for the quest item, giver gone or too far, turned
off on this server. A named quest that nobody near offers gets the same
reason when the bot could not take it anyway.

The reason is the first of the server's own accept gates that fails,
checked without a message to the bot's client. The bot's own questing
stays quiet. Russian lines included.
2026-11-12 09:21:22 +00:00
Karrz1 852c3ff582 Merge forever (0.1.36) into forever-bots 2026-11-13 10:55:56 +00:00
Karrz1 8b4422e490 Spells: Revive no longer crashes the server
A spell whose target type is "an ally's corpse" (TARGET_CORPSE_TARGET_ALLY)
asked for no explicit target unless its SpellTargetRestrictions row said so.
Druid Revive (437138, and 1237948-1237951) and Reintegration (430318) have no
such row, so the server dropped the dead player as the target, and when the
cast finished it hit the assert in SelectImplicitTargetObjectTargets: the
world server went down on every Revive (report and crash dump from the
#bug-reports thread, 2026-11-12). The target type itself now asks for an
ally corpse or an unreleased dead player, as the other resurrections do.

New test CorpseTargetExplicitMask (new file: cmake reconfigure needed).

(cherry picked from commit 5486906812844dfe48c2967692ee954573008dea)
2026-11-13 02:23:30 +00:00
Karrz1 26ae994422 Guild charters keep the whole guild name
The classic client sends the charter title with an 8 bit length, as the
server's own charter query reply does. The server read 7 bits, dropped the
last bit and so kept only half the name: "Knights of Valor" (16) became the
guild "Knights " (8). Reported in #bot-feedback.

New test PetitionBuyLayout (needs a cmake reconfigure for the new file).

(cherry picked from commit 6bef18515d5e4af999c1f512e37fe85ae3117e27)
2026-11-13 02:17:45 +00:00
Karrz1 db7a313d94 Bots: talent links of Wowhead's current Forever trees; bot builds keep the row rule
Checked against Wowhead (T4, 11-12): its Forever calculator writes the tree version as a
word now ("vkndmh"), and moves an older "v2" link to it. It then dropped talents from the
links our bots printed, because the bots held talents in rows their own tab had not opened
(an Arms warrior's Anger Management on 9 Arms points, a mage's Arcane Subtlety with no point
in the top row). The Forever trait data opens a row by the points of all three tabs, so the
game let our builds through; a player's talent frame and Wowhead do not.

- TalentCode: reads "v<word>" as well as "v<digit>" in front of the code; links are written
  with the current version ("vkndmh...<code>_t0") so they open as they are; RowsOpen checks
  the talent frame's row rule (5 points per row above, same tab).
- PlayerbotAPI: the talent walk keeps that rule for our builds too
  (Playerbot.ClassicTalents.RowsPerTab = 1, new; 0 = as before), and always for a code the
  owner gives. A bot that holds a build which breaks it is walked once more.
- Tests: the vkndmh links, and the bot builds Wowhead dropped talents from.
2026-11-12 17:04:11 +00:00
Karrz1 a799ec37ec Bots: change talents <Wowhead link> learns the owner's own build
Asked on Discord #bot-feedback (Dumpins, 11-12), as ike3 bots' talents order: make the
talents in the Wowhead Forever talent calculator, whisper the bot "change talents <link>"
(or the code alone) and it learns that build.

- Api/TalentCode.h: reads the calculator link or code (class word, "v2" version, the
  "_t0/..." tail skipped), checks it against the class's tabs (talents per tab, ranks,
  5 points per row, 51 points), writes a build back as a code and a link, and gives the
  levelling order (the tab with most points first, row by row).
- ClassicSpec: GetTalentTabs lays the class's three tabs out from the trait data the way
  the calculator does (tabs left to right, rows 600 apart, talents left to right; hidden
  off-grid nodes left out). Checked against the 70862 client data for all nine classes.
  The owner's code per bot (SetTalentCode / GetTalentCode), and InferSpecFromRanks so the
  rotation and role follow the build.
- PlayerbotAPI: apply_classic_talents learns the owner's code instead of our build when one
  is set; the old talents go, the ranks are bought in the levelling order and each new
  level's point goes on down the build.
- BotCommandParser: "change talents <link>" (also "set talents", "talents <link>"),
  "talents link" (the bot's talents as a calculator link), "talents default" (our builds
  again); setspec clears the code. Refusals say why (another class's link, a code that does
  not fit the trees). Russian replies in BotLocaleRu.
- OwnerRegistry + migration 0040: a companion's code is kept across relog and restart.
- .playerbot talentcode <Name> [<link or code> | clear] (GM, console): the class's tabs as
  laid out, sets the code, walks at once and prints the code the bot then holds, so it can
  be tested with world bots and nobody in game.
2026-11-12 14:22:09 +00:00
Karrz1 ac7d9cfb62 Merge forever (a Bane and a Curse stand on one target together) into forever-bots 2026-11-12 04:34:29 +00:00
Karrz1 aa3ec68731 Warlock: a Bane and a Curse stand on one target together
azeldof (Discord, 11-09): Bane of Agony and Curse of Weakness pushed
each other off the target. The Forever client renamed Curse of Agony and
Curse of Doom to Bane, and the tooltips say so: the 7 Bane spells read
"Only one Bane per Warlock can be active on any one target", the 23
Curse spells read "Only one Curse per Warlock". The core only knew the
Cataclysm Bane of Havoc (80240) as a bane; every other bane dispels as a
curse and so fell into the curse group, one per warlock per target.

Bane of Agony 980/1014/6217/11711/11712/11713, Bane of Doom 603 and
Forever's Bane of Havoc 1225228 are now banes. Two banes still replace
each other, and two curses still do.

This reverses the 10-26 rule (afb14d2c8c) that made 603 and 980 curses
as vMaNGOS does: that is the vanilla rule, the Forever client's own
tooltips draw the line between Bane and Curse. The ClassicAuraExclusivity
test changes with it: the banes are SPELL_SPECIFIC_BANE, a bane and a
curse are not exclusive, two banes and two curses are.

The warlock bot rotation already counted on this (its raid curse and
Bane of Agony are cast side by side), so raid warlock bots keep both.
Not seen in a test yet.

(cherry picked from commit 73df44d7b112e4e92f0e699f99b768640ecc946e)
2026-11-12 04:31:39 +00:00
Karrz1 964a8bf8b6 Bots: the world chatter, channel and guild lines in the reader's language
A Russian client read the bots' replies to it in Russian, but everything the bots say among themselves arrived in English
(Discord, fox: "in the group they answer in Russian, between themselves they speak English"). Two causes:

- The stock chatter lines (playerbot_v2_bot_text, migration 0019: suggest_*, taunts, loot and kill lines, replies, emote
  answers) had no Russian at all. RussianChatterEntries now carries a Russian line for each one the bots speak, written with
  the database's own placeholders; Catalog::AddChatter turns them into templates. Placeholders filled with a chat link, a
  number, money or a name become narrow captures, so a short line ("got %item_link", "hey %s") never takes an unrelated line
  that only starts the same way. The LFG calls and whispers (ChannelTalk) and the guild small talk (GuildRules) are added to
  the code catalog, with the faction and reputation words the chatter names.
- Channel lines (General, Trade, LookingForGroup) went out through Channel::Say and guild lines through
  Guild::BroadcastToGuild, one text for every member. Both gain an overload that takes the text per member, with the same
  checks and one packet per distinct text; BotLanguage::ChannelSay / GuildSay give each member the line in their language.

Item, zone, instance and creature names stay as the server has them. Unit tests: every chatter line keeps its placeholders,
sample lines, and short lines that must stay English. `.playerbot langprobe <line>` shows the Russian a running build gives.

(cherry picked from commit 27d6ec820804089f399802e98e155ed9fe76c72f)
2026-11-12 00:47:01 +00:00
Karrz1 b065962f8d ZG: scenarios for the four Edge of Madness bosses
Gri'lek, Hazza'rah, Renataki and Wushoolay had fight scripts but no
scenario, so none had ever been run. The instance brings out one a lockout
(the Brazier of Madness, game events 29-32), none has a creature row, and
the instance's own summon is off (SpawnRandomBoss, as in VMaNGOS). Each
run now summons its boss at the spot that summon used, in front of the
brazier (-11901.45, -1906.34, 65.37), the way zg_arlokk summons Arlokk.

sweep-zg.ps1 runs all thirteen ZG bosses by default.

(cherry picked from commit 34ea42653b7c68bc96dd7dfe5f049b3e0affa53c)
2026-11-11 23:44:09 +00:00
Karrz1 8d2d35a955 Raid: a raid leader bot who reacts to mistakes, and wipe banter
In a raid or party with a real player, one bot leads the chat (the group
leader if that is a bot, else an assistant bot, else the first bot) and
reacts the way a real raid leader does:

- standing in fire or another bad area ("Karrz GET OUT OF IT"),
- a cast nobody kicked ("NOBODY KICKED Shadow Bolt??"),
- a broken crowd control, named when the server saw who hit it,
- an extra pull ("WHO PULLED THAT. adds on Brok").

After a wipe one or two other bots answer: blame, excuses, "my bad" (the
one who died first speaks for himself). The kill gets a "gg".

Playerbot.Raid.Banter: 0 off, 1 mild (teasing, the default), 2 harsh (a
leader who freaks out at every mishap). Game mistakes only, in good fun:
never about the person, never a slur. Rate limited per raid: one line every
20 s (10 s on harsh), the same mistake once in 45 s, the same raider once
in 90 s. In a party of 15 or fewer with PartyBanter on, the wipe and kill
lines stay the companions' own.

No model needed: every line has a fixed form, mild and harsh, with Russian
for Russian clients. With the bot bridge answering chat, a new raid_line
event asks the program for the line in the bot's own words; an answer not
back within 2.5 s is dropped and the fixed line is said, so the raid never
waits. The example program answers it with the main model only, a short
prompt and a few tokens, and its filter still removes slurs whatever the
realm's swearing setting.

(cherry picked from commit d7681e0a2d91d5186d6849804be2a31b874330b8)
2026-11-11 23:44:07 +00:00
Karrz1 a7feec8180 Raid: the player's boss tactics in plain words, kept per boss
"tactics Lucifron: adds first, no aoe, no fear, tank here" in party, raid,
a whisper or a ';' line. The plan is kept for that boss (per account, across
restarts) and the bots follow it every time the boss is in the fight:

- adds first: the damage dealers leave the boss to the tanks while one of his
  adds is up; boss first: they stay on him and the tanks keep the adds.
- no aoe: no spell that hits more than one enemy in that fight.
- no fear / no sheep / no banish ...: that crowd control is not elected and not
  cast in that fight, on top of the owner's standing orders.
- tank here: the tank holding the boss drags him to where the player stood,
  never into a hazard and not where the raid rules already place the tank.

"tactics: boss first" uses the targeted boss, "tactics Lucifron" shows his plan,
"tactics" lists all, "clear" drops one. Names can be short ("geddon") and a plan
can be set from outside the raid. No model is needed; with the bot bridge on, a
free sentence becomes the same order ("tactics ..." is one of its safe orders).
Plain party chat that only starts with the word stays chatter. Russian clients
get the answers in Russian.

New table playerbot_v2_owner_tactics (migration 0039).

(cherry picked from commit 99f77b0b0e04ec83c2b0da6f13c5f274523c7245)
2026-11-11 23:44:07 +00:00
Karrz1 a5216cd0f1 Raid: bots call out what they do in raid chat, like players
"Living Bomb on me, running out", "taunting Flamegor", "Polymorph on
Flamewaker Healer, don't break it", "spread out", "wipe, run back to the
entrance". The line comes from the raid brain's own decision at the moment it
changes, so no model is needed and it works on every setup.

Rate limited so raid chat reads like players: one line per bot every 6 s,
the same line from one bot every 20 s, a raid-wide call (spread, wipe, dance)
once per 45 s, and at most 5 lines in 20 s for the whole raid. Only groups
with a real player hear them. Russian readers get the lines from the catalog.

Playerbot.Raid.Callouts = 0 turns them off (default 1).

(cherry picked from commit 0dd07cdb2197ec7fa04b407988f99751dce99ca7)
2026-11-11 23:44:07 +00:00
Karrz1 a0a4bcff86 ZG Hakkar: the raid stays on his platform, the Son is pulled up 45 s early
Both zg_hakkar runs of sweep-zg-1109z and run 1 of 1109w failed the same way:
Hakkar evaded (88%, 34%, 47%). He leaves the fight below z 45.8, and the
Sons of Hakkar stand below his platform (z ~41).

- 1109z run 2: a healer with Corrupted Blood ran from the platform (z 52.9)
  down to z 40.8, woke a Son there, the off-tank went down for it with
  Hakkar after it. A carrier run now ends on the carrier's own floor
  (within 4 y up or down).
- 1109w run 1 and 1109z run 1: the off-tank walked down to take a Son;
  Cause Insanity wiped the main tank's threat, Hakkar turned on the
  off-tank and followed it down. No tank walks down to a Son now: a hunter
  (else a mage, else a warlock) pulls it with one shot and keeps it
  (RaidOrder::keep_aggro: no Feign Death, Vanish or Fade, which made the
  Son leave the fight in 1109y) while it walks the Son to its tank on the
  platform, where the off-tank picks it up.
- The Son was still at 100% 7 s before the siphon (1109w run 2): the kill
  window opens 45 s before Blood Siphon instead of 25 s. Poisonous Blood
  lasts 90 s, so a Son killed then still covers the siphon.

(cherry picked from commit fbfb48c9ad5ada536fc68eea96f39e8f282a3580)
2026-11-11 23:37:52 +00:00
Karrz1 d824c9e6c2 Bot bridge: "what are you doing?" gets the bot's real activity
The model only had the zone and the first quest of the bot's log, so "what are you
doing?" or "where are you going?" got a made-up answer.

- chat_in carries "doing": dead, fighting <target>, on a flight, an owner's order
  (following you, waiting here), else the bot logic's last rule in a player's words
  (ActivityFromRule: doing a quest, on the way to a vendor to sell junk, checking my
  mail, in a dungeon run, killing mobs for xp, running errands in town...), with "on
  my mount". Nothing when the rule is not something a player would tell.
- The program tells the model to answer from it and invent nothing else.

(cherry picked from commit 11d5f4ede73fc82e42d7b75a3ef9c4d92eb6a9e7)
2026-11-11 23:37:46 +00:00
Karrz1 8d26e53319 Bots: "sell junk" sells everything a vendor takes, and sells on arrival
Gun's bags were full and "sell grey" only looked at grey items ("nothing grey to
sell"), only found vendors within 60 yards, and asked to be told again on arrival.

- sell grey / sell junk / sell your junk counts what a vendor visit really sells
  (CountBagRot: greys, trade goods for no profession of the bot's, gear it can't use,
  outgrown greens when the bags are tight), and says so when there is nothing.
- No vendor selected or in the bot's 60 yard scan: the nearest friendly vendor within
  200 yards.
- Farther than 5 yards: the bot walks there and sells once it arrives
  (TickVendorRuns, once a second), or says after a minute that it could not get there.
- "sell junk" is one of the program's safe orders, and the full-bags rule in its prompt
  uses it.

(cherry picked from commit 15e2eb0cc58096621ac68b9374a7edf1f36fb542)
2026-11-11 23:37:46 +00:00
Karrz1 0d49e4e094 Bots: a party order the bot commands don't know goes to the whole group
"all go to the bank and wait" in party went through the bot command parser, which
doesn't know it, and nothing happened (Gun, 2026-11-09).

- An addressed party or raid line ("all ...", "everyone ...", "<bot name> ...", or the
  ";" form) that the parser does not know goes to the bridge's program when it answers
  chat with actions on: as a group order for all the sender's bots in the group, or as
  an order to the one bot named. A role prefix ("tank: ...") stays the parser's.
- The program picks one action and one short line for the group; one bot answers, and
  every other bot runs the same action 300 ms apart, each with its own checks. A ref
  from the answering bot's NEAR list is given to each bot for the same thing.
- Group actions: moving, stopping, fighting, emotes, orders, steps and signing a
  charter; a trade, a spell or a quest stays one bot's.

(cherry picked from commit 54a0d1fd491944957c3227b934473260fbb00052)
2026-11-11 23:37:46 +00:00
Karrz1 07cb8352e7 Bots: say a line only when it is true; full bags end a craft order plainly
Gun answered "trade the water please" with "I couldn't make that (no item came out),
sorry." and then "here's your water", and no trade opened. His bags were full.

- The server runs a reply's action first and then says the line: unchanged when the
  action worked, nothing when the action speaks for itself (a mage conjures first),
  and a short "Sorry, ..." with the reason when it was refused.
- A craft order with full bags says "My bags are full, so I can't make ..." instead
  of four refused casts and "no item came out". YOUR BAGS tells the model the free
  slots, or that the bags are full.
- The program shows the model its spells on every chat (they were only shown after a
  channel post), understands "trade water" and "cast water", turns conjured water or
  food for the player into a trade, and asks the model once more when its action
  can't happen instead of saying its promise anyway.
- Craft orders understand the 12.x client's item links.

(cherry picked from commit 1e512d7f3ea499ffd1a60b07113b36c12177a726)
2026-11-11 23:37:43 +00:00
Karrz1 d8c95c133e Bots: Shadowglen starter bots take their quests again and stop running up trees
Starting quests: two drops of a quest goal by any bots blocked that quest
for the whole fleet for 30 minutes, renewed by every new drop. In 0.1.34
this hit The Balance of Nature (456), the first Shadowglen quest, and with
it every quest after it: 40 bots of level 1 to 5 stood with empty quest
logs and wandered. Now three different bots must give up within 10
minutes, a starting-zone quest (bot and quest at level 10 or below) is
never skipped for other bots' drops, a bot keeps working on a quest it
already holds, and a companion takes the quest its player holds.

Trees: a wander or walk step at the bot's own level was moved up onto
Aldrassil's roots and branches (the NoPath retry probing from 50 y above,
the midpoint retry, and the far-end snap up to 39 y higher). Open world
only, a goal is no longer moved 8+ y above the asked level onto a model;
a hill is terrain and still counts. Logged as [goal_on_model].

(cherry picked from commit b38b591eeffaa79eb3985c3bb95d397f1f369f83)
2026-11-11 23:37:42 +00:00
Karrz1 da83cfc03f Tests: no hired bot policy test in the core
The hired bots are not part of this core, so their policy test is gone from the test list.
2026-11-09 17:35:58 +00:00
Karrz1 312fdf59e4 PlayerbotV2: no hired bots and no bot arenas
The hired bots (hire brokers, Playerbot.Hire.*, .bot hire, the add-on's hire panel) and the bot arena play
(.bot arena, arena bot teams, the add-on's arena buttons and the Ring of Law arena script) are taken out.
Neither is Blizzard content. The stock TrinityCore arena code and the bot module's arena tactics stay.
2026-11-09 17:35:58 +00:00
Karrz1 ff699fb5cf Sync with WoW Forever 0.1.34: Blizzlike core
Brings forever up to date with our 0.1.34 code for the WoW Forever client 1.60.1.70862.
Blizzlike only: fixes from real game data (packet captures, live hotfixes, player caches, Wowhead and Questie data,
VMaNGOS for the vanilla world) and server fixes. No custom items or custom content; every rate and option defaults
to Blizzard's behaviour.

What is new since 2ae1313e, in short:
- Clients 70790, 70840 and 70862: message numbers, mail, guild window, charters, contact list, add-on whispers.
- Crash and exploit fixes: guild ranks, loot of emptied veins, quest lookups, taxi mask, battleground templates,
  vendor free buys, item sell price, auction house, falling out of the world, bnetserver request limit.
- Classes, talents, pets and buffs from the live game data and Blizzard's hotfixes of November.
- Quests, NPCs, spawns, trainers, loot, fishing, events, Merchant's Favor crates and writs, sealed crate turn-ins.
- Dungeon and raid scripts (Molten Core, Blackwing Lair, Zul'Gurub, Ahn'Qiraj, Shadowfang Keep, Deadmines ...).
- Pathing fixes that help pets and NPCs.
- Russian creature names, quest titles and quest texts.
- README: Blizzlike stance, branches, repack.
2026-11-09 17:27:57 +00:00
Karrz1 b5f1d43560 Merge forever (sync with WoW Forever 0.1.34) into forever-bots
forever-bots is forever plus the optional player bots module (src/modules/PlayerbotV2), now at our 0.1.34 bot code:
dungeon and raid tactics (BWL Nefarian, Zul'Gurub), pull back, ships and zeppelins, gear trading, orders in party chat,
autosave every 15 minutes, the ForeverBots add-on 0.6.20 and the Playerbot.Enable master switch.
World PvP bots and the optional bot chat program are in the module but off by default.
2026-11-09 17:27:57 +00:00
Karrz1 4e89af1ef2 Groups: a raid of a player and bots goes back to a party when it fits one
Report (Beastmade): no kill credit for Lieutenant Benedict with 1-2 bots in
the group, credit as soon as he left it and killed him alone.

A group turns into a raid when the fifth bot joins, and nothing turns it
back. A player who once had five bots kept a raid with one or two left, and
a raid group gets no progress on normal quests.

Every 5 seconds a raid with a player and at least one bot, 5 members or
fewer, and nobody on a raid map is converted back to a party. Battleground
and dungeon finder groups, and raids of only players or only bots, are left
alone. Rule in BotGroupRules::RevertBotRaidToParty with unit tests.
2026-10-27 20:18:14 +00:00
Karrz1 49115e3f77 Groups: the player in a group with bots keeps loot rights and quest credit
Report (Beastmade, 0.1.22): some mobs cannot be looted with bots in the group,
and kill quests give no credit.

Calling a fifth companion turns the party into a raid. Three rules then
worked against the player:
- A raid group cannot progress or take normal quests, so kills gave no
  credit and quest givers hid their quests.
- Outside raid maps a tap covers only the tapper's subgroup, so a bot in
  another subgroup tagging first left the player with no loot on the corpse.
- In dungeons the round robin turn passed to bots. A bot led by a player
  takes only its quest drops, so the corpse stayed locked to it.

Groups with bots now:
- apply the raid quest rule only with more players than a party holds;
- share every tap with all players of the group;
- give round robin turns to players while one is near the corpse.

Groups without bots behave as before. The rules are in BotGroupRules.h with
unit tests (ClassicBotGroupRules).
2026-10-27 20:18:14 +00:00
Karrz1 646fcbe814 Merge forever into forever-bots 2026-10-27 20:18:14 +00:00
Karrz1 ff04fe72fa Network: connections per address and login timeouts
Nothing limited how many connections one address could hold open, and a connection that never logged in stayed open for good, on both servers. worldserver: Network.ConnectionsPerIp (16; a player uses two) and Network.AuthTimeout (60 s to log in). bnetserver: Network.ConnectionsPerIp (16), Network.HandshakeTimeout (30 s for the TLS handshake) and Network.LoginTimeout (600 s to log in). 0 turns each off, and connections from the server's own PC (loopback) are never limited, so the local launcher and a single-PC realm are unaffected. The count lives in Trinity::Net::IpConnectionLimit (common/network), with a test.
2026-10-27 15:04:16 +00:00
Karrz1 a6801113e2 Bots: healers use mana items only at 30% mana or below, and a mana user led by a player says it is drinking (#104)
Reason: both priests of a group spent their mana potions at 71 to 81% mana, and they were on cooldown when the bar ran dry 80 s later. A player could not tell why a group was waiting while a healer or caster drank.

Why: the mana items share a 2-minute cooldown, and the ceiling above which a healer does not look for one was 85%.

Fix: the ceiling is 30% (kHealerManaItemCeilingPct). A healer or caster in a group with a player that sits to drink below 80% mana says drinking in party chat (three plain variants, at most once a minute); both drink paths announce (Bot/DrinkSay.h, DrinkSayRule.h, test in tests/game/ClassicDrinkSay.cpp).
2026-10-23 18:56:17 +08:00
Karrz1 f8067cf820 Bots: no riding and no mounts below level 40 (#98)
Reason: bots made by earlier builds, or taught by a retail trainer pass, could hold riding skill and mounts below level 40, and riding 150 at levels 40 to 59.

Why: vanilla gives riding at level 40 (75, the normal mount) and at 60 (150, the swift mount); the rule was spread over the setup code and the login correction.

Fix: Bot/World/RidingTier.h is the one rule (none below 40, 75 from 40, 150 from 60). Setup uses it, and the login correction removes the riding skill and every mount spell from a bot under level 40 (vanilla realm only). Unit test in tests/game/ClassicRidingTier.cpp.
2026-10-23 18:55:25 +08:00
KylRikul 4b0d1242f1 test: cover incremental commits and validation safeguards 2026-10-08 19:49:52 +02:00
Advocaite 3dc19a1fee Merge pull request #14 from KylRikul/codex/forever-caster-control-overlap
Check overlapping caster control effects before allowing a spell
2026-10-08 18:29:24 +08:00
Advocaite a2ce325f59 Merge pull request #17 from KylRikul/codex/forever-shadowburn-death-aura
Arm native Shadowburn death-item aura before its killing damage
2026-10-08 18:29:20 +08:00
Advocaite 5b7d93ca57 Merge pull request #15 from KylRikul/codex/forever-pet-follow-position
Keep hunter pet follow and recall positions consistent
2026-10-08 18:29:16 +08:00
KylRikul ef725658da Arm native Shadowburn death-item aura before its killing damage - regression coverage 2026-10-08 12:26:05 +02:00
Advocaite 24ef35397d Merge pull request #13 from KylRikul/codex/forever-sentry-aura-cleanup
Remove the owner-cast Sentry aura when its current totem despawns
2026-10-08 18:23:28 +08:00
Advocaite e5bfbce78a Merge pull request #9 from KylRikul/codex/forever-power-index-guard
Guard class power lookup against invalid resource indices
2026-10-08 18:23:20 +08:00
Advocaite aa496eb70e Merge pull request #7 from KylRikul/codex/forever-temporary-enchant-visuals
Show temporary weapon enchant visuals and refresh them on changes
2026-10-08 18:23:16 +08:00
Advocaite f77c59ee62 Merge pull request #6 from KylRikul/codex/forever-paladin-aura-exclusivity
Enforce native Paladin aura exclusivity per caster
2026-10-08 18:23:11 +08:00
Advocaite 111ac44daf Merge pull request #5 from KylRikul/codex/forever-pet-scale-interval
Fix pet family scale interpolation interval
2026-10-08 18:23:07 +08:00
Advocaite 7d615c290e Merge pull request #4 from KylRikul/codex/forever-summon-level-fallback
Preserve companion levels when summon scaling limits are absent
2026-10-08 18:23:03 +08:00
Advocaite e688b71cc4 Merge pull request #3 from KylRikul/codex/forever-dispel-immunity-mask
Fix dispel immunity mask comparisons
2026-10-08 18:22:59 +08:00
KylRikul e25af384ec Keep hunter pet follow and recall positions consistent - regression coverage 2026-10-08 12:21:36 +02:00
KylRikul a2e2bd81cf Check overlapping caster control effects before allowing a spell - regression coverage 2026-10-08 12:19:01 +02:00
KylRikul e258978d66 Check overlapping caster control effects before allowing a spell - regression coverage 2026-10-08 12:18:56 +02:00
KylRikul a159b59cd2 Remove the owner-cast Sentry aura when its current totem despawns - regression coverage 2026-10-08 12:17:25 +02:00
KylRikul e6a4e6d4dd Roll and cast each combat enchant effect only once - regression coverage 2026-10-08 12:16:28 +02:00
KylRikul 6c08e13406 Guard class power lookup against invalid resource indices - regression coverage 2026-10-08 12:10:29 +02:00
KylRikul 0fa56002d8 Test native temporary enchant visuals, precedence and clearing 2026-10-08 11:14:06 +02:00