Commit Graph

1691 Commits

Author SHA1 Message Date
MitchesD 00e5d29d9c Core/PacketIO: updated SMSG_RESET_FAILED_NOTIFY
* forgot to push in previous commit
2015-06-08 21:25:49 +02:00
MitchesD e3ed67732f Core/PacketIO: updated structure of CMSG_RESET_INSTANCES, SMSG_INSTANCE_RESET, SMSG_INSTANCE_RESET_FAILED and SMSG_SPELL_INSTAKILL_LOG 2015-06-07 17:08:45 +02:00
MitchesD 70fe4e57a0 Core/PacketIO: updated structure of SMSG_PVP_CREDIT and enabled some other opcodes 2015-06-07 10:43:03 +02:00
Shauren b15a0b96bf Core/Maps: Fixed MapDifficulty lookup for instances that do not have a selectable difficulty on interface (40 mans)
Closes #14366
2015-06-02 00:25:55 +02:00
Shauren eee0eebf51 Core/Items: Implemented primary stats on gear changing with character specialization (stats 71-74) 2015-05-31 00:13:41 +02:00
Shauren 83df74e3dc Core/Auras: Implemented SPELL_AURA_MOD_STAT_BONUS_PCT (467) 2015-05-31 00:12:21 +02:00
Shauren d7c53c30fb Core/Stats: Removed bonus max mana from intellect 2015-05-28 00:47:41 +02:00
MitchesD 3552c4bd72 Core/PacketIO: updated structure of SMSG_ITEM_COOLDOWN, SMSG_ITEM_ENCHANT_TIME_UPDATE 2015-05-24 22:06:58 +02:00
Shauren b3a754cd7b Core/Garrisons: Implemented follower class/spec abilities and saving them to database 2015-05-22 00:17:48 +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 18e4ab6911 Core/Maps: Fixed crash in Map::SendObjectUpdates - items were not properly removed from Map::_updateObjects because player was removed from world first
Closes #14673
2015-05-15 00:08:40 +02:00
Carbenium 05dab7e1e2 Merge pull request #14547 from Regigicas/mount_action
Core/Actions: Allow mounts buttons to be saved
2015-05-14 20:13:49 +02:00
Shauren 49ec5fb583 Core/Logs: Fixed incorrect format specifier in Player::UpdateVisibilityOf 2015-05-12 15:17:31 +02:00
Shauren 86d799c428 Core/Garrisons: Fixed copypaste mistakes with prepared statements 2015-05-09 09:59:31 +02:00
Kinzcool 00cfe8f5a9 Core/Misc: Fixed wrong references to ZoneName instead of using AreaName_lang 2015-05-08 22:48:30 -04:00
Vincent-Michael 347e954086 Core/Spells: Fix overload 2015-05-08 20:45:58 +02:00
Shauren 5b725db033 Core/Garrisons: Basics for garrisons 2015-05-08 00:03:15 +02:00
Shauren f432821da6 Core/Player: Ignore SPELL_AURA_MOD_CURRENCY_GAIN when completing quests with currency objective and when refunding vendor items 2015-05-06 00:13:41 +02:00
Shauren edbd44a675 Core/Creatures: Extended npcflags to uint64 2015-05-04 12:39:36 +02:00
Vincent-Michael eb8c4e9a3a Core/PacketIO: Enabled SMSG_TRAINER_LIST 2015-05-03 01:01:29 +02:00
Kinzcool 9829db7c69 Core/Misc: Renamed some misnamed flags that were referencing to item-sparse flags instead of the item_fields ones 2015-05-02 15:38:24 -04: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 b583a68672 Warning fix 2015-05-01 16:43:19 +02:00
Shauren 68bd33b654 Core/Player: Implemented seamless teleporting 2015-05-01 15:44:43 +02: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
Naios d37ecf796e Core/Misc: Use boost::in_place() to initialize optionals.
* Improves commit 800d5d8939
* Thanks @Shauren for this great suggestion.
2015-04-27 17:01:30 +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
Shauren 1684f79b78 Core/Items: Implemented spec specific set bonuses 2015-04-26 00:42:21 +02:00
Shauren ac318ae517 Core/Items: Fixed applying heirloom stats during login
Closes #14196
Closes #14476
2015-04-23 00:07:59 +02:00
Shauren 4208c0d839 Core/Misc: Barbershop fixes
* Fixed selection validation
* Implemented new 6.0 feature allowing to change face
* Fixed cost calculation
2015-04-21 00:24:26 +02:00
MitchesD a08ba8826e Core/PacketIO: SMSG_TITLE_EARNED, SMSG_TITLE_LOST, SMSG_SHOW_MAILBOX 2015-04-18 17:56:24 +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
Regigicas 83a542fc45 Core/Actions: Allow mounts buttons to be saved 2015-04-18 16:17:23 +02:00
Shauren 4703169116 Core/PacketIO: Updated and enabled more battleground packets 2015-04-18 00:04:56 +02:00
MitchesD 60a87b4e1c Core/PacketIO: updated and enabled CMSG_QUEST_CONFIRM_ACCEPT 2015-04-17 18:39:50 +02:00
Shauren 280a0b8e35 Core/PacketIO: Updated and enabled some battleground packets 2015-04-17 00:06:24 +02:00
Carbenium 5c3d8c1e87 Core/PacketIO: Updated and enabled SMSG_LOG_XP_GAIN 2015-04-16 01:28:44 +02:00
Shauren 7b0c4792ce Core: Warning fixes 2015-04-15 12:47:17 +02:00
DDuarte 86168ff142 Misc: SQL and small code changes for the 71 last cherry-picks 2015-04-14 01:03:57 +01:00
click 1c5a193aba Core: Follow codingstyle guidelines (CamelCase for functions, lowerCamel for vars and local stuff)
(cherry picked from commit adb39317fa)

Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Spells/SpellInfo.cpp
2015-04-14 01:02:16 +01:00
click 0192a602d6 Core/Spells: Allow non-skill-based flying mounts to be used in designated areas.
- Flying mounts that are not in the "SKILL_MOUNT"-tree and area-restricted can now be used properly (ex. 64749 - Loaned Gryphon).
- Remove isKnowHowFlyIn()-function (useless and deprecated since this is handled properly in the spellsystem).
Massive thanks to rat for extremely good help and support on fixing this (most of this is his work).
(cherry picked from commit 0e3607df5b)

Core/Spells: Reinstate helperfunction removed in commit 0e3607d (with a new functionname to make more sense out of it), and adjust the remaining code slightly to accomodate that.
(cherry picked from commit 6c1e4bc20d)
2015-04-14 01:02:08 +01:00
click 5b3726ade7 Core/Entities: Add player name and ID to GetXPrestBonus calculation-log
(cherry picked from commit 50bbfeebb9)
2015-04-14 01:01:31 +01:00
Shauren d9e941dde3 Core/Quests: Added research results about last field in QuestPackageItem.db2 2015-04-14 01:12:20 +02:00
Rat e567541273 Core/Quests: fixed quest rewarding
* ItemSpec.dbc still needs some research to handle all cases correctly
2015-04-13 22:25:35 +02:00
Shauren f20c6530b8 Core/PacketIO: Updated and enabled void storage packets 2015-04-13 20:35:57 +02:00
Vincent-Michael fcab914981 Core/PacketIO: Updated and Enabled CMSG_DELETE_EQUIPMENT_SET for 6.1.2 2015-04-12 03:18:03 +02:00
Vincent-Michael 8125b2050b Core/PacketIO: Update SMSG_ITEM_PUSH_RESULT for WoD 2015-04-11 17:49:16 +02:00
Vincent-Michael b2d0e7d9d5 Core/PacketIO: Update SMSG_QUEST_CONFIRM_ACCEPT for WoD 2015-04-11 14:08:19 +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