Ovahlord
e8588fd5ba
Core/Objects: ported Heartbeat implementation fron master branch
2025-03-09 02:40:05 +01:00
Shauren
66f3e78248
Core/Misc: Fix msvc build with version 17.10
...
Closes #29999
(cherry picked from commit d8240fb513fc18ee9bac067f8333aab1d96005d9)
2025-02-26 21:32:47 +01:00
Shauren
7264a541a9
Core/Misc: Replace std::abort with our ABORT macro
...
* libmysql is not a well behaved library on windows, it installs its own SIGABRT handler every time a new connection is opened, overriding our own
(cherry picked from commit 09dea76fb5ede974d6765d40985b033db3fba6a3)
2023-08-19 17:56:19 +02:00
Ovahlord
d924871a2a
Core/Misc: fixed a bunch of deprecation warnings
2023-07-07 22:14:22 +02:00
Shauren
55843a00c6
Core/Maps: Split Ebon Hold by faction and removed forced sanctuary hack
...
original commit: 515c0a43ef8fcf41ffb2785c5940f0234e757ec3
2022-12-29 22:58:20 +01:00
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
Shauren
265c2fa508
Core/Battlefields: Refactor Battlefield creation to be linked to host map creation instead of having globally accessible objects
2022-12-26 13:24:59 +01:00
Shauren
2a39dece9e
Core/OutdoorPvP: Refactor OutdoorPvP creation to be linked to host map creation instead of having globally accessible objects
2022-12-26 12:33:45 +01:00
Ovahlord
e15fe3378e
Core/Scripts: fixed loading world state and battlefield scripts
2022-10-09 01:02:22 +02:00
Carbenium
0ef220fca0
Battlefields: Move BF scripts out of game
...
This commit introduces the usual script interface
for battlefields.
2022-10-09 00:35:07 +02:00
Ovahlord
2521489e2b
Core/World: adapted Master branch version of world state handling
2022-10-08 23:13:06 +02:00
Shauren
0ba58aeb6e
Core/Maps: Move terrain data handling out of Map class
...
Partial port of cmangos/mangos-wotlk@ff5232c648
2022-10-08 00:25:32 +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
949f92e0a1
Core/AI: ported charm updates from 335
2021-09-16 16:48:07 +02:00
Ovahlord
4c670bce9a
Core/Movement: correctly initialize orientation values when loading script waypoints
2021-07-07 09:41:22 +02:00
Ovahlord
20a4997806
fixed an error
2021-02-19 15:37:57 +01:00
Shauren
fbffbbbe14
Dep: Switch to boost process instead of old standalone version
2021-02-19 15:21:15 +01:00
Ovahlord
361ac2292b
Core/Movement: add velocity field to waypoint_data to allow specifying custom speed value for waypoints and cyclic splines
...
* standartized member naming in WaypointNode and WaypointPath struct
2020-09-24 14:30:48 +02:00
Shauren
44e0d6c0f9
Scripts/Spells: Replace RegisterAuraScript with RegisterSpellScript and remove it
2020-08-23 17:44:48 +02:00
Shauren
7bad7247da
Core/Scripts: Unify RegisterSpellScript and RegisterAuraScript macros to do the same thing and implemented passing custom arguments to spell script classes
2020-08-23 17:42:31 +02:00
Roc13x
31b6b77200
Core/Players: Several gold handling improvements ( #155 )
...
* Updated the following systems to support large (64bit) gold numbers:
- Auction House
- Mail
- Commands
- Guild bank withdraw limits
- Guild Bank eventlog
- Vendor
* Fixed some vendor checks for when BuyCount > 1
* Tweaked some checks for available gold space
2020-08-03 17:24:32 +02:00
Ovahlord
0d690e0540
Core/Scripting: dropped ModifyVehiclePassengerExitPos hook
2020-01-28 17:51:54 +01:00
Giacomo Pozzoni
ac8bf86755
Core/Scripts: Change PlayerScript and CreatureScript inheritance
...
Remove UnitScript from PlayerScript and CreatureScript classes as that's how the original system that was PR'd worked, see https://github.com/TrinityCore/TrinityCore/pull/7867 for reference.
Please note these are used as global hooks and should really just invoke stateless functions.
If you need to hook methods from PlayerScript/CreatureScript and UnitScript, just define 2 different scripts (this is how the original system worked and how it was designed to work)
2020-01-28 07:41:43 +01:00
Ovahlord
adbc729fab
Core/AI: call ModifyVehiclePassengerExitPos for CreatureScript as well since it inherits from UnitScript
2020-01-28 05:54:03 +01:00
Ovahlord
fcb79fee07
Core/Datastores: updated DBC structure names to generated member format
2020-01-25 12:36:32 +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
Wyrserth
279a45e23c
Core/Script: add script hook to allow overriding of a vehicle passenger's exit position ( #23322 )
...
* Core/Script: add script hook to allow overriding of a vehicle passenger's exit position.
* Allow to change orientation, and fix nopch.
* Keep original orientation, thanks jackpoz!
* Update Unit.cpp
Code cleanup
* Update Unit.cpp
2019-10-17 03:45:49 +02:00
Ovahlord
14a2770f2b
Core/Movement: add velocity argument for spline chains to control their speed since there are some cases (especially for flying units) that use a different velocity than their current speed values allow
2019-07-08 13:12:55 +02:00
Ovahlord
1e4cc2293a
Core/Datastores: use generated member names for MapEntry fields
...
* load all dbc fields of MapEntry
2019-02-24 00:14:44 +01:00
Ovahlord
54c991bc3d
Scripts/Maps: ported WorldMapScript database implementation and ported Deeprun Tram script and removed unnecessary parts from it.
...
*thx to Annakin?
2018-11-21 13:16:17 +01:00
Ovahlord
c808b981f7
Core/Movement: merged smooth waypoint movement. Followup commits will be merged soon (tm)
2018-08-02 15:38:35 +02:00
Ovahlord
59d169e8e4
Merge branch 'dynamicSpawnMerge' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
...
# Conflicts:
# src/server/game/Entities/Creature/Creature.cpp
# src/server/game/Entities/Object/Object.cpp
# src/server/game/Maps/Map.cpp
# src/server/game/Maps/Map.h
2018-07-21 23:13:55 +02:00
Ovahlord
b976bc1187
Core/Spawns: merged Dynamic Spawning
2018-07-21 20:44:41 +02:00
Ovahlord
fb465c6953
Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
2018-04-09 07:29:47 +02:00
ariel-
a7a3ca27ec
Missing cleanup in ScriptReloadMgr.cpp
2018-03-28 12:18:56 -03:00
Ovahlord
2cfdd3cbe0
Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
...
# Conflicts:
# src/server/game/AI/CoreAI/PetAI.cpp
# src/server/game/Battlegrounds/Battleground.cpp
# src/server/game/Battlegrounds/Zones/BattlegroundTP.cpp
# src/server/game/DungeonFinding/LFGMgr.h
# src/server/game/DungeonFinding/LFGQueue.h
# src/server/game/Entities/Creature/Creature.h
# src/server/game/Entities/Pet/Pet.cpp
# src/server/game/Entities/Player/Player.cpp
# src/server/game/Entities/Player/Player.h
# src/server/game/Entities/Unit/Unit.h
# src/server/game/Globals/ObjectMgr.h
# src/server/game/Groups/Group.cpp
# src/server/game/Groups/Group.h
# src/server/game/Guilds/Guild.cpp
# src/server/game/Guilds/Guild.h
# src/server/game/Handlers/GuildHandler.cpp
# src/server/game/Handlers/LFGHandler.cpp
# src/server/game/Handlers/MiscHandler.cpp
# src/server/game/Handlers/NPCHandler.cpp
# src/server/game/Instances/InstanceScript.cpp
# src/server/game/Maps/Map.cpp
# src/server/game/Maps/Map.h
# src/server/game/Maps/ZoneScript.cpp
# src/server/game/Server/WorldSession.cpp
# src/server/game/Spells/SpellEffects.cpp
# src/server/game/Weather/Weather.cpp
# src/server/game/Weather/WeatherMgr.cpp
# src/server/scripts/Commands/cs_reload.cpp
# src/server/scripts/EasternKingdoms/Deadmines/boss_mr_smite.cpp
# src/server/scripts/EasternKingdoms/Deadmines/deadmines.h
# src/server/scripts/EasternKingdoms/ShadowfangKeep/instance_shadowfang_keep.cpp
# src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp
# src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.h
# src/server/scripts/EasternKingdoms/eastern_kingdoms_script_loader.cpp
# src/server/scripts/Kalimdor/VortexPinnacle/vortex_pinnacle.h
# src/server/scripts/Spells/spell_dk.cpp
# src/server/scripts/Spells/spell_druid.cpp
# src/server/scripts/Spells/spell_generic.cpp
# src/server/scripts/Spells/spell_hunter.cpp
# src/server/scripts/Spells/spell_mage.cpp
# src/server/scripts/Spells/spell_pet.cpp
# src/server/scripts/Spells/spell_shaman.cpp
# src/server/scripts/Spells/spell_warrior.cpp
2018-03-28 12:35:52 +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
Ovahlord
b60589fa9f
Core/Players: merged a fix for frozen emotes in specific circumstances
2018-03-25 20:40:03 +02:00
Shauren
c385edb12d
Core/Scripts: Fixed ENSURE_AI assertion failures when used in Reset()/InitializeAI() hooks with hotswap
...
Updates #20727
2018-02-10 11:51:34 +01:00
Aokromes
4bd0525edd
Update copyright note for 2018
2018-01-01 01:06:19 +01:00
Aokromes
4b48d0dfdc
Core/Misc: minor typo and codestyle fixes
2017-12-14 13:41:06 +01:00
Aokromes
1a00fad992
Core/Scripts: Implemented OnlyOnceAreaTriggerScript
2017-12-11 16:15:22 +01:00
Erik Strandberg
a3b16c040b
Port https://github.com/TrinityCore/TrinityCore/commit/f913f3bb8977c127d200d5d4a608ab434b21bbcd
2017-12-10 00:37:21 +00:00
Aokromes
b93430ee08
Misc: More cleanup
2017-11-25 02:25:18 +01:00
Aokromes
91affef0c6
Misc: Kill trailing white spaces
2017-11-25 01:36:21 +01:00
Aokromes
2fe2290bf7
Core/Scripting: remove long time dead code
2017-09-12 15:44:23 +02:00
Yehonal
a73a5942d4
Core/Scripts: FOR_SCRIPTS macro shouldn't return early ( #20187 )
...
FOR_SCRIPTS, insteadof FOR_SCRIPTS_RET, shouldn't return
otherwise methods such as void ScriptMgr::OnPlayerEnterMap(Map* map, Player* player) will end prematurely
2017-09-10 15:25:00 +02:00
Aokromes
974c646e9c
Core/Scripts: Implement generic script loaders (and script registry macros) to greatly reduce code duplication
2017-07-20 07:13:21 +02:00
Aokromes
461ba1cb56
Fix (C) for multiple files
2017-06-15 08:46:45 +02:00