Commit Graph

746 Commits

Author SHA1 Message Date
Shauren
a22e4e121a Core/Misc: Fixing warnings detected by Visual Studio 2015 compiler 2015-07-21 00:33:36 +02:00
Vincent-Michael
2fcab335df Core/Misc: Added new error logs for gameobject_questitem / creature_questitem tables 2015-07-19 03:16:30 +02:00
DDuarte
dd8f301e16 Core/Globals: Rename AddCreData -> AddCreatureData and MoveCreData -> MoveCreatureData
(cherry picked from commit 5ceb3fd0ab)

Conflicts:
	src/server/game/Globals/ObjectMgr.cpp
	src/server/game/Globals/ObjectMgr.h
	src/server/game/OutdoorPvP/OutdoorPvP.cpp
2015-07-19 01:55:12 +01:00
Vincent-Michael
f4536f3812 Core/Misc: Update game object template locale in simple system 2015-07-18 19:58:13 +02:00
Vincent-Michael
dc87018345 Core/PacketIO: Updated and enabled barber shop opcodes 2015-07-12 22:34:45 +02:00
Carbenium
97bcf5c2c5 Core/ObjectMgr: Fix a memory leak 2015-07-07 20:47:34 +02:00
Shauren
dea6c0b122 Core/DataStores: Updated dbc/db2 structures to 6.2.0 2015-07-07 12:13:14 +02:00
Shauren
d454df54d1 Core/DataStores: Moved SkillTiers to database - it no longer exists in dbc form 2015-07-05 01:18:57 +02:00
Shauren
b08b3b93e2 Core/DataStores: Removed CreatureSpellData.dbc, it is not used anymore 2015-07-04 19:47:58 +02:00
Kinzcool
4bbbd9540a Core/Quests: Calculate the RewardMoney value with QuestMoneyReward.dbc and defined an unknown field 2015-07-01 17:57:09 -04:00
Shauren
ccb55fb901 Core/Garrisons: Implemented building spawns 2015-06-27 15:29:42 +02:00
Shauren
3ada2ed993 Core/Misc: Fixed loading access_requirement
Closes #14846
2015-06-14 00:26:56 +02:00
Kinzcool
ac53442e4f Core/Misc: Correctly load data from npc_text table and added some data to it 2015-06-07 20:22:49 -04:00
Shauren
470d2bd458 Core/Quests: Implemented RewardXPMultiplier quest template field 2015-05-29 00:04:23 +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
5b725db033 Core/Garrisons: Basics for garrisons 2015-05-08 00:03:15 +02:00
Shauren
edbd44a675 Core/Creatures: Extended npcflags to uint64 2015-05-04 12:39:36 +02:00
Vincent-Michael
b56ab5d438 Core/Objects: Added new error log for bad phaseId/phaseGroup in creature/gameobject table 2015-05-02 18:01:40 +02:00
Kinzcool
508af222a5 DB/Equipment: Filled creature_equip_template with blizzlike values up to MoP, patch 5.4.8 2015-05-01 23:26:42 -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
Vincent-Michael
a551dd78e6 Core/Quest: Added new error log for load quest_poi 2015-05-02 02:09:53 +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
Shauren
149ff8da87 Core/GameObjects: Removed the possibility to spawn transports wih gm commands (such objects did not have any transport mechanics but could still cause crashes)
Closes #14542
2015-04-23 15:47:50 +02:00
Carbenium
bba6eb8d3d Core/Player: Added character templates
* Characters with predefined levels can be created
* Avaiable factions and classes can be configured
* Valid values for `factionGroup` in table `character_template_class` are 3 (Alliance) or 5 (Horde)
* Added new permission RBAC_PERM_USE_CHARACTER_TEMPLATES - has to be set, to allow the usage of the templates

Closes #13952
2015-04-21 00:52:21 +02:00
Vincent-Michael
955abeb9e1 Core/ObjectMgr: Added npc_text error log for invalid result in table 2015-04-15 19:55:13 +02:00
Shauren
7b0c4792ce Core: Warning fixes 2015-04-15 12:47:17 +02:00
Shauren
48578e10fb Core/Items: Implemented ItemSpec.dbc 2015-04-15 00:36:03 +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
Vincent-Michael
a0647a825a Core/Misc:
- Update SMSG_GOSSIP_POI for WoD
- Update points of interest locale in simple system
2015-04-11 15:58: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
d6311a790b Core: Fix warnings 2015-04-11 03:52:25 +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
Rat
9b746368db Core/Database: removed old questItem fields 2015-04-06 21:03:50 +02:00
Rat
e248d5a406 Core/DataBase: implemented creature_questitem and gameobject_questitem tables 2015-04-06 19:49:39 +02:00
Rat
c5bbc9287d Core/GameObjects: fixed build in gcc 2015-04-06 13:11:35 +02:00
Rat
23e8a3ce29 Core/GameObjects: fixed typo and logic (0 is a valid invisibility type) 2015-04-06 12:14:25 +02:00
Rat
9d59d038f8 Core/GameObjects: Implemented gameobject_addon table, you can now set invisibility for gameobjects for quests 2015-04-05 23:51:46 +02:00
Vincent-Michael
8c4c267de1 Core: Fix typo (i should really sleep) :( 2015-04-05 06:44:46 +02:00
Vincent-Michael
7b34fd4b43 Core: Fix warnings 2015-04-05 06:37:26 +02:00
Vincent-Michael
4359c4c758 Core/PacketIO: Updated and enabled CMSG_QUEST_POI_QUERY / SMSG_QUEST_POI_QUERY_RESPONSE 2015-04-05 05:54:53 +02:00
Gacko
db9173488f Fix warnings 2015-03-29 21:56:22 +02:00
Rat
17bd724559 Core/Phases: phaseMask remove part 1 2015-03-29 19:25:13 +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
Naios
9b0b1185e4 Core/Log: Fix linker errors that occur on msvc 12 lower then update 4
* http://stackoverflow.com/questions/4891067/weird-undefined-symbols-of-static-constants-inside-a-struct-class
* http://www-01.ibm.com/support/knowledgecenter/SSGH3R_8.0.0/com.ibm.xlcpp8a.doc/language/ref/cplr038.htm%23cplr038
* closes #14463
* ref #14317
2015-03-28 17:12:11 +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
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
Naios
95ebe4f31c Core/Log: Add type safe formatting
* improves safety and log speed through:
  - variadic templates
  - perfect forwarding
* fixes a newline in db logs
* improve performance of Appender::write by using std::ostringstream && std::move
2015-03-13 09:15:42 +01:00
Shauren
e15ba34444 Core/Misc: Cleaned up data truncation warnings 2015-03-08 22:04:34 +01:00
Shauren
c927acf1f4 Core/Player: All spells and skills are now automatically learned without any need for external data
* Fixes learning mail/plate at level 40 for shamans/warriors/paladins
* Fixes learning riding for worgen/paladins/warlocks at level 20
2015-03-07 12:24:25 +01:00