Commit Graph
310 Commits
Author SHA1 Message Date
Ovahlord db7998ae28 Core/Players: use CharacterFlags enums to store player information in database and set player flags accordingly 2026-03-22 18:07:14 +01:00
Shauren 672579de8e Core/Players: Define all character flags used in SMSG_ENUM_CHARACTERS_RESULT 2025-08-29 22:04:51 +02:00
Treeston f95a8bfdca Core/Common: Tokenizer -> Trinity::Tokenize 2025-07-30 20:51:19 +02:00
Ovahlord 64b77e359d Core/Misc: ported cryptography updates and all that entrails from 335/master and killed bnetserver 2025-07-21 19:04:56 +02:00
Ovahlord 94bdf7c094 Core/PacketIO: implement a legacy connection mode which uses only the first connection socket to allow older pre-patched clients to connect 2025-06-21 15:32:25 +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 f573f1f8e3 Core/Packets: converted CMSG_LOADING_SCREEN_NOTIFY to packet class 2022-03-22 12:41:48 +01:00
Ovahlord 0a7dfc15e2 Core/Movement: ported mount capability updating from master branch and replaced old implementation with it 2021-11-09 18:13:23 +01:00
Ovahlord da5564fa47 Core/Packets: converted SMSG_CLEAR_COOLDOWN and SMSG_CLEAR_COOLDOWNS to packet class 2021-08-16 11:02:22 +02:00
Shauren fed82c1002 Core/Auras: Defined and implemented many new interrupt flags 2021-03-24 14:53:30 +01:00
Ovahlord 0299fa4fe1 Core/Misc: replace boost::optional with std::optional 2021-02-19 14:07:43 +01:00
Ovahlord e2d6a2f0cd Core/Players:
* converted SMSG_SET_PROFICIENCY to packet class and corrected initial sending for it
* removed death rune hack and replaced it with the correct packet instead
* corrected sending order for a few login packets
2020-11-21 14:45:36 +01:00
Shauren d6aa5e333e Core/DBLayer: Fixed memory leaks with existing SQLQueryHolder uses and eliminated the possibilty of adding more in future (replaced manual memory management with smart pointers) 2020-10-26 18:03:54 +01:00
Ovahlord ce5d28617d Core/Packets: converted CMSG_GENERATE_RANDOM_CHARACTER_NAME, SMSG_GENERATE_RANDOM_CHARACTER_NAME_RESULT, CMSG_CHAR_DELETE, SMSG_CREATE_CHAR, SMSG_DELETE_CHAR and CMSG_PLAYER_LOGIN to packet class 2020-08-30 02:23:39 +02:00
Roc13x 31a04a1de1 Core/Guild: Implement guild master dethrone feature (#168) 2020-08-24 23:48:30 +02:00
Shauren 6d4b396f7b Core/DBLayer: Add nicer api for SQLQueryHolders 2020-08-01 15:37:20 +02:00
Shauren 80e4effba5 Core/Mail: Load mails at login instead of on demand when queried by packets (logging in always sends one of the packets that cause mail loading anyway) 2020-08-01 15:21:13 +02:00
Ovah 227427e8a1 Core/Players: update mount capabilities on player login to avoid orphaned mount speed auras 2020-06-03 22:19:56 +02:00
Ovahlord f1bd380b20 Core/Players: update mount capabilties when the liquid status of players change
* simplified checks for liquid restrictions in mount capability helper
* handle missing case for liquid exclusive mounts
* update position data on character login to avoid some edge case outdoors checks

closes #95
2020-06-01 15:10:13 +02:00
Shauren ec6d64b9c6 Core/Player: Wait for correct transaction on character creation 2020-04-15 21:58:02 +02:00
Shauren df44e90fe6 Core/Misc: Fixed char enum packet sometimes not showing newly created character when client latency is too low 2020-04-15 21:46:28 +02:00
Shauren ca881f7e3f Core/DBLayer: Implement async transaction completion callbacks 2020-04-15 21:41:14 +02:00
Shauren 40c3c785a2 Core/DBLayer: Prevent mixing databases with query holders
# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Entities/Player/Player.h
#	src/server/game/Server/WorldSession.cpp
#	src/server/game/Server/WorldSession.h
2020-04-15 21:30:10 +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 4539b571bf Core/Packets: converted SMSG_MOTD and SMSG_LOGIN_VERIFY_WORLD to packet class 2020-04-11 18:22:01 +02:00
ForesterDev e2643dabb0 Core/Packets: update & enabled CMSG_SHOWING_CLOAK, CMSG_SHOWING_HELM (#24394)
(cherry picked from commit a47d57d1dbd7bc944972d7ef1773739e5019adde)

Co-authored-by: DJScias <zumbak04@gmail.com>
# Conflicts:
#	src/server/game/Server/Packets/AllPackets.h
#	src/server/game/Server/Packets/CharacterPackets.cpp
#	src/server/game/Server/Packets/CharacterPackets.h
#	src/server/game/Server/WorldSession.h
2020-04-04 18:59:02 +02:00
Ovahlord f1f00c3ec3 Core/Datastores: refactor DBC storage helpers to use a class and fixed no pch build 2020-03-18 15:24:25 +01:00
Ovahlord d9b854ad59 Core/Datastores: backported hotfix system implementation 2020-02-21 23:13:38 +01:00
Ovahlord 59120fbd38 Core/Quests: ported breadcrumb quest handlings and cleaned up quest template loading handlings 2020-02-20 05:08:09 +01:00
Ovahlord b7f7e99d63 Core/Packets: converted SMSG_TRIGGER_CINEMATIC, SMSG_TRIGGER_MOVIE, CMSG_COMPLETE_CINEMATIC, CMSG_NEXT_CINEMATIC_CAMERA, CMSG_COMPLETE_MOVIE and SMSG_STREAMING_MOVIES to packet class 2020-02-08 15:11:32 +01:00
Ghaster 97a727749a Core/PacketIO: convert all authentication related packets to packet class (#26) 2020-01-25 15:44:56 +01:00
Ovahlord fcb79fee07 Core/Datastores: updated DBC structure names to generated member format 2020-01-25 12:36:32 +01:00
Ghaster 2587802100 Core/Packets: convert CMSG_ENUM_CHARACTERS and SMSG_ENUM_CHARACTERS_R… (#24)
* Core/Packets: convert CMSG_ENUM_CHARACTERS and SMSG_ENUM_CHARACTERS_RESULT to packet class

* Cleanup some excessive large spaces

* These entire spaces must be purged

* Order members by type size and alphabetical

* Change TaggedPosition into Position
2020-01-19 23:17:26 +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 8e8c870a47 Core/Players: corrected field order for feature status packet 2019-10-05 00:43:43 +02:00
Ovahlord 9d574d2220 Core/Players: convert SMSG_FEATURE_SYSTEM_STATUS to packet class 2019-10-05 00:22:53 +02:00
Ovahlord 8bec6af24a Core/NetworkIO: implement 2nd connection 2019-10-03 22:32:24 +02: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
Ovahlord d6fafae9ba Core/Guilds: merged and ported more guild achievement implementations 2018-12-15 22:47:05 +01: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 1a1790b737 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
# Conflicts:
#	src/server/game/AI/SmartScripts/SmartScript.cpp
#	src/server/game/Skills/Archaeology/ArchaeologySites.cpp
#	src/server/scripts/Spells/spell_mage.cpp
2018-09-17 15:43:22 +02:00
Aokromes 80bbe029d4 Core/Unit: Erm, so it turns out that releasing your spirit actually n…
…ever set your death state to DEAD. It stayed as CORPSE. That's wrong, of course, but we didn't notice because zombie corpses (see f50a8e5).

Zombie corpses are gone, so now it caused a bug. That's fixed too. Closes #21873. (Finally.)
2018-09-15 11:14:39 +02:00
Ovahlord 1998dc1287 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
# Conflicts:
#	src/server/game/AI/SmartScripts/SmartScript.cpp
2018-05-17 12:44:55 +02:00
Keader dcc1cfe44d Core/Handlers: Fixed Equipament Manager (for real this time) 2018-04-29 17:46:57 +02:00
Keader e27ee9fcea Core/Handlers: Fixed a Equipament Manager typo 2018-04-29 17:46:13 +02:00
Keader 1c19aa7b71 Core/Handlers: Fixed equipament manager with empty slots. Yes kids, dont use drugs !
Followup: 42be04898c6fd001160ee4fdf00fc2ba5c5c1ee3
2018-04-29 17:46:04 +02:00