Commit Graph

28069 Commits

Author SHA1 Message Date
Aokromes bc6326d71f Merge pull request #16449 from imbavirus/TrinityCore/6.x
[6.x] DB/Filenames: Rename incorrectly named sql files
2016-02-06 16:37:45 +01:00
Shauren 983635458b Warning fix 2016-02-06 13:53:56 +01:00
Shauren 38d6054d52 Core/PacketIO: Marked SMSG_COMPRESSED_PACKET as enabled (this commit has no effect whether it is enabled or not - this opcode is always enabled as it is sent directly from WorldSocket) 2016-02-05 21:21:54 +01:00
Carbenium d3c556bc40 Core/PacketIO: Enable SMSG_SPELL_MISS_LOG and SMSG_UPDATE_LAST_INSTANCE 2016-02-05 01:18:55 +01:00
Carbenium 8e8f51848c Core/PacketIO: Enable SMSG_GM_TICKET_SYSTEM_STATUS, SMSG_ON_CANCEL_EXPECTED_RIDE_VEHICLE_AURA, SMSG_PLAY_SCENE and SMSG_QUERY_ITEM_TEXT_RESPONSE 2016-02-05 01:04:59 +01:00
Carbenium 75598953fb Core/PacketIO: Enable SMSG_CORPSE_TRANSPORT_QUERY 2016-02-05 00:47:58 +01:00
MitchesD bc0850c3aa Core/Opcodes: enabled SMSG_PVP_CREDIT 2016-02-04 21:55:10 +01:00
Shauren 0fc728efb9 Core/PacketIO: Updated and enabled SMSG_AREA_SPIRIT_HEALER_TIME 2016-02-04 21:00:00 +01:00
Carbenium f1685b97d9 Core/PacketIO: Enable SMSG_AREA_TRIGGER_NO_CORPSE 2016-02-04 01:33:05 +01:00
Carbenium b0d8357d14 Warning fix 2016-02-04 01:11:37 +01:00
Carbenium 93b552685b Core/PacketIO: Updated CMSG_WARDEN_DATA
Note: No packet handling changes made whatsoever.

...and ninja-fix a missing break from previous commit.
2016-02-03 23:28:54 +01:00
Carbenium 15bfabaa0a Core/PacketIO: Updated CMSG_COMPLAINT 2016-02-03 22:53:48 +01:00
Carbenium ff9ac9f9b0 Core/PacketIO: Use Vector3 instead of Position since orientation isn't included (MissileTrajectoryCollision and UpdateMissileTrajectory) 2016-02-03 17:14:15 +01:00
Carbenium ca967f4374 Core/PacketIO: Updated CMSG_VOICE_SESSION_ENABLE and CMSG_SET_ACTIVE_VOICE_CHANNEL for further usage 2016-02-03 16:47:24 +01:00
Carbenium 6715a91907 Core/PacketIO: Updated and enabled CMSG_UPDATE_MISSILE_TRAJECTORY 2016-02-03 15:10:58 +01:00
Carbenium f269335bb2 Core/PacketIO: 305b99e065 follow-up 2016-02-03 01:48:02 +01:00
Carbenium 305b99e065 Core/PacketIO: Updated and enabled CMSG_MISSILE_TRAJECTORY_COLLISION 2016-02-03 01:25:25 +01:00
Shauren 6434fff067 Warning fix 2016-02-03 00:31:07 +01:00
Carbenium 3fa86e7931 Core/PacketIO: Updated and enabled CMSG_SET_TAXI_BENCHMARK_MODE 2016-02-03 00:20:07 +01:00
Carbenium 3ea1cfc4d0 Core/PacketIO: Updated and enabled CMSG_SET_PLAYER_DECLINED_NAMES 2016-02-02 23:19:37 +01:00
Carbenium aa5c947555 Core/PacketIO: Updated and enabled CMSG_SET_PARTY_ASSIGNMENT 2016-02-02 20:55:48 +01:00
Carbenium 20a6b54bb6 Core/PacketIO: Updated and enabled CMSG_REQUEST_STABLED_PETS 2016-02-02 20:10:33 +01:00
Carbenium a130300b86 Core/PacketIO: Updated and enabled CMSG_REQUEST_RATED_BATTLEFIELD_INFO 2016-02-02 19:51:19 +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
Carbenium 46addc21cd Core/PacketIO: Updated and enabled CMSG_REQUEST_PVP_REWARDS 2016-02-02 18:30:34 +01:00
Carbenium fd162fb604 Core/PacketIO: Add CMSG_REQUEST_PET_INFO packet class for further usage 2016-02-02 18:04:36 +01:00
Carbenium ea3cfa9146 Core/PacketIO: Initialize some vars 2016-02-02 17:30:19 +01:00
Carbenium 229322d4d8 Core/PacketIO: Updated and enabled CMSG_PUSH_QUEST_TO_PARTY 2016-02-02 17:18:47 +01:00
Carbenium 1f8268c89c Core/PacketIO: Updated and enabled CMSG_PET_SPELL_AUTOCAST 2016-02-02 16:38:36 +01:00
Carbenium dea718e4ed Core/PacketIO: Updated and enabled CMSG_PET_STOP_ATTACK 2016-02-02 01:56:51 +01:00
Carbenium 5b313bf74d Core/PacketIO: Updated and enabled CMSG_PET_CANCEL_AURA 2016-02-02 01:38:29 +01:00
Carbenium 0b76381283 Core/PacketIO: Updated and enabled CMSG_PET_ABANDON 2016-02-02 01:18:27 +01:00
Carbenium 391992ed80 Core/PacketIO: Updated and enabled CMSG_ITEM_PURCHASE_REFUND 2016-02-02 01:06:44 +01:00
Carbenium 6fbfc61de1 Core/PacketIO: Updated and enabled CMSG_DISMISS_CRITTER 2016-02-01 20:14:10 +01:00
imbavirus d932f7452f Rename incorrectly named files 2016-02-01 19:21:08 +02:00
Shauren a174fa4d7b Core/PacketIO: Updated and enabled CMSG_CONFIRM_RESPEC_WIPE, SMSG_RESPEC_WIPE_CONFIRM 2016-01-30 23:56:02 +01:00
Carbenium 3ec79c96c3 Merge pull request #16428 from Carbenium/mmap-memleak
Collision/MMap: Fix a memleak reported by valgrind
2016-01-30 20:44:49 +01:00
Carbenium 32e8b6506f Collision/MMap: Fix a memleak reported by valgrind
Tiles which are owned by the mesh should have the DT_TILE_FREE_DATA flag to ensure
deallocation on removal from the mesh.

Log:
==23516== 6,181,976 bytes in 6 blocks are definitely lost in loss record 15 of 15
==23516==    at 0x4C298A0: operator new[](unsigned long) (vg_replace_malloc.c:389)
==23516==    by 0x2052660: dtCustomAlloc(int, dtAllocHint) (Memory.h:11)
==23516==    by 0x29D7FDA: dtAlloc(int, dtAllocHint) (DetourAlloc.cpp:43)
==23516==    by 0x230AA70: MMAP::MMapManager::loadMap(std::string const&, unsigned int, int, int) (MMapManager.cpp:166)
==23516==    by 0x1DD585B: Map::LoadMMap(int, int) (Map.cpp:125)
==23516==    by 0x1DD7266: Map::LoadMapAndVMap(int, int) (Map.cpp:200)
==23516==    by 0x1DD93C6: Map::EnsureGridCreated_i(CoordPair<64u> const&) (Map.cpp:453)
==23516==    by 0x1DD9129: Map::EnsureGridCreated(CoordPair<64u> const&) (Map.cpp:429)
==23516==    by 0x1DED100: Map::GetGrid(float, float) (Map.cpp:2200)
==23516==    by 0x1DE0F4C: Map::GetAreaFlag(float, float, float, bool*) const (Map.cpp:2349)
==23516==    by 0x198521B: Map::GetZoneId(float, float, float) const (Map.h:353)
==23516==    by 0x197CFF0: WorldObject::GetZoneId() const (Object.cpp:1277)

Phase tiles aren't managed by detour so they shouldn't be free'd automatically on removal.
See MMapManager::UnloadPhaseTile
2016-01-30 20:40:54 +01:00
Dr-J 3d2d628889 Remove unintended file 2016-01-30 15:23:37 +00:00
Dr-J a224c400b1 DB/SAI: Overthane Balargarde
A couple of updates to previous commit https://github.com/TrinityCore/TrinityCore/commit/a258e36039392b60a0f0c98a466f9e4f1121f3eb

Closes #4841
2016-01-30 15:16:18 +00:00
Shauren 01be486f2f Core/Misc: Removed unneccessary boost/asio/buffer.hpp include 2016-01-28 17:49:41 +01:00
Shauren 8bc3f5545e Merge pull request #16378 from Zedron/6.x
Core/Spells: Fixed a possible crash in spell_pal_light_s_beacon
2016-01-27 21:54:47 +01:00
Boomper 3f503cd1d1 Core/Spells: Fixed Heroic Leap
Closes #14807
Closes #14134
2016-01-27 21:53:05 +01:00
Aokromes 2e2fe86f31 DB/Misc: Delete duplicate spawns 2016-01-26 14:17:42 +01:00
Carbenium 5918140146 DB: Add missing DELETE statement (2016_01_22_00_world) 2016-01-26 09:20:16 +01:00
Shauren e0437ca494 Core/Spells: Implemented casting spells on movement finish from SPELL_EFFECT_JUMP, SPELL_EFFECT_JUMP_DEST and SPELL_EFFECT_CHARGE 2016-01-25 19:35:41 +01:00
Zedron 4b4237174f Core/Spells: Fixed a possible crash in spell_pal_light_s_beacon 2016-01-24 17:09:02 -06:00
Shauren 11ad71e2fc Core/Misc: Fixed array out of bounds access when loading locales_achievement_reward, locales_creature_text, locales_gossip_menu_option and skip LOCALE_none when iterating over locales 2016-01-24 15:08:49 +01:00
Shauren d5b0ffbe9b Core/Misc: Added safeguard against generating invalid selection weight data in Trinity::Containers::SelectRandomWeightedContainerElement 2016-01-23 11:34:47 +01:00
Aokromes 55bfd2d738 DB/Misc: Fix startup errors 2016-01-23 06:58:12 +01:00