Commit graph

249 commits

Author SHA1 Message Date
IntelligentQuantum
3591f69662
refactor(Core/Packet): Guild (#9411)
* Core/Packet: Guild

* Winfi
2021-12-11 10:00:06 +01:00
schell244
39355fa1ee
fix(Core/Players): Update the player's zone and area only after update the player's position server-side (#9419) 2021-12-09 21:58:43 -03:00
UltraNix
0300cef119
fix(Core/Auras): Always process hover/waterwalking movement flags on aura removal. (#9416)
Fixes #9056
2021-12-09 18:06:53 -03:00
acidmanifesto
fa1c2eca9d
fix(Core/Player): Fix potential freeze on login after skipping cinematics (#9577)
Move to static_cast and matching it up with tc stops the error on console and first login characters from being frozen when skipping cinematics
2021-12-08 11:50:49 -03:00
UltraNix
d0167d0d6d
fix(Core/Corpses): Reset corpse location data if player already resurrected in different dungeon map. (#9429)
Fixes #9210
2021-12-06 14:48:46 -03:00
Kargatum
51adbffae4
feat(Core/Modules): add separated lib for modules (#9281) 2021-12-02 20:28:58 +07:00
UltraNix
8668a03e14
fix(Core/DungeonFinder): Dead players should be able to get XP reward from random dungeon. (#9319)
Fixes #9082
2021-12-01 07:04:41 -03:00
IntelligentQuantum
0632f3baff
fix(Core/CharacterHandler): Reputation + Map Explore AT_FIRST_LOGIN (#9252) 2021-11-29 00:23:25 +01:00
IntelligentQuantum
ab761c9865
fix(Core/Player): prevent crash exploit spam duel starting (#9226) 2021-11-28 16:42:53 -03:00
patou01
44de147a9b
fix(Core/Loot) remove stealth/feign death on loot (#8982)
* remove a few auras on loot

* remove mount, doesn't work

* removed unnecessary check. Changed to vector

* exception for pickpocketing

* Update src/server/game/Entities/Player/Player.cpp

* Update src/server/game/Entities/Player/Player.cpp

* Update src/server/game/Entities/Player/Player.cpp

* Update src/server/game/Entities/Player/Player.cpp

* Update src/server/game/Entities/Player/Player.cpp

* not as elegant yadi yada but it seems to work

* extra comment

* stealth doesn't remove on containers and enchant anymore, but should it?

* moved a few lines to the right place

* remove disenchant and prospect from not breaking stealth

* typo

* comments

Co-authored-by: Kargatum <dowlandtop@yandex.com>
2021-11-25 20:38:54 +01: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
a0002afe07
fix(Core/Spells): properly handle item cooldowns (#9176)
- Closes #8918
2021-11-23 13:25:29 +01:00
Skjalf
731d256420
refactor(Core/Cache): move the GlobalPlayerCache to its own class (#9166) 2021-11-18 16:53:36 +01:00
Skjalf
39425e0c1f
feat(Core/Loot): Implement player_loot_template (#9198)
* Also fix AV player loot
2021-11-17 08:07:21 -03:00
sschepens
b7f8083915
feat(Core/Misc): change how Position struct is retrieved (#9017)
Update Position::GetPosition() and similar methods signatures to reflect 2a4c9bc changes by return a Position object instead of accepting a Position parameter by reference.

Cherry pick of 2585e799f9
2021-11-10 23:43:00 +01:00
acidmanifesto
70b0de4e1f
fix(Core/Quest): Refresh SMSG_QUESTGIVER_STATUS_MULTIPLE after a quest change (#8902)
Co-authored-by: Malcrom <malcromdev@gmail.com>
2021-11-04 23:51:54 +01:00
Skjalf
80febc4de0
fix(Core/Player): clear current title if the player loses it (#8827) 2021-11-03 00:13:54 +01:00
Malcrom
f106de8788
refactor(Core): update getFaction to GetFaction and setFaction to SetFaction (#8708) 2021-11-01 17:04:32 +01:00
Skjalf
fffdb31c05
feat(Core/LFG): move the LFG max kick count & kick prevention timers … (#8683) 2021-10-25 10:17:12 +02:00
UltraNix
96441a91dc
fix(Core/Spells): Auras triggered by talents/glyphs should be removed on respec. (#8671)
Fixes #8543
2021-10-24 01:23:04 -03:00
UltraNix
1ec612e65b
fix(Core/DungeonFinder): Premade groups should be treated as normal groups. (#8520)
Fixes #8339
2021-10-20 05:29:24 -03:00
Kitzunu
bc82f36f1f
refactor(Core/Unit): clean MonsterText methods (#6957) 2021-10-15 10:25:29 +02:00
UltraNix
a6a85c0d5d
fix(Core/Spells): typo 89f0c42c0 (#8398) 2021-10-11 00:11:21 -03:00
Skjalf
f96b027ffd
fix(Core/Mail): load mails on login instead of when requested (#8065) 2021-10-10 17:15:24 +02:00
UltraNix
89f0c42c0e
fix(Core/Spells): Restore dafef5bd78 (#8380)
Fixes #5475
2021-10-09 13:49:45 -03:00
Skjalf
78a2f73825
fix(Core/LFG): implement ERR_PARTY_LFG_BOOT_NOT_ELIGIBLE_S and lower … (#8243) 2021-10-07 13:09:02 +02:00
Skjalf
29c94e5455
fix(Core/Graveyard): prevent non-death knights from getting ported to… (#8206) 2021-10-07 13:07:23 +02:00
UltraNix
3223f90bcb
feat(Core/Spells): add helper to get clean and unmitigated damage for pro… (#7244) 2021-10-05 23:59:57 +02:00
UltraNix
3aadaa6d0f
fix(Core/Spells): improve displaying spell category cooldowns in client UI. (#8172) 2021-10-04 15:47:44 +02:00
UltraNix
60fb2c38f8
fix(Core/Spells): properly handle SPELLMOD_COOLDOWN for spell category cooldowns. (#8161)
- Closes #8155
2021-10-04 15:47:30 +02:00
Axel Cocat
02cdbdd538
fix(Core/Player): check for existing corpse on respawn (#8112) 2021-10-04 15:45:54 +02:00
UltraNix
30e9ce350c
fix(Core/Spells): Do not send doubled learning packet if spell is lea… (#8140)
* fix(Core/Spells): Do not send doubled learning packet if spell is learned from skill.

Fixes #7764

* typo.
2021-10-01 01:16:48 +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
UltraNix
26f1aaa0c8
fix(Core/Players): Properly save resting state to DB. (#8014)
Fixes #7782
2021-09-25 18:16:10 +02:00
IntelligentQuantum
73bac1777c
fix(Core/Player): Remove mount aura on a flight (#7976) 2021-09-20 14:56:01 -06:00
jestermaniac
f76d08f328
fix(CORE/Reputation): +Rep aura modify quest with override faction (#7887) 2021-09-20 06:08:26 -06:00
UltraNix
d6118de10f
fix(Core/Spells): Applying category spell cooldown instead of spell cooldown (#7878) 2021-09-20 04:43:35 -06:00
Kitzunu
2f449326e0
refactor(Core): Rename ...Manager to ...Mgr (#6910)
* Rename MapManager.h to MapMgr.h

* Rename BanManager.h to BanMgr.h

* Rename MapManager.cpp to MapMgr.cpp

* Rename BanManager.cpp to BanMgr.cpp

* Rename MapRefManager.h to MapRefMgr.h

* Rename ThreatManager.h to ThreatMgr.h

* Rename GridRefManager.h to GridRefMgr.h

* Rename ThreatManager.cpp to ThreatMgr.cpp

* Rename GroupRefManager.h to GroupRefMgr.h

* Rename HostileRefManager.h to HostileRefMgr.h

* Rename HostileRefManager.cpp to HostileRefMgr.cpp

* Rename MMapManager.h to MMapMgr.h

* Rename FollowerRefManager.h to FollowerRefMgr.h

* Rename VMapManager2.h to VMapMgr2.h

* Rename IVMapManager.h to IVMapMgr.h

* Rename MMapManager.cpp to MMapMgr.cpp

* Rename VMapManager2.cpp to VMapMgr2.cpp

* Rename RefManager.h to RefMgr.h

* Rename WaypointManager.h to WaypointMgr.h

* Rename WaypointManager.cpp to WaypointMgr.cpp

* Rename MPQManager.h to MPQMgr.h

* Rename MPQManager.cpp to MPQMgr.cpp

* Rename IMMAPManager.h to IMMAPMgr.h

* fix build

* Update Main.cpp

* chore(Core/Misc): Remove toxic language

* Revert "chore(Core/Misc): Remove toxic language"

* fix build

* build
2021-09-15 17:50:28 +02:00
UltraNix
7406a01ac3
fix(Core/Spells): several improvements to cooldowns (#7559)
- Reworked spell category cooldowns.
- Implemented category cooldowns for pets.
- Properly shows pet spell cooldowns in player's UI.
- Corrected pet spell cooldowns with infinity duration.
- Do not add/remove infinity spell cooldown on aura apply/remove if casted by item.
- Closes #5263
2021-09-13 20:57:48 +02:00
IntelligentQuantum
e6143a1efd
feat(Core/Commands): Gear (#7717) 2021-09-12 12:19:14 +02:00
UltraNix
498faf380b
fix(Core/DungeonFinder): misc improvements (#7488)
- Players should be able to enter the same dungeon if just completed it
- Properly define if the proposal is new
- Set teleport point to the nearest graveyard if teleported to dungeon from other instance
- Display completed encounters when joining LFG in progress (excluding random)
- Closes #5914
- Closes #7388
2021-09-01 10:44:29 +02:00
UltraNix
ec149b52d9
fix(Core/Cooldowns): SPELLMOD_COOLDOWN should not affect category coo… (#7164)
- Closes #6391.
2021-08-31 12:01:09 +02:00
lineagedr
ae8a78d90a
feat(Core/Gameobject): add a range check for gameobjects (#7521) 2021-08-31 10:34:43 +02:00
Andrius Peleckas
dd14c63088
fix(Core/Vendors): incorrect check which allowed/disabled alliance players (#7507) 2021-08-26 15:41:17 +02:00
Petric
2929cddaf2
fix(Core/Spec): changing spec now removes auras of spells with rank > 1 (#7482)
- Closes https://github.com/azerothcore/azerothcore-wotlk/issues/4284
2021-08-25 16:00:39 +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
032ca32a04
fix(Core/Spells): do not remove stances when teleported from Instance/BG (#7469)
- Closes #7402
2021-08-25 01:55:37 +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
lineagedr
1174b43184
feat(Core/Item): remove item auras after unequipping an item. (#7398)
* [Core/Item]: Remove item auras after unequipping an item.

* chore(Core/Item): add brackets, improve codestyle

* Update

* update

* Update

* Update

* constexpr

* Update Player.cpp
2021-08-20 20:17:01 +02:00
UltraNix
723dbbff58
fix(Core/Players): remove shapeshift auras on taxi restore (#7292)
- Closes #7240
2021-08-15 23:32:55 +02:00