Commit Graph
1376 Commits
Author SHA1 Message Date
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
Ovahlord 1281ce61b1 Core/Guilds: properly finish packet reading in guild rank switching opcode 2020-04-04 20:23:03 +02:00
Ovahlord 77cf10ee5f Core/Misc: fixed gcc warnings 2020-04-04 20:20:41 +02:00
ForesterDev 337aa3614b Core/Packets: Added SMSG_WORLD_STATE_UI_TIMER_UPDATE (#24312)
(cherry picked from commit 7d88f8c491837dcfd02995a32310c196102200ce)

# Conflicts:
#	src/server/game/Handlers/MiscHandler.cpp
#	src/server/game/Server/Protocol/Opcodes.cpp
#	src/server/game/Server/Protocol/Opcodes.h
# Conflicts:
#	src/server/game/Server/Packets/MiscPackets.cpp
#	src/server/game/Server/Packets/MiscPackets.h
2020-04-04 19:02:30 +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 c9961e6a94 Core/Movement: rewrite follow movement 2020-03-27 18:59:16 +01:00
Ovahlord 9dd475d2fc Core/Packets: converted SMSG_GUILD_COMMAND_RESULT, SMSG_GUILD_BANK_TEXT_QUERY_RESULT, SMSG_GUILD_NAME_CHANGED, SMSG_QUERY_GUILD_INFO_RESPONSE and SMSG_GUILD_RANKS to packet class 2020-03-18 23:09:35 +01: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 2a9fc25269 Core/Misc: fixed more no pch errors 2020-03-11 13:42:42 +01:00
Ovahlord 536b00fb63 Core/Packets: use plain game time when sending db reply packets 2020-02-23 03:47:04 +01:00
Ovahlord f2b26c68a7 Core/Datastores: corrected db structure for item.db hotfix table and removed timestamp field from hotfix_data as the timestamp is being generated by the server 2020-02-22 22:29:35 +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
ariel- d28be94e4a Core/Quests: implemented MSG_QUEST_PUSH_RESULT notifications
- Allow to share already completed (but not rewarded) quests, restriction was unblizzlike

thanks Cannix for the heads up
2020-02-20 01:55:48 +01:00
Ovahlord 6e6c9b2787 Core/Movement: use GameTimeMS at a missing spot 2020-02-19 07:00:02 +01:00
Ovahlord 22ed3f306d Core/Movement: implement SMSG_SUSPEND_TOKEN and CMSG_SUSPEND_TOKEN_RESPONSE packets and converted SMSG_TRANSFER_PENDING and SMSG_NEW_WORLD to packet class 2020-02-17 18:40:21 +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
jackpoz 183789053e Core/Misc: Fix GCC 8 warnings 2020-01-31 21:19:25 +01:00
Ghaster a246b5a342 Core/Item: cleanup some enums (#28) 2020-01-30 17:06:37 +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
Ovahlord 09ebb0ed45 Core/Creatures: removed a unused argument from CanResetTalents 2020-01-13 14:50:37 +01:00
Ovahlord 7760d95962 Core/Creatures: backported trainer update and skill initialization 2020-01-12 23:53:35 +01:00
jackpoz 131986d1c2 Core/Misc: Replace time(nullptr) with GameTime::GetGameTime() 2020-01-11 03:30:41 +01:00
Ovahlord efd033a17d Core/Packets: convert CMSG_QUEST_LOG_REMOVE_QUEST, CMSG_QUEST_CONFIRM_ACCEPT and CMSG_QUERY_QUEST_INFO to packet class 2020-01-05 12:56:56 +01:00
Aokromes d6d3f06f06 New year 2020-01-04 18:32:38 +01:00
Ovahlord 6ad66f9cfc Core/Packets: convert CMSG_QUEST_GIVER_COMPLETE_QUEST, CMSG_QUEST_GIVER_HELLO, CMSG_QUEST_GIVER_QUERY_QUEST, CMSG_QUEST_GIVER_REQUEST_REWARD, CMSG_QUEST_GIVER_STATUS_MULTIPLE_QUERY and CMSG_QUEST_GIVER_STATUS_QUERY to packet class 2020-01-04 11:46:10 +01:00
Ovahlord 1ae4749762 Core/Quests: convert CMSG_QUEST_GIVER_ACCEPT_QUEST and CMSG_QUEST_GIVER_CHOOSE_REWARD to packet class 2020-01-03 23:43:19 +01:00
funjoker 6c56916b29 Misc: Update copyright information
Happy new year
2020-01-01 18:47:28 +01:00
Ovahlord 0c0906416e Core/Movement: added a missing pointer check to 386160d359 2019-12-01 09:40:25 +01:00
Ovahlord 386160d359 Core/Spells: define and implement PROC_FLAG_JUMP
* added forward leap exception for Thermal Jump
2019-11-30 01:07:38 +01:00
Ovahlord a7ebacfe7b Core/Movement:
* fixed packet structure field order of MSG_MOVE_TIME_SKIPPED
* send move_update opcodes to players after the target player's client has confirmed the speed change via ack opcode
*todo: implement anti-cheat checks
2019-11-13 10:25:58 +01:00
Ovahlord db135660e1 Core/Trainers: the visual effect upon learning a spell will now be correctly shown by the player instead of the trainer 2019-11-10 18:31:29 +01:00
Ovahlord 15f09fb82b Core/Misc: fixed warnings and building connection patcher with boost versions below 1.61 2019-11-06 00:51:04 +01:00
Shauren 43a18dae7f Core/PacketIO: Restrict CMSG_STANDSTATECHANGE to only allow the same stand states that client can send by itself 2019-11-05 16:05:54 +01:00
Shauren ff018e4d75 Core/PacketIO: Restrict CMSG_EMOTE to only allow emotes that are hardcoded in client 2019-11-05 16:04:52 +01:00
Artamedes 57992c4f0d Core/PacketIO: Update UpdateFlags for SMSG_UPDATE_OBJECT movement update (#9)
* Core/PacketIO: Update UpdateFlags for SMSG_UPDATE_OBJECT movement update

* 1

* Core/NetworkOI: corrected connection type for SMSG_MOVE_UPDATE

* suggestions
2019-10-15 19:11:15 +02:00
Ovahlord 8d29de88a2 Core/Guilds: updated guild challenge system
* converted guild challenge packets to packet class
* moved guild challenge reward data to database
2019-10-14 00:56:48 +02:00
Artamedes 87c6cc19e5 Core/PacketIO: Handle CMSG_REQUEST_PET_INFO, so pet/vehicle/charm/possess bar shows after a client /reload (#7)
* Core/PacketIO: Handle CMSG_REQUEST_PET_INFO, so pet/vehicle/charm/possess bar shows after a client /reload

* Core/Handlers: added additional checks for PetSpellInitialize() call in HandleRequestPetInfoOpcode and apply codestyle standards
2019-10-08 16:53:55 +02: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 d52e51cb6b Core/NetworkIO: renamed chat channel cmsg opcodes to match client names and defined CSMG_CHAT_CHANNEL_DECLINE_INVITE opcode 2019-10-04 22:41:13 +02:00
Ovahlord 8bec6af24a Core/NetworkIO: implement 2nd connection 2019-10-03 22:32:24 +02:00
Ovahlord 42e682c3b7 Core/Packets: converted guild reward packets to packet class 2019-09-05 02:51:59 +02:00