Commit Graph

111 Commits

Author SHA1 Message Date
hondacrx 8701a862cc Core/Database: Delete gameobject_addon data when deleting a GameObject from the database
Port From (https://github.com/TrinityCore/TrinityCore/commit/b02143118f830691412bbc7649c1d0c9ec32f3a9)
2021-12-01 11:38:49 -05:00
hondacrx 65d40f24e6 Core/GameObject: Properly dismount players on GameObject Use
Port From (https://github.com/TrinityCore/TrinityCore/commit/dc5cab3bf4a26b4201b6ea5a85a61a64fec80b19)
2021-11-29 16:36:38 -05:00
hondacrx f11a81c4b1 Core/GameObject: Remove summoned game objects from the map after calling SetSpawnedByDefault(false)
Port From (https://github.com/TrinityCore/TrinityCore/commit/a99a60bcf36614c038efd33a1bd9e057935b3aaf)
2021-11-29 16:18:00 -05:00
hondacrx f91bb7e9fe SAI/GameObject: Despawn the linked trap with the gameobject
Port From (https://github.com/TrinityCore/TrinityCore/commit/8d806f8c6943b54533dbf9a69febee3df1d00430)
2021-11-29 14:46:00 -05:00
hondacrx 309a7ad176 Core/GameObject: Set loot state to Not ready when a gob is deactivated
Port From (https://github.com/TrinityCore/TrinityCore/commit/b0f10b505e30992942cce9a9b1fb395009344dfd)
2021-11-29 13:30:30 -05:00
hondacrx 6110585521 Core/GameObject: Implement GameObject::Use case for GAMEOBJECT_TYPE_NEW_FLAG
Port From (https://github.com/TrinityCore/TrinityCore/commit/2a9940e17d4e943aa5d9b95f8f5b54783e14d7b2)
2021-11-23 20:48:36 -05:00
hondacrx 46d399dfb6 Core/PacketIO: Fixed SMSG_QUERY_GAME_OBJECT_RESPONSE structure
Port From (https://github.com/TrinityCore/TrinityCore/commit/5c5f3d5376a53e3cfbccbb2f6a5501e0ddc3ce6e)
2021-11-15 20:38:06 -05:00
hondacrx b026ee7ef8 More cleanups of custom classes in favor of .NET runtime types. 2021-11-15 18:04:57 -05:00
hondacrx 4848ab6675 DB Updates. 2021-11-08 10:54:43 -05:00
hondacrx e86e640c5a Core/Loot/Gameobject: Tempspawned Gameobjects after looting
Port From (https://github.com/TrinityCore/TrinityCore/commit/8c9e5cd3f3200b378ff09a6822ceb2b5bd223e3c)
2021-10-30 20:10:17 -04:00
hondacrx 612ebb506e Fixes attempted to divide by zero when transport has no path. 2021-10-18 15:46:53 -04:00
hondacrx 5e1494e4b4 Core/GameObject: Fix an edge case where GOs might never respawn after being manually despawned.
Port From (https://github.com/TrinityCore/TrinityCore/commit/eb7a8584e227b7cbd68c051c044f08c47019586b)
2021-10-14 19:47:15 -04:00
hondacrx f98d993659 Core/GameObjects: Fixed DestroyGate battleground hook for vehicles
Port From (https://github.com/TrinityCore/TrinityCore/commit/22298fb1725aa4d2f2ca49432a0eae490c923ae6)
2021-10-14 19:36:00 -04:00
hondacrx e1aa4334d2 Core/Spells: Removed CastSpellExtraArgs constructors accepting ObjectGuid, they would become ambiguous with future changes
Port From (https://github.com/TrinityCore/TrinityCore/commit/3af9be830d736506ed4544a922699ed0f7a7ecd4)
2021-10-03 13:12:12 -04: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 0078a136a4 Core/GameObject: Fix linked traps not being despawned properly and remove deprecated code
Port From (https://github.com/TrinityCore/TrinityCore/commit/ffae92edd23a37d63aeed01544018944716b4a83)
2021-09-08 23:40:52 -04:00
hondacrx b071efe105 Core/Spell: fix LoS checks for GameObject spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/50fe2dc7e305fa32d30bac6ad0ced2e5647ac02b)
2021-09-08 23:35:22 -04:00
hondacrx 949d4806c5 Core/Spells: rework part 5: GameObject casting
Port From (https://github.com/TrinityCore/TrinityCore/commit/962f6d7988b9003e550f6745be7cff812e9d8efa)
2021-08-29 18:27:08 -04:00
hondacrx d6dd7acd28 Core/GameObject: implemented gameobject_overrides table to change faction and flags values on a per-spawn basis
Port From (https://github.com/TrinityCore/TrinityCore/commit/67a1a1d29b76acfcda505fe1a38761a335e93bc5)
2021-08-09 10:24:32 -04:00
hondacrx f2ff234456 Core/GameObject: Force compatibility mode for stupid ridiculous junk legacy hack gameobjects
Port From (https://github.com/TrinityCore/TrinityCore/commit/65b8dafb537dc41f9b46f44fa03c6466915fd119)
2021-08-09 09:50:32 -04:00
hondacrx 2b2698ea3c Core/GameObject: fix stupid ridiculous junk legacy hack code with negative gobj respawn time to work again
Port From (https://github.com/TrinityCore/TrinityCore/commit/de3eb7b298468d87b33a29e1baaa50508e90b562)
2021-08-09 09:49:14 -04:00
hondacrx 751d397031 Entities/GO: Add forceRespawnTimer support to DespawnOrUnsummon. Use it in SAI.
Port From (https://github.com/TrinityCore/TrinityCore/commit/168be492f5924d306a90e7f8dfd86a6c547da3d7)
2021-06-23 23:09:48 -04:00
hondacrx 05c8b7adec Entities/GO: GameObjects now support (delayed) despawning in a reasonable manner.
Port From (https://github.com/TrinityCore/TrinityCore/commit/bccd81e12ac418d2ba76c1cd6470c813a4d19229)
2021-06-23 22:58:03 -04:00
hondacrx fbd7df7c3f Some missed stuff. 2021-06-18 15:19:41 -04:00
hondacrx 52e43853fe More Cleanups 2021-06-08 12:56:09 -04:00
hondacrx 302a1f293c Some Cleanups 2021-06-07 18:06:16 -04:00
hondacrx 5a9ff185b9 Core/Creature: improve DB linked_respawn handling
Port From (https://github.com/TrinityCore/TrinityCore/commit/1206e815cd9785e4671f30548140f038567811a2)
2021-05-18 12:55:23 -04:00
hondacrx ba064327b0 Core/DB: Fixes sometimes wrong values added to DB, also fixes errors when trying to convert updatefield to object. 2021-04-21 18:06:46 -04:00
hondacrx d0faa12ef6 Core/Spells: CastSpell Cleanup
Port From (https://github.com/TrinityCore/TrinityCore/commit/)
2021-04-18 18:42:11 -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 b4bf10ed22 Core/Objects: Move personal summon handling from TemporarySummon/GameObject to WorldObject and check it using dedicated guid field
Port From (https://github.com/TrinityCore/TrinityCore/commit/1082a6645e96c611b3145b5d6208fc4db6e4b2d3)
2021-03-29 17:11:46 -04:00
hondacrx 62ec699ec6 Core: SOme code cleanup, more to follow. 2021-03-20 22:48:48 -04:00
hondacrx d20893944c Misc fixes. 2021-03-17 21:52:09 -04:00
hondacrx 43cf936d1f Core/GameObjects: Add GameObjectPlaySpellVisual
Port From (https://github.com/TrinityCore/TrinityCore/commit/2d84912ce92e1ac30efd6548ca98cb8f894f5268)
2021-03-17 13:39:12 -04:00
hondacrx 9a14cfe807 Core/Spawn: Limit saved/stored respawn time. - Limit to long maximum, for the compiled-for architecture.
Port From (https://github.com/TrinityCore/TrinityCore/commit/f3ac10f36fcc46c5e1537d69544a9294fc719ad2)
2021-02-09 13:15:12 -05:00
hondacrx cf030b70b2 Core/SAI: Added SAI support for new areatriggers
Port From (https://github.com/TrinityCore/TrinityCore/commit/875fd4107f29c00f148ea77c6ff6d49f7ca92b76)
2021-02-09 11:29:50 -05:00
hondacrx 8938e21432 Core/GameObjects: Allow setting GameObject anim kits in database
Port From (https://github.com/TrinityCore/TrinityCore/commit/8ce9b69de3c820ce056a3fde7858f0c4d5f6b0a4)
2021-01-26 19:45:25 -05:00
hondacrx b22dc3bc8a Core/Spells: Implemented summoning a personal gameobject effect
Port From (https://github.com/TrinityCore/TrinityCore/commit/e601c6d1f9b9743e92e9562abd9f2d24d9aaf175)
2021-01-26 19:27:45 -05:00
hondacrx cebee1621e Core/Commands: Fixes adding new creatures and gameobjects using in-game commands 2021-01-14 11:18:21 -05:00
hondacrx 970876df40 Fix crash when adding new gameobject with command. 2021-01-11 17:19:21 -05:00
hondacrx ae3a087904 Core/GameObjects: Fixed crash when trying to sit on a chair. 2021-01-02 12:50:07 -05:00
hondacrx 56d007da4c Core/Quests: Fixed questgiver icons
Port From (https://github.com/TrinityCore/TrinityCore/commit/5f3a2d2abf296d1eaf9788244100c91de8b7a619)
2020-12-14 14:01:25 -05:00
hondacrx ed190daffa Core/GameObjects: Updated gameobject template structure to 9.0
Port From (https://github.com/TrinityCore/TrinityCore/commit/364f6eec9a4d6d044666a172a2823161e0e3a418)
2020-12-13 18:13:51 -05:00
hondacrx 7e2df34250 Misc cleanups/Fixes 2020-12-07 10:07:26 -05:00
hondacrx d40c2938a3 Core/PacketIO: Renamed a bunch of opcodes based on more research (only those added after 6.0)
Port From (https://github.com/TrinityCore/TrinityCore/commit/f922c6e7a46a7c712daaaef9b1a72ca865fbe94b)
2020-09-22 20:05:58 -04:00
hondacrx 5f8333188a Core/GameObjects: trigger npcs that are summoned for gameobject casting will now inherit their gameobject's phase shift as well
Port From (https://github.com/TrinityCore/TrinityCore/commit/ed79d904e02d05144f8c5953249da9d5acf01218)
2020-09-22 16:19:22 -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 7060f728a3 Core/WorldObject: Properly initialize position data for all types when initially creating them. Fixes some issues with PvP objectives not having the correct area ID set on initialization.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e6be53d1417e733f0916ff305960cfac3e2ca551)
2020-08-22 15:30:16 -04:00
hondacrx 301c9a2f62 Core/GameObjects: Properly set GO_FLAG_MAP_OBJECT during gameobject creation
Port From (https://github.com/TrinityCore/TrinityCore/commit/e3cf94d4fdbfae5ce99aa754bd29a0b77cd1b73d)
2020-08-07 12:28:41 -04:00
hondacrx bc91e3492e Core/Spells: Handle GAMEOBJECT_TYPE_UI_LINK spellFocus
Port From (https://github.com/TrinityCore/TrinityCore/commit/97afa3a609923bd9b7c0e9cfc52c29ba9dbfe35d)
2020-08-07 12:25:54 -04:00