Commit graph

85 commits

Author SHA1 Message Date
Yehonal
09b79f45f2
feat(NPC): add configuration for creature repositioning during NPC combat (#22973)
Co-authored-by: Andrew <47818697+Nyeriah@users.noreply.github.com>
2025-09-20 03:49:50 +02:00
Jelle Meeus
7a43b0f13e
feat(World/WorldConfig): ScourgeInvasion Add config BattlesWon tresholds (#22913) 2025-09-14 11:25:18 -03:00
Benjamin Jackson
2ad40a4d23
fix(Core/GroupHandler): Adjust maximum value for rolls. (#22686) 2025-08-26 20:58:41 -04:00
sudlud
5ad345a873
fix(Conf/Logs): fix Error appender log level, enable sql.updates error logging (#22682) 2025-08-13 08:48:22 +02:00
Christian M
d2fb893f87
feat(Core/Player): Allow spell validation to be skipped at server owner's risk (#22521)
Co-authored-by: Tereneckla <Tereneckla@pm.me>
2025-07-26 19:26:00 -03:00
NoxMax
27da054661
feat(Core): make BGs and Arena prep time configurable (#22136)
Co-authored-by: Tereneckla <Tereneckla@pm.me>
2025-07-26 02:09:20 +01:00
Kitzunu
dc3d2def80
feat(Core/Load): Add debug logs for zone and area assignment (#22509) 2025-07-24 16:21:05 -03:00
Quentin Dawans
250bc557f4
fix(Conf/Misc): Update max visibility description (#22187) 2025-07-24 21:06:37 +02:00
Takenbacon
1c3cbd3d9e
feat(Core/Maps): Improve map object updater (#22392) 2025-07-11 16:00:16 +02:00
Benjamin Jackson
bae4dd8ccf
feat(Core): Add config for legacy arena team start rating. (#22080)
Co-authored-by: Tereneckla <Tereneckla@pm.me>
2025-07-11 08:30:20 -03: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
NoxMax
b400dcfdb1
fix(Conf/Logs): Change Errors.log to overwrite (#22151) 2025-06-07 10:59:39 +02:00
Benjamin Jackson
93ac73a4d1
fix(Core/Creature): Leashing improvements. (#22129)
Co-authored-by: killerwife <killerwife@users.noreply.github.com>
Co-authored-by: 天鹭 <18535853+PkllonG@users.noreply.github.com>
2025-05-23 18:22:56 +02:00
Brian
cd26c20028
Worldserver conf table reference correction (#22177) 2025-05-23 18:18:31 +02:00
NoxMax
8ba0b7a4b2
fix(Core/worldserver.conf) Clarification for AllowTwoSide.Interaction.Auction (#22013) 2025-04-29 13:41:10 +01:00
NoxMax
cc05127276
fix(Battlefield/WG): set default maxplayer 120, minlevel 75 (#21937) 2025-04-19 06:59:06 +02:00
valsan-azerty-boi
a3f7e1e76d
feat(Core/BG): Allow battlegrounds to be configurable (#20320) (#21124) 2025-03-01 12:01:10 -03:00
Takenbacon
4cd1ed2181
refactor(Core/Server): Improvements to antidos opcode handling (#21502) 2025-02-21 07:17:34 +01:00
Kitzunu
3291c747c5
feat(Core/DBUpdater): include pending path (#21469) 2025-02-16 21:19:31 +01:00
Andrew
6c2d9aff49
chore(Config): Improve DynamicRates description (#21431) 2025-02-13 17:05:14 +01:00
Andrew
16fa25b7a9
feat(Core/Maps): Implement dynamic respawn rates (#21417)
Co-authored-by: r00ty-tc <r00ty-tc@users.noreply.github.com>
Co-authored-by: Jelle Meeus <sogladev@gmail.com>
Co-authored-by Treeston

This is a partial cherry-pick of: https://github.com/TrinityCore/TrinityCore/pull/19056/commits/59db2eeea0a35028779fd76372ae06cc98c8086f
2025-02-12 15:06:42 -03:00
Anton Popovichenko
f6a0433297
feat(Core/Arena): Add support for arena seasons completion with progression in runtime. (#19858)
Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com>
2025-02-12 07:09:31 -03:00
Jelle Meeus
00b8a3f419
feat(Core/WorldState): implement Battle for Sun's Reach Event (#21219)
Co-authored-by: killerwife <killerwife@gmail.com>
Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com>
Co-authored-by: MantisLord <sabinprosper@gmail.com>
2025-01-31 13:19:12 +01:00
Exitare
7be3c82505
feat(Core/Creature): Add new config option for npc speeds (#20617) 2024-12-22 09:45:39 +01:00
Takenbacon
4d349e87b5
feat(Core/AuctionHouse): Rework auctionhouse search threading (#20830) 2024-12-18 15:50:26 +01:00
Exitare
98b426bf3a
feat(Core/Player) Option to adjust max rest bonus via config (#20836) 2024-12-14 20:51:28 +01:00
Jelle Meeus
993bdcb84e
feat(Core/Player): implement Spell Queue (#20797) 2024-12-12 11:59:52 +01:00
sudlud
905cc7b537
fix(conf/worldserver): add Logger.sql.updates option (#20578) 2024-11-15 20:53:30 +01:00
Francesco Borzì
34a3b4ee47
feat(Core/BG): allow MinPlayersPerTeam override for low-levels (#20083) 2024-09-29 14:07:45 +02:00
IntelligentQuantum
985410f184
feat(Core/Items): Delete old item id from recovery item (#18332) 2024-09-22 08:32:16 +02:00
Stefano Borzì
a971f373a0
fix: default bgarenas visibility distance default value (#19938)
* fix: default bgarenas visibility distance default value

* chore: update worldserver.conf.dist
2024-09-11 11:50:45 -03:00
sudlud
c929b95172
fix(Conf): sync default values with core defaults (#19708)
fix(Conf): sync values with core defaults
2024-09-03 08:02:28 -03:00
sudlud
40eb616e1f
fix(Conf): drop unused options from worldserver.conf.dist (#19725) 2024-08-30 09:08:17 -03:00
Kitzunu
030716421f
feat(Core/LFG): Option to disable deserter (#19618)
* feat(Core/LFG): Option to disable deserter

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/19569

* Update IWorld.h
2024-08-14 09:19:56 -03:00
avarishd
618f97bee6
feat(Core/Unit): Enable/Disable Daze config (#19454)
* daze

* bruh

* bruhx2
2024-07-20 15:53:00 -03:00
Kitzunu
332446b8aa
fix(Scripts/ChatLogger): Differentiate addon whisper from player whisper (#19441)
* fix(Scripts/ChatLogger): Differentiate addon whisper from player whisper

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/19439
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/17570

* fix build
2024-07-19 15:26:34 +02:00
Benjamin Jackson
70eb920b10
feat(Core/Unit): Implement munching as a configurable option. (#19188)
* Init.

* Correct description.

* Adjust boolean to integer in config.
2024-07-10 12:26:53 -03:00
Kitzunu
688d7e2fdf
fix(Script/GunshipBattle): Wipe if no player is on the deck (#19239)
* fix(Script/GunshipBattle): Wipe if no player is on the deck

* reorder

* Update boss_icecrown_gunship_battle.cpp

* Update worldserver.conf.dist

* Update boss_icecrown_gunship_battle.cpp

* missed it!

* Update instance_icecrown_citadel.cpp
2024-06-30 18:30:44 -03:00
Anton Popovichenko
9815025341
feat(Core/Network): Add Proxy Protocol v2 support. (#18839)
* feat(Core/Network): Add Proxy Protocol v2 support.

* Fix codestyle and build.

* Another codestyle fix.

* One more missing include.
2024-05-04 13:38:32 -03:00
Walter Pagani
715b290cb7
feat(Map): Add open world LOS settings (#18816)
* chore. Add open world LOS settings

* Name change and conditional deny

* modify information in worldserver.conf.dist

* Remove pvp from variables and constants
2024-05-04 12:10:24 -03:00
Johaine
3a93ae1af1
feat(Core/Optimization): Correctly document sendBuffer size and optimize it. (#18647)
* Fix comment documenting WorldSocket

The buffer is constructed with 4096 bytes but later resized in
WorldSocketThread::SocketAdded() according to the configuration
setting Network.OutUBuff (currently 65536 bytes)

* Reuse calculated packet size

Instead of recalculating the current packet size three times at
worst, calculate it once and reuse it when required.

* Reduce reserved buffer size per WorldSocket

Don't reserve 64kB of memory for every WorldSocket's output
buffer.

Instead, start with a 4kB baseline for every WorldSocket and grow
the buffer size dynamically when we have single packets that do
not fit the current buffer.
2024-04-06 10:22:32 -03:00
Walter Pagani
21c1c5de11
chore. Correctly disable gm command dbg messages by default (#18315)
* chore. Remove error warning on worldserver

* Comment commands.gm

* Original line format
2024-03-20 01:40:20 -03:00
sudlud
27da4554cf
fix(Conf): remove ThreatRadius (unused) (#18329)
fix(Conf): remove ThreatRadius (unuused)
2024-02-25 12:06:44 -03:00
sudlud
c47c945aa4
fix(Conf): disable LeaveGroupOnLogout by default (#18245) 2024-02-09 13:24:57 -03:00
Benjamin Jackson
b6c429c5a8
fix(Core/Quests): Create quest money reward config and adjust max level bonus reward function. (#18222)
* Init.

* Drop RewardBonusMoney column.

How's that for deprecation.

* Add formula source link.

* Remove deprecated info in conf.

* Newline.
2024-01-31 23:21:27 +01:00
Kitzunu
26b50b8849
fix(Conf): typo (#18209) 2024-01-23 18:09:25 +01:00
Kitzunu
2558f25623
fix(Core/Quest): Calculate reward money with RATE_REWARD_BONUS_MONEY … (#18104)
* fix(Core/Quest): Calculate reward money with RATE_REWARD_BONUS_MONEY instead of RATE_DROP_MONEY

* Update worldserver.conf.dist
2024-01-04 18:57:53 +01:00
sudlud
1710d4d1c3
fix(Scripts/Midsummer): Implement Midsummer Bonfire mechanics (#18023) 2023-12-25 03:06:15 -03:00
Andrew
70e5851c8a
feat(Core/Battleground): Add config to allow giving points at level 7… (#17821)
* feat(Core/Battleground): Add config to allow giving points at level 70 RBG

* update

* Update Battleground.h
2023-11-22 20:10:22 +01:00
Kitzunu
8bb6661c96
feat(Core/Guild): Allow to limit the amount of members within a guild (#17697)
* feat(Core/Guild): Allow to limit the amount of members within a guild

* Update Guild.cpp

* Update Guild.cpp

* Update Guild.cpp

* Update Guild.cpp

* improve message to player
2023-11-14 17:40:28 +01:00