Commit Graph

379 Commits

Author SHA1 Message Date
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
ec1583df67 Core/Corpses: Fixed a possible crash adding bones to grid
Closes #15808
2015-11-06 21:30:08 +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
d8391f23b1 Build fix after cherry-picks 2015-10-31 00:05:09 +01:00
Shauren
d72293bdf7 Core/Corpses: Fixed a crash happening when a corpse is added to a grid that was not yet fully loaded
Closes #15684

(cherry picked from commit 8c9ea7782a)
2015-10-30 18:05:35 +01:00
Shauren
60370d0c03 Core/Corpses: Fixed map crash happening during map unload when there are corpses inside
(cherry picked from commit 1d17475791)
2015-10-30 18:04:58 +01:00
Shauren
bd16520ecc Core/Corpses: Fixed leaking bones
Ref #15765
2015-10-28 21:43:44 +01:00
Shauren
8745e08be0 Core/Transports: Fixed accessing deleted instance transports
Thanks @jackpoz for valgrind log and @pete318 for reproduction steps

Closes #15633
2015-09-30 00:31:21 +02:00
Shauren
cd27fd38b9 Core/Maps: Moved corpse management to map level 2015-09-28 17:20:27 +02:00
Carbenium
512c2ab83c Merge pull request #15538 from pete318/combat_bug
Combat with distant creatures (Mk II)
(cherry picked from commit a40d855337)
2015-09-25 00:22:05 +02:00
StormBytePP
0bed9d56cb Core: Added ABORT() macro to prevent the usage of ASSERT(false) as a quick hack to crash the core misusing assert 2015-09-21 15:17:05 +02:00
pete318
b099e4e43a Only read and delete from corpse table for current map instance. Not for
all. Prevents assert stop upon entering an instance on second character
after first one is a corpse in the same dungeon on different instance ID.
2015-08-27 01:07:14 +01:00
MitchesD
231fb1d322 Core/PacketIO: updated CMSG_INSTANCE_LOCK_RESPONSE and fixed instance binding of gamemasters 2015-07-28 19:09:20 +02:00
MitchesD
7951a47c03 Core/PacketIO: updated SMSG_INSTANCE_SAVE_CREATED 2015-07-27 19:44:08 +02:00
Vincent-Michael
2e586bc520 Core: Header cleanup in game/*/*.cpp 2015-07-25 20:18:42 +02:00
Naios
026ceb85b9 Core/Logging: Enable perfect forwarding for logging format and args.
* Handle timestamp parsing though cppformat.
* Change a wrong forward -> move
2015-07-22 00:32:28 +02:00
jackpoz
1915a4ad49 Core/Instances: Fix some Instance Lock chat messages
Always send a Welcome type Instance Lock chat message when entering an instance instead of changing type based on remaining time.
Fix scheduled warning message to always send "Your instance lock for ... will expire in 0 minutes." even if there are hours left, issue added in 4193806dba , closes #11519 .
Update warning messages based on remaining time so that the most meaning is always used (6 hours left, 59 minutes left, etc).

(cherry picked from commit fae8269589)

Conflicts:
	src/server/game/Handlers/MovementHandler.cpp
	src/server/game/Maps/Map.cpp
2015-07-12 12:47:43 +01:00
Shauren
18e4ab6911 Core/Maps: Fixed crash in Map::SendObjectUpdates - items were not properly removed from Map::_updateObjects because player was removed from world first
Closes #14673
2015-05-15 00:08:40 +02:00
Shauren
5c5cb3e555 Core/Transports: Moved teleporting transports to Map::DelayedUpdate 2015-05-13 22:09:54 +02:00
Shauren
7e801595f4 Core/Maps: Restored DataDir functionality accidendally removed earlier 2015-05-09 00:10:56 +02:00
Shauren
5b725db033 Core/Garrisons: Basics for garrisons 2015-05-08 00:03:15 +02:00
Shauren
0972552e84 Core/Players: Do not clear m_clientGUIDs when using seamless teleport to properly receive DestroyObjects block 2015-05-07 00:18:19 +02:00
Shauren
ed75b0649a Tools: Modified output files of all extractors to use 4 characters for map id and changed name format of map files to include a separator between values '_' that makes tokenization possible
* This fixes generating mmaps for maps with id >= 1000
* Fixed a crash happening when unloading last phased mmap tile
* Removed remaining references to libmpq in CMakeLists

Reextracting maps/vmaps/mmaps IS REQUIRED after this commit
2015-05-07 00:07:44 +02:00
Shauren
68bd33b654 Core/Player: Implemented seamless teleporting 2015-05-01 15:44:43 +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
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
Shauren
8cfb542ee4 Core/PacketIO: Updated values of all known server opcodes 2015-03-27 22:21:24 +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
click
b0ee48370d Core: INFO->DEBUG level changes - forgot one in Map.cpp
(cherry picked from commit ad7b33a47f)
2015-03-18 00:33:40 +00:00
click
c235835827 Core: Change some map-specific INFO-messages over to to DEBUG or ERROR
(cherry picked from commit ec6bec6bc4)

Conflicts:
	src/server/game/Maps/Map.cpp
2015-03-18 00:16:21 +00: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
MitchesD
c6718dc120 Core/PacketIO: updated and enabled SMSG_PLAY_MUSIC 2015-03-11 20:04:57 +01:00
click
324c5fd7b7 Core/Logs: Throw a little more sensible textoutput when missing maps/vmaps (the old text was a tad confusing mixing maps and vmaps etc).
(cherry picked from commit 4999864c4a)
2015-02-22 06:12:47 +00:00
Nayd
6f7d048765 Core/Packets: Update and enable SMSG_WEATHER 2015-01-28 13:58:40 +00:00
Shauren
5fed109cbf Core/Loot: Implemented automatic assignment of Heroic/Mythic item bonuses when dropped in appropriate instance difficulty 2015-01-24 20:28:42 +01: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
Intel
b5236a6cdc Core/DataStores: Updated AreaTable.dbc
Signed-off-by: Nayd <dnpd.dd@gmail.com>
2014-11-15 04:27:35 +00:00
Intel
fa0983dfa3 Core/DataStores: Updated all remaining dbc/db2 except Item.db2, Item-sparse.db2
Signed-off-by: Nayd <dnpd.dd@gmail.com>
2014-11-15 04:27:34 +00:00
Intel
d666e77ae8 Core/DataStores: More converted dbcs 2014-11-09 01:27:59 +02:00
Intel
e1cb43e831 Core/DataStores: Fixed build after rename 2014-11-05 23:33:56 +02:00
Shauren
7afab9f783 Core/Entities: Updated HighGuid values 2014-10-27 12:03:35 +01:00
Shauren
9e1930959d Core/Entities: Changed object lowguid to uint64 2014-10-26 02:57:28 +02:00
Shauren
a97bd333fe Core/Entities: Removed Object::GetGUIDLow() 2014-10-23 00:29:16 +02:00
Shauren
68f45e8734 Core/Entities: Final batch of removing implicit conversions of ObjectGuid to uint64 2014-10-21 21:09:15 +02:00
Shauren
457c93bc4b Tools/Extractors: Updated vmap_extractor for 6.0.2 2014-10-19 14:02:08 +02:00
Vincent-Michael
42f5017261 Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
Conflicts:
	src/server/game/Handlers/MiscHandler.cpp
2014-10-12 21:46:40 +02:00
jackpoz
bb046ce4ed Core/Maps: Apply const-correctness to GridMap::loadData() 2014-10-12 20:01:27 +02:00
Vincent-Michael
63d7b348bb Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4 2014-10-10 05:29:06 +02:00
Shauren
67f9d916cb Build: Fixed game & collision depending on each other for linking 2014-10-09 23:01:31 +02:00