Commit Graph

68 Commits

Author SHA1 Message Date
Hondacrx cd0ffc6975 Core/Players: PlayerChoice improvements
Port From (https://github.com/TrinityCore/TrinityCore/commit/e59059e1bd2f67691e2da0105771b0cb55b123a4)
2025-08-18 16:57:28 -04:00
Hondacrx 59b507e93d Fixed Server starting. 2025-06-09 00:04:23 -04:00
Hondacrx e44861a629 Core/AI: Implemented conversation ai
Port From (https://github.com/TrinityCore/TrinityCore/commit/309ba22a15e5e0b4321b99f7157ccb18e0adc8dd)
2025-05-19 17:23:36 -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 50cda96b45 More work on scripts. 2023-10-13 20:25:10 -04:00
hondacrx 33091ed942 More updates to scripts (still wont build) 2023-10-13 16:11:34 -04:00
hondacrx cda53c8e7f Some cleanups. (might break build for scripts as they are a WIP) 2023-10-08 10:35:31 -04:00
hondacrx ccb5341c21 Some misc cleansup. 2023-10-06 17:33:20 -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 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 6adc16c496 Core/Conversation: Implemented OnConversationStart and OnConversationUpdate hooks
Port From (https://github.com/TrinityCore/TrinityCore/commit/7f14b64e093de23abb322b843b92260d9fe51123)
2023-07-01 08:53:17 -04:00
hondacrx 13e19764d4 Core/AI: Drop script_waypoints and move data to waypoint_data
Port From (https://github.com/TrinityCore/TrinityCore/commit/89e09dc44ed15567f77f862d1936e8e0d9019456)
2023-04-25 17:51:32 -04:00
hondacrx d0b7bcb2fe Core/Creatures: Allow disabling melee attacks for all creatures, not just the ones using SAI
Port From (https://github.com/TrinityCore/TrinityCore/commit/d26d38075cdb56dcef77f05276a360e717cc5032)
2023-03-14 04:34:51 -04:00
hondacrx f73e64396f Update license headers for all files. 2023-01-18 17:25:32 -05:00
hondacrx 66c7047a29 Core/Instances: Delete InstanceSaveMgr and replace most of its uses with new InstanceLockMgr
Port From (https://github.com/TrinityCore/TrinityCore/commit/9b924522d0549dd67b10e2cbdfc20297dd21e182)
2022-10-04 10:57:04 -04:00
hondacrx 888fd11477 Core/Maps: Split Ebon Hold and Exile's reach by faction and removed forced sanctuary hack
Port From (https://github.com/TrinityCore/TrinityCore/commit/515c0a43ef8fcf41ffb2785c5940f0234e757ec3)
2022-07-25 22:25:09 -04:00
hondacrx 3cd58e4a17 Core/Maps: Move terrain data handling out of Map class
Port From (https://github.com/TrinityCore/TrinityCore/commit/16a06346aea16ffd6ee84081cedfdb0c75ac0b38)
2022-07-24 16:31:00 -04:00
hondacrx a27a353d38 Core/Battlefields: Refactor Battlefield creation to be linked to host map creation instead of having globally accessible objects
Port From (https://github.com/TrinityCore/TrinityCore/commit/073a036d84365dae60a70064eb67e68f0447bd72)
2022-07-19 20:50:34 -04:00
hondacrx b3a404e2e8 Core/OutdoorPvP: Refactor OutdoorPvP creation to be linked to host map creation instead of having globally accessible objects
Port From (https://github.com/TrinityCore/TrinityCore/commit/775be0682a794d0a1f62d656f8c6c6dffca8de79)
2022-07-19 12:14:32 -04:00
hondacrx 7be2eb52cc Core/World: implement database support for default map and realm wide world states
Port From (https://github.com/TrinityCore/TrinityCore/commit/737d94d7efe0b6c308ac1bf3692b6aa2e43f5adb)
2022-06-25 22:52:20 -04:00
hondacrx ed85b3ae55 Core/Movement: Allow waypoints to use 0 as valid facing value
Port From (https://github.com/TrinityCore/TrinityCore/commit/8501fb572a38b7d278c6e37d7b32164c63771550)
2022-06-15 18:12:42 -04:00
hondacrx bbe99e3be8 Core/Transports: Path generation rewrite v2 (needs testing)
Port From (https://github.com/TrinityCore/TrinityCore/commit/a2c1b699e6e4d30c752b65241bc23191920a86fd)
2022-06-14 00:40:57 -04:00
hondacrx 11e8c2f4f2 Fixes loading, *Command system is broke* Will fix in the coming days. 2022-06-02 17:00:58 -04:00
hondacrx 93bd45bbf8 Core/Scripting: Get rid of ModifyVehiclePassengerExitPos
Port From (https://github.com/TrinityCore/TrinityCore/commit/7a0268d4f12914280ffa0de36100a11781f14f45)
2022-05-30 13:09:19 -04: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 569232c3fe Battlefields: Move BF scripts out of game
Port From (https://github.com/TrinityCore/TrinityCore/commit/49523a74a4c28e5ae17f9a8352aa8224b765b7d8)
2022-02-24 10:51:24 -05:00
hondacrx 8f8cd4a7d4 Core/AI: call ModifyVehiclePassengerExitPos for CreatureScripts since the hook is available for that class as well
Port From (https://github.com/TrinityCore/TrinityCore/commit/64fc549be83a2be920c969c11ec20d3f2a2c8e85)
2022-01-06 10:31:42 -05:00
hondacrx 61391aa446 Core/Movement: add a velocity argument for the spline chain meta table
Port From (https://github.com/TrinityCore/TrinityCore/commit/a24a5e77786266ee9456fa8c422a173168804a1f)
2022-01-01 16:06:50 -05:00
hondacrx 40f6c9a9fd Core/Script: add script hook to allow overriding of a vehicle passenger's exit position
Port From (https://github.com/TrinityCore/TrinityCore/commit/1edd93bc0c443cdabc104af9f440e07b6d473a08)
2021-12-16 12:47:54 -05:00
hondacrx 812b227ad8 Core/Scripts: Change PlayerScript and CreatureScript inheritance
Port From (https://github.com/TrinityCore/TrinityCore/commit/ed5ba915f1ec7dad8f4935b62b0ec2d202d26c1c)
2021-11-23 22:41:58 -05:00
hondacrx d14f6b752a Scripts/Areatriggers: Fixed all areatrigger scripts triggering both on enter and exit instead of only on enter
Port From (https://github.com/TrinityCore/TrinityCore/commit/f2456ff319b2145457da01ec78844fdc32d8713b)
2021-11-15 20:14:47 -05:00
hondacrx b026ee7ef8 More cleanups of custom classes in favor of .NET runtime types. 2021-11-15 18:04:57 -05:00
hondacrx 1e74e0506b Fixes loading server. 2021-10-13 14:48:17 -04:00
hondacrx 586dddec4d Core/PacketIO: Implemented CMSG_CONVERSATION_LINE_STARTED
Port From (https://github.com/TrinityCore/TrinityCore/commit/6d9ce8e8baa100ecc7650d0ae56037c131bab2e0)
2021-10-11 20:01:48 -04:00
hondacrx b0528d1ad3 Fixes startup 2021-10-10 19:24:01 -04:00
hondacrx 85ffed189f Core/Spawning: Actually check spawn group state before processing a respawn. It feels like that is something that should've been noticed at some point.
Port From (https://github.com/TrinityCore/TrinityCore/commit/5c80f5073493a3d31fd4b463891727beb6fe7eb1)
2021-08-09 09:37:36 -04:00
hondacrx 62ec699ec6 Core: SOme code cleanup, more to follow. 2021-03-20 22:48:48 -04:00
hondacrx beb1fa701e Core/Scripts: Forgot to add this for QuestScripts. 2021-03-11 22:28:39 -05:00
hondacrx b04f34a1e1 Core/Scripts: Add SpellInfo argument to ScriptMgr::ModifySpellDamageTaken
Port From (https://github.com/TrinityCore/TrinityCore/commit/995fb23bc11e5dff3f21e1afa977934b76482d1b)
2021-03-04 14:13:48 -05:00
hondacrx 5b09d675dd Scripts/Quests: Implemented new quest scripting hook, OnQuestAcknowledgeAutoAccept, used when player closes quest frame after viewing details of autoaccept quests
Port From (https://github.com/TrinityCore/TrinityCore/commit/f269f60d8a5f6b0982eb46dc583e2618c98931fb)
2021-03-04 12:13:43 -05:00
hondacrx 03456fb574 Core/Scripts: Reworked scripts. More to come. 2021-02-18 11:57:11 -05:00
hondacrx 7e2df34250 Misc cleanups/Fixes 2020-12-07 10:07:26 -05:00
hondacrx 3d3fd0f55f Core/Movement: waypoint movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/97585597f0b1aff93873fe4d757556731bc0c1b2)
2020-08-24 17:02:02 -04:00
hondacrx 15ae7a7c66 Dynamic Creature/Go spawning
Port From (https://github.com/TrinityCore/TrinityCore/commit/03b125e6d1947258316c931499746696a95aded2)
2020-08-23 21:52:32 -04:00
hondacrx f7aa724d8f Core/OutdoorPvP: refactor using Position and Quat to pack parameters
Port From (https://github.com/TrinityCore/TrinityCore/commit/bd96262248fa4d9c8e867b4056e52c44852364c3)
2020-07-23 19:29:11 -04:00
hondacrx 1a2411ae0f Ports from (https://github.com/TrinityCore/TrinityCore)
Core/Unit: don't clear low health aura states on death
Core/Gossip: Fix gossip bug on modify money
Core/Spells: Change the radius of PBAoEs following the feedback received on
Core/Player: update interaction checks, some info taken from client
Core/Spell: abort channeling if no valid targets are found after searching
Core/Creature: fix _DespawnAtEvade saving wrong respawn time
Core/Spell: fixed some problems with per caster aura states
Quickfix a bug introduced by 2f19d97 which prevented GTAoE from being cast.
Core/SmartAI: allow SMART_ACTION_SEND_GOSSIP_MENU to override default gossip
Core/Spell: in case of immunity, check all effects to choose correct procFlags, as none has technically hit
Fix evade issues when a spell hits the target just before evading.
Scripts/Command: implement .debug play music command
Partial revert, Unit::getAttackerForHelper() shouldn't return units that we aren't in combat with (victim can be such a unit for players/player pets, which can startattack from a distance without entering combat).
Fix an issue where CanSpawn would never get invoked on creatures without per-guid script.
Core/Players: fix null dereference crash
2020-06-21 13:01:24 -04:00
hondacrx d7954f4fc7 Core/Spells: Implement using different difficulty data from all spell related db2s, not just SpellEffect and SpellPower
Port From (https://github.com/TrinityCore/TrinityCore/commit/c7306439e7004288fb85890d6a5f730cf1761d71)
2020-06-18 12:39:39 -04:00
hondacrx c2aee387a8 Core/Scripts: unified scripted gossip/quest api
Port From (https://github.com/TrinityCore/TrinityCore/commit/6604849716bc73d82a4cdbf8c66bb188086ceae4)
2020-05-22 13:28:20 -04:00
hondacrx 2fc4e3e71f TC Ports:
Core/Misc: 522f537048 followup (https://github.com/TrinityCore/TrinityCore/commit/9a57e95f102a9d35ac8416d02e24c0dddbc755ed)
Core/CreatureAI: b6b0353bff followup (https://github.com/TrinityCore/TrinityCore/commit/5d411e0b21b1f1a4653d274d9b1cc7fef17f232b)
Core/Spell: move creature focus (https://github.com/TrinityCore/TrinityCore/commit/8c12f36915b2fddd48a5e4c9244c2b0498a64ae9)
Core/Unit: 2170541a51 followup (https://github.com/TrinityCore/TrinityCore/commit/2d4549023a6655d19671f7f7e6b4f7c9b71ae632)
Core/Misc: cleanup SetInFront uses (https://github.com/TrinityCore/TrinityCore/commit/104e745edfb89f95e34cad7840eae0b6e183bf94)
Core/Unit: 229444b74a follow-up (https://github.com/TrinityCore/TrinityCore/commit/6a96addadd5dea633b3066b8d0427302ba514364)
Core/Unit: revert 3ea46e57af (https://github.com/TrinityCore/TrinityCore/commit/a46286a803b41b375ed9352858c742626bb85720)
Core/Scripts: remove OnDummyEffect hook/sOnDummyEffect ai hook (https://github.com/TrinityCore/TrinityCore/commit/1929ca3aa14f6cd83ea3ac9d7e8c0e2ed0e87a26)
Core/Entities: moved PetAura handling to Player where it belongs (https://github.com/TrinityCore/TrinityCore/commit/4f6d38fe9d5c07e6e8eb88e517af71b6cdc4f9f8)
Core/Spells: Fixed Chilled to the Bone (https://github.com/TrinityCore/TrinityCore/commit/08635c740a7ee04da9b0cd5045075a9432121b06)
Core/Spell: implement pvp trinket immunity against Judgement of Justice (https://github.com/TrinityCore/TrinityCore/commit/05ba662d5daaa3428cc01cdaa3794bf5a073ef17)
2020-05-19 14:49:37 -04:00
hondacrx ba885908b7 Core/Spells: fix wrong distance calculations in AoE spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/5d076cfe291980bc5be9d44ffbae887e3dd5ad59)
2020-05-06 14:34:20 -04:00