Commit Graph

136 Commits

Author SHA1 Message Date
Shauren
2056ce4d66 Scripts: Build fix 2016-07-17 15:20:56 +02:00
Shauren
f7883bd525 Core/Transmog: Implemented transmog collection and updated transmog handling 2016-07-05 22:07:35 +02:00
Shauren
d2733eb6f1 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion 2016-06-13 21:00:25 +02:00
Shauren
6b1c85a676 Core/PacketIO: Updated spell packets 2016-06-05 14:08:53 +02:00
Shocker
b539ac6afa Core/GameObjects: Add isUse parameter to GossipHello for distinction between CMSG_GAMEOBJECT_USE and CMSG_GAMEOBJECT_REPORT_USE 2016-05-26 13:09:56 +03:00
Shauren
70102f32fe Core/DataStores: Updated opcodes and db2 to 7.0.3.21414 2016-05-20 23:49:53 +02:00
Shauren
c75fcbe20b Core/Achievements: AchievementMgr refactoring
* Extracted base CriteriaHandler class that deals with criteria only and will be reused for future scenario implementation
* Fixed players earning guild achievements
2016-05-07 01:16:29 +02:00
Carbenium
3bdde71a97 Core/PacketIO: Updated and enabled SMSG_NOTIFY_MISSILE_TRAJECTORY_COLLISION 2016-02-06 23:05:55 +01:00
joschiwald
3ac2ba721d Core/Gossips: added some sanity checks to prevent duplicate interaction
(cherry picked from commit 8b6954e81b)

Scripts: addition to 8b6954e81b

Closes #16466

(cherry picked from commit b259d5c2bc)
2016-02-06 18:16:11 +01:00
Carbenium
b0d8357d14 Warning fix 2016-02-04 01:11:37 +01:00
Carbenium
ff9ac9f9b0 Core/PacketIO: Use Vector3 instead of Position since orientation isn't included (MissileTrajectoryCollision and UpdateMissileTrajectory) 2016-02-03 17:14:15 +01:00
Carbenium
6715a91907 Core/PacketIO: Updated and enabled CMSG_UPDATE_MISSILE_TRAJECTORY 2016-02-03 15:10:58 +01:00
Carbenium
f269335bb2 Core/PacketIO: 305b99e065 follow-up 2016-02-03 01:48:02 +01:00
Carbenium
305b99e065 Core/PacketIO: Updated and enabled CMSG_MISSILE_TRAJECTORY_COLLISION 2016-02-03 01:25:25 +01:00
Carbenium
5b313bf74d Core/PacketIO: Updated and enabled CMSG_PET_CANCEL_AURA 2016-02-02 01:38:29 +01: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
84609efb46 Core/PacketIO: Updated and enabled CMSG_CANCEL_CHANNELLING 2015-12-17 23:10:00 +01:00
Shauren
3bc3b67a8f Core/Player: Changed ranged weapons to be equipped in main hand slot instead of no longer used ranged slot
Closes #14675
Closes #15296
2015-09-27 00:06:08 +02:00
MitchesD
61256f5f8d Core/Spell: don't interrupt spells with attribute SPELL_ATTR8_RAID_MARKER
* needed for example when creating heirlooms from collection (or when upgrading)
2015-09-02 22:58:04 +02:00
joschiwald
5c813f6f02 Core/PacketIO: updated totem packets 2015-07-26 15:09:00 +02:00
Vincent-Michael
2e586bc520 Core: Header cleanup in game/*/*.cpp 2015-07-25 20:18:42 +02:00
Shauren
a22e4e121a Core/Misc: Fixing warnings detected by Visual Studio 2015 compiler 2015-07-21 00:33:36 +02:00
Golrag
34af1c4f64 Core/PacketIO: CMSG_SPELL_CLICK 2015-07-19 12:53:05 +02:00
Shauren
f45ae7af43 Core/PacketIO: Updated spell packets 2015-07-18 00:45:21 +02:00
Rochet2
abf3d22870 Fix tabard and cloak mirror image models
Apparently the order of the two items changed.
Mirror image and clone weapon spells are still likely missing transmogrification support.
2015-06-21 12:04:50 +03:00
Orion
eeb49d238a Update and enable CMSG_GET_MIRROR_IMAGE_DATA, SMSG_MIRROR_IMAGE_CREATURE_DATA, SMSG_MIRROR_IMAGE_COMPONENTED_DATA. 2015-06-15 02:03:00 +03:00
et65
c6ab951025 Core/PacketsIO: Implemented or updated most of party related packets.
Packets updated or implemented :
- SMSG_INSTANCE_INFO : updated

- CMSG_SAVE_CUF_PROFILES : updated
- SMSG_LOAD_CUF_PROFILES : updated

- SMSG_PARTY_COMMAND_RESULT : updated

- CMSG_PARTY_INVITE : updated
- SMSG_PARTY_INVITE : updated
- CMSG_PARTY_INVITE_RESPONSE : updated
- CMSG_PARTY_UNINVITE : updated
- SMSG_GROUP_UNINVITE : updated
- CMSG_LEAVE_GROUP : updated
- SMSG_GROUP_DECLINE : updated

- SMSG_GROUP_DESTROYED : updated

- CMSG_MINIMAP_PING : updated
- SMSG_MINIMAP_PING : updated

- CMSG_CONVERT_RAID : updated
- CMSG_SET_EVERYONE_IS_ASSISTANT

- CMSG_DO_READY_CHECK : updated
- CMSG_READY_CHECK_RESPONSE : updated
- SMSG_READY_CHECK_COMPLETED : updated
- SMSG_READY_CHECK_RESPONSE : updated
- SMSG_READY_CHECK_STARTED : updated

- CMSG_REQUEST_PARTY_JOIN_UPDATES : implemented (source : sniffs)
- CMSG_REQUEST_PARTY_MEMBER_STATE : updated
- SMSG_PARTY_MEMBER_STATE : updated
- SMSG_PARTY_UPDATE : updated

- CMSG_REQUEST_RAID_INFO : updated

- CMSG_INITIATE_ROLE_POLL : updated
- SMSG_ROLE_POLL_INFORM : updated
- CMSG_SET_ROLE : updated
- SMSG_ROLE_CHANGED_INFORM : updated

- CMSG_CHANGE_SUB_GROUP : updated
- CMSG_SWAP_SUB_GROUPS : implemented

- CMSG_SET_ASSISTANT_LEADER : updated
- CMSG_SET_PARTY_LEADER : updated
- SMSG_GROUP_NEW_LEADER : updated

- CMSG_CLEAR_RAID_MARKER : implemented
- SMSG_RAID_MARKERS_CHANGED : implemented

- CMSG_UPDATE_RAID_TARGET : updated
- SMSG_SEND_RAID_TARGET_UPDATE_ALL : updated
- SMSG_SEND_RAID_TARGET_UPDATE_SINGLE : updated

- CMSG_OPT_OUT_OF_LOOT : updated
- CMSG_SET_LOOT_METHOD : updated

About group update flags:
- Not sure they are use for now.
- Pets now have their group update flags.
- Pets'power is no send to client anymore.
- Changes about them are inspired from SMSG_PARTY_MEMBER_STATS parsing of WowPacketParser, but it seems this packet is not use anymore.

CHAT_MSG_RAID has been fixed.

About Ready check:
- Correctly implemented this function.
- An update function has been added to Group class, and to GroupMgr class in order to manage the ready check expiration (when 35 seconds were gone, players who have not answered must be reported as AFK)

About Raid markers:
- Old spell effect SPELL_EFFECT_SUMMON_OBJECT_SLOT3 has been renamed to SPELL_EFFECT_CHANGE_RAID_MARKER and implemented. I'm sure about that because raid markers spells are the only spells that have this effect type.

Source: WowPacketParser, and sniffs from official.
2015-05-19 13:10:29 +02:00
Kinzcool
0453fafaec Core/Enums: Defined two unknown item flags, and cleaned the other item flags enums to reflect a better standardization 2015-05-01 21:56:33 -04:00
Shauren
ca83e14f8b Core/Entities: Reworked guid scopes
* Added ObjectGuid traits to easily access whether guid type can be generated globally (ObjectMgr) or not
* This adds separate (per map) guid sequences depending on object type
* Ported map object container from cmangos/mangos-wotlk@a2d396eb0b
* Added type container visitor for TypeUnorderedMapContainer
* Implemented helper function to erase unique pairs from multimap containers
* Moved object storage of all objects except players and transports to map level
* Added containers linking database spawn id with creature/gameobject in world
* Renamed DBTableGuid to spawnId
* Added a separate spawn id sequence generator for creatures and gameobjects - this will be used in db tables
* Moved building SMSG_UPDATE_OBJECT - updatefields changes broadcast to map update
2015-04-28 21:19:46 +02:00
DJScias
291259ac0c Core/PacketIO: Updated and enabled CMSG_UNLEARN_SKILL, CMSG_SELF_RES 2015-04-23 21:34:55 +02:00
Shauren
7e5df6d504 Core/Logging: Removed a bunch of useless "received X" logs 2015-04-21 21:26:15 +02:00
Shauren
f79f765552 Core/Spells: Fixed crash happening during character creation when adding initial spells with SPELL_AURA_MOD_SPELL_CATEGORY_COOLDOWN
Closes #14569
2015-04-18 17:29:14 +02:00
Shauren
0953bcf73f Core/PacketIO: Enabled and implemented CancelGrowthAura/CancelMountAura 2015-04-10 00:13:44 +02:00
Shauren
f0f027a79e Core/PacketIO: Removed sending SMSG_CATEGORY_COOLDOWN as part of SendInitialPacketsBeforeAddToMap and only send it when requested or when SPELL_AURA_MOD_SPELL_CATEGORY_COOLDOWN is added or removed 2015-04-08 21:49:14 +02:00
Shauren
5389180778 Core/PacketIO: Updated all client opcode values 2015-04-01 01:44:10 +02:00
Shauren
8cfb542ee4 Core/PacketIO: Updated values of all known server opcodes 2015-03-27 22:21:24 +01:00
Shauren
cc4d79495f Core/Misc: Warning fixes 2015-03-22 13:47:55 +01:00
Luzifix
da0680db06 Core/PacketIO: OpenItem for 6.1
You can test it with http://www.wowhead.com/item=41426/
2015-03-19 22:22:23 +01:00
MitchesD
8c329aff72 Core/PacketIO: updated and enabled CMSG_CANCEL_CAST 2015-03-13 17:19:33 +01:00
Shauren
68fceee10e Core/Spells: Removed leftovers of old cooldown handling
* Use ItemEffect.db2 data directly instead of copying it to another structure
2015-02-21 13:08:33 +01:00
Shauren
56186319bd Core/Spells: Cooldown updates
* Refactored cooldown handling to separate class shared by creatures and players
* Updated and enabled cooldown packets
* Implemented creature school lockouts
* Implemented spell charges
* Fixed AuraUpdate structure
* Fixed aura flag AFLAG_NOCASTER handling
* Implemented spell charge related auras
2015-02-17 01:01:44 +01:00
Duarte Duarte
20aa605485 Core/Packets: Update and enable CMSG_USE_ITEM
Ref #14115
2015-02-12 02:37:42 +00:00
Shauren
9db2e6dbbe Core/Players: Updated player byte field offsets 2015-02-05 20:52:51 +01:00
joschiwald
053d5f24ee Core/Packets:
- added inspect packets
- updated opcode values
2015-02-01 20:52:05 +01:00
Shauren
3f28fd304d Core/Spells: Reimplemented automatic spell learning
* Fixed learning/unlearning talents
2015-01-30 23:58:16 +01: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
Shocker
e99411e405 Core/Spells: Implement HasAttribute() helper for SpellInfo for easier readability 2015-01-05 23:49:43 +02:00
Vincent-Michael
ab90f74486 Update copyright note for 2015
Happy new year
2015-01-01 00:28:09 +01:00
Golrag
8fec200670 Core/Opcodes:
Added Structure for:
* CMSG_GAMEOBJECT_QUERY
* CMSG_GAMEOBJ_REPORT_USE
* CMSG_GAMEOBJ_USE
* SMSG_GAMEOBJECT_QUERY_RESPONSE

Closes #13791
2014-12-28 16:01:53 +00:00
Shauren
6dbb516b65 Core/Items: Refactored ItemTemplate 2014-12-21 13:35:43 +01:00