Commit Graph

2610 Commits

Author SHA1 Message Date
Shauren cdfaecda52 Core/Network: Cleanup asio using directives 2023-07-15 00:43:19 +02:00
Shauren 0cea730fa2 Core: Update to 10.1.5 2023-07-12 16:29:00 +02:00
Shauren 4d4c7e6893 Core/Quests: Quest flag fixups
* Update flag names
* Implemented QUEST_FLAGS_COMPLETION_NO_DEATH and QUEST_FLAGS_FAIL_ON_LOGOUT
* Started using QUEST_FLAGS_COMPLETION_EVENT and QUEST_FLAGS_COMPLETION_AREA_TRIGGER instead of a custom SpeclalFlag
* Renamed Quest::IsAutoComplete to Quest::IsTurnIn to better describe what it means (a quest that can be turned in without accepting it to quest log)
* Implemented QUEST_FLAGS_UPDATE_PHASESHIFT and removed forced phaseshift updates on every quest status change
* Implemented QUEST_FLAGS_LAUNCH_GOSSIP_ACCEPT - reopens gossip menu with questgiver
2023-06-10 20:31:33 +02:00
Meji 06d0b16f15 Core/Creatures: Move creature difficulty specific data from creature_template table to creature_template_difficulty (#28931) 2023-05-29 00:01:23 +02:00
Shauren c2884612ce Core/Players: Fixed crashes with char enum packet if equipment cache field does not have correct format 2023-05-22 11:58:50 +02:00
Shauren 06db073eb9 Core/PacketIO: Add missing bit writes 2023-05-13 15:48:25 +02:00
Shauren 3260b94dd6 Core/Misc: Replace string to int conversion functions from Common.h with c++17 std::from_chars based ones Trinity::StringTo 2023-05-13 15:46:27 +02:00
Shauren 1325e0c4b2 Core/Units: Power handling improvements
* Don't include creature_template power multipliers in CreateMana updatefield
* Allow NPCs to have power types other than mana
* Add missing Essence config regeneration rate
* Fixed demon hunter powers not decaying immediately after combat
* Fixed some powers decaying immediately out of combat after energizing (for example holy power)
* Replace hardcoded list of powers to set to full on levelup with a db2 flag check
* Updated Creature::GetPowerIndex for 10.1 new power types
2023-05-09 23:16:30 +02:00
Shauren 22eb73916a Core/PacketIO: Reverted unintended change 2023-05-05 17:06:07 +02:00
Shauren e540d74610 Core/PacketIO: Fixed quest query packet structure 2023-05-05 14:34:27 +02:00
Shauren 16bc74667e Core: Update to 10.1 2023-05-04 17:00:52 +02:00
François B 1e11f51375 Core/PacketIO: Fixed bracket num in SMSG_RATED_PVP_INFO 2023-04-25 15:49:39 +02:00
Shauren 353a71c6cd Core/Reputation: Fixed crash in reptutation code when PlayerStart.AllReputation is enabled in config
Closes #28915
2023-04-11 19:51:06 +02:00
ModoX 6af42ce82d Core/PacketIO: Fixed array size of CMSG_QUEST_POI_QUERY as of patch 10.0.7 2023-03-24 19:07:13 +01:00
Shauren d6d5d94ebe Core/PacketIO: Fixed SMSG_ENABLE_BARBER_SHOP structure
Closes #28606
2023-03-23 00:06:43 +01:00
Shauren 922f60fa25 Core: Update to 10.0.7 2023-03-22 00:08:20 +01:00
Shauren cc61ccb1a4 Core/PacketIO: Fixed missing reference on return type of operator << overloads for packets 2023-03-19 16:37:24 +01:00
Смердокрыл b37333c1d9 Core/Auras: Implemented SPELL_AURA_KEYBOUND_OVERRIDE (#28809)
Co-authored-by: MaxtorCoder <warsongkiller.s8@gmail.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-02-10 11:29:43 +01:00
Meji 03918978c1 Core/Players: Several currency fixes and improvements (#28676) 2023-01-29 17:42:23 +01:00
Shauren 4bec7233ba Core: Updated to 10.0.5 2023-01-28 01:53:26 +01:00
Shauren d791afae1d Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api) 2023-01-08 21:16:53 +01:00
Shauren 1afec8be63 Core/Misc: Use boost/circular_buffer forward declaration headers in our headers 2023-01-06 16:55:25 +01:00
Shauren b65c3f5f4a Core/Misc: Replaced boost::container::static_vector in packet classes with plain vector with custom static storage allocatlr 2023-01-06 16:52:44 +01:00
fluxurion b71b121c51 Core/Characters: Added Dracthyr Evoker creation data (#28624) 2023-01-02 00:52:25 +01:00
Shauren ba9bbbc9d0 Core/Misc: Fixed deprecation warnings for c++20 2023-01-01 00:26:53 +01:00
Shauren 1fe89a3701 Core/Players: Implement saving edit mode account data 2022-12-31 12:56:20 +01:00
Shauren bde93b25d2 Core/Gossip: Integrate banker guid checks into shared gossip interaction data 2022-12-30 14:08:01 +01:00
Shauren 7c4c5ba549 Core/Misc: Clean up WorldSession includes a bit 2022-12-30 14:00:20 +01:00
Shauren 4b2c1bbe0c Core/PacketIO: Fixed incorrect optional check in SMSG_GOSSIP_MESSAGE 2022-12-18 13:15:34 +01:00
Shauren 743c396317 Core/PacketIO: Fixed structure of SMSG_FEATURE_SYSTEM_STATUS_GLUE_SCREEN
Closes #28602
2022-12-18 01:35:26 +01:00
Shauren 0555ab2f56 Core/Players: Implemented setting tradeskill recipes as favorite 2022-12-17 20:27:13 +01:00
Shauren 25c28c0c7d GCC build fix 2022-12-17 12:54:38 +01:00
Shauren 0cc5ab8372 Core/Players: Implemented new talent system 2022-12-16 22:44:55 +01:00
Shauren e98e1283ea Core: Updated to 10.0.2 2022-12-04 15:13:20 +01:00
Shauren 8630a55c58 Core/Movement: Rename splineElevation in MovementInfo to stepUpStartElevation (official name) 2022-11-12 21:42:37 +01:00
Shauren 763a35df10 Core/PacketIO: Name part of the unknown 9.x spline packet block 2022-11-08 14:24:14 +01:00
Meji 25fd57c768 Core/Misc: Rename POI field Unknown905 to WMOGroupId (#28384) 2022-10-25 21:57:52 +02:00
Shauren 879c0cccfc Core/GameObjects: Implemented per player gameobject state and visibility for looted non-consumable chests 2022-10-21 22:11:00 +02:00
Shauren af76b41ace Core/Networking: Fixed possible buffer overflows in WorldSocket::WritePacketToBuffer
Closes #28370
2022-10-16 16:31:58 +02:00
Shauren 9fb4c1ca02 Core/Gossip: Implemented GossipOptionNpc.AzeriteRespec 2022-10-14 20:34:58 +02:00
Aqua Deus 4772c4817f Core/Garrisons: Implement SMSG_GARRISON_OPEN_TALENT_NPC opcode (#28256)
Co-authored-by: ModoX <moardox@gmail.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-10-11 22:16:02 +02:00
Shauren 9b924522d0 Core/Instances: Delete InstanceSaveMgr and replace most of its uses with new InstanceLockMgr 2022-10-04 00:19:38 +02:00
Shauren 17665c929c Core/Instances: Instance lock rewrite (WIP) 2022-10-04 00:19:38 +02:00
DeadMouse 5c5446d63e Core/PacketIO: Fixed loading PreloadPos in character enum packet (#28285) 2022-09-24 23:57:12 +02:00
Shauren f67cd38312 Core/Player: Extend action button value to uint64 to be able to hold battle pet guids 2022-09-18 23:52:17 +02:00
Shauren 3ef5079fee Core/Loot: Move loot rolls from Group to Loot
* Partial port of cmangos/mangos-wotlk@ffdf9a05d6
2022-09-16 16:58:03 +02:00
Shauren f19f32f2a4 Core/Loot: Store references to Loot objects directly in players loot view map instead of guids of world objects holding that loot 2022-09-14 20:49:38 +02:00
Meji 69e0249807 Core/Gossip: Drop OptionType for gossip_menu_option and rename OptionIcon to OptionNpc as it also determines functionality on client side (#28220)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-09-08 14:49:03 +02:00
Shauren 7957e2d380 Core/Loot: Allocate Loot separately from objects 2022-09-01 20:07:58 +02:00
ModoX 6d86c670dd Core/PacketIO: Drop correct field in SMSG_PARTY_UPDATE and utilize new bit properly
* 768811f782 followup
2022-08-19 16:28:53 +02:00