Commit Graph

1671 Commits

Author SHA1 Message Date
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
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
Vincent-Michael cb2bb1c1ee Core/Misc: Update page text locale to simple system 2015-04-11 05:24:06 +02:00
Vincent-Michael 22e230ecec Core/Misc:
- Drop locales_npc_text
- Update npc_text for WoD
- Implemented Quest Greeting
- Sync auth database
2015-04-11 03:26:36 +02:00
Vincent-Michael 653954c14d Core/Misc:
- Update LocaleConstant enum
- Update Quest locale system for WoD
- Fix some rnd typo in quest template
2015-04-10 18:16:00 +02:00
Shauren 3e063be399 Core/PacketIO: Reimplemented SMSG_SET_FORCED_REACTIONS as a response to client request instead of sending it automatically during map change 2015-04-09 00:05:31 +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 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
Rat 51f58e8b30 Core/Quests: fixed targeting of quest reward auras, mostly used for quest invisibility detection auras 2015-04-05 20:57:55 +02:00
Carbenium d1902b4095 Core/Player: Implement CharSections.dbc and serverside checks
Ported from 6d4c672fb1
Original work by @ariel-
2015-04-05 01:48:45 +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
Carbenium 6252330a77 Merge pull request #14491 from doctaweeks/fixes-for-6.x
Fixes for 6.x
2015-04-05 00:16:36 +02:00
Shauren 14b475e865 Core/PacketIO: Enabled CMSG_MOVE_KNOCK_BACK_ACK, SMSG_MOVE_UPDATE_KNOCK_BACK and SMSG_MOVE_UPDATE 2015-04-04 23:49:14 +02:00
Shauren 89007ac1d0 Core/Players: Updated trading
* Use special Uniq ObjectGuid::TradeItem for enchanting trade items
* Added additional validation of trade state
* Fixed an ancient bug in trade display causing pending enchantment to never update clientside if too many operations were done in a trading session
2015-04-04 00:07:16 +02:00
MitchesD be016b94aa Core/PacketIO: updated SMSG_LOOT_RELEASE and enabled CMSG_OPEN_ITEM 2015-04-03 20:07:45 +02:00
Daniel M. Weeks 573cda7b52 Rename variables to fix C++11 keyword collision 2015-04-02 22:27:18 -04:00
DDuarte 47eaed682f Core/Packets: Fix writing WorldPackets::Duel::DuelComplete 2015-04-02 22:46:21 +01:00
xerkoss ae9f9f5de6 Core/Packets: Updated and enabled duel opcodes
Closes #14438
2015-04-02 18:44:27 +02:00
Shauren 5389180778 Core/PacketIO: Updated all client opcode values 2015-04-01 01:44:10 +02:00
Rat e734146a6f Core/Quests: updated SMSG_QUEST_GIVER_QUEST_LIST_MESSAGE packet
- updated gossip window handling
2015-03-31 19:55:53 +02:00
Gacko db9173488f Fix warnings 2015-03-29 21:56:22 +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