Commit Graph

52 Commits

Author SHA1 Message Date
Hondacrx 0d5c0b572d Core/Achievements: Reduce the list of criteria types updated on login
* Implemented CriteriaType::ReachMaxLevel
* Corrected implementations for CriteriaType::ReachRenownLevel and CriteriaType::LearnTaxiNode
Port From (https://github.com/TrinityCore/TrinityCore/commit/6da1679cbfdc56cd5f1cab7148f645916bccecc1)
2025-02-24 11:01:12 -05:00
Hondacrx 8341244e4d Core/Players: Use PlayerData::VirtualPlayerRealm instead of global GetVirtualRealmAddress() where possible
Port From (https://github.com/TrinityCore/TrinityCore/commit/88fea990ff1408b94076fb9dbd0c974908d6a731)
2024-09-08 15:23:43 -04:00
Hondacrx 96f57592d9 Core/Achievements: Fixed achievement SMSG_ACHIEVEMENT_EARNED not being sent to self
Port From (https://github.com/TrinityCore/TrinityCore/commit/0384d9066336b8ec71434c49244d1ddb0657c11e)
2024-08-08 17:33:23 -04:00
Hondacrx e9b21a91be Core/Battlegrounds: Move to scripts And a lot of misc commits i couldn't recover.
Port From (https://github.com/TrinityCore/TrinityCore/commit/d0d5d309bb5877dc2fcb27f6cb123707a31ec1e8)
2024-08-04 15:18:22 -04:00
hondacrx 0f4130704a Core/Calendar: Implement different timezone support for ingame calendar
Port From (https://github.com/TrinityCore/TrinityCore/commit/b888b1b09f71a8b8b4a9d45c804a1f164fb65ac3)
2024-02-21 16:36:19 -05:00
hondacrx 2800d53f81 Core/Achievements: Fixed updating EarnAchievement criteria type for guilds and quest objectives
Port From (https://github.com/TrinityCore/TrinityCore/commit/9fda9d0d490cef07291961e03710d09cbd8aea1f)
2024-02-06 17:26:57 -05:00
hondacrx a1cb1d95ee Core/Achievements: Fixed achievement criteria StartEvent and FailEvent
* Criteria using StartEvent cannot be updated without that event triggering first (not only for timed achievements)
* Implemented most StartEvent and FailEvent types
* Fixed saving criteria removed by RemoveCriteriaProgress
Port From (https://github.com/TrinityCore/TrinityCore/commit/41a20b1e4008d450d075847ef1fe367f0e3a240f)
2024-01-30 10:22:01 -05:00
hondacrx 65048a8357 Core/Achievements: Send both SMSG_ACCOUNT_CRITERIA_UPDATE and SMSG_CRITERIA_UPDATE if the same criteria is used by account and character achievements
Port From (https://github.com/TrinityCore/TrinityCore/commit/6d907da00eb6d926103bb633220d3d51e017c5e4)
2024-01-29 15:26:14 -05:00
hondacrx cda53c8e7f Some cleanups. (might break build for scripts as they are a WIP) 2023-10-08 10:35:31 -04:00
hondacrx 7248a60e9d Core/Guilds: Fixed loading achievement CompletingPlayers guids from db.
Port From (https://github.com/TrinityCore/TrinityCore/commit/f7c9a853279ccf66d7081ddab7e537065ff92f25)
2023-02-19 02:11:53 -05:00
hondacrx 149fadccab Make PreparedStatements static for each database. 2023-02-04 20:55:14 -05:00
hondacrx f73e64396f Update license headers for all files. 2023-01-18 17:25:32 -05:00
hondacrx db6cfeca04 Core/Scripts: Added script hook to execute actions after completing an achievement
Port From (https://github.com/TrinityCore/TrinityCore/commit/27cba3f52309dad5be964fec11d80cd8cad128cf)
2022-05-05 13:53:23 -04:00
hondacrx 6d73a59f63 Core/Player: add helper methods GetNativeGender/SetNativeGender/SetGender
Port From (https://github.com/TrinityCore/TrinityCore/commit/27886c7f5d6cfc221ea67aab210f96859d725e05)
2021-12-26 19:51:26 -05:00
hondacrx 8a64e18f31 Oops clicked too soon. 2021-12-22 20:47:37 -05:00
hondacrx c9b8f09fbc Core/Achievements: Update CriteriaType enum
Port From (https://github.com/TrinityCore/TrinityCore/commit/0a83f748766c49775d76412d2b98bb9b9dc8c4df)
2021-09-09 14:49:19 -04:00
hondacrx 302a1f293c Some Cleanups 2021-06-07 18:06:16 -04:00
hondacrx 1941148d8f Core/Achievements: Defined all modifier tree types and implemented many of them
Port From (https://github.com/TrinityCore/TrinityCore/commit/d0be92ec0ad0334c38b4073a7e24a571982b17da)
2021-06-07 13:13:46 -04:00
hondacrx 93f8c09364 Core/Criteria: Add all values of CriteriaFailEvent
Port From (https://github.com/TrinityCore/TrinityCore/commit/4b6ddfbbccf7dade8292331c860209f45945fa00)
2021-06-04 13:59:21 -04:00
hondacrx aaa3964d49 Core/Grids: Move packet sending functionality out of MessageDistDeliverer and into separate, customizable class and unify LocalizedPacketDo, LocalizedPacketListDo as generic localizable action
Port From (https://github.com/TrinityCore/TrinityCore/commit/fb66575d38d2ba7ffc24c29824fa75d7019de549)
2021-05-02 13:41:19 -04:00
hondacrx 63f0f919e2 Core/Misc: Replace Time.UnixTime with GameTime.GetGameTime()
Port From (https://github.com/TrinityCore/TrinityCore/commit/e17e4e6f0700c7d950e1b2654c217ec8b28ae79e)
2021-04-17 19:28:50 -04:00
hondacrx d62ca82d30 Core/Criteria: Use std::chrono type for CriteriaHandler::SendCriteriaUpdate
Port From (https://github.com/TrinityCore/TrinityCore/commit/33bce9e28b28f018dc43a31ed37790fa1fc81f88)
2021-04-12 12:30:51 -04:00
hondacrx be2292e815 Core/Misc: Change all unix time columns in character database to bigint (signed)
Port From (https://github.com/TrinityCore/TrinityCore/commit/d29dd1eeb5c52dc76bd741fe1ee0e875c416b8e7)
2021-04-06 23:32:52 -04:00
hondacrx 62ec699ec6 Core: SOme code cleanup, more to follow. 2021-03-20 22:48:48 -04:00
hondacrx 4fb259abfa Core/Logs: Fix more logs
Port From (https://github.com/TrinityCore/TrinityCore/commit/93552510abf2fe0db0557036143b124c4a12cbe5)
2021-01-26 16:38:23 -05:00
hondacrx fa689dac1e Core/Misc: Some missed $ for string interpolation and some cleanups to code. 2021-01-14 20:50:44 -05:00
hondacrx f0037ab99f Core/DataStores: Updated db2 structures to 9.0.2
Port From (https://github.com/TrinityCore/TrinityCore/commit/b82a3a557a7bf13d48342ea189325550059b622d)
2020-12-12 23:20:41 -05:00
hondacrx 4bb9823456 Core/Misc: Changed GetLocaleByName to return invalid value on invalid input instead of LOCALE_enUS
Port From (https://github.com/TrinityCore/TrinityCore/commit/79cd94d26df33a332586b2aa72a99b123199c88f)
2020-07-14 17:11:56 -04:00
hondacrx 581d077acd Refactoring of BNetServer 2020-07-12 00:06:43 -04:00
hondacrx 3b44a21d76 Core/Achievements: Minor fixes
Port From (https://github.com/TrinityCore/TrinityCore/commit/3e833739071a689dc34e33f7a511d8cc50e00b94)
2020-05-22 14:11:32 -04:00
hondacrx 6b67079dd1 Core/Achievements: Greatly optimize achievement system by splitting large types by miscvalue
Port From (https://github.com/TrinityCore/TrinityCore/commit/38d3c5ed16dd502471d810638fe21d90f8e0c7a6)
2020-05-19 15:07:49 -04:00
hondacrx 43fcc558e4 Core/Achievements: Optimized resetting achievement criteria by condition and changed the functionality to properly reset all possible criteria with given condition
Port From (https://github.com/TrinityCore/TrinityCore/commit/6f7ff9a3efd10cd4f776a67540109e7bb774f1c5)
2020-05-06 17:52:14 -04:00
hondacrx ba6951c11d Core/AchievementMgr: fix integer underflow neglecting already completed realm firsts
Port From (https://github.com/TrinityCore/TrinityCore/commit/786bb561ca8b92033b962321d998fa2266f6e529)
2020-05-06 13:43:42 -04:00
hondacrx c3adef77a9 Misc cleanups 2020-05-05 19:09:57 -04:00
hondacrx 752137af52 Refactoring Cleanup 2020-02-03 14:42:20 -05:00
hondacrx 230453c451 New Year 2020 :) 2020-01-09 11:35:00 -05:00
hondacrx 5b9ad41953 Core/Items: Implement azerite empowered items
Port From (https://github.com/TrinityCore/TrinityCore/commit/d934824421c83598853487c5cc9e4cbb3c5d0006)
2019-12-05 22:55:44 -05:00
hondacrx 63105504a4 Core/Items: Add ItemContext param to Item::Create function
Port From (https://github.com/TrinityCore/TrinityCore/commit/0a2d9ad2f7673e2b7ee62b7cc6f1a19639d37864)
2019-11-23 00:44:38 -05:00
hondacrx 12c007a8a1 Core/Achievements: Implement many new ModifierTree types
Port From (https://github.com/TrinityCore/TrinityCore/commit/aa8ad4d2fd6144fca3b69261a90a663df682e571)
2019-11-18 13:53:45 -05:00
hondacrx 570aebce26 More refactoring of code. 2019-09-23 21:41:13 -04:00
hondacrx 35c06c09fd Some refactoring of code. and some cleanups 2019-09-21 12:11:16 -04:00
hondacrx 125e3b3ac7 Updated to 8.2.0.31429 (scripts disabled atm, they still need updated)
Code Port from TrinityCore https://github.com/TrinityCore/TrinityCore
Casc from WoW-Tools https://github.com/WoW-Tools/CASCExplorer
2019-08-14 11:20:42 -04:00
hondacrx 1e1c5c77a8 2019 YAY! 2019-01-01 12:01:55 -05:00
hondacrx 8e20114e10 BFA Update (still lots of testing to do tho) 2018-12-10 12:46:25 -05:00
hondacrx dbd62e5c6f Core/DB: Some DB improvements 2018-05-22 11:05:16 -04:00
hondacrx 5dacd669b5 Core/Refactor: Part 3 2018-05-16 19:57:48 -04:00
hondacrx 9b40067017 Core/Refactor: Part 2 2018-05-07 22:07:35 -04:00
hondacrx 0ab3b8e8cd Core/DataStores: Fixed db2 structures after 7.3.5 2018-03-13 15:43:03 -04:00
hondacrx 891fbebef8 Core/Battleground: Dropped battleground texts from trinity_string and replaced them with proper BroadcastText 2018-01-14 15:57:54 -05:00
hondacrx 28c0ef9d03 Happy New Year!!!! 2018-01-02 13:02:21 -05:00