Commit Graph

795 Commits

Author SHA1 Message Date
Shauren
0d9136f764 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion 2016-07-10 00:37:33 +02:00
Shauren
a78aa3cf4e Core/PacketIO: Refactored building SMSG_UPDATE_OBJECT to append directly to final buffer and removed UpdateMask class 2016-07-10 00:11:19 +02:00
Shauren
be461280d2 Build fix 2016-07-06 10:44:43 +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
f7883bd525 Core/Transmog: Implemented transmog collection and updated transmog handling 2016-07-05 22:07:35 +02:00
Shauren
2ad96f06f0 Core/PacketIO: Updated quest packets 2016-06-24 23:12:03 +02:00
Shauren
49d0823b70 Core: Update to 7.0.3.21963 2016-06-18 17:38:44 +02:00
Shauren
f6637439f4 Core/Items: Updated max durability calculation 2016-06-18 16:23:55 +02:00
Shauren
6226f04caf Core/PacketIO: Updated query opcodes 2016-06-07 19:56:40 +02:00
Shauren
fa1c499150 Core/PacketIO: Fixed starting spline movement with 0 length segments 2016-06-02 18:55:42 +02:00
Shauren
c95f4a5070 Core/GameObjects: Updated GameObjectTemplate to 7.0.3.21796 2016-05-30 23:49:35 +02:00
Shauren
df6d557a4d Core/Entities: Updated updatefields to 7.0.3.21414 2016-05-20 23:50:20 +02:00
Shauren
70102f32fe Core/DataStores: Updated opcodes and db2 to 7.0.3.21414 2016-05-20 23:49:53 +02:00
Shauren
885d9b53c3 Core/DataStores: Updated dbc/db2 to 7.0.1.20994 2016-05-20 23:48:48 +02:00
Shauren
5c2c9a684f Core/DataStores: Updated dbc/db2 to 7.0.1.20810 2016-05-20 23:46: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
Naios
89a3fc2167 Core/Scripting: Fix loading of spell/aurascripts
* Broken since 9cc97f226d
* There is still a crash when using lazy unloading which I
  will fix in a later commit (this commit should fix at least
  the static build and normal usage of the dynamic build).
* Closes #16948

(cherry picked from commit 410cf0dd05)
2016-04-12 15:43:27 +02:00
Naios
9cc97f226d Core/Game: Rewrote the ScriptMgr to support script reloading.
* Finally this commit enables dynamic script hotswapping
  and finished the PR #15671.
* Split the storage layout to use optimized storages
  for database bound and unbound scripts.
* Add several unload workers to reload scripts correctly
  -> Requires further investigation.
* Fixes memory leaks in ScriptMgr when dropping invalid scripts.
* Fixes VehicleScripts
* Makes OutdoorPvP scripts reloadable
* Makes InstanceMapScripts reloadable
* Makes CommandScripts reloadable
2016-04-11 21:14:00 +02:00
Naios
59e3cf82ac Core/Game: Move scheduled map scripts counter methods into MapManager
* Since those have nothing to do with core scripts and are
  not wished inside the ScriptMgr
2016-04-11 20:07:24 +02:00
Incorrect
f8d5031fca Core/Creature: Do not load equipment with id = 1 when creature.equipment_id is 0
Closes #16416

(cherry picked from commit cc3ae640a4)
2016-04-02 19:32:03 +02:00
Aokromes
8ea8de42ea Core/Misc: Fix log 2016-04-01 04:37:20 +02:00
DDuarte
7f8cd123c4 Core/PacketIO: Properly send normalized realm names
Ref #14949
2016-03-28 23:10:44 +01:00
Naios
329225b40d Core/Game: Move singleton instances into compilation units
* Fixes issues when building shared libraries
  (prevents gcc and clang from providing several instance)
2016-03-11 18:35:49 +01:00
Shauren
d47f23ef7c Merge pull request #16404 from Lopfest/6.x
Core/Scripts: SMSG_PLAY_ONE_SHOT_ANIM_KIT can now be used in waypoint_scripts
2016-03-08 08:25:58 +01:00
ariel-
3a7f311547 Core/Conditions: fix a memory leak for CONDITION_SOURCE_TYPE_TERRAIN_SWAP
Reported by Aokromes.
2016-03-02 23:31:22 -03:00
Lopfest
facdc62b43 Merge remote-tracking branch 'upstream/6.x' into HEAD 2016-02-20 23:59:56 +01:00
Shauren
db0b8bf24e Core/Maps: Changed the way area data is stored in maps, it now uses ID field from AreaTable.dbc instead AreaBit used for exploration marker (and is not unique anymore on top of simply being stupidly confusing)
Note: Extracting maps is required
2016-02-02 19:13:04 +01:00
Lopfest
d43d010f29 Core/Scripts: added loading error message for SCRIPT_COMMAND_PLAY_ANIMKIT 2016-01-26 21:03:59 +01:00
Shauren
3cd3184394 Core/Quests: Implemented new quest objective types 2016-01-19 20:12:09 +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
Software Engineer
0d8b5c2142 Server/ObjectMgr: Added Error Log And Server Shutdown At ID Overflow 2015-12-16 18:55:01 +01:00
Shauren
c488fb219a Core/Creatures: Implemented automatic detection of trigger models, their order in creature_template no longer matters 2015-12-05 18:47:35 +01:00
Carbenium
a1df148182 Missed change 2015-11-14 16:27:51 +01:00
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