ZhengPeiRu21
c2efd301b5
Merge branch 'azerothcore:master' into Playerbot
2022-05-06 16:13:01 -06:00
Tralenor
6cf82e3bd6
feat(Core/DB): Add Hooks On creature/game object save to db ( #11246 )
...
* implement OnCreatureSaveToDB and OnGameObjectSaveToDB Hooks
* fix Whitespaces in ScriptMgr.h
Co-authored-by: Timothée Moos <t1997.m@gmx.net >
2022-05-06 00:42:49 -03:00
ZhengPeiRu21
2cb590a48b
Merge branch 'azerothcore:master' into Playerbot
2022-04-07 08:55:50 -06:00
Kitzunu
b41967a067
feat(Core/GameObject): Gob flag helpers ( #11287 )
2022-04-05 13:52:58 +02:00
ZhengPeiRu21
32dc06900c
Merge branch 'azerothcore:master' into Playerbot
2022-03-30 09:53:52 -06:00
Kitzunu
856aed6fc6
feat(Core/Unit): New helpers for UnitFlag and UnitFlag2 ( #11227 )
2022-03-30 07:59:42 -03:00
郑佩茹
d4062269c8
Merge branch 'master' into Playerbot
2022-03-22 10:53:26 -06:00
郑佩茹
db71f4739c
Fix corrupt item cache crashes, bot whispers, trade crashes
2022-03-22 10:51:50 -06:00
acidmanifesto
77f13636b7
fix (core) Script Names not loaded with manual add ( #11102 )
...
This fixes Script names not being loaded with npcs and gameobjects when manually added with the .npc\gameobject add cmd that would lead the user to restart the server to load up the npc\gameobject with the script that was manually added
2022-03-22 09:49:06 -04:00
UltraNix
68891ccd74
fix(Core/Loot): Fixed some chests inside dungeons not being bound only to participants. ( #10995 )
2022-03-18 18:33:04 -03:00
UltraNix
982be6de00
fix(Core/GameObjects): move activation code of traps to GO_ACTIVATED ( #10537 )
...
- Original author: @Gacko
2022-02-19 22:26:26 +01:00
Kitzunu
cf65cd6baf
refactor(Core/Misc): sqrt/log/exp() to std::sqrt/log/exp() ( #9792 )
2022-02-09 11:59:30 +01:00
Kargatum
de13bf426e
feat(Core/DBLayer): replace char const* to std::string_view ( #10211 )
...
* feat(Core/DBLayer): replace `char const*` to `std::string_view`
* CString
* 1
* chore(Core/Misc): code cleanup
* cl
* db fix
* fmt style sql
* to fmt
* py
* del old
* 1
* 2
* 3
* 1
* 1
2022-02-05 00:37:11 +01:00
Kargatum
5969df4e30
refactor(Core/Logging): switch to fmt style for LOG_ ( #10366 )
...
* feat(Core/Common): add support fmt style for ASSERT and ABORT
* correct CheckCompactArrayMaskOverflow
* 1
* Update src/server/game/Spells/Spell.cpp
* rework logging
* add fmt replace logs
* logging
* FMT_LOG_
* settings
* fix startup
* 1
* 2
* 3
* 4
* 5
* fmt::print
* to fmt
2022-01-27 16:44:41 +01:00
Kargatum
8b7df23f06
feat(Core/Time): Implement saparated manager for game time ( #8630 )
2022-01-24 17:55:00 +07:00
IntelligentQuantum
725b1266b4
refactor(Core/Packet): Chat ( #9509 )
...
* Chat
* .
* Update GameObject.cpp
* Update Object.cpp
* Update Player.cpp
2022-01-08 07:11:06 -03:00
Kitzunu
cb7e355291
refactor(Core/Misc): sin() to std::sin() ( #9795 )
2022-01-06 19:29:40 +01:00
Kitzunu
69683a3472
chore(Scripts/Misc): Cleanup some more JustDied hooks ( #9768 )
2021-12-31 12:00:40 -03:00
UltraNix
3b8e3eb609
fix(DB/Gameobjects): Spirit Candle should properly give buff to nearby players ( #9690 )
...
Fixes #8815
2021-12-17 18:29:08 +01:00
Kitzunu
4a6db8f8c6
fix(Core/Object): Add infinite gob check ( #9667 )
...
* cherry-pick commit (b0db728c49 )
Co-authored-by: Kittnz <5845231+kittnz@users.noreply.github.com >
2021-12-17 18:06:57 +01:00
Kargatum
51adbffae4
feat(Core/Modules): add separated lib for modules ( #9281 )
2021-12-02 20:28:58 +07:00
acidmanifesto
29f49108a5
chore(Core): Remove unnecessary slang Cosmetic ( #9325 )
...
* Remove unnecessary slang
Removes ZOMG! that is used in the src in logging and notes. Completely Unnecessary. Contributes to nothing useful. Inflates source. Not needed at all in any shape or form. Not Developer Lingo either.
* Further Clean Up
Removed Profanity
* sensible grammar correction
* More ZOMG! removal
2021-11-25 04:31:54 -03:00
UltraNix
140374e3e0
fix(Core): Fixed dead loop. ( #9312 )
2021-11-24 10:27:10 -03:00
patou01
0f4268bea7
fix(Core/DB): add exceptions for shield and badge. Update db for positions ( #9169 )
...
Co-authored-by: Patou01 <youdontneed@this.com >
2021-11-23 00:34:11 +01:00
UltraNix
dc9c3a5fe4
fix(Core/GameObjects): Lockpicking timer on gameobjects should reset … ( #9203 )
...
* fix(Core/GameObjects): Lockpicking timer on gameobjects should reset after 10 minutes.
Fixes #8936
2021-11-22 12:07:55 -03:00
Kargatum
f62664c987
refactor(Core/Misc): headers cleanup ( #9259 )
2021-11-22 17:24:39 +07:00
acidmanifesto
de6af87bd3
fix(Core/Objects): increase sight range of objects & correct general defau… ( #9180 )
2021-11-17 16:00:01 -03:00
Malcrom
f106de8788
refactor(Core): update getFaction to GetFaction and setFaction to SetFaction ( #8708 )
2021-11-01 17:04:32 +01:00
Skjalf
041b327c80
fix(Core/GameObject): Spawn linked traps when gameobjects are created ( #8572 )
2021-10-26 22:15:30 -03:00
acidmanifesto
bcd1a701ac
fix(Core): ScriptName not readable in creature and gameobject table fix ( #8715 )
2021-10-25 14:25:13 +02:00
Skjalf
c2381a5a1c
fix(Core/BattlegroundAV) Irondeep/Coldtooth Supplies never despawning ( #8612 )
2021-10-22 00:03:47 +02:00
Skjalf
3894dfc897
fix(Core/SAI): Update SMART_ACTION_FORCE_DESPAWN to allow temporarily despawning gameobjects ( #8340 )
...
* fix(Core/SAI): Update SMART_ACTION_FORCE_DESPAWN to allow temporarily despawning gameobjects
* brackets
* Some improvements
* restore the virtual
2021-10-14 13:23:59 +02:00
UltraNix
4947887644
fix(Scripts/Brewfest): Rewritten Coren Direbrew's fight( #8040 )
...
- Closes #7890
2021-10-08 21:03:38 +02:00
Skjalf
72de7a9a22
fix(Core/GameObject): credit nearby group members on object activation if they're in reward range ( #8240 )
...
Ported from: cd625a12e2
Credits to @Treeston
2021-10-07 13:08:30 +02:00
Kargatum
52aa0e9966
feat(License): add new headers information about license ( #7941 )
...
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com >
2021-09-30 13:40:52 +07:00
lineagedr
ae8a78d90a
feat(Core/Gameobject): add a range check for gameobjects ( #7521 )
2021-08-31 10:34:43 +02:00
UltraNix
a8c0a2cc89
fix(Core/Movement): ( #7008 )
...
- Get zone/area IDs from vmap data in the liquid update
- Add new method Map::getFullVMapDataForPosition to get area info and liquid info in a single vmap lookup
- Adjust GetZoneId/GetAreaId on WorldObject to always return these cached fields.
- Clean up liquid state handling on Unit and Player
- Implemented getting area id from gameobject spawns.
- Removed old core related to getting movement flags dependent on environment.
- Movement flags are now processed more precisely and dynamically.
Original source: TrinityCore.
- Closes #5086
- Updates #2208 .
2021-08-25 12:41:20 +02:00
UltraNix
1b7d3708a6
fix(Core/Loot): ( #7452 )
...
- Players that did not participate in killing dungeon boss are not eligible to get loot.
- Players that are too far away from the looted object are not eligible to get loot.
- Players that released spirit and were outside the dungeon when the loot has been released are eligible to get loot.
- Players that have pending bind are not eligible to get loot.
- Properly get loot recipient for some chests in dungeons.
- All above fixes should work in any loot mode (group loot, master loot, etc.)
- Closes #2104 .
2021-08-24 23:48:22 +02:00
Francesco Borzì
4103fca5a4
fix(Core/ObjectGuid): prevent creating copies when looping objects ( #6852 )
2021-07-10 15:54:16 +02:00
Kitzunu
9c5b5e4ca9
refactor(GameObject): Update some methods to UpperCamelCase ( #6487 )
2021-06-28 19:41:32 +02:00
Kargatum
9ac6fddcae
feat(Core/Database): port TrinityCore database API ( #5611 )
2021-06-22 06:21:07 +02:00
Kargatum
5787d00d54
chore(Core/Logging): replace most server loggers ( #5726 )
...
* chore(Core/Logging): replace most server loggers
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2021-06-21 03:07:12 +02:00
Francesco Borzì
466cdb68d6
refactor(Core): code cleanup (part 2) ( #6374 )
2021-06-16 20:40:42 +02:00
Kitzunu
7152ddc82c
refactor(Core/Grids): Ported cmangos/mangos-wotlk@ea99457 ( #6113 )
...
* refactor(Core/Grids): Ported cmangos/mangos-wotlk@ea99457
(cherry picked from commit d6201e5dbb )
Co-Authored-By: Shauren <shauren.trinity@gmail.com >
Co-Authored-By: SilverIce <slifeleaf@gmail.com >
* Update CellImpl.h
* w
* more more brackets
* ew
* fix build
2021-06-03 05:27:51 +02:00
Kitzunu
897a02bb75
refactor(Core/Misc): acore to Acore ( #6043 )
2021-05-31 14:21:54 +02:00
UltraNix
0d699222de
fix(Core/Gameobjects):bloading addon table. ( #5885 )
...
Fixed #5771 .
2021-05-16 11:58:38 +02:00
Kargatum
db7d754f3f
feat(Core/Common): delete lib game-interface inherited ( #5333 )
...
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2021-05-07 02:16:44 +07:00
UltraNix
87a35b6569
fix(Core/GameObjects): Gameobject rotation and moving actions not updating to client ( #5223 )
2021-05-02 19:25:50 -06:00
Axel Cocat
f70ed8b8ca
fix(Core): fix chests not despawning when opened in group (2) ( #5387 )
...
* fix(Core): fix chests not despawning when opened in group
* fix(Core): fix crashes in pr #5371
* Replaced nullptr checks
* Used if with initializer instead of separate scope
2021-05-01 07:03:59 +02:00
UltraNix
f4c226423d
feat(Core/Misc): implement ObjectGuid class (port from TC) ( #4885 )
2021-04-25 22:18:03 +02:00