Commit Graph

1358 Commits

Author SHA1 Message Date
Rat
ac0ff1fc9b Merge branch 'dbc' of https://github.com/Intel/TrinityCore into Intel-dbc
Conflicts:
	src/server/game/DataStores/DBCStores.cpp
	src/server/game/DataStores/DBCStructure.h
	src/server/game/Events/GameEventMgr.cpp
2014-11-10 15:18:01 +01:00
Shauren
e52357eb45 Warning fixes 2014-11-10 09:26:01 +01:00
DDuarte
78a3d21e38 Fix build 2014-11-10 07:46:15 +00:00
DDuarte
ec60d64498 Core/Packets: SMSG_NAME_QUERY_RESPONSE (PlayerNameResponse) handler 2014-11-10 06:44:43 +00:00
DDuarte
ec7923c2e6 Core/Packets: CMSG_NAME_QUERY (QueryPlayerName) handler 2014-11-10 05:53:05 +00:00
DDuarte
4b0a97af92 Core/Packets: CMSG_LOAD_SCREEN (LoadingScreenNotify) handler 2014-11-10 05:30:39 +00:00
DDuarte
ab6cde7fde Core/Packets: CMSG_VIOLENCE_LEVEL handler 2014-11-10 05:14:35 +00:00
DDuarte
4552e6a672 Core/Packets: CMSG_CANCEL_TRADE handler 2014-11-10 05:08:29 +00:00
DDuarte
6586cae13c Core/Packets: Add a constructor to ClientPacket with expected opcode (asserted)
Also move all trivial packet constructors from .cpp to .h
2014-11-10 04:39:20 +00:00
Intel
43d5fb5eae Core/DataStores: Updating spells dbc part 2 2014-11-10 02:51:55 +02:00
Shauren
f59a701e29 Core/PacketIO: Updated and enabled logout opcodes 2014-11-09 21:36:06 +01:00
Shauren
31730d52b6 Core/Logging: Added connection index to packetlog 2014-11-09 20:48:13 +01:00
Shauren
18cce601b9 Core/Misc: Use opcode definitions instead of magic values for known opcodes in IsInstanceOnlyOpcode 2014-11-09 15:04:40 +01:00
joschiwald
2fee7d195b Core/NetworkIO: updated SMSG_UPDATE_WORLD_STATE, added SMSG_PVP_SEASON and added packet class for SMSG_INIT_WORLD_STATES 2014-11-09 04:25:09 +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
Bernd Lörwald
fbfb294888 Core: Fix non-pch build 2014-11-08 20:47:20 +00:00
joschiwald
f8e935a0b7 Core/NetworkIO: updated CMSG_RANDOMIZE_CHAR_NAME, SMSG_RANDOMIZE_CHAR_NAME, SMSG_CLIENTCACHE_VERSION, SMSG_MOTD 2014-11-08 02:55:45 +01:00
Shauren
b646c53aa8 Core/IPC: Fixed a possible crash on shutdown 2014-11-08 02:48:11 +01:00
joschiwald
eba9903265 Core/NetworkIO: updated CMSG_GUILD_QUERY and SMSG_GUILD_QUERY_RESPONSE 2014-11-06 22:41:44 +01:00
Shauren
e401f9c9e2 Core/PacketIO: Added SMSG_REDIRECT_CLIENT/ConnectTo packet structure 2014-11-06 18:49:19 +01:00
joschiwald
db7c07246a Core/NetworkIO: updated CMSG_REORDER_CHARACTERS packet and other opcode values 2014-11-06 02:59:59 +01:00
Intel
9267c78a77 Core: Fixed Non-PCH build 2014-11-05 02:26:34 +02:00
Shauren
4e61b416d8 Core/PacketIO: Enabled SMSG_ADDON_INFO and SMSG_ACCOUNT_DATA_TIMES 2014-11-04 00:01:09 +01:00
Shauren
7256c7c2c7 Core/PacketIO: Updated SMSG_LOGIN_VERIFY_WORLD 2014-11-03 20:25:21 +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
064154c540 Core/PacketIO: Changed CMSG_PLAYER_LOGIN handler signature for new packet clasess 2014-11-03 18:30:23 +01:00
Shauren
839166eddf Core/Packets: Added utility class for handlers using new packet classes 2014-11-03 02:11:15 +01:00
Shauren
e797133b0c Core/Opcodes: Use a different magic number for invalid opcode (0 might be valid in a future build) 2014-11-03 00:39:52 +01:00
Shauren
97692b4cc1 Core/PacketIO: Enabled SMSG_UPDATE_OBJECT 2014-11-02 16:21:33 +01:00
Shauren
292c8b7818 Core/Logging: Updated build written to packet log 2014-11-02 12:23:33 +01:00
Shauren
9c30152652 Core/PacketIO: Fixed structure for SMSG_AUTH_CHALLENGE 2014-11-02 12:23:15 +01:00
Vincent-Michael
bb6f46b0fd Core/NetworkIO: Enable CMSG_CHAR_CREATE / SMSG_CHAR_CREATE opcodes 2014-11-02 02:19:48 +01:00
Shauren
dd040c5992 Core/NetworkIO: Fixed packet compression 2014-10-31 22:36:43 +01:00
joschiwald
f6f800447a Core/NetworkIO: update opcodes to 6.0.3.19103 and disable all handlers 2014-10-31 15:49:23 +01:00
joschiwald
310c33d96f Core/NetworkIO: update SMSG_CHAR_ENUM and CMSG_PLAYER_LOGIN 2014-10-31 14:47:56 +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
Shauren
785f0bf5c0 Core/GameObjects: Updated GameObjectTemplate data structure 2014-10-30 20:02:42 +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
15fbb6f46f Core/Entites: Updated GUID format 2014-10-29 21:13:21 +01:00
DDuarte
07a640de0d Core: Fix warnings, mostly wrong printf formatters 2014-10-27 21:56:44 +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
Duarte Duarte
1488903eea Core/Opcodes: Remove "direction" flag from some opcode ids
OpcodeTable will be split in two to support opcode direction
2014-10-24 00:42:54 +01:00
Shauren
76f1f85d8b Core/Entities: Second part of required database changes for migrating guids to 128 bit - all fields storing lowguid must be extended to uint64 2014-10-23 21:34:03 +02:00
Shauren
ff781978a5 Fixed gcc linking 2014-10-23 15:00:31 +02:00
Shauren
7889a3bb87 Fixed gcc build2 2014-10-23 10:32:14 +02:00
Shauren
ae4496b769 Fixed gcc build 2014-10-23 10:28:46 +02:00
DDuarte
a539eecd6e Core/Opcodes: Update some opcode ids to 6.0.2 from WPP 2014-10-23 00:52:45 +01:00