AG
60e27511c5
fix(Core/Grid): Address bugs and performance issues introduced by visibility notifier implementation ( #17480 )
...
* Bug fixes
- Corrected std::chrono from seconds to milliseconds
- Got rid of leftover code that caused objects to not show up on time
* Removed logic to set gameobject as active
- More alignement with TC.
- Reduces CPU usage drastically
* Revert back to using time_t instead of std chrono
* Invoke SetNoCreate() method to reduce CPU usage drastically
* Remove setActive from static and motion transports
* Fix performance issues
* Added SetFarVisible to WG and some dungeon scripts
- Also removed setActive(true) from creatures in Wintergrasp. As for gameobjects they are set to active upon being damaged/destroyed and removed from active on rebuild (reset)
* Removed comments related to VISIBILITY_COMPENSATION
* Fix log
* Deleted unused files + corrected a check
* Added missing header
* Removed unused parameter
* Removed another unsued parameter
* Changed vector to set for i_visibleNow
- Changed vector to set for i_visibleNow in VisibleNotifer
- Adjusted HaveAtClient to accept Object*
- Adjusted SendUpdateToPlayer to send createobject packet only if not known to client
2023-10-23 05:37:11 -03:00
Kitzunu
a4e4d6ddb2
feat(Core/Player): Implement commentator tag ( #17449 )
...
* feat(Core/Player): Implement commentator tag
* remove redundant session check
2023-10-08 09:07:17 +02:00
Andrew
2873736145
feat(Core/Player): Move SaveSkills() to the public scope ( #17418 )
2023-10-05 03:38:10 -03:00
AG
2779833768
feat(Core/Grids): Implement visibility notifier ( #15919 )
...
* Cherry-picked from TrinityCore (unable to find author)
2023-09-28 22:28:28 +02:00
Ludwig
f633eb8592
fix(Core/Achivement): Implement ACHIEVEMENT_FLAG_AVERAGE ( #17263 )
2023-09-21 18:56:28 +02:00
Tralenor
0796df57ac
feat(Core/Player): Addition of a Hook in CanFlyInZone check ( #16590 )
...
---------
Co-authored-by: tmoos <tmoos@meteomatics.com >
Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com >
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2023-09-20 22:40:08 +02:00
Tereneckla
718b0000ba
fix(Core/Reputation): remove reputation splitting for being partied ( #16660 )
...
remove rate for party
2023-07-02 15:02:14 -03:00
AnchyDev
444793346d
feat(Core/Hooks): Add parameter to detect XP origin for OnGiveXP hook. ( #16109 )
...
Added enum parameter to detect where XP originated from.
2023-05-05 22:39:36 -03:00
M'Dic
7e58650cf5
revert(Core): ChrRace.dbc full implementation ( #16114 )
...
* revert (core): ChrRace.dbc full implementation
we revert this due to several issues arrising. Although the dbc reading is done in full and correctly. Azerothcore relied on the original handling (althought not propper) for so long that there is
* revert
* Update remove_charrace_dbc.sql
* Update remove_charrace_dbc.sql
* Update remove_charrace_dbc.sql
2023-04-29 08:23:11 -03:00
M'Dic
3eae4c5713
fix(core/dbc): improve ChrRace DBC handling ( #14843 )
...
Cherry pick of https://github.com/TrinityCore/TrinityCore/pull/24508
Co-authored-by: HelloKitty <5829095+HelloKitty@users.noreply.github.com >
2023-04-28 01:29:33 +02:00
天鹿
df77b5f4f7
chore(core): cleanup code p3 ( #16073 )
...
* Update MMapMgr.cpp
* Update UpdateFetcher.cpp
* Update AuctionHouseMgr.cpp
* Update AuctionHouseMgr.h
* Update BattlegroundAV.cpp
* Update ChannelMgr.cpp
* Update ThreatMgr.h
* Update Player.h
* Update PlayerSettings.cpp
* Update ObjectMgr.cpp
* Update Guild.cpp
* Update Guild.h
* Update Map.cpp
* Update World.cpp
* Update boss_nefarian.cpp
* Update boss_prince_malchezaar.cpp
* Update boss_venoxis.cpp
* Update zone_elwynn_forest.cpp
* Update zulfarrak.cpp
* Update boss_novos.cpp
2023-04-24 08:13:07 -03:00
Kitzunu
a0c51a45fb
fix(Core/Player): Send player's own auras before all visible objects ( #15445 )
...
* fix(Core/Player): Send player's own auras before all visible objects
* cherry-pick commit (c6cd272505 )
Co-Authored-By: Mikhail Redko <13364438+r4d1sh@users.noreply.github.com >
* Update Map.cpp
* Update src/server/game/Entities/Player/Player.cpp
* Update src/server/game/Entities/Player/Player.cpp
* Update src/server/game/Maps/Map.cpp
---------
Co-authored-by: Mikhail Redko <13364438+r4d1sh@users.noreply.github.com >
2023-04-02 15:30:26 -03:00
UltraNix
b21f98d639
fix(Scripts/Karazhan): Chess Event. ( #14736 )
2023-03-15 00:07:49 -03:00
Skjalf
a9f945b436
feat(Core/Player): Implement helper to send system messages to players ( #15364 )
2023-03-12 15:35:54 -03:00
UltraNix
af2d3a7cfc
fix(Core/Spells): Spellmods should not drop charges if not consumed b… ( #13498 )
2023-01-02 20:36:44 +01:00
Kitzunu
4870b14b1f
refactor(Core/Object): getLevel() -> GetLevel() ( #14122 )
...
* refactor(Core/Object): getLevel() -> GetLevel()
* fix build and sneak some doxygen in
* codeSTLE
* codestyle
2022-12-31 17:39:23 +01:00
Axel Cocat
a104f397d9
feat(Core): move achievement manager and criteria progress getters to public ( #14387 )
2022-12-29 13:41:47 +01:00
UltraNix
6345958769
fix(Core/Loot): Disenchanted, milled or prospected items should be se… ( #14273 )
...
fix(Core/Loot): Disenchanted, milled or prospected items should be sent as retrieval mail in case of full bags.
Fixes #10798
2022-12-27 21:43:12 -03:00
UltraNix
0c1b967f9b
fix(Core/Transports): Added Arrival bell sound for boats. ( #14272 )
...
Fixes #11340
2022-12-25 10:35:55 -03:00
UltraNix
8f697bdaee
fix(Core/Items): Item sell prices are affected by durability loss. So… ( #13801 )
...
...urce: Vmangos.
2022-11-21 18:51:40 -03:00
UltraNix
41d3df9fcb
fix(Scripts/Commands): Fixed command learn all my talents for chars… ( #13529 )
...
fix(Scripts/Commands): Fixed command `learn all my talents` for chars with 255 level.
Fixes #4788
2022-10-29 07:12:35 -03:00
M'Dic
2e6f6e26da
Add (core\db): Support for Homebind Orientation ( #13389 )
...
Add (core\db) Support for Homebind Orientation
2022-10-12 14:39:02 -04:00
UltraNix
e390087efd
feat(Core/Items): Implemented elemental weapon damage. Source: Trinit… ( #13050 )
...
...yCore.
2022-10-08 14:34:52 -03:00
Angelo Venturini
ad4ce0895f
fix: Qaston revert ( #13320 )
...
* Revert "fix(Core/QAston): fixed shields oneshotting (#13271 )"
This reverts commit e05f61d1b3 .
* Revert "fix(Core): Crash (#13292 )"
This reverts commit a818bcf3e2 .
* Revert "fix: Crash (#13241 )"
This reverts commit be423a91b5 .
* delete sql
* Revert "refactor(Core/Spells): Implement QAston Proc System (#11079 )"
This reverts commit cbd3fd0967 .
* add sql revert
* fix sql
* remove update from world.updates
2022-10-05 21:53:20 +02:00
IntelligentQuantum
cbd3fd0967
refactor(Core/Spells): Implement QAston Proc System ( #11079 )
...
* .
* sql
* .
* .
* 1
* 2
* 3
* 4
* 5
* 6
* 7
* 8
* 9
* 10
* 11
* 12
* 13
* 14
* 15
* Update spell_item.cpp
* Update Unit.cpp
* 16
* 17
* 18
* 19
* 20
* 21
* Update Unit.cpp
* REVERT UltraNIX Commit
* 22
* 23
* .
* .
* .
* warrior
* warlock
* shaman rogue priest paladin mage
* spell item
* hunter
* druid
* dk
* war
* error style
* Update rev_1647677899565690722.sql
* Update rev_1647677899565690722.sql
* Update rev_1647677899565690722.sql
* .
* DOND DEL ME WAD DO DO
* error 2
* .
* .
* .
* FIX
* Update SpellInfoCorrections.cpp
* Update SpellInfoCorrections.cpp
* .
* ja genau
* Update .gitignore
* .
* .
* .,
* .
* .
* .
* .
* Update Unit.cpp
2022-10-02 19:39:34 +02:00
M'Dic
8b9541873a
feat(Core/ChatHandler/Conf): Flood Control Addon Messages ( #12603 )
...
* feat(Core/ChatHandler): Flood Control Addon Messages
Original Closed PR by @Kitzunu
https://github.com/azerothcore/azerothcore-wotlk/pull/11675
Cherrypicked TC:
cherry-pick commit (TrinityCore/TrinityCore@5384fc1 )
cherry-pick commit (stoneharry/TrinityCore@a0629fc )
Co-Authored-By: stoneharry 3818405+stoneharry@users.noreply.github.com
Co-Authored-By: Shauren shauren.trinity@gmail.com
Co-Authored-By: stoneharry <3818405+stoneharry@users.noreply.github.com >
Co-Authored-By: Shauren <shauren.trinity@gmail.com >
Co-Authored-By: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
* update: (pr): Review Response
* update: (core): Chathandler
No reason why this case should even exist. Previous or current. This cast is under two sided interations which will always lead to you being in a group of some sorts. there is literally zero sense having a above or equal to level 80 if statement here.
* update (cleanup): Code Style
suggestion per @Nefertumm
Co-Authored-By: Angelo Venturini <nefertum.dev@protonmail.com >
Co-authored-by: stoneharry <3818405+stoneharry@users.noreply.github.com >
Co-authored-by: Shauren <shauren.trinity@gmail.com >
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
Co-authored-by: Angelo Venturini <nefertum.dev@protonmail.com >
2022-08-17 10:37:34 -04:00
Maelthyr
d0d1671745
feat(Core/Debug): GetDebugInfo implementation ( #12705 )
...
Cherry-pick: 9a924fb9d5
Co-authored-by: jackpoz <giacomopoz@gmail.com >
Co-authored-by: jackpoz <giacomopoz@gmail.com >
2022-08-15 09:43:41 -03:00
UltraNix
1c6eab5856
fix(Core): Crashfix. ( #12643 )
2022-08-07 18:22:12 -03:00
M'Dic
825db0f8c1
update (core): Knock Back Helpers ( #12639 )
...
Adds knock back helpers to the core for future core and module use.
2022-08-05 20:15:58 -04:00
UltraNix
572a680c16
fix(Core/Movement): Improvements to taxi flight movement generator: ( #12347 )
...
Changed multi-segment taxi paths to fly nearby flight masters along the way, not directly through them.
Taxi cost on multi-segment paths is now charged per segment when it is started.
Properly send taxi node status on login, as well as if the taxi master is out of range.
Apply reputation discount to all points in multi-segment paths.
Properly clean up list of taxi destinations upon arrival at final node.
Teleport players to the destination taxi node location instead of their current ground position.
Don't start a spline with just 1 point in FlightPathMovementGenerator
Source: TrinityCore.
2022-08-01 23:21:11 -03:00
UltraNix
0b0a142580
feat(Core/Entities): Enabled loading basic stats for players, pets an… ( #12394 )
...
* feat(Core/Entities): Enabled loading basic stats for players, pets and items from database as 32 bit integers.
Closes #12386
2022-07-23 12:12:07 -04:00
UltraNix
db41a0132e
fix(Core/Misc): Fixed radius of areatriggers in battlegrounds. ( #12017 )
...
* fix(Core/Misc): Fixed radius of areatriggers in battlegrounds.
Fixes #12004
* buildfix.
2022-06-13 08:57:35 -03:00
UltraNix
3f8bf7f994
fix(Core/Spells): Properly handle SPELL_MOD_THREAT flat spell mods. ( #11911 )
...
* fix(Core/Spells): Properly handle SPELL_MOD_THREAT flat spell mods.
Fixes #11570
* buildfix.
2022-06-06 09:01:32 -03:00
UltraNix
914ea4f9c3
fix(Core/Items): Properly transfer enchantment durations from old to … ( #11828 )
...
fix(Core/Items): Properly transfer enchantment durations from old to newly created/summoned items.
Fixes #11687
2022-05-23 04:27:53 -03:00
UltraNix
5a9bf21cd8
fix(Core/Spells): Implemented spell priorities. ( #11278 )
...
* fix(Core/Spells): Implemented spell priorities.
Fixes #11261
* Update.
* Update.
* Update.
2022-04-16 15:28:24 +02:00
Kitzunu
b709a22ddc
feat(Core/Players): PlayerFlag helpers ( #11294 )
...
* feat(Core/Players): PlayerFlag helpers
* Update Player.h
* fix build
2022-04-05 18:53:50 +02:00
IntelligentQuantum
6a6d0e5907
feat(Core/Packet): SMSG_DURABILITY_DAMAGE_DEATH ( #10894 )
2022-03-23 13:35:30 +01:00
Kargatum
78bdc89881
feat(Core/Battleground): rework bg queue system ( #10817 )
2022-03-15 14:36:49 -03:00
IntelligentQuantum
7ad65752fa
feat(Core/Maps): Improvements to Cinematic function ( #10765 )
2022-03-11 08:21:54 +01:00
UltraNix
617d85a498
fix(Core/Movement): Send proper movement animation visuals. ( #10843 )
...
Fixed #10812
Fixed #10814
2022-03-06 12:31:41 -05:00
UltraNix
1366838a05
fix(DB/Creatures): Nat Pagle should display vendor icon if player completed Nat's Measuring Tap quest. ( #10657 )
...
Moved c++ script to DB. Original author: @offl
Fixes #10559
2022-02-17 01:13:39 +01:00
Kitzunu
455899dc75
fix(Core/Misc): Change const to be after type name ( #10591 )
2022-02-14 16:05:45 -03:00
Kitzunu
ead906c58f
refactor(Core/Packets): Rewrite MSG_RANDOM_ROLL to new packet class ( #10590 )
...
* refactor(Core/Packets): Rewrite MSG_RANDOM_ROLL
* cherry-pick commit (c0f516caee )
Co-Authored-By: ForesterDev <11771800+ForesterDev@users.noreply.github.com >
Co-Authored-By: DJScias <439655+DJScias@users.noreply.github.com >
* handle crash check in DoRandomRoll()
* Update MiscPackets.h
* Update Player.h
Co-authored-by: ForesterDev <11771800+ForesterDev@users.noreply.github.com >
Co-authored-by: DJScias <439655+DJScias@users.noreply.github.com >
2022-02-11 10:30:49 +01:00
acidmanifesto
c50f7feda0
feat (core): Add Teleport Helpers ( #10611 )
...
* feat (core): Add Teleport Helpers
* Lower case the things
2022-02-09 20:54:46 -05:00
UltraNix
0b02ba87fc
fix(Core/Reputations): Faction rep gained by killing mobs is now prop… ( #9737 )
...
* fix(Core/Reputations): Faction rep gained by killing mobs is now properly rounded up.
Do not increase reputation rank if exceeds max rank cap.
Fixes #8718
2022-02-05 07:37:00 -03:00
Kargatum
8b7df23f06
feat(Core/Time): Implement saparated manager for game time ( #8630 )
2022-01-24 17:55:00 +07:00
IntelligentQuantum
75fc2d1b2d
fix(Scripts/Commands): quest complate kill reward ( #9926 )
2022-01-24 09:22:40 +01:00
UltraNix
1cbf52fb3d
fix(Core/Spells): Fixed Revive Pet. ( #10324 )
...
Fixed #10267
2022-01-23 21:19:52 -03:00
UltraNix
ac0129a0ac
fix(Core/Spells): Passive auras with SPELL_ATTR0_ONLY_INDOORS/SPELL_A… ( #9837 )
...
* fix(Core/Spells): Passive auras with SPELL_ATTR0_ONLY_INDOORS/SPELL_ATTR0_ONLY_OUTDOORS should not be removed when entering/leaving buildings.
Fixes #9209
2022-01-22 23:09:17 -03:00
Kargatum
6d7f58e6ed
feat(Core/Common): delete old Tokenizer ( #10121 )
2022-01-21 14:59:05 +07:00