Commit Graph

410 Commits

Author SHA1 Message Date
bash
b7c92a52aa Merge branch 'azerothcore:master' into Playerbot 2025-11-05 10:53:28 +01:00
Anton Popovichenko
422ccc8e44 fix(mmaps): [REQUIRES_REGENERATION] Fix baseUnitDim division to resolve pathing edge cases (#23480)
Co-authored-by: Rocco Silipo <108557877+Rorschach91@users.noreply.github.com>
2025-11-05 06:27:13 -03:00
bash
c6c90e0034 Merge branch 'azerothcore:master' into Playerbot 2025-10-25 20:37:41 +02:00
Yehonal
a05cc525f0 feat(Config): Implement configuration severity policy and logging mechanism (#23284) 2025-10-25 01:16:09 +02:00
bash
fac127718d core merge fixes for playerbots 2025-10-19 23:55:38 +02:00
bash
1aac4fbef6 Merge remote-tracking branch 'upstream/master' into feature/core_merge_10_2025
# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Movement/MovementGenerators/PointMovementGenerator.h
#	src/server/game/Server/WorldSession.cpp
#	src/server/game/Server/WorldSession.h
#	src/server/scripts/Northrend/Naxxramas/boss_gluth.cpp
#	src/server/scripts/Northrend/Naxxramas/boss_gothik.cpp
#	src/server/scripts/Northrend/Naxxramas/boss_grobbulus.cpp
#	src/server/scripts/Northrend/Naxxramas/boss_kelthuzad.cpp
#	src/server/scripts/Northrend/Naxxramas/boss_sapphiron.cpp
2025-10-19 22:34:18 +02:00
天鹭
058f7acac6 refactor(Core): AddEventAtOffset (#23140) 2025-10-17 06:09:57 +02:00
Anton Popovichenko
f2f31acdcf feat(Core/mmaps): Add configuration file for mmaps-generator. (#22506) 2025-10-14 18:56:09 -03:00
天鹭
9c49349e1e refactor(Core/EventMap): Refactor EventMap and related scripts (#23121)
Co-authored-by: Kelno <3866946+kelno@users.noreply.github.com>
Co-authored-by: Peter Keresztes Schmidt <carbenium@outlook.com>
2025-10-12 22:19:24 -03:00
Tereneckla
9ce8bd0cc6 fix(Core/Module): don't fallback to .dist for module configs (#22874) 2025-10-10 18:37:36 -03:00
Yunfan Li
fdb71c521e Merge branch 'master' into Playerbot-updated 2025-09-11 12:20:54 +08:00
Takenbacon
a28824df85 feat(Core/Visibility): Far visibility worldobjects (#22828) 2025-09-07 08:02:03 -03:00
Yunfan Li
025aaacf20 Merge branch 'master' into Playerbot 2025-08-09 15:02:41 +08:00
Takenbacon
73317b2706 feat(Core/Grids): Remove WorldObject separation in grid containers (#22595) 2025-08-09 06:36:24 +02:00
Yunfan Li
55bc26f505 Merge branch 'master' into Playerbot 2025-08-02 11:35:47 +08:00
Kitzunu
35d8d49ce3 feat(Core/ServerMail): Add AccountFlags condition to server mail temp… (#22549) 2025-07-29 10:01:16 -03:00
Kitzunu
60643ce5e7 feat(Script/Command): Add AccountFlag pinfo output (#22548) 2025-07-27 09:59:13 +02:00
Yunfan Li
21c2c3e0ee Merge branch 'master' into Playerbot 2025-07-25 21:18:51 +08:00
Kitzunu
1e68280691 feat(Core/Account): Add account flags support (#22533) 2025-07-24 10:09:30 -03:00
skelUA
7c4a5bc37c fix(Core/Metrics): InfluxDB v1 config check #22358 (#22479)
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2025-07-19 22:14:42 +02:00
Francesco Borzì
c6a53849c7 refactor(Core/Misc): string handling and use smart pointer for strand (#22351) 2025-07-19 11:36:40 +02:00
Yunfan Li
c167fef89c Merge branch 'master' into Playerbot 2025-07-15 20:34:44 +08:00
Kitzunu
a1a11a7c38 BREAKINGCHANGE(Metrics): Support InfluxDB v2 (#22358)
This commit introduces support for InfluxDB v2 in the metric logging system, updates configuration options, and enhances the code to handle both InfluxDB v1 and v2. The changes include updates to the `Metric` class, configuration file, and logging behavior.

### InfluxDB v2 Support:
* Added support for InfluxDB v2 in the `Metric` class by introducing new configuration options (`Metric.InfluxDB.Org`, `Metric.InfluxDB.Bucket`, `Metric.InfluxDB.Token`) and logic to handle v2-specific parameters.
* Updated the `SendBatch` method to construct HTTP requests differently based on whether v1 or v2 is enabled. 

### Configuration Updates:
* Replaced the `Metric.ConnectionInfo` configuration with `Metric.InfluxDB.Connection` and added detailed comments and examples for both InfluxDB v1 and v2 configurations in `worldserver.conf.dist`.
* Added placeholder configuration entries for InfluxDB v2 parameters (`Metric.InfluxDB.Org`, `Metric.InfluxDB.Bucket`, `Metric.InfluxDB.Token`) in `worldserver.conf.dist`. 

### Logging Enhancements:
* Added a commented-out logger configuration (`Logger.metric`) in `worldserver.conf.dist` for potential use in metric-specific logging.
2025-07-05 12:00:08 +02:00
Yunfan Li
475e5a42c4 Merge branch 'master' into Playerbot 2025-07-04 22:41:14 +08:00
Takenbacon
fd262c3ab1 feat(Core/Config): Improvements to config caching (#21647) 2025-06-30 17:14:12 +02:00
Yunfan Li
c3fbb2da20 Merge branch 'master' into Playerbot 2025-06-28 10:46:23 +08:00
Jelle Meeus
7fc8b14e3e feat(Core/Utilities): add Seconds overload for randtime (#22337) 2025-06-20 23:18:05 +02:00
Yunfan Li
ce9343d916 Merge branch 'master' into Playerbot 2025-05-02 16:50:45 +08:00
Anton Popovichenko
7162294f1b fix(Deps/Boost): Fix build for boost 1.88. (#21952) 2025-04-19 21:01:40 +02:00
Yunfan Li
7d431dc796 Merge branch 'master' into Playerbot 2025-02-19 22:29:36 +08:00
Patrick Müssig
f89a8e0b81 fix(UnitTest): fixes unit tests not compiling under windows (#21299) 2025-02-17 06:17:51 +01:00
Jelle Meeus
a05833eeed fix(Core/Common): Container fixes use after free (#21460) 2025-02-15 22:22:30 +01:00
Takenbacon
ee69a569c4 fix(Core/Grids): Grid improvements (#20955) 2025-02-14 22:11:27 +01:00
Yunfan Li
e5c67bd47d Merge branch 'master' into Playerbot 2025-01-31 18:29:34 +08:00
Kitzunu
9b3d54dd60 refactor(Core/Motd): improve and simplify (#21252) 2025-01-27 11:07:46 +01:00
Yunfan Li
cf035b5e5e Merge branch 'master' into Playerbot 2025-01-23 23:23:53 +08:00
SaW
365224039f fix(Core/Threading): Refactored LockedQueue / MPSCQueue - Improve thread safety, performance, and memory management (#21127) 2025-01-23 10:26:01 +01:00
Yunfan Li
36987b8a96 Merge branch 'master' into Playerbot 2025-01-09 19:56:11 +08:00
SaW
64d524f889 fix(Core/Threading): Modernize/Improve thread safety, performance, and maintainability of the MapUpdater class (#21081)
Co-authored-by: Anton Popovichenko <walkline.ua@gmail.com>
2025-01-08 10:40:57 -03:00
Dan
72ae994a65 fix(Scripts/ZulAman): make sure Malacrass timer is delayed only when it should be triggered during channel of Spirit Bolts (#21089) 2025-01-06 18:44:44 +01:00
Yunfan Li
36ac083814 Merge branch 'master' into Playerbot 2024-12-31 17:18:40 +08:00
Kitzunu
e68faf71fe fix(Core/Log): fmt output for appender (#21043) 2024-12-25 23:17:25 +01:00
Kitzunu
7714ca31a2 refactor(Core/Time): Introduce GetExpirationTime instead of calculati… (#21006) 2024-12-22 09:42:39 +01:00
Yunfan Li
c76e70a364 Merge branch 'master' into Playerbot 2024-12-22 13:24:03 +08:00
Kitzunu
0bc70670d2 refactor(Core/Misc): Use steady_timer instead of deadline_timer (#20940) 2024-12-19 18:00:03 +01:00
Takenbacon
a23b13defe fix(Core/Database): Gracefully close database workers (#20936)
* Gracefully close database workers

* Change init order. Such a silly compiler flag

* Fix hang if db connection failed to open
2024-12-18 20:24:17 +01:00
Stefano Borzì
83b8bf7288 ci: fix codestyle and cppcheck reports (#20962) 2024-12-18 10:34:42 +01:00
Exitare
7fd8b04a56 feat(Core/Motd): Allow localized motd (#20542)
* Initial commit for localized motd

* Rename function that created world packages

* Update to satisfy code check

* Update code to accomodate localized motd

* Update command to support multiple optionales & adjusted db

* Code cleanup

* Update sql name

* Fix codestyle issues

* Remove hardcoded schema

* Add check for valid player in reload command

* Update to better code style

* Add missing include

* Fix redundant code usage

* Add missing include

* Remove sql files and create new rev sql files

* Address minor code reviews

* Fix code style

* Update code to address code revisions.

- Remove two unused functions
- Remove map
- Use available function to resolve LocaleConstant

* Fix code style

* Add check for base motd and update locale to DEFAULT_LOCALE

* Code docs

* Removed some docs, readd defaultd motd formatting

* Fix oversight in variable declaration

* Code style fix

* Update code based on code review

* ready for merge

* Fix set motd command due to changes to DEFAULT_LOCALE

* Fix CI

* Fix trailing whitespace

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2024-12-15 19:50:02 +01:00
Yunfan Li
889b509313 Merge branch 'master' into Playerbot 2024-12-05 00:08:25 +08:00
Jelle Meeus
2d616ce0e8 fix(Core/Vmaps): Do not ignore model rotation when calculating liquid level (#20760)
cherry-picked from:
53b4501ce9

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2024-12-01 17:09:47 -03:00