144 Commits

Author SHA1 Message Date
Shauren
ff6a107ac0 Core/Misc: Reduce differences between branches 2025-02-20 23:57:25 +01:00
Shauren
4854d9c51a Core/PacketIO: 4936094379 followup - removed silly way of sending the packet 2024-10-22 19:21:46 +02:00
Meji
4936094379 Core/PacketIO: Added empty implementation for treasure picker opcodes (#30351)
* Temporary workaround to display quest details at questgiver

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2024-10-18 16:43:12 +02:00
Shauren
7f8a932b8b Core/PacketIO: Fixed CMSG_QUERY_REALM_NAME not being handled and not sending any responses 2024-08-19 00:55:19 +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
Meji
06d0b16f15 Core/Creatures: Move creature difficulty specific data from creature_template table to creature_template_difficulty (#28931) 2023-05-29 00:01:23 +02:00
Shauren
7f5e47c396 Core/Realms: Remove duplicate realm names storage 2023-04-29 00:25:31 +02:00
Shauren
d791afae1d Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api) 2023-01-08 21:16:53 +01:00
Shauren
704142f15a Core/Maps: Fixed retrieving terrain info when on child maps 2022-12-31 18:22:40 +01:00
Shauren
16a06346ae Core/Maps: Move terrain data handling out of Map class
Partial port of cmangos/mangos-wotlk@ff5232c648
2022-07-23 19:13:33 +02:00
Shauren
1021fcee34 Core/PacketIO: Rename some new opcodes 2022-02-25 19:18:55 +01:00
Shauren
9f30afe352 Core/PacketIO: Updated packet structures to 9.2.0 2022-02-24 23:16:55 +01:00
Treeston
d11c3807b3 Core/Time: Rename GetGameTime{System, Steady}Point methods
The names are a bit unhandy. Rename them (shorter but still meaningful).

GetGameTimeSystemPoint() -> GetSystemTime()
GetGameTimeSteadyPoint() -> Now()

Also add 2 new typedefs:

typedef std::chrono::steady_clock::time_point TimePoint;
typedef std::chrono::system_clock::time_point SystemTimePoint;

Closes #25042

(cherry picked from commit 896b68d5c2)
2022-01-23 21:36:03 +01:00
Treeston
51fbda4223 Core/Pooling: Quest pooling rewrite: (PR#23627)
- Split quest pooling from PoolMgr (into QuestPoolMgr)
- Proper saving/restoring on server restart
- No more hacking into sObjectMgr to insert/remove available quests

(cherry picked from commit a5e73e41c0)
2021-12-18 15:28:45 +01:00
Shauren
f759809d9d Core/PacketIO: Use new time utilities in packets instead of plain time_t/uint32 2021-04-06 19:10:28 +02:00
Shauren
b231903932 Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup port 2020-09-04 13:38:24 +02:00
Shauren
eba31dea27 Core/Maps: Improvements to terrain swap handling
* Fixed memory leak when unloading grids
* Handle child maps being entered
* Allow chaining more child maps (Draenor -> Tanaan Jungle -> Tanaan Jungle - No Hubs Phase)
2020-05-24 22:34:25 +02:00
Shauren
462a10de17 Core/PacketIO: Updated packets to 8.3.0 2020-02-17 23:58:08 +01:00
Aokromes
b0bf1275ee New Year 2020-01-02 06:44:10 +01:00
funjoker
b4d30bb92c QueryCache port
partial port of:
(ae9d01a324)
(dd1aa64563)
2019-08-17 20:04:14 +02:00
Shauren
31fda79556 Core/PacketIO: Updated packet structures to 8.1.5 2019-06-08 17:03:15 +02:00
vincent-michael
5620eb9463 Update copyright note for 2019
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
Traesh
9d210476e5 Core/Creatures: Update creature model handling with new display scale (#22567) 2018-11-07 20:23:30 +01:00
Shauren
0a779bd791 Core/PacketIO: Updated packet structures to 8.0.1 2018-11-05 00:00:34 +01:00
Shauren
91be2332e2 Core/Entities: Phasing rewrite
* Optimized phase visibility checking
* Handle all phase flags

Closes #16758
Closes #21119
2018-03-25 19:28:36 +03:00
Shauren
007b5a68c5 Core/DataStores: Fixed db2 structures after 7.3.5 2018-03-12 23:11:49 +01:00
Shauren
4af15915bc Core/PacketIO: Updated opcodes and packet structures to 7.3.5 2018-02-18 16:33:49 +01:00
joschiwald
0d1e251e32 Core/Creature: Added TitleAlt to creature_template 2018-01-05 16:46:51 +01:00
vincent-michael
7d00ae4045 Update copyright note for 2018
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
joschiwald
69e9ac8827 Core/Misc: Fixed warnings 2017-06-04 15:05:11 +02:00
Shauren
b453e12423 Core/Game: Include cleanup part 5
* ObjectMgr.h
* Player.h
* Unit.h
* G3D should no longer propagate everywhere from Spline/MotionMaster
2017-06-04 01:00:45 +02:00
Shauren
c5d3dd90be Core/Game: Include cleanup
* Mostly aimed at removing Log/DatabaseEnv includes from other headers
* Fix most packet headers including other packet headers - moved common structures such as ItemInstance to their own files
* Moved SAI function definitions to source files (massive or requiring many different dependencies)
2017-05-18 23:53:25 +02:00
Shauren
a12a34b1dc Core/Game: Include cleanup - removed G3D classes from packets
* Use our own Position class instead, with the coords written to packets being part of type
2017-05-16 22:16:21 +02:00
joschiwald
229c78b5a3 Core/Packets: Implemented CMSG_QUERY_REALM_NAME and SMSG_REALM_QUERY_RESPONSE 2017-05-13 17:25:21 +02:00
Gacko
ed986a416a Fix build. 2017-05-10 17:27:59 +02:00
joschiwald
b52949aa1f Core/Misc: Removed useless log message 2017-05-09 20:43:22 +02:00
joschiwald
036f67c0c1 Core/Collision: Replaced phasemask with proper phases in GameObject collision calculation 2017-05-05 21:22:58 +02:00
Shauren
713783531c Core/Corpses: Misc fixes
* Updated corpse flags
* Fixed corpse guid during creation
* Properly set corpse faction
* Fixed setting weapon inventory types if transmogrified
* Fixed corpse location query response when corpse cannot be found
2017-05-01 20:20:18 +02:00
Shauren
6636ca8585 Core/DataStores: Updated sending out hotfixes 2017-04-19 19:10:49 +02:00
vincent-michael
86b98686a9 Update copyright note for 2017
Happy new year
2017-01-01 16:23:13 +01:00
joschiwald
b0c8a9411e Core/Logging: removed useless log message 2016-08-27 12:30:46 +02:00
Vincent-Michael
f9a9ea2daa Core/Creatures: Fixed typo 2016-08-14 00:29:34 +02:00
Vincent-Michael
f94339271e Core/Creatures:
- Renamed creature_template.exp_unk to RequiredExpansion
- Added creature_template.HealthScalingExpansion
- Added creature_template.VignetteID
2016-08-13 21:55:39 +02:00
Shauren
c74a1fcad0 Core/GameObjects: Renamed gameobject_template.unkInt32 to RequiredLevel 2016-08-01 16:14:35 +02:00
Shauren
0d9136f764 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion 2016-07-10 00:37:33 +02:00
Shauren
a78aa3cf4e Core/PacketIO: Refactored building SMSG_UPDATE_OBJECT to append directly to final buffer and removed UpdateMask class 2016-07-10 00:11:19 +02:00
Shauren
6226f04caf Core/PacketIO: Updated query opcodes 2016-06-07 19:56:40 +02:00
Vincent-Michael
478cc756eb Update copyright note for 2016
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Shauren
cd27fd38b9 Core/Maps: Moved corpse management to map level 2015-09-28 17:20:27 +02:00
Vincent-Michael
8aa55a0b57 Core/Misc: Update game creature template locale in simple system 2015-08-01 11:58:14 +02:00