Commit Graph
403 Commits
Author SHA1 Message Date
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
AdvocaiteandKarrz1 669c8de4ec Core: stale trades, BG port ticket slot, vanilla mount rules and other fixes (#49)
- Trade: a trade request while a stale trade is still held cancels the old
  one instead of being ignored (no more "busy" until relog); Player::Update
  cancels a trade whose partner left the world, left the trade or went out
  of trade range
- Battlegrounds: an accept with a wrong ticket slot is pointed at the queue
  the player was really invited from; a leave with an unknown slot removes
  the player from all of his queues
- Battlegrounds: the invited counter never wraps below zero
- Vanilla mount rules (Classic.MountIndoorsRules, default 1): no mounting
  indoors, none in the Warsong Gulch start rooms while the doors are closed,
  walking indoors dismounts; battlegrounds use the client's WMO group test
- Group: initialize the ping restriction
- WorldSession: with Load.Locales = 0 the session DB locale is enUS
- Player: stored aura teleport locations are marked unchanged after save
- Player: no empty battleground data row is written (REPLACE when there is
  data, DELETE otherwise) and empty PvP talent rows are skipped
- Channel: invite and broadcasts skip the ignore check for a player
  without a social list (mid logout)
- Control zones: no uint32 underflow in the capture time slope, superiority
  above maxSuperiority is capped
- .revive: a dead GM with a living target selected revives himself
- Terrain: mmap tiles that failed to load are not retried, a broken vmap
  tile is reported once
- MSVC: /FS with /MP against C1041 parallel PDB errors

Co-authored-by: Karrz1 <[email protected]>
2026-10-13 19:38:26 +08:00
Shauren d800dad58b Build: Remove compiler flags not supported by clang-cl 2026-05-10 14:42:26 +02:00
wang radium ec3065b354 Build: Add missing quote around TRINITY_BUILD_HOST_SYSTEM_RELEASE variable during revision_data.h generation (#31732)
* Fixes more edge cases with localized output from Get-CimInstance
2026-03-21 03:08:36 +01:00
Shauren ad0683315a Build: Remove scripts include directories from worldserver compilation command line, allowing compilation to happen in directories with longer path before encountering msbuild error MSB6002: The command-line for the “RC” task is too long 2026-02-21 15:08:51 +01:00
Foe 66f5a282b7 Build: Allow efsw to be built independently of WITH_DYNAMIC_LINKING option (#30019)
(cherry picked from commit 6a5fa255fe053796588684e3876f6047cf92a08f)
2025-11-14 14:49:16 +01:00
Shauren 3331699906 Build: Modernize include directory management using target_sources(FILE_SET) 2025-11-12 22:53:54 +01:00
Shauren 1c487de3b9 Build: Partial revert of 2b38f40988 2025-10-11 14:09:19 +02:00
Shauren 2b38f40988 Build: Enable debug format flag -ggdb3 instead of -g by default for debug builds 2025-10-11 12:47:42 +02:00
Shauren ccb078da03 Build: Enable /utf-8 flag for msvc 2025-10-11 12:47:41 +02:00
Shauren 31beaf0ba1 Dep/MySQL: Ignore MySQL Workbench installations when searching for mysql.exe 2025-09-06 14:55:14 +02:00
Shauren ceb9aed4e2 Dep/MySQL: Remove hardcoded mariadb search locations
Closes #31242
2025-08-30 22:04:34 +02:00
Shauren b386971229 Dep/MySQL: Move required version checks to CMake, raise required version to 8.0.34 and remove strict compiled<->runtime version match requirement from non-Windows platforms 2025-08-30 19:25:47 +02:00
Shauren c5425196fd Build: Enable more msvc standard conformance options 2025-07-07 18:59:15 +02:00
Shauren 1f5f245c02 Core/Misc: Fix revision_data.h and boost/predef preprocessor macro conflict 2025-06-11 15:52:40 +02:00
Shauren 55a19f15d0 Build: Remove -fpch-instantiate-templates detection, it is enabled by default since CMake 3.19 2025-05-02 22:59:45 +02:00
Ovahlord 2b1ad96be1 Build: enable MSVC warning C5038 - member initialization order to get closer to the warning behavior of the other compilers
(cherry picked from commit e36a66d6322f51a201bb394a9fd4b7943cdd805f)
2025-02-04 16:20:39 +01:00
Shauren 93c8993314 Build: Disable -Wmissing-field-initializers for clang, it now mirrors unwanted gcc behavior since version 18 2024-11-25 12:35:44 +01:00
Shauren bfb6c95518 Build: Handle localized "Microsoft" name returned from Get-CimInstance 2024-10-04 22:36:46 +02:00
Keramat Jokar 83ca87d39e Build: Add more detailed windows release name to revision_data.h (#30310) 2024-10-04 19:19:58 +02:00
Shauren 7ac0c685dd Build: Add WITH_WARNINGS_AS_ERRORS cmake option that turns compile warnings into compile errors 2024-09-20 13:19:42 +02:00
Shauren a21e7c738e Build: Automatically include WindowsSettings.manifest in all executables instead of listing it separately as source file in every target 2024-09-15 12:55:50 +02:00
Shauren e8740fb2e1 Core/Misc: CompilerDefs/GitRevision improvements
* Removed INTEL as a separate platform (it does not belong there)
* Removed BORLAND from known compilers list (it was never supported)
* Simplified TRINITY_PLATFORM_WINDOWS detection (_WIN32 is always defined)
* Rename revision_data.h macros that begin with a underscore
* Added processor architecture to --version string
* Added Linux distribution name to .server debug
* Fixed some revision_data.h macros missing/wrong values when regenerated during compilation
* Removed manual adding of _WIN64 macro from cmake (it is predefined internally by compiler)
2024-09-03 12:06:16 +02:00
Shauren ab046bdc32 Build: Replace hardcoded mysql search paths with pattern based approach 2024-08-20 14:23:34 +02:00
Shauren 15209a9cfe Build: Extract hardcoded list of mysql paths to shared cmake variable 2024-08-20 13:48:10 +02:00
Shauren d93002f9a9 Build: Disable maybe-uninitialized warning for GCC that incorrectly triggers with std::optional 2024-07-20 12:08:23 +02:00
Shauren 77fe2745fe Build: CMake cleanup
* Migrate all add_definitions to target_compile_definitions
* Remove -D from preprocessor definitions added by target_compile_definitions (unneccessary, cmake strips it anyway)
* Fixed NO_BUFFERPOOL not being set on g3d if jemalloc is used
* Moved library/compiler specific compile flag settings spread all over various CMakeLists to their related library/compiler file
* Remove ancient manual link flag settings for worldserver
2024-07-15 15:24:35 +02:00
Shauren 12d1f4448c Build: Decouple compiler specific settings from os settings 2024-06-15 17:07:25 +02:00
Shauren a7c42f1ed5 Build: Normalize executable locations in build directory for all platforms 2024-06-15 16:01:22 +02:00
Shauren 078bc6fe3f Build: Unify setting _BUILD_DIRECTIVE preprocessor macro for all compilers 2024-06-15 13:34:44 +02:00
Shauren 1083e89da3 Build: Remove unneccessary /MP compile option when using ninja 2024-06-01 11:45:39 +02:00
Ovahlord 728e7c7fcf Core/Cryptography: dropped support for OpenSSL 1.1
OpenSSL 1.1 has been deprecated for quite some time now so it is time to put it to rest. Please upgrade to OpenSSL 3.x
2024-05-12 15:48:39 +02:00
Shauren 16853af7c8 Build: Update required GCC version to 11.1 2024-04-10 13:52:06 +02:00
lee 5c4b1ace41 Build: Fix Linux aarch64 GCC build (#29831)
(cherry picked from commit 370685457e83c9657c1337ea5a2dc2f07e01af62)
2024-03-27 10:50:42 +01:00
Shauren 261a237cfa Core/Misc: Fixed windows nopch build 2024-03-11 18:17:08 +01:00
Shauren 0e01b72df8 Build: Silence cmake warning about newline in variable 2024-03-01 15:18:08 +01:00
Shauren 8eac6224c0 Build: Replaced deprecated exec_program with execute_process 2024-03-01 11:36:10 +01:00
Shauren 34308dd6de Build: Perform CMake check_cxx_source_compiles checks using the same C++ standard as used in the project 2024-02-29 23:20:37 +01:00
Shauren 20b29c5ff5 Core/Misc: Allow formatting optionals with Trinity::StringFormat 2024-02-28 20:42:20 +01:00
Shauren eac4bf825a Build: Reuse PCH file between all script modules 2024-02-25 00:05:19 +01:00
Shauren 7e51d17a0a Build: Improve ARM target detection in cmake (needed by MSVC) 2024-02-17 01:13:36 +01:00
Ovahlord 7199ccf156 CMake: added MySQL 8.3 to FindMySQL cmake macro 2024-02-07 09:16:12 +01:00
Ovahlord b6a35c7920 CMake: added MySQL 8.2 to FindMySQL cmake macro 2023-12-22 16:40:43 +01:00
Shauren 94aed68968 Build: Fixed finding openssl 3.2 on windows 2023-12-05 18:04:30 +01:00
Shauren 333630b7de Core/Misc: Added windows version checks during startup to avoid confusion about crashes when running on unsupported OS 2023-12-01 19:53:13 +01:00
Shauren eb847ff537 Build: Fixed msvc version check 2023-10-29 12:14:36 +01:00
Shauren 0a0b420d86 Build: Support ASAN on msvc 2023-08-22 12:56:13 +02:00
Shauren c489e26207 Dep: Support mysql 8.1 on windows 2023-08-07 19:25:33 +02:00
Shauren 0aa644287c Build/GCC: Disable useless warning 2023-07-30 00:23:31 +02:00
Shauren 1ed8bfa080 Build: Increase required msvc version slightly 2023-07-25 11:42:08 +02:00