Commit Graph
63 Commits
Author SHA1 Message Date
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 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 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
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
KylRikul 6acf7fcd84 Expose visual resolution to the focused regression fixture 2026-10-08 11:13:50 +02:00
KylRikul 7870ffbf08 Test native Paladin aura classification and per-caster stacking 2026-10-08 11:09:11 +02:00
KylRikul fb6817be82 Add narrow test access for aura classification 2026-10-08 11:08:39 +02:00
KylRikul c0f43d174b Add regression coverage for pet family scale intervals 2026-10-08 11:04:18 +02:00
KylRikul 5a5534a682 Add regression coverage for companion level initialization 2026-10-08 08:38:27 +02:00
KylRikul a58cc25234 Add regression coverage for dispel immunity callers 2026-10-08 08:31:46 +02:00
KylRikul 2807989d66 Initialize real spell immunity data for regression tests 2026-10-08 08:30:35 +02:00
Shauren 4db97c8372 Dep/Catch2: Update to 3.15.2 2026-07-15 23:46:27 +02:00
Shauren b63bf1c1e6 Core/Misc: Reduce memory usage when data query cache is disabled in config 2026-03-13 12:57:02 +01:00
Shauren 3331699906 Build: Modernize include directory management using target_sources(FILE_SET) 2025-11-12 22:53:54 +01:00
Shauren 6a20d3181d Core/Chat: Support new 11.1.5 chat link color format and more chat link types 2025-04-27 17:09:17 +02:00
Shauren b705283d0e GCC build fix 2024-03-13 19:56:34 +01:00
Shauren 37899f3954 Tests: Disable intentionally triggered warning in test code 2024-03-13 18:17:04 +01:00
Shauren f690b69338 Core/Utils: unique_trackable_ptr improvements
* Added comparison operators
* Added type casting helper functions
2024-03-13 17:04:26 +01:00
Shauren 1f3ebbb23c Fix tests build 2024-03-11 18:25:17 +01:00
Shauren 32e54b6bd1 Core/Utils: Added a custom smart pointer type unique_trackable_ptr - a specialized variant of std::shared_ptr that enforces unique ownership
* This is intended to be used by external code unable to track object lifetime such as custom scripting engines
2024-03-11 18:16:34 +01:00
Fabian 084d9d37b1 Tests: Add missing include 2024-03-01 11:40:12 +01:00
Shauren cd62dc4491 Tests: Fixed environment variable confg test compilation on windows 2023-01-06 16:55:58 +01:00
Shauren e8e330addd Core/Misc: Remove boost::heap::fibonacci_heap from header files 2023-01-06 16:54:16 +01:00
Shauren 42fbcf2fc5 Core/Utils: Replace boost flat_set with our own 2023-01-06 16:51:01 +01:00
Shauren 25c28c0c7d GCC build fix 2022-12-17 12:54:38 +01:00
Anton Popovichenko 8447f627ba Core/Config: Implement config override with env vars (#26811)
* Core/Config: Implement config override with env vars

Implement overriding of configuration from the .conf file with environment variables.
Environment variables keys are autogenerated based on the keys defined in .conf file.
Usage example:
$ export TC_DATA_DIR=/usr
$ TC_WORLD_SERVER_PORT=8080 ./worldserver

* Core/Config Fix typo in logs

Co-authored-by: Giacomo Pozzoni <[email protected]>

* Core/Config Fix code style in EnvVarForIniKey

Co-authored-by: Shauren <[email protected]>

* Update tests/common/Config.cpp

* Apply suggestions from code review

Co-authored-by: Peter Keresztes Schmidt <[email protected]>

* Apply suggestions from code review

Co-authored-by: Peter Keresztes Schmidt <[email protected]>

Co-authored-by: Anton Popovichenko <[email protected]>
Co-authored-by: Giacomo Pozzoni <[email protected]>
Co-authored-by: Shauren <[email protected]>
Co-authored-by: Peter Keresztes Schmidt <[email protected]>
(cherry picked from commit 1ddd9dc19cc1df1a1ab8c6123283999f9dea6760)
2022-03-13 16:37:01 +01:00
Treeston 3fd2eb126c [3.3.5] ChatCommands, the other half: chat command resolution refactor (PR #25463)
(cherry picked from commit 1eca51b417678b9a48b28552925d5694105f82bb)
2022-02-27 20:08:41 +01:00
Treeston 378691aaa2 [3.3.5] Core/ChatCommands: Show error messages from argument parsers (PR #25443)
(cherry picked from commit 75f9e7396e35360f3016cc0cb21e72e20f5d96d5)
2022-02-05 23:42:15 +01:00
Treeston da8a66a05e Common/Util: Trinity::StringTo<double> support (PR #25364)
(cherry picked from commit f45aa5cac1579e87cbc599ffb58e10e662066792)
2022-02-04 23:50:25 +01:00
Treeston c4b287c7bf Core/Misc: DBC std::array refactors, and |Hachievement unit tests
(cherry picked from commit 3fbbe7cfbe1bc51db12bdc1ec7b21c16d1716366)
2022-02-04 23:37:29 +01:00
Treeston c82b107b6b UnitTests: Add a first set of item hyperlink tests
(cherry picked from commit 5394b2ef0f1c7b48e8886257b93698358abb575f)
2022-02-04 22:11:42 +01:00
Treeston 627ff1587d UnitTests: Add basic hyperlink unit test
(cherry picked from commit 86e6438008cf5179a2ff3b22c2e0459ee7aaa20c)
2022-02-04 21:33:27 +01:00