Commit Graph

1565 Commits

Author SHA1 Message Date
MitchesD
ca5ea3c85d Core/PacketIO: updated structure of SMSG_SPELL_PERIODIC_AURA_LOG
* debug info is no implemented since we don't know the right usage
2015-05-26 21:51:01 +02:00
Shauren
acd4b6fb50 Core/Entities: Allow all object types to use anim kits, not only players/creatures 2015-05-25 01:50:03 +02: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
Shauren
edbd44a675 Core/Creatures: Extended npcflags to uint64 2015-05-04 12:39:36 +02:00
MitchesD
522ae49c6a Core/PacketIO: updated and enabled SMSG_DISMOUNT, CMSG_FAR_SIGHT 2015-05-01 13:33:13 +02:00
Shauren
675a2fcd3b Core/Util: Fixed flag128 and removed flag96 - previously if flag128 and flag96 were used in together the result was always a bool instead of expected flag result due to implicit boolean conversion 2015-04-27 00:33:27 +02:00
Naios
800d5d8939 Core/Misc: Replace tc's optional with boost::optional.
* benefits from empty optimization (objects are only constructed if needed).
* supports r-value references (move semantics) (boost >= 1.56.0).
* preparation for c++14/17's std::optional and std::none_t.
* add move constructor to CompactArray.
2015-04-26 23:45:52 +02:00
MitchesD
8096edec15 Core/Unit: fixed removing UNIT_FLAG_PET_IN_COMBAT from guardians
Closes https://github.com/TrinityCore/TrinityCore/issues/14566
2015-04-19 14:44:59 +02:00
Vincent-Michael
5fc4ab186c Core: Fix missing save :( 2015-04-19 01:56:17 +02:00
Vincent-Michael
b04537df95 Core Fix build 2015-04-19 01:41:41 +02:00
Vincent-Michael
e7464e6d8a Core/PacketIO: Fix packet order in 3499b77d5f 2015-04-19 01:17:49 +02:00
Vincent-Michael
3499b77d5f Core/PacketIO: Updated and enabled SMSG_SPELL_HEAL_LOG for WoD 2015-04-19 00:59:27 +02:00
MitchesD
a1831e0c1e Core/PacketIO: SMSG_DURABILITY_DAMAGE_DEATH, SMSG_QUEST_UPDATE_COMPLETE, SMSG_PAGE_TEXT and enabled some opcodes 2015-04-11 11:11:43 +02:00
Shauren
0953bcf73f Core/PacketIO: Enabled and implemented CancelGrowthAura/CancelMountAura 2015-04-10 00:13:44 +02:00
Shauren
01cc5d8c05 Core/PacketIO: Updated and enabled SMSG_SET_VEHICLE_REC_ID and SMSG_ON_CANCEL_EXPECTED_RIDE_VEHICLE_AURA
* Implemented SMSG_MOVE_SET_VEHICLE_REC_ID and CMSG_MOVE_SET_VEHICLE_REC_ID_ACK
2015-04-06 00:40:56 +02:00
Shauren
0878a42b7e Core/PacketIO: Updated and enabled collision height opcodes
* Removed old 4.3.4 movement structures
2015-04-05 01:39:32 +02:00
MitchesD
e7e940db22 Core/Packets: rename classes to match standards 2015-04-04 19:52:53 +02:00
MitchesD
786834600f Core/PacketIO: SMSG_ZONE_UNDER_ATTACK, SMSG_THREAT_CLEAR and enabled some opcodes 2015-04-04 18:03:56 +02:00
Carbenium
16e749cdd0 Core/Unit: Fix crash introduced by 930a6af70a 2015-04-02 17:07:23 +02:00
Carbenium
930a6af70a Core/Unit: Implement SMSG_HEALTH_UPDATE 2015-04-02 02:36:12 +02:00
Rat
3660c3a37f Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into 6.x
Conflicts:
	src/server/game/Handlers/MiscHandler.cpp
	src/server/game/Server/Protocol/Opcodes.cpp
2015-03-29 11:25:48 +02:00
Shauren
8cfb542ee4 Core/PacketIO: Updated values of all known server opcodes 2015-03-27 22:21:24 +01:00
Rat
eebc468e62 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into 6.x
Conflicts:
	src/server/collision/Management/MMapManager.cpp
	src/server/game/Conditions/ConditionMgr.cpp
	src/server/game/Conditions/ConditionMgr.h
2015-03-24 20:01:02 +01:00
Shauren
cc4d79495f Core/Misc: Warning fixes 2015-03-22 13:47:55 +01:00
click
cbe97cc37d Core: More INFO -> DEBUG (Unit.cpp this time)
(cherry picked from commit 64584e9e7a)

Conflicts:
	src/server/game/Entities/Unit/Unit.cpp
2015-03-18 00:32:56 +00:00
Rat
8f3a80c1cf Core/Phases: Ported new phasing system from 4.3.4 branch and fixed some map swap logic 2015-03-16 07:28:49 +01:00
Shauren
c8944d73b3 Core/Players: Set holy power decay timer to 20 seconds after leaving combat (also added OnCombatExit hook for stuff like this) 2015-03-10 20:53:29 +01:00
Shauren
e15ba34444 Core/Misc: Cleaned up data truncation warnings 2015-03-08 22:04:34 +01:00
Shauren
75db12bf41 Core/Auras: Implemented SPELLMOD_EFFECT4 and SPELLMOD_EFFECT5 2015-03-08 17:36:44 +01:00
Shauren
0ba2e0d5ee Core/Spells: Implemented multiple spell power costs 2015-03-08 13:31:57 +01:00
Epicurus4
7665c9ee55 Core/PacketIO: Sync with wpp 2015-03-01 16:21:15 -05:00
Vincent-Michael
369b08b68d Core/Misc: Update base stuff for V6.1.0 build 19702 2015-03-01 02:24:59 +01:00
Shauren
474d299b0e Core/Auras: Implemented using Mount.db2 for selecting mount display id 2015-02-19 22:25:59 +01:00
joschiwald
2d40d3678d Core/Packets: fixed crash on SMSG_ATTACKSTOP and fixed init of ItemInstance 2015-02-17 21:08:28 +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
Golrag
7eb02e945f Core/Opcodes:
* SMSG_POWER_UPDATE
* CMSG_SET_SHEATHED
* SMSG_ATTACKSTOP
2015-02-14 17:09:02 +01:00
Ante
3f8fea9b5f Stat fixes 2015-02-10 21:47:28 +01:00
jackpoz
27e71f1805 Core/Misc: Fix static analysis issues
Fix some static analysis issues reported by Coverity
2015-02-08 21:04:20 +01:00
jackpoz
e6f26cfb1f Core/Misc: Fix static analysis issues
Fix some static analysis issues reported by Coverity.
Rename SpellMgr::EnsureSpellInfo() to SpellMgr::AssertSpellInfo() to be consistent with other similar methods.
2015-02-08 19:40:03 +01: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
9ccaf7d7a0 Core/Spells: Updated base spell hit chance calculation (spells will never miss targets up to 3 levels higher than caster) 2015-02-01 00:38:28 +01:00
Shauren
dcd4f749c6 Core/Movement: Fixed speed change packets 2015-01-31 22:39:32 +01:00
Shauren
3f28fd304d Core/Spells: Reimplemented automatic spell learning
* Fixed learning/unlearning talents
2015-01-30 23:58:16 +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
Unholychick
870d50648f Scripts/Spells: Fix some faulty code in spell_dk.cpp
thanks to @joschiwald
2015-01-27 17:38:06 +01:00
Duarte Duarte
b9e435631d Merge pull request #13907 from Aaron126/diminishing_returns
Core/Spells: Update DR's for WoD
2015-01-26 20:27:53 +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
jackpoz
0edc35b921 Core/Misc: Fix static analysis issues
Fix some static analysis issues reported by Coverity
2015-01-20 22:55:06 +01:00