Commit Graph

1653 Commits

Author SHA1 Message Date
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
Shauren 18d567ea20 Core/Currencies: Restores updating conquest caps - thanks @soulfrost for noticing 2015-03-28 22:09:47 +01:00
Shauren 8cfb542ee4 Core/PacketIO: Updated values of all known server opcodes 2015-03-27 22:21:24 +01:00
cr4st 5cee106524 Core/Creature: fixed trigger visibility of vehicles 2015-03-25 17:43:12 +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
Duarte Duarte 358b063d17 Merge pull request #14426 from tkrokli/SetQuestSlotState
[Core/Quest] Update quest Objective status Client side
(cherry picked from commit 965ed68470)

Conflicts:
	src/server/game/Entities/Player/Player.cpp
2015-03-22 22:15:47 +00:00
Shauren 87afdc7101 Core/PacketIO: Restored missing code in Player::SendEquipError 2015-03-22 12:40:02 +01:00
MitchesD a5b662e0d9 Core/PacketIO: CMSG_SET_ACTIVE_MOVER, SMSG_MOVE_SET_ACTIVE_MOVER updated and enabled 2015-03-20 15:41:13 +01:00
jackpoz 61e0ff3208 Revert "*Do not allow players to use vehicles to go further than 1st boss in Ulduar."
This reverts commit a009e53049.
Remove hackfix for Ulduar vehicles, it should be handled in Ulduar script

(cherry picked from commit f1ae2c7b73)
2015-03-18 00:35:05 +00:00
jackpoz 38c23495b3 Core/Dungeon Finder: Fix Vote Kick breaking LFG queue
Fix Vote Kick started with party in queue breaking the whole LFG queue. The status of Vote Kick is now storing in a bool variable in LfgGroupData, separated from LfgState of the group/members.
If a Vote Kick started with party in queue, the members were not removed from queue correctly and would cause LFG matching system to match these "broken" players but not allowing to start a dungeon.

Closes #10191

(cherry picked from commit 22403121fe)
2015-03-18 00:34:51 +00:00
click b3b7b53003 Core: INFO->DEBUG cleanups in Player.cpp
(cherry picked from commit 6e509cf7c1)

Conflicts:
	src/server/game/Entities/Player/Player.cpp
2015-03-18 00:32:55 +00:00
jackpoz 034dbe267d Core/Player: Optimize Player::HaveAtClient() performance
Change m_clientGUIDs from std::set to std::unordered_set to reduce by 2.7x times the cpu usage in Player::HaveAtClient()

(cherry picked from commit 49ececf038)
2015-03-18 00:09:32 +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 62f0847ebb Core/Player: Updated sending completed quests data to client 2015-03-14 19:47:07 +01:00
Vincent-Michael d9e4942a75 Core/PacketIO: Sync with wpp 2015-03-15 01:13:46 +01:00
Carbenium 5feee1e69b Merge pull request #14344 from DJScias/opcodes2
Core/Packets: Update & enable more opcodes (names inside)
2015-03-13 01:18:39 +01:00
DJScias 72e549be50 Core/Packets: updated and enabled SMSG_CANCEL_AUTO_REPEAT, SMSG_CANCEL_ORPHAN_SPELL_VISUAL, SMSG_CANCEL_SPELL_VISUAL, SMSG_COIN_REMOVED
Documentation used:
- Updated and enabled the before-mentioned opcodes.
- "SMSG_CANCEL_AUTO_REPEAT" also switched from PackedGuid to ObjectGuid as per @DDuarte's suggestion.
- Changed initial size of "SMSG_SELL_RESPONSE" packet and default initialized SellResult Reason. Thanks @Lordron.

Cleaning up latest commit.
2015-03-13 00:49:44 +01:00
Epicurus4 b306c7c6cf Core/Loot: Enable setting AcquireReason, correct LootMethod definition, fix structure to match sniffs of retail and correct threashold and reason definitions. 2015-03-12 10:39:33 -04:00
DJScias 30bef643fd Core/Packets: updated and enabled SMSG_SELL_RESPONSE
A typo that slipped in, damnit
2015-03-11 20:54:27 +01:00