Commit Graph

188 Commits

Author SHA1 Message Date
Yunfan Li
fdb71c521e Merge branch 'master' into Playerbot-updated 2025-09-11 12:20:54 +08: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
kadeshar
234268e3bf Merge pull request #7 from azerothcore/master
Merge
2025-08-27 21:04:10 +02:00
Takenbacon
2485ff7f5f fix(Core/Transports): Improve static transport visibility (#22660) 2025-08-10 21:15:55 +02: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
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
Yunfan Li
55bc26f505 Merge branch 'master' into Playerbot 2025-08-02 11:35:47 +08: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
Yunfan Li
c167fef89c Merge branch 'master' into Playerbot 2025-07-15 20:34:44 +08:00
Takenbacon
1c3cbd3d9e feat(Core/Maps): Improve map object updater (#22392) 2025-07-11 16:00:16 +02:00
Yunfan Li
58fd50651d Merge branch 'master' into Playerbot 2025-05-09 22:07:43 +08:00
Benjamin Jackson
52799d76f6 refactor(Core): Add definition file for area table entries. (#22054) 2025-05-09 15:48:02 +02:00
Yunfan Li
34811a047a Merge branch 'master' into Playerbot 2025-03-04 21:57:19 +08: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
Yunfan Li
bd0302605a Merge branch 'master' into Playerbot_20250219 2025-02-22 10:36:10 +08:00
Takenbacon
d145b866a5 fix(Core/Maps): Fix instance factions (#21577) 2025-02-21 16:49:39 -03:00
Yunfan Li
7d431dc796 Merge branch 'master' into Playerbot 2025-02-19 22:29:36 +08: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
Yunfan Li
41415bb3c3 Merge branch 'master' into Playerbot 2025-02-11 22:35:57 +08: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
Yunfan Li
de3c2b553e Merge branch 'master' into Playerbot 2025-02-04 23:40:06 +08:00
Kitzunu
47c5ff904f refactor(Core/Disables): Convert from Namespace to Class Structure (#21109) 2025-02-01 22:48:52 +01:00
Yunfan Li
cf035b5e5e Merge branch 'master' into Playerbot 2025-01-23 23:23:53 +08: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
Yunfan Li
91edb92f7a Merge branch 'master' into Playerbot 2025-01-15 20:49:11 +08: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
Yunfan Li
36ac083814 Merge branch 'master' into Playerbot 2024-12-31 17:18:40 +08:00
EricksOliveira
2110f7cc84 Core/TempSummons: avoid use MoveInLineOfSight before InitSummon (#20999) 2024-12-22 09:03:28 +01:00
Yunfan Li
fce06946e1 Merge branch 'master' into Playerbot 2024-11-16 13:15:00 +08:00
Francesco Borzì
a9f0f371e5 refactor(src/server/game): optimise imports (#20541) 2024-11-13 11:37:20 +01:00
Yunfan Li
abd9b4ebb8 Merge branch 'master' into Playerbot 2024-10-30 21:43:42 +08:00
Francesco Borzì
cb7e28df05 refactor(src/server/game/*): remove unused imports (big part 1) (#20310) 2024-10-27 10:25:40 +01:00
Yunfan Li
414805e692 Merge branch 'master' into Playerbot 2024-09-04 23:46:34 +08: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
Yunfan Li
a642358a43 Merge branch 'master' into Playerbot 2024-08-26 22:29:54 +08:00
Grimdhex
643362d697 refactor(Core/Object): adds consistency in the use of type object check (#19671) 2024-08-25 09:57:37 -03:00
Yunfan Li
1f54cb14fa Merge branch 'master' into Playerbot 2024-07-07 13:33:14 +08:00
sudlud
60be029e4c fix(Core/Scripting): fix OnBeforeCreateInstanceScript hook (#19252)
- to me this hook should obviously provide an option to overwrite
  the InstanceScript pointer
- this is e.g. beeing used by mod-eluna (but currently broken)
2024-07-03 14:54:45 -03:00
Yunfan Li
cc5adebbe4 Merge branch 'master' into Playerbot 2024-07-03 16:04:51 +08:00