Commit Graph

302 Commits

Author SHA1 Message Date
Kitzunu
856aed6fc6 feat(Core/Unit): New helpers for UnitFlag and UnitFlag2 (#11227) 2022-03-30 07:59:42 -03:00
UltraNix
9c0c925433 fix(Core/Combat): Improved extra attacks handling. Author: @trickerer (#11169)
Fixes #9423
Fixes #11138
2022-03-27 11:08:18 -04:00
IntelligentQuantum
a5cb274222 Core/Packet: MIRROR_TIMER (#10885) 2022-03-27 01:19:26 -03:00
IntelligentQuantum
6a6d0e5907 feat(Core/Packet): SMSG_DURABILITY_DAMAGE_DEATH (#10894) 2022-03-23 13:35:30 +01:00
IntelligentQuantum
86e438a1e7 Core/Packet: SMSG_LEVELUP_INFO (#10884) 2022-03-21 04:43:45 +07:00
UltraNix
76b72b3631 feat(Core/Chat): Fixed feature to prevent horde and alliance players to chat with each other via custom emotes. (#11000)
Fixes #10600
2022-03-17 20:11:08 +07: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
IntelligentQuantum
8eeb6ef1b7 feat(Core/Packet): SMSG_CROSSED_INEBRIATION_THRESHOLD (#10893) 2022-03-06 15:49:55 -05:00
IntelligentQuantum
029b79ecce feat(Core/Players): do not update position data on character creation 2022-03-06 15:45:49 -05:00
UltraNix
617d85a498 fix(Core/Movement): Send proper movement animation visuals. (#10843)
Fixed #10812
Fixed #10814
2022-03-06 12:31:41 -05:00
Kargatum
acd3ed8759 fix(Core/Player): fix pet not appearing after dismount for warlock (#10899) 2022-03-05 04:54:54 -03: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
3501ceb710 refactor(Core/DB/playercreateinfo_spell_custom): Load empty (#10595) 2022-02-14 20:21:56 +01:00
Kitzunu
455899dc75 fix(Core/Misc): Change const to be after type name (#10591) 2022-02-14 16:05:45 -03:00
UltraNix
89deb60d43 fix(Core/Spells): Flasks should not be overridden by elixirs. (#10301)
* fix(Core/Spells): Flasks should not be overridden by elixirs.
2022-02-12 15:51:27 +01: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
Kitzunu
210029095a fix(Core/GameObjects): Do not allow players to interact with gobs that use "Point" icon (#9800)
- cherry-pick commit (c52c0f0b7d)

- This was confirmed in sniffs, see TrinityCore/TrinityCore@c52c0f0#commitcomment-34342342

Co-Authored-By: Wyrserth <43747507+Wyrserth@users.noreply.github.com>
2022-02-10 14:50:33 +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
Skjalf
fb890b3310 feat(Core/Player): Implement option to convert excess honor points int… (#10565) 2022-02-09 18:04:56 -03:00
Kargatum
11006041ac fix(Core/Build): macOS build (part 1) (#10549) 2022-02-08 11:21:17 +01: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
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
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
Kargatum
259b9133f6 feat(Core/Common): add new helpers for time utility (#10207) 2022-01-19 12:01:59 +07:00
Kargatum
7f05e20994 fix(Core/Pets): fix crash at pet resurrect (#10120) 2022-01-15 19:08:54 -03:00
acidmanifesto
4330e44ad0 fix (Core/CodeReduction) TC_ removal (#10162)
TC_ remove from any commit out TC_LOG in the event when we do need to run debug logging, we can just remove the // instead of // TC_
2022-01-13 14:39:54 -05:00
Kargatum
c1ebda66ba fix(Core/Pets): fixed crash happening when current pet is forcibly removed (#10025) 2022-01-10 09:19:43 -03:00
IntelligentQuantum
aaf85d0984 refactor(Core/Packet): Combat log (#9673) 2022-01-09 05:21:41 +01: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
UltraNix
2c6a692000 fix(Core/Entities): extend combo point system to all Units (#9816)
- Closes #1140
2022-01-07 11:18:03 +01:00
acidmanifesto
2d4e17fd16 refactor(Core/Creature): Remove Inhabit Type (#9272)
This is in reference to issue: https://github.com/azerothcore/azerothcore-wotlk/issues/4361
This is comprised of a cherry pick and partial tc cherry pick:
592516ae69
dbadb6369c
34cfa69efd
12de860b4a
a22bc236eb
2022-01-06 10:33:22 -03:00
acidmanifesto
d504a62293 fix(Core\OpCode): HandleFarSightOpcode (#9965)
* Change TO ThreadUNSAFE

This will process the far sight packet as a is not thread-safe - process it in World::UpdateSessions() compared to the former packet is thread-safe - process it in Map::Update().
This matches up with tc in everything we have with the HandleFarSightOpcode.

* Further Adjustments

* Move to Debug Loggin

TC has it as move to Debug Logging. Stating its a weird opcode handling issue which is not really known why.
2022-01-06 09:22:08 -03:00
UltraNix
d8712455c7 fix(Core/Spells): Multi-Shot should not be affected by Glyph of Aimed… (#9897)
* fix(Core/Spells): Multi-Shot should not be affected by Glyph of Aimed Shot.

Fixes #9707

* Update.
2022-01-03 15:15:24 -03:00
Kitzunu
f04709a326 refactor(Core/Misc): ceil() to std::ceil() (#9791)
- prefer std functions over C functions
2022-01-03 10:11:39 -03:00
Francesco Borzì
b748730bc8 refactor(Core): remove unused imports (#9969) 2022-01-02 20:22:09 +01:00
Kitzunu
913e65f97f refactor(Core/Misc): fabs() to std::fabs() (#9790)
- prefer std functions over C functions
2021-12-31 20:41:00 -03:00
Kitzunu
ac99eb48e1 refactor(Core/Misc): abs() to std::abs() (#9789) 2021-12-31 19:29:39 -03:00
Kargatum
e12494d993 feat(Core/Pets): Management refactoring (#9712)
* feat(Core/Pets): rework managment

* 1

* 2

* 3

* 4

* 5

* cs pet

* check before ressurect

* pet DECLINED_NAMES

* display

- https://github.com/azerothcore/azerothcore-wotlk/issues/9297

* ArenaSpectator

* 1
2021-12-30 18:45:13 -03:00
UltraNix
a54c84f349 fix(Core/Players): Removed old and invalid Player::SetInWater funct… (#9739)
* fix(Core/Players): Removed old and invalid `Player::SetInWater` function.

Updates #8729

* buildfix.
2021-12-28 09:34:45 -03:00
IntelligentQuantum
f88203a73a fix(Core/Player): Arena AFK (#9733) 2021-12-28 07:37:47 -03:00
Skjalf
58302e4196 feat(Core/Player): Implement player specific settings (#9483) 2021-12-26 08:39:15 -03:00
Kargatum
455372bda4 feat(Core/SavingSystem): remove old player saving system (#9779) 2021-12-24 08:37:45 -03:00
Skjalf
e7b5bb2420 feat(Core/Player): Split Dungeon Finder quest rates (#9788) 2021-12-19 19:29:26 -03:00
Francesco Borzì
cbc7e5466a refactor(Core): remove unused imports (#9767) 2021-12-19 19:41:14 +01:00
UltraNix
0dd59e66d3 fix(Core/Quests): implement QUEST_SPECIAL_FLAGS_NO_REP_SPILLOVER (#9661)
Fixes #9552
2021-12-17 18:06:15 +01:00