Commit Graph

762 Commits

Author SHA1 Message Date
Carbenium
e8ea7b5ede Core/Player: Fix wrong format specifier in a log message
(introduced in 230e820898)
2015-11-14 16:17:07 +01:00
Carbenium
230e820898 Core/Creature: Remove duplicate call to LoadCreatureAddons in Creature::Create
* Add error log for duplicated aura entries in creature_(template_)addon

(cherry picked from commit c5f635b689)

Conflicts:
	src/server/game/Entities/Creature/Creature.cpp
	src/server/game/Globals/ObjectMgr.cpp
2015-11-14 04:22:42 +01:00
Carbenium
4ea7e707f7 Core/ObjectMgr: Disable not linked graveyard error log for zoneId == 0
(cherry picked from commit 52394eb93c)

Conflicts:
	src/server/game/Globals/ObjectMgr.cpp
2015-11-09 23:51:41 +01:00
Naios
b7b49fe35f Core/Globals: Use std::string rather than char* to pass script names around. 2015-11-04 20:52:13 +01:00
Shauren
52d5de1a7f Core/Conditions: Phase condtion changes
* SourceGroup defines which phase should the condition affect
* SourceEntry limits the area of the phase (alternatively 0 means all areas)
2015-10-25 00:22:21 +02:00
Shauren
aaaa1c3441 Core/World: Store account id in CharacterInfo to reduce the amount of database queries 2015-10-05 15:06:27 +02:00
Shauren
cd27fd38b9 Core/Maps: Moved corpse management to map level 2015-09-28 17:20:27 +02:00
Shauren
f1b047b826 Core/Taxi: Further improvements
* Updated segment distance calculations - now selected path fully matches clientside preview
* Fixed building sOldContinentsNodesMask to also include any new taxi node added in future
* Implemented filtering possible hops when searching for shortest path by faction (and in future PlayerCondition)
* Changed ObjectMgr::GetNearestTaxiNode to filter faction nodes by flags instead of mount display
2015-09-19 16:44:33 +02:00
Shauren
04de58c8d3 Core/Players: Changed multi-segment taxi paths to fly nearby
flight masters along the way, not directly through them

* Taxi cost on multi-segment paths is now charged per segment when it is started

Cherry-picked from commit 2056961aae (+fixes)
2015-09-13 17:23:37 +02:00
Shauren
8a8ab0b4b6 Core/DataStores: Updated DBC and DB2 structures to 6.2.2.20444 2015-09-07 18:03:33 +02:00
Shauren
b564c10b13 Core/Players: Implemented serverside validation of reserved/profane names
Closes #15357

New library dependency: Boost.Regex
2015-08-30 00:17:08 +02:00
Shauren
65dbc7082a Core/DBLayer: Optimized prepared statement query results by eliminating unneeded buffer copies
* Improved error logs for using incorrect Field getters to also include table name, field name and field index.
2015-08-26 17:00:26 +02:00
Vincent-Michael
8aa55a0b57 Core/Misc: Update game creature template locale in simple system 2015-08-01 11:58:14 +02:00
Duarte Duarte
21a70dbab0 Merge pull request #15145 from pete318/runeforging6x
[6.x] Core/Spell: Learn DK runeforging skill, when receving the spell book ability.
2015-07-28 11:16:06 -07:00
Vincent-Michael
2e586bc520 Core: Header cleanup in game/*/*.cpp 2015-07-25 20:18:42 +02:00
pete318
ef387cb6ff Implement correction from 3.3.5 into 6.x for runeforging skill learnt from
Death Knight quest.
2015-07-22 15:59:48 +01:00
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