Commit Graph

384 Commits

Author SHA1 Message Date
Shocker
b539ac6afa Core/GameObjects: Add isUse parameter to GossipHello for distinction between CMSG_GAMEOBJECT_USE and CMSG_GAMEOBJECT_REPORT_USE 2016-05-26 13:09:56 +03: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
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
treeston
76d15c906e Player/Quest: Credit group for gameobject activation if they are in proximity.
(cherry picked from commit cd625a12e2)
2016-04-02 15:31:00 +02:00
Shauren
4900d50939 Core/PacketIO: Updated and enabled SMSG_GAME_OBJECT_CUSTOM_ANIM 2016-02-28 23:14:27 +01:00
Carbenium
541c125c2c Codestyle 2016-02-11 00:56:39 +01:00
Carbenium
bf186ec26d Core/PacketIO: Updated and enabled SMSG_FISH_ESCAPED 2016-02-11 00:24:33 +01:00
Carbenium
0113b0f625 Core/PacketIO: Updated and enabled SMSG_FISH_NOT_HOOKED 2016-02-10 15:34:38 +01:00
Nyeriah
9ddd596899 Core/GameObject: Also send EventInform() calls for GAMEOBJECT_TYPE_CAMERA
- This allows object and zone AI to process events called by camera objects as well (previously only possible through event_scripts)

Closes #16506
(cherry-picked from commit 6904073c9c)
2016-02-10 02:47:55 -02:00
jackpoz
06fdcb9e18 Merge pull request #16193 from Goatform/3.3.5
Core/GameObjects: Fixed an issue where traps were not redirected to Grounding Totem
(cherry picked from commit 2a50ea5cf1)
2016-01-20 21:55:50 +01:00
Golrag
dec59b72cc Core/PacketIO: SMSG_DESTRUCTIBLE_BUILDING_DAMAGE 2016-01-01 15:34:15 +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
jackpoz
175b0bcfb5 Core/Gameobjects: Move a log from FATAL to DEBUG
The log is triggered when a mage creates a portal to another map, uses it and then the portal despawns.

(cherry picked from commit a8ceb18cdf)

Conflicts:
	src/server/game/Entities/GameObject/GameObject.cpp
2015-09-24 19:57:31 +02:00
Shauren
225bbe7f72 Core/PacketIO: Implemented correct opcode for GameObject animkit changes and enabled all animkit related opcodes 2015-09-16 17:06:24 +02:00
Vincent-Michael
2e586bc520 Core: Header cleanup in game/*/*.cpp 2015-07-25 20:18:42 +02:00
Shauren
a029f97c82 Core/Collision: Removed direct GameObject references from collision project 2015-07-25 15:37:35 +02:00
Shauren
a22e4e121a Core/Misc: Fixing warnings detected by Visual Studio 2015 compiler 2015-07-21 00:33:36 +02:00
Vincent-Michael
dc87018345 Core/PacketIO: Updated and enabled barber shop opcodes 2015-07-12 22:34:45 +02:00
Rushor
f535d59f0f Game/GameObject: Fix Spellcast for 'Silithyst'
by @Whoami
updates #14637

(cherry picked from commit 8f3a9b7fe3)
2015-06-26 03:31:23 +01:00
Shauren
6e9ab38fcc Core/GameObject: Removed unneeded argument from GameObjectModel::Relocate and renamed it to UpdatePosition 2015-06-03 19:53:28 +02:00
Shauren
b0c4268a6b Core/Scripts: Corrected argument types in GetCreatureEntry/GetGameObjectEntry ZoneScript hooks 2015-05-30 22:33:29 +02:00
Shauren
bf37446b3c Core/GameObjects: Fixed GameObjectAddon loading 2015-05-30 22:32:28 +02:00
joschiwald
266c09f8a9 Core/GameObject: fixed typo in 46acf64d0f 2015-05-21 14:02:50 +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
Shauren
7b0c4792ce Core: Warning fixes 2015-04-15 12:47:17 +02:00
MitchesD
a1831e0c1e Core/PacketIO: SMSG_DURABILITY_DAMAGE_DEATH, SMSG_QUEST_UPDATE_COMPLETE, SMSG_PAGE_TEXT and enabled some opcodes 2015-04-11 11:11:43 +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
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
MitchesD
580a50f7e7 Core/PacketIO: SMSG_BARBER_SHOP_RESULT, CMSG_ALTER_APPEARANCE, SMSG_ENABLE_BARBER_SHOP and enabled some opcodes 2015-03-28 18:12:26 +01:00
Shauren
8cfb542ee4 Core/PacketIO: Updated values of all known server opcodes 2015-03-27 22:21:24 +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
Nayd
802725817b Core/Packets: Update and enable CMSG_STAND_STATE_CHANGE and SMSG_STAND_STATE_UPDATE 2015-01-28 19:29:31 +00:00
Shauren
faa583c784 Core/Maps: Updated map difficulties 2015-01-10 01:35:47 +01:00
Vincent-Michael
ab90f74486 Update copyright note for 2015
Happy new year
2015-01-01 00:28:09 +01:00
jackpoz
f09217ec04 Core/GameObjects: Fix crash if GameObject cannot be created
Close #13798
2014-12-28 22:29:01 +01:00
Shauren
3c3b42362f Core/DataStores: Added DB2Manager
* Moved DB2 helpers to new class
* Moved hotfix data to hotfixes database and core management functions to DB2Manager class
* Updated HotfixNotifyBlob packet
2014-12-26 01:38:40 +01:00
Rat
b91ac01bc7 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into Spells 2014-12-01 21:09:23 +01:00
Gacko
05913b8208 Core/Game: Fix several warnings about wrong data types 2014-12-01 17:21:18 +01:00
Rat
2144d6c851 Core/Spells: core now builds without scripts project, still not stable 2014-11-24 18:57:49 +01:00
Intel
a7f56c2208 Core/DataStores: Updated GameObjectDisplayInfo.dbc, GemProperties.dbc, GlyphProperties.dbc, GlyphSlot.dbc, GuildPerkSpells.dbc structs 2014-11-08 20:21:17 +02:00
Intel
4fc832c099 Core/DataStores: Updated CreatureFamily.dbc, CreatureModelData.dbc, CreatureSpellData.dbc, CreatureType.dbc, CurrencyTypes.dbc, DestructibleModelData.dbc structs 2014-11-08 16:55:02 +02:00
Shauren
785f0bf5c0 Core/GameObjects: Updated GameObjectTemplate data structure 2014-10-30 20:02:42 +01:00
Shauren
15fbb6f46f Core/Entites: Updated GUID format 2014-10-29 21:13:21 +01:00
DDuarte
07a640de0d Core: Fix warnings, mostly wrong printf formatters 2014-10-27 21:56:44 +00:00
Shauren
7afab9f783 Core/Entities: Updated HighGuid values 2014-10-27 12:03:35 +01:00
Shauren
209a743bbe Core/Entities: Updated updatefields 2014-10-26 22:06:48 +01:00