Commit Graph

270 Commits

Author SHA1 Message Date
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 1e421b9f53 Misc fixes 2024-03-19 17:21:32 -04:00
hondacrx 4b9b81c7e2 Core/Objects: Implemented vignettes
Port From (https://github.com/TrinityCore/TrinityCore/commit/fccf6fb72b60b08dfbe6d5fb17fba55239944fca)
2024-03-13 21:09:46 -04:00
hondacrx 83bd8b255b Core/Locales: Store empty localized strings present in database
Port From (https://github.com/TrinityCore/TrinityCore/commit/74ec1d3cfb3172a7bb3c2d2317396ff82245418e)
2024-03-05 18:20:48 -05:00
hondacrx e646b8008d Core/Creatures: Implemented serverside checks for UNIT_FLAG2_INTERACT_WHILE_HOSTILE and UNIT_FLAG3_ALLOW_INTERACTION_WHILE_IN_COMBAT
* Also stop sending npc flags for hostile creatures
Port From (https://github.com/TrinityCore/TrinityCore/commit/c2e36dea6c6af6139bf60454e9299447ec7d9897)
2024-03-05 18:16:38 -05:00
hondacrx ff4769df1a Core/Movement: require a minimum wander_distance value of 0.1 and check the path length of generated random movement
this serves as a means to reduce the console spam caused by failed spline validation
Port From (https://github.com/TrinityCore/TrinityCore/commit/fb3e6737da7795be651d36ce7493c07c7ecbdfeb)
2024-02-29 17:11:17 -05:00
hondacrx db05394d99 Core/Creatures: implemented most movement related static flags and migrated existing movement data into static flags
* implemented CREATURE_STATIC_FLAG_AQUATIC - creatures cannot leave liquids
* implemented CREATURE_STATIC_FLAG_AMPHIBIOUS - creatures can enter and leave liquids but remain on the ocean floor when swimming is not enabled until engaged
* implemented CREATURE_STATIC_FLAG_FLOATING - creatures have their gravity on spawn / reset disabled
* implemented CREATURE_STATIC_FLAG_SESSILE - creatures are rooted in place
* implemented CREATURE_STATIC_FLAG_CAN_SWIM - creature can swim in liquids
* implemented CREATURE_STATIC_FLAG_3_CANNOT_SWIM - Amphibious creatures cannot toggle on swimming
* implemented CREATURE_STATIC_FLAG_3_CANNOT_TURN - Creatures cannot turn at all
* implemented CREATURE_STATIC_FLAG_4_PREVENT_SWIM - Amphibious creatures won't toggle on swimming until their victim starts leaving the ocean floor
* partially implemented CREATURE_STATIC_FLAG_3_CANNOT_PENETRATE_WATER
* deprecated CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATE as this flag was a hackfix to a wrong implementation that is now gone
Port From (https://github.com/TrinityCore/TrinityCore/commit/c541eda54d7e0dddeec329a6beac2948e0b0a40b)
2024-02-29 17:08:30 -05:00
hondacrx 7c812ae904 Core/Creatures: Move immunities to separate table and implemented setting immunties to dispel, spell effects, aura types, aoe and chain targeting
Port From (https://github.com/TrinityCore/TrinityCore/commit/f70a5817e1c07891185d716611d45f50b1c73b78)
2024-02-06 17:21:07 -05:00
hondacrx d1ad9f662e Core: Updated to 10.2.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/a4a4d010a0e329d4dbd82c0be5feab1fc06c8834)
2024-02-06 13:07:17 -05:00
hondacrx 80936edeab Core/Conditions: Refactor ConditionMgr internals to get rid of separate containers for some condition source types
Port From (https://github.com/TrinityCore/TrinityCore/commit/0b5406dd882c6d96bc1be6fd0a78375c3b316415)
2024-02-06 09:39:26 -05:00
hondacrx aa696fb176 Core/Creatures: Added possibility to automatically despawn personal summons on quest remove
Port From (https://github.com/TrinityCore/TrinityCore/commit/b3dce0ac08d4f740505037aff2cad7685444db15)
2024-02-05 17:36:50 -05:00
hondacrx 4f1ae2fd1b Core/GameObjects: Fixed incorrect startup error log
Port From (https://github.com/TrinityCore/TrinityCore/commit/cda13e2b6bd415bc492bc6f6fe80b8314ae5a8c2)
2024-02-05 17:25:16 -05:00
hondacrx 771cbadc69 Core/Waypoints: Refactor to split data into path and node related info in db
Port From (https://github.com/TrinityCore/TrinityCore/commit/12186ef8573f60abeff4747da58767ee71092600)
2024-02-05 17:22:55 -05:00
hondacrx ad880fc6b5 Core/Quests: Implemented QUEST_OBJECTIVE_FLAG_2_QUEST_BOUND_ITEM that makes required items not be stored in inventory
Port From (https://github.com/TrinityCore/TrinityCore/commit/4dce6ab228c54319032b346d2d791262eac3d9cd)
2024-02-04 17:13:17 -05:00
hondacrx a46f98642b Core/Creatures: Refactor CreatureEliteType
Port From (https://github.com/TrinityCore/TrinityCore/commit/bfbda8dcce8d19dda0ee3d8f96d176901902e102)
2024-02-04 14:42:40 -05:00
hondacrx 1d4a30cc2d Core/Players: Learn parent skilllines if they are missing while learning child skills
Port From (https://github.com/TrinityCore/TrinityCore/commit/9022f2374884b966c3ecf7199c52498140775668)
2024-02-03 17:39:25 -05:00
hondacrx 24691c7110 Core/Creatures: Don't require creature.modelid to be one of linked creature_template models
Port From (https://github.com/TrinityCore/TrinityCore/commit/7cafeb46b3b1f3eea3c966c20f9ef1efe68dfbdc)
2024-02-03 13:48:02 -05:00
hondacrx 284cb628c9 Core/Waypoints: Drop waypoint_scripts table
Port From (https://github.com/TrinityCore/TrinityCore/commit/3f6f683ce4b5f4a95a2d70921de2c80de6b3a8fe)
2024-02-03 11:47:02 -05:00
hondacrx b47ed7401a Core/Scripts: Add start/fail asset values from criteria to valid game event ids
Port From (https://github.com/TrinityCore/TrinityCore/commit/8c072b93af3a4efcbde21cc85fedcf7fa48fa7b4)
2024-02-03 11:24:03 -05:00
hondacrx 871928ebb7 Core/Creatures: Taxi improvements
* Fixed flight master minimap icon
* Fixed crash on Argus
* Implemented teleport taxi nodes
Port From (https://github.com/TrinityCore/TrinityCore/commit/73e0b3e77c04a7821f58d79211f344b9129602f1)
2024-02-02 10:20:04 -05:00
hondacrx 2a7273f1ec Core/Misc: Fixed thread-unsafe access to list of objects that should be spawned in a cell
Port From (https://github.com/TrinityCore/TrinityCore/commit/7b6589c1ecc159f6949c5535785fba79a04b2c4a)
2024-02-01 11:43:10 -05:00
hondacrx 06df14fe7e Core/Achievements: Fix CriteriaTypes related to GameEvents
Port From (https://github.com/TrinityCore/TrinityCore/commit/71bac3bc2dd5ceacc698f5eaf2a975e0ee95a26a)
2024-02-01 11:30:27 -05:00
hondacrx b48f777dc6 Core/Realms: Replaced hardcoded realm category list with Cfg_Categories.db2
Port From (https://github.com/TrinityCore/TrinityCore/commit/e161874695c5506bfa3cbcddf944d68b11cbc124)
2024-02-01 09:43:05 -05:00
hondacrx 958ab1dfbb Fixes server loading. 2024-01-31 22:50:42 -05:00
hondacrx 48089c8a45 Core/Misc: Fixed copypaste mistake in error log
Port From (https://github.com/TrinityCore/TrinityCore/commit/abeb62a18f8c04d2bdf0cbe016e9253e2abcdc0f)
2024-01-30 10:24:48 -05:00
hondacrx eddd539cfe Core/Players: Fixed learning riding spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/ae1dd8caf009b394cfc77592fdeff74809ab170b)
2024-01-29 15:33:16 -05:00
hondacrx d96f7fb821 Core/Instances: Kill instance_encounters table, it is no longer neccessary
Port From (https://github.com/TrinityCore/TrinityCore/commit/47fc3cb852324119e81c01015b7cc4f39d43e559)
2024-01-29 15:22:25 -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 f636ea225f Messed up the commit history, so here is all the files rip, Credit to TrinityCore 2023-09-16 08:42:35 -04:00
hondacrx 0e2dd0cda3 Core/Creatures: add TimeSpan to TempSummon
Port From (https://github.com/TrinityCore/TrinityCore/commit/1dd4b38170339e2d1d959c45ecad1b3b8dceb216)
2023-09-13 20:59:45 -04:00
hondacrx 6f387e563f Core/GameObjects: Added stringid to gameobjects
Port From (https://github.com/TrinityCore/TrinityCore/commit/845f61e0a969891b14e1f182fadd29af347a1a3f)
2023-09-12 15:45:47 -04:00
hondacrx 9ba60f66f8 Core/Scripts: Fix EventScript assert for GameObject::SetDestructibleState
Port From (https://github.com/TrinityCore/TrinityCore/commit/3aa264d0c74d0425fd335d69e1890bef6dfa1838)
2023-09-04 07:31:01 -04:00
hondacrx f6807e152c Core: Update to 10.1.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/0cea730fa23473a85c47451c3bd13df816f2b6e4)
2023-08-21 07:22:33 -04:00
hondacrx 25a4d5b354 Core/SAI: Implemented new source type SMART_SCRIPT_TYPE_EVENT (3)
Port From (https://github.com/TrinityCore/TrinityCore/commit/d015711fbb7a8bf57f7bb64ba8113c942d5125de)
2023-07-23 18:06:11 -04:00
hondacrx 219db87e6a Core/Creatures: Drop dynamic flags from creature and creature_template
Port From (https://github.com/TrinityCore/TrinityCore/commit/bb68fd73b498f6d6fc2c4414352c6e073a184304)
2023-06-24 09:11:35 -04:00
hondacrx 55b91302ec Core/Creatures: Added db fields to hold creature static flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/7282a1772568111f95a1fb85e95f92421439c097)
2023-06-24 09:02:05 -04:00
hondacrx 49a07ebcce Core/Items: Item bonus generation improvements
* Pass ItemContext to item creation wherever possible
* Support scaling item levels with m+ keystone levels (not used currently)
* Fixed item link validation when client sends it as default uninitialized bonus list with context only
* Support scaling items depending on current active season (seasons not implemented)
* Implemented content tuning redirection
Port From (https://github.com/TrinityCore/TrinityCore/commit/0fb8765a6638fd947b59fce44d5c31251d0cdadd)
2023-06-21 09:19:40 -04:00
hondacrx 735cdbf3c0 Fix loading. 2023-06-13 09:27:01 -04:00
hondacrx e6432f8c97 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
Port From (https://github.com/TrinityCore/TrinityCore/commit/4d4c7e68935df9ca40bd5539d602ac4e779f53d5)
2023-06-13 08:52:22 -04:00
hondacrx dfdd88a2fc Core/Quests: Implemented new db table quest_objectives_completion_effect
* Turn off automatic phase updates on quest objective completion
* Allow more convenient conversation and spell casts on quest objective completion
Port From (https://github.com/TrinityCore/TrinityCore/commit/a2be8d202823706ad4b29c2dc988c0fe978ae652)
2023-06-13 04:38:50 -04:00
hondacrx 31ffbf3512 Core/Graveyards: Drop Faction column and replace it with conditions
Port From (https://github.com/TrinityCore/TrinityCore/commit/c1df555e1691d788918845f95252358f25e54bb5)
2023-06-13 04:20:54 -04:00
hondacrx 068ccd990f Core/Creatures: Move creature difficulty specific data from creature_template table to creature_template_difficulty
Port From (https://github.com/TrinityCore/TrinityCore/commit/06d0b16f158e8793860d9edd11b990f20b1d0dac)
2023-05-30 08:16:40 -04:00
hondacrx cc1180050e Core/Graveyards: Fix graveyards in subzones when there is no valid graveyard in that subzone
Port From (https://github.com/TrinityCore/TrinityCore/commit/7ba4e2df84e4ddefb080f71685294c619a8397de)
2023-05-23 08:17:17 -04:00
hondacrx 63b8922a9e Core/PacketIO: Fixed quest query packet structure
Port From (https://github.com/TrinityCore/TrinityCore/commit/e540d74610e14b8920570e9ece4c2aa47a4be6ed)
2023-05-21 17:04:11 -04:00
hondacrx 42a902c118 Core/Realms: Remove duplicate realm names storage
Port From (https://github.com/TrinityCore/TrinityCore/commit/7f5e47c396e49da2530aabac05f7ca3c0f177298)
2023-05-02 17:22:16 -04:00
hondacrx 1ba4f55eec Core/Units: Calculate HoverHeight from model data
Port From (https://github.com/TrinityCore/TrinityCore/commit/d6133c78de9e2272765c2cfda82c440663acd254)
2023-04-25 17:23:24 -04:00
hondacrx bd2eb5baab Core/Creature: Implemented sparring with max health percent thresholds
Port From (https://github.com/TrinityCore/TrinityCore/commit/0750b7f8455df39a64462636ca296c6f2aa2b048)
2023-04-25 08:38:55 -04:00
hondacrx 9d4be0003b Core/Creature: Added possibility to give creatures multiple gossip menu ids and control them via conditions
Port From (https://github.com/TrinityCore/TrinityCore/commit/36044a9470e9c39a71916e908ab6cf4f95677793)
2023-04-25 08:02:18 -04:00
hondacrx 8828e94482 Core/Creatures: Compute the level from ContentTuning
Port From (https://github.com/TrinityCore/TrinityCore/commit/562f65f3f8f271fc52cc428c71a562af22829dc0)
2023-04-21 18:49:58 -04:00
hondacrx 8bb67e69c5 Core/Misc: Move GetContentTuningForArea from ObjectMgr to DB2Manager
Port From (https://github.com/TrinityCore/TrinityCore/commit/8f38c12c4e7d832a91c7719ee1a5ac4d801862a6)
2023-03-14 04:14:30 -04:00