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.
With Enemy Unit Nameplates on and Always Show Nameplates off the client
shows a health bar over every hostile mob in range. The client-side CVar
switch of the first version could not fix that: once combat started
every nearby enemy got a bar, also one that never joined the fight.
The server now decides per viewer. A player who asks for it
(Player::SetCombatPlateFilter, the ForeverBots add-on's PLATES request)
gets UNIT_FLAG3_FORCE_HIDE_NAMEPLATE on every attackable NPC that is in
no live fight with him, his pet or a member of his group on the map. It
is checked when the NPC comes into view and four times a second after,
so a mob that joins the fight gets its bar and the client draws the
plate and the plain name itself. Script-forced plates and player-
controlled units keep what they have. A UI reload clears it; the add-on
asks again on every loading screen and when either setting changes.
The add-on drops the CVar switch: the filter is on by default and only
asks with those two settings; /fb plates on|off|status.
The stock Trade button sends the offer state the client last heard of. A bot answers an offer in the same moment, so the click often carried an older state and the server said the trade had changed, click after click. Right after the stock click the ForeverBots add-on (0.6.22, new ForeverBots_Trade.lua) now sends what the window shows, both sides' money and the item and count in each traded slot, as `.bot trade <seq> <what you see>`. When the window still holds exactly that, the player's accept runs with the bot's current state and every normal accept check; when it does not, nothing is accepted and the add-on asks to look again. Trades with players are not touched.
Alone the command goes as a whisper to yourself from the click, which the server runs as a dot command before any whisper is made (the add-on's existing click route), in a group as an add-on message; the answer is a hidden system line. Bot module only, no core change, nothing sent from timers or events.
Asked for in SIN's Bot Trading Fix for 0.1.36; written again here as our own (no hidden whisper channel, no core chat hook, no extra button).
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.
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.
conf/zz-forever-bots.conf ships the WoW Forever repack settings: world bots on with the
16-29 GB crowd preset (RssBudgetMb 6000), start zone caps, spawn pacing, and the auction
house bot listing every quality on the neutral house with a fair-price buyer. A
playerbot.conf next to worldserver.conf is read too; one in worldserver.conf.d is not
loaded twice.
Imported from Karrz's karrz-bots branch (12a3d94547) on top of forever: the
PlayerbotV2 module, the ForeverBots add-on (/fb), the bot SQL, the core hooks
and API it needs, and the Classic battleground, raid, auction house and road
navigation changes it was tested with.
Left out of this import: the world editor, tests, protocol research and data
generator tools, dev setup scripts, the realm example config, the design notes,
the older PlayerbotControl add-on, and changes to sql/create, the Boost
minimum, and the build revision files. These stay in Karrz's own repository.