Commit Graph

207 Commits

Author SHA1 Message Date
Francesco Borzì
50b36e842a fix(docs/license): use GPLv2 as MaNGOS-based project (#23655) 2025-11-14 08:44:25 -03:00
天鹭
8f5d50435b fix(Core/Map): It should be ensured that the instance is unloaded only after the Creature Respawn. (#23103) 2025-11-11 02:59:57 -03:00
天鹭
6d64ecd24f fix(Core/Vmaps): Fix inconsistency of hitInstance and hitModel to cause wrong area ids (#23233)
Co-authored-by: ModoX <moardox@gmail.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
Co-authored-by: Grimdhex <237474256+Grimdhex@users.noreply.github.com>
Co-authored-by: sudlud <sudlud@users.noreply.github.com>
2025-11-11 01:51:52 -03:00
天鹭
a1c8e0f221 refactor(Core): SendDirectMessage (#23230) 2025-10-30 14:21:26 -03:00
Foe
bb2f2daacb chore(Core/modules): necessary core changes for mod-eluna rename (#22962)
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2025-10-23 12:52:13 +02:00
Andrew
eb2c6a445c feat(Scripts/Commands): Implement debug zonestats command (#23249) 2025-10-16 07:24:23 -03:00
Takenbacon
5aa3161885 fix(Core/Object): Improve safety of visibility override containers (#23219) 2025-10-13 12:36:42 -03:00
Andrew
9ff1d3f06a fix(Core/Map): Fix zone player count update on player removal (#23211) 2025-10-13 09:56:17 -03:00
天鹭
8e2e30328f refactor(Core): Make ObjectGuid const (#23170)
* cherry-pick commit (a7883380ce)

Co-Authored-By: Lucas Nascimento <keader.android@gmail.com>
2025-10-12 23:13:12 -03:00
zeb139
8a64eb05f7 fix(Core): Deeprun Tram Subway timer/syncronization by loading grid (#23009) 2025-10-10 22:55:59 +02:00
Takenbacon
22f93eaca6 fix(Core/Weather): Improve weather system thread safety (#22772)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-29 11:43:30 -03:00
Takenbacon
9e04cb9e37 fix(Core/Visibility): Add some safety to visibility grid container (#22837) 2025-09-08 06:51:41 -03:00
Takenbacon
a28824df85 feat(Core/Visibility): Far visibility worldobjects (#22828) 2025-09-07 08:02:03 -03:00
Takenbacon
af31aaa374 fix(Core/Maps): Move corpse expiration updates to map (#22780) 2025-09-03 20:29:15 -03:00
Takenbacon
2450237b7d fix(Core/Maps): Improve large object updater (#22659) 2025-08-10 21:16:04 +02:00
Takenbacon
2485ff7f5f fix(Core/Transports): Improve static transport visibility (#22660) 2025-08-10 21:15:55 +02:00
Takenbacon
73317b2706 feat(Core/Grids): Remove WorldObject separation in grid containers (#22595) 2025-08-09 06:36:24 +02:00
Takenbacon
c97cee1e4f feat(Core/Maps): Remove active objects nearby cell marking handling (#22585) 2025-08-08 16:07:56 -03:00
Takenbacon
1499aa51de feat(Core/Visibility): Visibility improvements part 1 (#22624) 2025-08-07 16:17:45 +02:00
Takenbacon
cd87350a17 fix(Core/Grids): Fix corpse loading after a server restart (#22594) 2025-07-30 22:49:09 -03:00
Takenbacon
a77bd19104 feat(Core/Maps): Remove worldobject container switch functionality (#22586) 2025-07-29 09:18:07 -03:00
天鹭
0abb998529 refactor(Core): Clean (#22583) 2025-07-29 09:11:25 -03:00
Takenbacon
57dacae38b feat(Core/Maps): Multithread startup map preloading (#22580) 2025-07-29 09:10:46 -03:00
Jelle Meeus
8e083fbde3 feat(Core/WorldState): init Scourge Invasion pre-wrath event (#22286)
Co-authored-by: Orozxy <crusadermeile@gmail.com>
Co-authored-by: Killerwife <killerwife@gmail.com>
Co-authored-by: Ryan Turner <AugustoMendes4426@gmail.com>
2025-07-12 20:54:18 +02:00
Takenbacon
1c3cbd3d9e feat(Core/Maps): Improve map object updater (#22392) 2025-07-11 16:00:16 +02:00
Benjamin Jackson
52799d76f6 refactor(Core): Add definition file for area table entries. (#22054) 2025-05-09 15:48:02 +02:00
Jelle Meeus
38ff8bae28 fix(Core/Maps): Do not allow entering an instance if the player is (#21973)
Co-authored-by: Gildor <gildor55@gmail.com>
2025-04-23 19:59:32 -03:00
天鹿
a2a0bc51ab fix(Core/Bones): Unable to create bones (#21635) 2025-03-03 22:11:56 +01:00
SaW
9f99e89bc3 fix(Core/Threading): Refactored Map class - some code optimization (#21288) 2025-02-24 15:49:54 -03:00
Takenbacon
d145b866a5 fix(Core/Maps): Fix instance factions (#21577) 2025-02-21 16:49:39 -03:00
Takenbacon
58d13e69e1 fix(Core/Grids): Standardize grid coordinates (#21479) 2025-02-18 07:16:36 +01:00
Exitare
98ceb1c067 fix(Core/PlayerScript) Align player script function names (#21020)
Co-authored-by: sudlud <sudlud@users.noreply.github.com>
2025-02-16 14:59:41 +01:00
Takenbacon
ee69a569c4 fix(Core/Grids): Grid improvements (#20955) 2025-02-14 22:11:27 +01:00
Andrew
062f9c4341 fix(Core/Map): Dynamic respawns: preserve original respawn timer and skip rares (#21440) 2025-02-14 11:30:59 +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: 59db2eeea0
2025-02-12 15:06:42 -03:00
Andrew
7e29e023e8 fix(Core/Creature): Allow temp summons to respawn when despawning on … (#21363) 2025-02-10 08:46:31 +01:00
Andrew
79cbb00075 feat(Core/Creature): Implement HasFlagsExtra() helper to creature (#21362) 2025-02-08 14:07:04 -03:00
天鹿
9768cfca3a fix(Core): Fix After PR#21213 Crash (#21327) 2025-02-07 13:52:56 -03:00
Kitzunu
47c5ff904f refactor(Core/Disables): Convert from Namespace to Class Structure (#21109) 2025-02-01 22:48:52 +01:00
Andrew
d851f97f40 fix(Core/Instances): Ensure team is acquired before spawning creatures (#21221) 2025-01-21 20:13:22 -03:00
Kitzunu
12aa9dc12c fix(Core/Misc): Resolve output formatting issues with fmt library (#21191) 2025-01-17 10:27:46 +01:00
Andrew
241d05f569 fix(Core/Map): Fix crash OnPlayerLeave() (#21155) 2025-01-13 17:33:05 -03:00
manstfu
bf4118362a fix(Core/Group): CF Faction Assign & Leader Instance Faction (#21118)
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2025-01-13 08:54:47 -03: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
EricksOliveira
2110f7cc84 Core/TempSummons: avoid use MoveInLineOfSight before InitSummon (#20999) 2024-12-22 09:03:28 +01:00
Francesco Borzì
a9f0f371e5 refactor(src/server/game): optimise imports (#20541) 2024-11-13 11:37:20 +01:00
Francesco Borzì
cb7e28df05 refactor(src/server/game/*): remove unused imports (big part 1) (#20310) 2024-10-27 10:25:40 +01:00
Benjamin Jackson
1edac37ac3 refactor(Core): Make more use of helpers. (#19835)
* Init.

* Reword.

* Update codestyle script.

Co-Authored-By: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Add gameobject type ID check, reorder checks.

* Add helper/codestyle check for unit type.

* `IsUnit()` -> `IsCreature()`

* Add `IsUnit()` method.

* Use type mask.

https: //github.com/TrinityCore/TrinityCore/commit/cc71da35b5dc74abf71f8691161525a23d870bb5
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>
Co-Authored-By: Ovahlord <18347559+Ovahlord@users.noreply.github.com>

* Replace instances of `isType` with `IsUnit`.

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
Co-authored-by: Ovahlord <18347559+Ovahlord@users.noreply.github.com>
2024-09-03 14:41:31 -03:00
Grimdhex
643362d697 refactor(Core/Object): adds consistency in the use of type object check (#19671) 2024-08-25 09:57:37 -03:00
Andrew
23f58016d0 fix(Core/Map): Exempt raids from the hourly limit (#19650) 2024-08-18 19:56:38 +02:00