Commit Graph
136 Commits
Author SHA1 Message Date
Shauren 677b2fba42 Core/Quests: Fixed structures of QuestGiverOfferRewardMessage and QuestGiverQuestDetails 2017-06-11 19:53:22 +02:00
joschiwald 69e9ac8827 Core/Misc: Fixed warnings 2017-06-04 15:05:11 +02:00
Shauren b453e12423 Core/Game: Include cleanup part 5
* ObjectMgr.h
* Player.h
* Unit.h
* G3D should no longer propagate everywhere from Spline/MotionMaster
2017-06-04 01:00:45 +02:00
Shauren c5d3dd90be Core/Game: Include cleanup
* Mostly aimed at removing Log/DatabaseEnv includes from other headers
* Fix most packet headers including other packet headers - moved common structures such as ItemInstance to their own files
* Moved SAI function definitions to source files (massive or requiring many different dependencies)
2017-05-18 23:53:25 +02:00
Rochet2 117b45d768 Core/Scripts: Enhance quest status hook by making it catch more status changes (#17865)
(cherry picked from commit c52566a8881bdcd1cc33279e1a10621648cb664e)
2017-02-26 15:36:01 +01:00
Aokromes d2dd5f9f02 Core/Logs: Fine tune more logs
And move others to more logical appenders
(cherry picked from commit 1ad24352acebbc4d7c8829cd111a2f3ba010891a)

# Conflicts:
#	src/server/authserver/Server/AuthSession.cpp
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Handlers/AuctionHouseHandler.cpp
#	src/server/game/Handlers/CharacterHandler.cpp
#	src/server/game/Handlers/GuildHandler.cpp
#	src/server/game/Handlers/LootHandler.cpp
#	src/server/game/Handlers/PetitionsHandler.cpp
#	src/server/game/Handlers/QuestHandler.cpp
#	src/server/game/Handlers/SpellHandler.cpp
#	src/server/game/Spells/SpellEffects.cpp
2017-02-11 23:15:24 +01:00
Snapper f8ca5fd40e Core/Quest: send SMSG_QUESTGIVER_STATUS_MULTIPLE after a quest is rewarded.
This updates the status of nearby questgivers and prevents them from being stuck in a state that's no longer valid (for example, stuck with yellow question mark until area update).

(cherry picked from commit 114f4c9715dd703f37440ef59fcf864fb8e6612f)
2017-01-12 23:52:56 +01:00
vincent-michael 86b98686a9 Update copyright note for 2017
Happy new year
2017-01-01 16:23:13 +01:00
Shauren fcbb4397ea Core/Quests: Implemented handling all QuestPackageItem types
Closes #18209
2016-11-08 00:04:19 +01:00
Vincent-Michael 5577282b5e Core/PacketIO: Added CMSG_REQUEST_WORLD_QUEST_UPDATE / SMSG_WORLD_QUEST_UPDATE opcodes 2016-08-27 17:12:28 +02:00
Brian 7b5373adb3 Core/Quests: Remove quest items that were looted if they are unique, bound, quest items, when abandoning a quest. (#17556)
(cherry picked from commit 3c0d7fd744d618d01e96851ab27473198328d0b6)
2016-07-15 20:06:37 +02:00
Shauren 9958af7095 Core/Items: Optimize allowed item spec check for quest rewards from QuestPackageItem 2016-07-06 09:38:17 +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
Shauren f6b60d461e Core/Quests: Fixed party accept quests
(cherry picked from commit 48940e292fdde1042f096cac507c2b1b54e8146b)
2016-03-22 22:10:12 +01:00
Shauren f7624e7206 Core/Quests: Fixed quest sharing
Closes #12304
Closes #16183

(cherry picked from commit 3c3cde028cbcab64d463707e192fc333d8cadda0)
2016-03-22 22:00:06 +01:00
joschiwald 3ac2ba721d Core/Gossips: added some sanity checks to prevent duplicate interaction
(cherry picked from commit 8b6954e81b76f8d7c6700eaf1a8b942bebaa85a0)

Scripts: addition to 8b6954e81b76f8d7c6700eaf1a8b942bebaa85a0

Closes #16466

(cherry picked from commit b259d5c2bc41a545aad978c286f21347c0ba51a2)
2016-02-06 18:16:11 +01:00
Carbenium 229322d4d8 Core/PacketIO: Updated and enabled CMSG_PUSH_QUEST_TO_PARTY 2016-02-02 17:18:47 +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 2ebf3fc44b Core/PacketIO: Removed handler for another opcode that doesn't exist anymore 2015-12-21 23:20:00 +01:00
w1sht0l1v3 f605300c71 Core/Quests: Fix a CMSG injection abuse.
closes #15709

(cherry picked from commit 11f0c85bd48e7d487609c1a5a82d7e544ca8d84e)

Conflicts:
	src/server/game/Handlers/QuestHandler.cpp
2015-11-07 00:47:58 +01:00
Vincent-Michael a76fdb9d38 Core/Misc:
- Updated and enabled CMSG_QUEST_PUSH_RESULT opcode
- Update QuestPushReason enum for 6.2.0
2015-08-08 01:30:42 +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
Shauren edbd44a675 Core/Creatures: Extended npcflags to uint64 2015-05-04 12:39:36 +02:00
Vincent-Michael f6d3da7dce Core: Fix warning 2015-04-25 19:55:19 +02:00
Shauren 7e5df6d504 Core/Logging: Removed a bunch of useless "received X" logs 2015-04-21 21:26:15 +02:00
MitchesD 60a87b4e1c Core/PacketIO: updated and enabled CMSG_QUEST_CONFIRM_ACCEPT 2015-04-17 18:39:50 +02:00
Shauren 48578e10fb Core/Items: Implemented ItemSpec.dbc 2015-04-15 00:36:03 +02: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
Rat 3704c0aa16 Core/Scenes: moved scene functions to SceneHandler.cpp 2015-04-10 13:18:31 +02:00
Vincent-Michael 36b4c21a30 Core/Scenes: Fix build 2015-04-10 11:44:37 +02:00
Rat e8b54b7ae8 Core/Scenes: implemented some scene related packets for debug purposes
* small cleanup
2015-04-10 11:29:46 +02: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 49ececf03830ca1d3df45bec1cd7f657d309450b)
2015-03-18 00:09:32 +00:00
DJScias 1f9855b739 Core/Packets: update CMSG_QUESTLOG_REMOVE_QUEST and enabled some quest opcodes
Documentation used:
- These were tested in-game, you can start/accept a quest and abandon them properly.
- The enables are due to fixes Shauren did in regards to sending quest data.
- I found CMSG_QUESTLOG_REMOVE_QUEST due to mashing my "Abandon" button, it checks out (tested).
2015-03-14 23:53:41 +01:00
DJScias 0d050bb112 Core/Packets: updated and enabled CMSG_QUESTGIVER_ACCEPT_QUEST 2015-03-14 22:17:57 +01:00
joschiwald fd6668d17a Core/NetworkIO: sync opcode values with wpp and removed duplicate ones 2015-01-18 23:56:01 +01:00
Shauren aff40d741e Core/Quests: Send completed quest data on login 2015-01-12 23:16:14 +01:00
Vincent-Michael ab90f74486 Update copyright note for 2015
Happy new year
2015-01-01 00:28:09 +01:00
Intel 1f7e6a976d Core/Quests: Added CMSG_QUESTGIVER_QUERY_QUEST 2014-12-30 02:24:10 +02:00
Intel 8176f9982e Core/Quests: Added CMSG_QUESTGIVER_REQUEST_REWARD 2014-12-29 22:46:51 +02:00
Intel 6b10271891 Core/Quests: Fixed WPE exploit that allowed to accept any quest 2014-12-29 21:39:33 +02:00
Intel a782515246 Core/Quests: Updated Quest System to new Format
All quest requirements are now in quest_objectives table
quest_template table contains _ONLY_ WDB data and must not be modified
Currently supported objectives are MONSTER, GAMEOBJECT, ITEM, TALKTO, CURRENCY, REPUTATION, MONEY, PLAYERKILLS, AREATRIGGER
2014-12-28 22:55:53 +02:00
joschiwald abff9de719 Core/Packets: updated EquipmentSet save packets 2014-11-19 21:09:30 +01:00
Intel b86bf40f61 Core/Packets: Added the following packets:
CMSG_QUESTGIVER_STATUS_MULTIPLE_QUERY
SMSG_QUESTGIVER_STATUS_MULTIPLE
CMSG_QUESTGIVER_STATUS_QUERY
SMSG_QUESTGIVER_STATUS
SMSG_AI_REACTION
SMSG_ATTACKERSTATEUPDATE
SMSG_ATTACKSTART
SMSG_ATTACKSTOP
SMSG_THREAT_UPDATE
SMSG_HIGHEST_THREAT_UPDATE
SMSG_SET_PROFICIENCY
2014-11-19 20:18:14 +02:00
Shauren 9e1930959d Core/Entities: Changed object lowguid to uint64 2014-10-26 02:57:28 +02:00
Shauren ac94efd507 Core/Entities: Fifth part of removing GetGUIDLow() uses 2014-10-22 22:18:21 +02:00
Shauren 68f45e8734 Core/Entities: Final batch of removing implicit conversions of ObjectGuid to uint64 2014-10-21 21:09:15 +02:00
Shauren 034561792c Core/Entities: Second batch of removing implicit conversions of ObjectGuid to uint64 2014-10-21 20:27:00 +02:00
Shauren 9cc7044546 Core/Entities: First batch of removing implicit conversions of ObjectGuid to uint64 2014-10-21 19:23:32 +02:00