Commit Graph
4 Commits
Author SHA1 Message Date
Karrz1 094f1cb8c2 Bot bridge: keep a Russian realm in Russian with small models
With qwen2.5:3b on a 6 GB card (Geshka), a Russian player got an English line now and
then, General and Trade posts and street talk were all English, and the first answer
took 41 s while a bots' talk line ran next to it (that talk then timed out).

- A player's answer that should be Russian but is not gets one more ask; if that is
  English too, a short Russian line is said instead (or nothing, for a moment).
- Talk and post events carry the language most real players on that map play in
  ("locale", else the realm's); the program writes them in it and drops an English line
  on a Russian realm.
- Bots' talk waits while any player's answer is being written, and gives up after 20 s
  instead of 45 s.

(cherry picked from commit bc7829815c5bd7a2dc182d2ec576ab4f24603462)
2026-11-11 23:37:46 +00:00
Karrz1 ceecbd833a Bot bridge: answer a Russian player in Russian, also when the model is busy
GLIPT (Russian client) wrote "privet kak dela?" to his group and got "hey Dasha, bit
busy in <Russian city name> right now": the quick fixed answer the program gives when
the model can't keep up, which was English only.

- chat_in and moment events carry the player's client language ("locale").
- The program picks the language per player: his line when it has letters, else the
  language of his last line, else his client's. A Russian player who writes English
  still gets English.
- The fixed answers (greeting, follow, wait, attack, busy) have Russian lines; a
  moment's English example line is not said to a Russian player.

(cherry picked from commit 6df20ba27690c1fdbee62b0aed6fc646dbf4c7ea)
2026-11-11 23:37:43 +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 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