Commit Graph
198 Commits
Author SHA1 Message Date
Shauren 81b2ff0d94 Core/Maps: Removed MapInstanced - no longer neccessary for grid data reference counting (moved to TerrainInfo) 2022-12-29 22:10:44 +01:00
Ovahlord 4009a75a97 nopchfix² 2022-12-29 13:00:02 +01:00
Ovahlord 94ece3688f nopch fix 2022-12-29 12:38:04 +01:00
Shauren 0f0b283168 Core/Pools: Implemented pooling for instances 2022-12-29 11:56:56 +01:00
Shauren 3ae02de71b Core/Quests: Reset seasonal quests based on saved completion time and intended holiday start time 2022-12-24 23:56:06 +01:00
Shauren e7f8a0e086 Revert "Core/Event: prevent seasonal quests from resetting at server restart (#17455)"
This reverts commit 6a8ca9b0bf6f7cd355e1994723d6be6a5003d4d4.

# Conflicts:
#	src/server/game/Events/GameEventMgr.cpp
2022-12-24 23:36:13 +01:00
Shauren ccff3af924 Core/WorldStates: Migrate battleground HolidayWorldState to new system 2022-12-21 22:01:54 +01:00
Ovahlord fbd92f5476 Core/GameEvents: removed a debugging leftover that was causing GameEvents to not launch at all
* fixed a crash when trying to cast event sources and targets into non-allowed types
2022-06-19 19:56:51 +02:00
Shauren 440aecfe7b Core/Battlegrounds: Replace manual criteria timer starts in battlegrounds with new GameEvents api 2022-06-19 18:47:51 +02:00
Jeremy c5f81dc58f Core/ZoneScript: Add "invoker" param to ProcessEvent 2022-06-19 18:36:41 +02:00
Shauren 5a236799c2 Core/Transports: Path generation rewrite v2
* No TaxiPathNode row is skipped anymore (events/delays on first node now work)
* Fixed transport animation synchronization with client
* Fixed stoppable transports randomly resuming their path after relogging
2022-06-18 22:37:46 +02:00
Ovahlord 97f3bd970e Core/GameEvents: tempoarily use source as game event reference for now 2022-06-18 21:37:51 +02:00
Shauren 2b7b0b0db1 Core/Scripts: Begin unifying triggering gameevents (not the game_event db stuff) 2022-06-18 19:05:57 +02:00
Ovahlord 6e9ec1a4bf Core/Transports: undo all custom transport changes as preparation for cherry picks 2022-06-18 18:37:14 +02:00
Ovahlord 949f92e0a1 Core/AI: ported charm updates from 335 2021-09-16 16:48:07 +02:00
Roc13x ac6604fba7 Core/Creature: Refactor vendor item code (#167)
* Fix loading referenced vendor items
* Refactored vendor item storage
2020-08-06 01:43:39 +02:00
Shauren 9d5848ec6e Core/Maps: Use FindMap instead of CreateBaseMap in places where the intent was to check for a existing map (and a loaded grid on that map) 2020-07-18 12:07:02 +02:00
Ovahlord d46fb93657 Core/Pools: ported pooling updates from 335 branch 2020-07-13 11:17:19 +02:00
Shauren 47acc59f49 Core/DBLayer: Prevent committing transactions started on a different database 2020-04-15 21:02:26 +02:00
Shauren d003ebd8e4 Core/DBLayer: Prevent using prepared statements on wrong database 2020-04-15 19:18:58 +02:00
Ovahlord fcb79fee07 Core/Datastores: updated DBC structure names to generated member format 2020-01-25 12:36:32 +01:00
Ovahlord 0e60ed1682 Core/Events: allow to override holiday durations and correct Lunar Festival duration down to 2 weeks
* the new field must be set for every new holiday date entry to take effect if you want to override the duration of the given
2020-01-11 23:42:08 +01:00
Ovahlord a592be71f7 Core/Events: avoid looking up for battlegrounds when no battleground has been linked to an active event 2020-01-11 20:16:54 +01:00
Ovahlord a3377e273a Core/Events: refactored battleground holiday assignments. Instead of going with shitty bitmasks we now accept plain battleground ids instead 2020-01-11 20:04:21 +01:00
jackpoz 131986d1c2 Core/Misc: Replace time(nullptr) with GameTime::GetGameTime() 2020-01-11 03:30:41 +01:00
Aokromes d6d3f06f06 New year 2020-01-04 18:32:38 +01:00
funjoker 6c56916b29 Misc: Update copyright information
Happy new year
2020-01-01 18:47:28 +01:00
Ovahlord 8f636eae92 Core/Misc: revert some gametime calls back to getMsTime until the gameevent replacement has been merged 2019-11-28 22:20:12 +01:00
Ovahlord c074c3a9c6 Revert "Core/Misc: Replace time(NULL) with GameTime::GetGameTime()"
This reverts commit 5fe3a1f7f9.
2019-07-08 15:56:29 +02:00
Ovahlord 5fe3a1f7f9 Core/Misc: Replace time(NULL) with GameTime::GetGameTime()
(ported commit: 12701cb0c6c45eb105ad449eb9a56e76d84d691e)
2019-07-08 12:19:19 +02:00
Giacomo Pozzoni 2190cf9524 3.3.5 game event respawn (#23391)
* Core/GameEvent: Remove respawn times of Creature and GameObjects when starting/stopping an event

* Add checks for pool

* Remove the check for pools
2019-06-15 16:00:12 +02:00
Ovahlord 5229a734dd Core/Transports: ported transport refactoring
* this implements full support for stoppable transports as well as serverside transport position tracking
* fixed several vehicle related issues
* fixed gameobject passengers not being displayed as transport passengers
* pets, dynamic objects and other summons are not added as transport passengers and will now properly be displayed
Todo:
- Deeprun Tram visual issues needs to be resolved
- Lady Deathwhisper's elevator needs some additional research
2018-11-21 12:04:26 +01:00
Ovahlord b976bc1187 Core/Spawns: merged Dynamic Spawning 2018-07-21 20:44:41 +02:00
ariel- 5ff847159c Core: header cleanup, split realmlist, boost compatibility, cotire, remove stormlib/zlib and stormlib/bzip2 and instead use dep sources 2018-03-28 04:41:59 -03:00
ariel- 3292925319 Core/Events: update holiday code and remove misleading log (event date is the one from game_event)
- add siign to DBC struct member CalendarFilterType as it was being used as such
- kill localtime usage as it's deprecated

Closes #18542
2018-02-17 16:14:35 +01:00
Aokromes 4bd0525edd Update copyright note for 2018 2018-01-01 01:06:19 +01:00
ariel- c4d135fc03 Core/Globals: validate creature_template mingold and maxgold fields 2017-12-26 16:29:45 +01:00
Aokromes 4b48d0dfdc Core/Misc: minor typo and codestyle fixes 2017-12-14 13:41:06 +01:00
Erik Strandberg a3b16c040b Port https://github.com/TrinityCore/TrinityCore/commit/f913f3bb8977c127d200d5d4a608ab434b21bbcd 2017-12-10 00:37:21 +00:00
Aokromes 5efa54d11c Core/Misc: Fix static analysis issues 2017-12-09 00:00:27 +01:00
jackpoz 814d938194 Core/Misc: Fix static analysis issues
Fix coverity id 1382860
2017-12-08 12:50:28 +01:00
Aokromes b93430ee08 Misc: More cleanup 2017-11-25 02:25:18 +01:00
Aokromes be9a73c0ad Core/Misc: Fix static analysis issues 2017-11-12 13:24:06 +01:00
Gerhood 5373e2bd3b Calendar/GameEvents: Store + send holiday data 2017-10-27 15:59:53 +02:00
Aokromes e09c37334d Reverting: Game/Scripting: Add OnGameEvent hook for game objects. 2017-02-19 09:09:43 +01:00
Aokromes e956ea4e62 Game/Scripting: Add OnGameEvent hook for game objects.
Called when specific game event starts
2017-02-19 09:06:37 +01:00
Aokromes 8bb777ef5c Few small optimizations here and there 2017-02-01 16:51:21 +01:00
Aokromes 719a317a67 Update copyright note for 2017 2017-01-02 07:26:38 +01:00
SnapperRy 2d7dc9c9eb Core/Event: prevent seasonal quests from resetting at server restart (#17455)
Closes #16015.
Closes #16413.
2016-08-24 10:23:17 +02:00
Aokromes 5302d9112b Core/Game: Converted the game library to a shared library.
* There is still the possibility to static link against game.
2016-08-08 20:11:29 +02:00