Commit Graph

316 Commits

Author SHA1 Message Date
Shauren
dbe2051056 Core/Threading: Significantly reduced the severity of possible data race during player login
* This commit changes a data race on a pointer value to data race on integers (guid)
2015-06-21 02:15:13 +02:00
Shauren
0e49eefe85 Core/DBLayer: Sprinkle some async magic on worldserver auth/session load process
* Implemented base for loading account wide data
2015-06-20 00:59:31 +02:00
DJScias
b5aebf40a8 Core/PacketsIO: Updated and enabled SMSG_CHANNEL_NOTIFY, CMSG_CHAT_REGISTER_ADDON_PREFIXES, CMSG_CHAT_UNREGISTER_ALL_ADDON_PREFIXES
- Thanks to @MitchesD for all his help, you're awesome!
- Packets have been sniffed & parsed and they all check out.
2015-05-27 16:56:06 +02:00
Shauren
68bd33b654 Core/Player: Implemented seamless teleporting 2015-05-01 15:44:43 +02:00
Shauren
34935f0b09 Core/PacketIO: Limit the amount of support packets allowed to be processed and updated CMSG_BUG_REPORT 2015-04-25 21:24:39 +02:00
Shauren
7e5df6d504 Core/Logging: Removed a bunch of useless "received X" logs 2015-04-21 21:26:15 +02:00
Shauren
50c6473a31 Core/PacketIO: Changed WorldSession::Handle_NULL to use packet class (Null). DEFINE_OPCODE_HANDLER_OLD is now strictly used only for opcodes that were used in past and weren't updated yet 2015-04-18 12:12:59 +02:00
Shauren
f86d242f56 Core/Misc: Removed unused method - it was only needed when client&server opcode handlers were both in the same array 2015-04-16 00:13:41 +02:00
click
0d78a01983 Core/Logger: Add basic account-info to addon-scans to make them a little bit more useful (@Aokromes, you can stop asking for this now...)
(cherry picked from commit e040c56d45)

Conflicts:
	src/server/game/Server/WorldSession.cpp
2015-04-14 01:01:06 +01:00
Shauren
5389180778 Core/PacketIO: Updated all client opcode values 2015-04-01 01:44:10 +02:00
Vincent-Michael
61ffd31078 Core/PacketIO: Enable some char opcodes 2015-03-29 03:47:26 +02:00
Vincent-Michael
dc67c9c801 Core/PacketIO: Fix warning 2015-03-29 03:28:29 +02:00
Shauren
bed88e0dd4 Core/Networking: Fixed unsafe access to _worldSession member in WorldSocket 2015-03-28 21:45:27 +01:00
click
aec6353297 Core: More INFO -> DEBUG changes (WorldSession/WorldSocket)
(cherry picked from commit 132d4ede37)

Conflicts:
	src/server/game/Server/WorldSession.cpp
	src/server/game/Server/WorldSocket.cpp
2015-03-18 00:18:20 +00:00
Epicurus4
75419fc2b1 Core/PacketIO: Sync with wpp 2015-03-01 12:33:34 -05:00
Epicurus4
3b364bc580 Core/PacketIO: Sync with wpp 2015-03-01 10:30:32 -05:00
Vincent-Michael
369b08b68d Core/Misc: Update base stuff for V6.1.0 build 19702 2015-03-01 02:24:59 +01:00
Duarte Duarte
8a2f8df8ce Merge pull request #14236 from Golrag/Notification1
Core/Packets: SMSG_NOTIFICATION
2015-02-23 21:47:37 +00:00
Shauren
3fcea2e9d4 Core/PacketIO: Handle ConnectToFailed and allow the client to reconnect up to 5 times before aborting login to world
Closes #14214
2015-02-23 22:35:26 +01:00
Golrag
78c7094b01 Core/Packets: SMSG_NOTIFICATION 2015-02-23 22:25:16 +01:00
Mogadischu
bc0c0ae2a3 Core/Guild: Updated and enabled most previously implemented guild and petition related packets
Merged from https://github.com/Mogadischu/TrinityCore/commits/guild

Signed-off-by: Duarte Duarte <dnpd.dd@gmail.com>
2015-02-13 18:32:36 +00:00
joschiwald
e01bb91887 Core/Packets: updated some contactlist packets 2015-02-08 02:51:49 +01:00
joschiwald
053d5f24ee Core/Packets:
- added inspect packets
- updated opcode values
2015-02-01 20:52:05 +01:00
Nayd
802725817b Core/Packets: Update and enable CMSG_STAND_STATE_CHANGE and SMSG_STAND_STATE_UPDATE 2015-01-28 19:29:31 +00:00
joschiwald
b8b3079917 Core/Packets: moved CMSG_AUTOSTORE_BAG_ITEM, CMSG_CANCEL_AURA, CMSG_CHAR_UNDELETE_ENUM, CMSG_GET_UNDELETE_COOLDOWN_STATUS, CMSG_UI_TIME_REQUEST to packet classes 2015-01-26 12:59:18 +01:00
joschiwald
c61bcf1206 Core/NetworkIO: sync opcodes with wpp 2015-01-25 21:08:54 +01:00
joschiwald
fd6668d17a Core/NetworkIO: sync opcode values with wpp and removed duplicate ones 2015-01-18 23:56:01 +01:00
joschiwald
36e50ff8ae Core/Opcodes: sync with wpp 2015-01-17 03:55:29 +01:00
Shauren
aff40d741e Core/Quests: Send completed quest data on login 2015-01-12 23:16:14 +01:00
Shauren
ec5800c845 Core/PacketIO: Reenabled most opcodes for WorldSession::DosProtection::GetMaxPacketCounterAllowed 2015-01-10 20:57:53 +01:00
Vincent-Michael
ab90f74486 Update copyright note for 2015
Happy new year
2015-01-01 00:28:09 +01:00
jackpoz
959ea73734 Core/NetworkIO: Skip AntiDoS checks for queued packets
(cherry picked from commit d8c3115bbd)
2014-12-27 16:14:56 +00:00
Intel
518c744336 Core/Packets: Add connection indexes for server packets
Fixed IOCP define for linux
Minor code style change in inventory loading
2014-12-07 15:14:43 +02:00
joschiwald
0fbf829fd3 Core/Packets: updated SMSG_EQUIPMENT_SET_LIST 2014-11-19 03:42:38 +01:00
joschiwald
b7baee390c Core/Packets: updated SMSG_BINDPOINTUPDATE, SMSG_INVALIDATE_PLAYER, SMSG_LOGIN_SETTIMESPEED, SMSG_WORLD_SERVER_INFO 2014-11-19 02:12:47 +01:00
Intel
d87504dee5 Core/Packets: Added SMSG_TUTORIAL_FLAGS 2014-11-16 00:30:31 +02:00
joschiwald
f4926e0a8c Core/Packets: updated char rename customize and factionchange packets 2014-11-12 16:36:05 +01:00
Shauren
e52357eb45 Warning fixes 2014-11-10 09:26:01 +01:00
Shauren
f59a701e29 Core/PacketIO: Updated and enabled logout opcodes 2014-11-09 21:36:06 +01:00
Shauren
bacc90b6ba Core/NetworkIO: Added second connection to WorldSession, handle AuthContinuedSession and enabled ConnectTo and ResumeComms 2014-11-09 00:37:33 +01:00
Shauren
4e61b416d8 Core/PacketIO: Enabled SMSG_ADDON_INFO and SMSG_ACCOUNT_DATA_TIMES 2014-11-04 00:01:09 +01:00
Shauren
b8d1d9a733 Core/PacketIO: Minor refactor to writing server packets 2014-11-03 20:23:21 +01:00
joschiwald
52bd9a771e Core/NetworkIO: implemented undelete opcodes and moved char create/delete packets to new packet classes 2014-11-03 19:11:14 +01:00
Shauren
839166eddf Core/Packets: Added utility class for handlers using new packet classes 2014-11-03 02:11:15 +01:00
Shauren
dd040c5992 Core/NetworkIO: Fixed packet compression 2014-10-31 22:36:43 +01:00
Shauren
7de1356085 Core/NetworkIO: Moved SMSG_AUTH_CHALLENGE and CMSG_AUTH_SESSION to packet claases, added SMSG_COMPRESSED_PACKET 2014-10-31 01:20:53 +01:00
DDuarte
7b2274a744 Core/Networking: PoC changes to the way packets are handled
This is a rewrite of the way we send SMSG opcodes, the reasoning behind this is to make fixing packets sent in multiple places easier, and allow for clearer documentation of the packet fields.

Included SMSG_AUTH_RESPONSE and SMSG_AUCTION_COMMAND_RESULT as two examples.
2014-10-30 02:04:54 +00:00
Shauren
209a743bbe Core/Entities: Updated updatefields 2014-10-26 22:06:48 +01:00
Shauren
10fb948c40 Core/Entities: Changed a few lowguid uses to ObjectGuid::LowType 2014-10-25 17:11:35 +02:00
DDuarte
f37e5b9afd Core/Opcodes: Support opcodes with the same ids and different direction
- Split enum Opcodes in enum OpcodeMisc/OpcodeClient/OpcodeServer
	- Old MSGs are temporarly in the enum OpcodeClient
- Split _internalTable of OpcodeTable in two tables, one for CMSG opcodes and another for SMSG opcodes

Note: most added static_cast<OpcodeX> will be removed once WorldPacket
is split in two classes (ServerPacket/ClientPacket, see #13434)
2014-10-25 15:42:16 +01:00