Commit Graph

1170 Commits

Author SHA1 Message Date
Shauren
d778d5ec7c Core/Misc: Include cleanup - remove MapUtils.h from Containers.h 2024-12-31 18:12:36 +01:00
Ovahlord
a69def739b Core/Quests: assign a unique alias to ID fields loaded from quest_visual_effect 2024-12-14 22:04:45 +01:00
Shauren
1fb4acc25a Core/Quests: Implemented QUEST_OBJECTIVE_KILL_WITH_LABEL 2024-12-02 15:29:02 +01:00
Shauren
5df1c6dea6 Core/Quests: Use a helper function for quest objective StorageIndex startup validation 2024-12-02 15:23:23 +01:00
Shauren
b506a53443 Core/Misc: Update faction change learned language skills for new races 2024-10-21 23:34:43 +02:00
ModoX
72d952db74 Core/Creature: Remove UNIT_FLAG3_FAKE_DEAD and UNIT_FLAG2_FEIGN_DEATH if no unit_flags are set
* d66f2dcdac followup
2024-10-18 11:20:37 +02:00
Shauren
89f490bdcd Core/DataStores: Removed overriding field sign type based on db2 column compression 2024-09-27 20:05:36 +02:00
ModoX
d66f2dcdac Core/Creature: Added additional checks when setting feign death in db 2024-08-31 19:43:18 +02:00
Meji
efa76de540 Core/PacketIO: Implemented UIMap questlines (#30030) 2024-08-30 18:11:07 +02:00
Shauren
c4b710446d Core/Realms: Realmlist refactors
* Removed global realm variable from World and use RealmList everywhere
* Match auth build key with client version
* Restored allowedSecurityLevel checks for realmlist packet building
* Restored updating population field, mysteriously removed 15 years ago in f20b25d1c9
2024-08-18 18:59:58 +02:00
Shauren
edb20999a3 Core/Utils: Unwrap non-copyable pointers (unique_ptr) from Trinity::Containers::MapGetValuePtr 2024-08-17 12:40:27 +02:00
Shauren
e59eef5432 Core/PacketIO: Updated to 11.0.0 2024-08-02 13:25:41 +02:00
Meji
d51d6b0abe Core/AreaTriggers: Check actionset flags for client areatriggers to allow some areatriggers to trigger while dead (#30042) 2024-06-23 20:41:18 +02:00
Meji
31bd3804e3 Core/GameObjects: Fixed the interaction/highlight logic for GAMEOBJECT_TYPE_CHEST and quest objectives (#30051) 2024-06-23 15:00:35 +02:00
Meji
ef70cf6481 Core/Creatures: Validate creature.modelid on startup (#30023) 2024-06-08 12:48:45 +02:00
Antonio Martín Berti
3fd9677543 Core/Misc: Added Loading.Locales to enable/disable the load of locales (#30013) 2024-06-04 00:44:22 +02:00
Shauren
1c3268155d Core/AreaTriggers: Implement height check for polygon db2 areatriggers 2024-05-27 18:53:47 +02:00
Meji
b070e63fa8 Core/AreaTriggers: Fix triggering of client areatriggers for some shapes 2024-05-27 18:53:47 +02:00
Golrag
27e23600bb Core/Players: Extended world_safe_locs with transport guid - this allows teleporting to a different map directly to a transport and having graveyards on transports 2024-05-25 22:05:53 +02:00
Meji
e516707410 Core/Creatures: Check fallback difficulty data for creature static flags override (#29992) 2024-05-23 21:48:41 +02:00
Meji
22e657eac1 Core/Creatures: Ignore validation of AppearanceModId 0 in equipment (#29916) 2024-05-03 19:11:44 +02:00
Meji
2238844f56 Core/Creatures: Allow profession tools to be used as equipment (#29915) 2024-05-03 15:58:05 +02:00
Ovahlord
b5ce4a66df Core/Creature: implement overriding creature static flags based on spawnId and difficultyId (#29940) 2024-04-26 22:32:17 +02:00
Meji
def601b4ff Core/Creatures: Changed the spawn health field in creature table to a percentage (#29801) 2024-03-30 20:21:28 +01:00
Meji
4913d027bf Core/Conditions: Added CONDITION_SOURCE_TYPE_PLAYER_CONDITION (#29832) 2024-03-27 21:38:08 +01:00
Jeremy
1f855ef563 Core/GameObjects: Implement destructible_hitpoint table to store health info about destructible buildings (#29836) 2024-03-27 18:55:44 +01:00
Meji
6a80bebcb5 Core/GameObjects: Added dynamic highlight for GAMEOBJECT_TYPE_SPELL_FOCUS (#29825) 2024-03-24 17:27:13 +01:00
Shauren
94b78ebc8b Core/Players: Slightly improve neutral player faction support 2024-03-24 17:19:10 +01:00
Shauren
4779fa5048 Core/Misc: Use our new unique_trackable_ptr for various classes exposed to scripts (not actually used anywhere currently) 2024-03-13 18:51:29 +01:00
Shauren
fccf6fb72b Core/Objects: Implemented vignettes 2024-03-09 00:54:27 +01:00
Meji
74ec1d3cfb Core/Locales: Store empty localized strings present in database (#29779) 2024-03-03 23:49:16 +01:00
Shauren
c2e36dea6c 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
2024-03-03 00:51:51 +01:00
Shauren
67244a1f70 Core/Misc: Replace sprintf with safer alternatives (Trinity::StringFormat or snprintf) 2024-03-01 16:05:34 +01:00
Ovahlord
fb3e6737da Core/Movement: require a minimum wander_distance value of 0.1 and check the path length of generated random movement (#29766)
this serves as a means to reduce the console spam caused by failed spline validation
2024-02-29 15:52:25 +01:00
Ovahlord
c541eda54d Core/Creatures: implemented most movement related static flags and migrated existing movement data into static flags (#29541)
* 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
2024-02-29 14:43:37 +01:00
Shauren
f70a5817e1 Core/Creatures: Move immunities to separate table and implemented setting immunties to dispel, spell effects, aura types, aoe and chain targeting 2024-01-30 21:29:55 +01:00
Shauren
a4a4d010a0 Core: Updated to 10.2.5 2024-01-21 22:25:10 +01:00
Shauren
0b5406dd88 Core/Conditions: Refactor ConditionMgr internals to get rid of separate containers for some condition source types 2024-01-11 20:56:24 +01:00
ModoX
b3dce0ac08 Core/Creatures: Added possibility to automatically despawn personal summons on quest remove (#29114) 2024-01-08 21:51:46 +01:00
Shauren
cda13e2b6b Core/GameObjects: Fixed incorrect startup error log 2024-01-07 18:37:24 +01:00
ModoX
12186ef857 Core/Waypoints: Refactor to split data into path and node related info in db (#29506) 2024-01-05 17:56:19 +01:00
Shauren
4dce6ab228 Core/Quests: Implemented QUEST_OBJECTIVE_FLAG_2_QUEST_BOUND_ITEM that makes required items not be stored in inventory 2023-12-30 15:45:37 +01:00
Teleqraph
bfbda8dcce Core/Creatures: Refactor CreatureEliteType (#29525)
* Turn into enum class with official names
2023-12-28 19:11:54 +01:00
Shauren
9022f23748 Core/Players: Learn parent skilllines if they are missing while learning child skills
Closes #29482
2023-12-04 19:42:12 +01:00
Shauren
7cafeb46b3 Core/Creatures: Don't require creature.modelid to be one of linked creature_template models 2023-11-26 00:20:13 +01:00
ModoX
3f6f683ce4 Core/Waypoints: Drop waypoint_scripts table (#29437) 2023-11-24 21:08:00 +01:00
Shauren
8c072b93af Core/Scripts: Add start/fail asset values from criteria to valid game event ids
Closes #29447
2023-11-20 13:02:56 +01:00
Shauren
73e0b3e77c Core/Creatures: Taxi improvements
* Fixed flight master minimap icon
* Fixed crash on Argus
* Implemented teleport taxi nodes

Closes #29389
2023-10-28 22:13:59 +02:00
Shauren
7b6589c1ec Core/Misc: Fixed thread-unsafe access to list of objects that should be spawned in a cell
Closes #29372
2023-10-17 15:48:02 +02:00
Meji
71bac3bc2d Core/Achievements: Fix CriteriaTypes related to GameEvents (#29368) 2023-10-15 21:26:28 +02:00