Commit Graph

143 Commits

Author SHA1 Message Date
Shauren
007b5a68c5 Core/DataStores: Fixed db2 structures after 7.3.5 2018-03-12 23:11:49 +01:00
vincent-michael
7d00ae4045 Update copyright note for 2018
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Shauren
66621a85e9 Core/Quests: Implemented player choice rewards 2017-12-31 23:22:55 +01:00
Traesh
89c91c271b Core/Quests: Implemented player choices
* Implemented SPELL_EFFECT_LAUNCH_QUEST_CHOICE
* Script hook for player choices
2017-12-31 23:22:55 +01:00
Traesh
422ad436c7 Core/Scripts: Added new QuestScript hooks (#20950)
* OnQuestStatusChange and OnQuestObjectiveChange
2017-12-04 17:35:37 +01:00
Ovalord
1b16534e21 Core/Quests: Implemented quest popups 2017-11-28 00:04:03 +01:00
Shauren
410bc49976 Core: Updated to 7.2.5.24330 2017-06-15 15:23:08 +02:00
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 c52566a888)
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 1ad24352ac)

# 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 114f4c9715)
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 3c0d7fd744)
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 48940e292f)
2016-03-22 22:10:12 +01:00
Shauren
f7624e7206 Core/Quests: Fixed quest sharing
Closes #12304
Closes #16183

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

Scripts: addition to 8b6954e81b

Closes #16466

(cherry picked from commit b259d5c2bc)
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 11f0c85bd4)

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 49ececf038)
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