Commit Graph
4437 Commits
Author SHA1 Message Date
jackpoz 986deaa977 Core/Misc: Fix issues reported by static analysis
Coverity defect IDs: 1022861, 1022862, 1022863, 1302435, 1302439, 1302440

(cherry picked from commit 25881ca95fd3c8e6c8aecb93739d1642c7a4d9c8)

Conflicts:
	src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/shattered_halls.cpp
	src/server/scripts/Outland/zone_hellfire_peninsula.cpp
2015-06-01 00:57:41 +01:00
MitchesD 65dc69c17b Merge pull request #14777 from tkrokli/putricide_ooze_eruption
[3.3.5a][ICC/Professor Putricide] Volatile Ooze Eruption fix
(cherry picked from commit 43ae8727ace4a0bcaaa8665adea78e578be454f3)

Conflicts:
	src/server/scripts/Northrend/IcecrownCitadel/boss_professor_putricide.cpp
2015-06-01 00:54:54 +01:00
Shauren b0c4268a6b Core/Scripts: Corrected argument types in GetCreatureEntry/GetGameObjectEntry ZoneScript hooks 2015-05-30 22:33:29 +02:00
Daniel M. Weeks b6e926fa2f Remove unnecessary semicolons 2015-05-27 21:16:06 -04:00
Daniel M. Weeks 7e474418d8 Mark overriding functions 2015-05-27 21:13:48 -04:00
Warpten 1d29328769 Scripts/RubySanctum: Remove duplicate code. 2015-05-21 19:14:52 +02:00
Shauren f85605b5f7 Scripts/Icecrown Citadel: Fixed Ice Tomb during phase 3 of Sindragosa encounter 2015-05-21 00:02:33 +02:00
Gacko da31ec0fd6 Fix non pch build. 2015-05-20 21:36:55 +02:00
Carbenium 6d12297ffa Scripts/Commands: Fix LANG_PINFO_MUTED in HandlePInfoCommand
Closes #14560
Thanks @Mack36
2015-05-20 17:48:53 +02:00
arks f4b38aab6d Scripts: Shattered Halls: Revamped instance script, support for quests 10884, 9524, 9525
(cherry picked from commit e1ae2fa8ba586df6b0573676256ada9d3623699e)
2015-05-20 00:02:13 +01:00
Carbenium 9ebcaa63a6 Scripts/Icecrown: Move Squire David to SmartAI
(cherry picked from commit 64bed16a5761ee98da5386575ae39f237a8721d3)

Conflicts:
	src/server/game/Spells/SpellMgr.cpp
2015-05-20 00:40:35 +02:00
Duarte Duarte 0778c4fd56 Merge pull request #14710 from et65/6.x
Core/PacketsIO: Implemented or updated most of party related packets.
2015-05-19 18:40:51 +01:00
Gacko 547795ce3f Fix warnings and non pch build. 2015-05-19 19:17:58 +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 b4d044aa13 Core/Commands: Fixed .gobject add command 2015-05-16 12:12:47 +02:00
Vincent-Michael 554e657ab6 Core: Fix build 2015-05-15 16:54:46 +02:00
Warpten 7a5bc9e1fe Scripts/RubySanctum: Fix a mathematical mistake.
SQL: Do not use MAX(Id), hardcode it.
2015-05-15 15:57:03 +02:00
Warpten 1447875cac Scripts/RubySanctum: Updates to Halion.
* Fixed Living Embers not spawning.
* Meteor Strike is now randomized.
2015-05-15 15:49:07 +02:00
Nyeriah 9f3cb91281 Scripts/Ulduar: Fix a couple of issues with Flame Leviathan's towers
* Fix tower count being set to 0 once the first tower is destroyed due to bad logic
* Prevent towers from reducing counter twice (caused by event being sent twice by the gameobject when destroyed)

(cherry picked from commit da74aa526a30a1312abd071d3c6906907c6f0d2c)
2015-05-12 14:21:59 -03:00
Kinzcool 00cfe8f5a9 Core/Misc: Fixed wrong references to ZoneName instead of using AreaName_lang 2015-05-08 22:48:30 -04:00
Nyeriah d9200f112b Scripts/Eye of Eternity: Provide players with drakes when entering instance after Malygos' demise
(cherry picked from commit 2d349da2acb5bbedf74ad622679560ad535a58cd)
2015-05-05 02:08:07 -03:00
Shauren edbd44a675 Core/Creatures: Extended npcflags to uint64 2015-05-04 12:39:36 +02:00
Vincent-Michael fc7014628a Core/PacketIO: Updated and enabled SMSG_CHAT_SERVER_MESSAGE 2015-05-02 16:31:48 +02:00
Vincent-Michael 404dc91c7a DB/World: Update quest template for 6.1.2 19865 part 7 2015-05-02 02:40:02 +02:00
Vincent-Michael a551dd78e6 Core/Quest: Added new error log for load quest_poi 2015-05-02 02:09:53 +02:00
Vincent-Michael 2c8b7850d7 Core/Commands: Added .go quest command to teleport your character to first quest poi 2015-05-02 01:28:18 +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 675a2fcd3b Core/Util: Fixed flag128 and removed flag96 - previously if flag128 and flag96 were used in together the result was always a bool instead of expected flag result due to implicit boolean conversion 2015-04-27 00:33:27 +02:00
Nyeriah a661c97e7e Scripts/Stonecore: Slight correction to last commit
(...a forgotten save)
2015-04-24 02:48:35 -03:00
Nyeriah a735088ea1 Scripts/Stonecore: Prevent Slabhide from dying during air phases 2015-04-24 02:44:14 -03:00
Nyeriah 1688fbf90c Scripts/HallsOfStone: Set the Tribunal of Ages encounter state to IN_PROGRESS once it starts, instead of when Brann's escort starts
(cherry picked from commit 335cceb26e806feb9601537b2f15f52a115e0826)
2015-04-24 00:14:43 -03:00
Nyeriah f8b041fc92 Scripts/HallsOfStone: Brann Spankin' New achievement should only fail if damage is taken during event
(cherry picked from commit 6645af4b3cdea42770ae94e2b44b41650ef7d20b)
2015-04-24 00:13:48 -03:00
Shauren ac318ae517 Core/Items: Fixed applying heirloom stats during login
Closes #14196
Closes #14476
2015-04-23 00:07:59 +02:00
Carbenium dab8e12413 Core/Support:
* Ticket status (viewed by GM, escalated) is now displayed correctly
* Fixed packet structure of CMSG_GM_TICKET_CREATE
* Use proper enum values (from client)
2015-04-21 22:00:25 +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 8bde737d3a Core/PacketIO: Updated and enabled CMSG_SPIRIT_HEALER_ACTIVATE / SMSG_SPIRIT_HEALER_CONFIRM for WoD 2015-04-19 00:22:46 +02:00
MitchesD d74e0d823d Scripts/CoS: Chrono Lord Epoch converted to BossAI 2015-04-18 18:28:13 +02:00
Golrag d999caee67 Core/AreaTrigger: Added 'bool entered' to OnTrigger 2015-04-18 11:22:30 +02:00
Golrag 82a33c7fa8 Core/PacketIO: SMSG_PLAY_SOUND 2015-04-17 11:45:07 +02:00
Duarte Duarte b086339199 Merge pull request #14540 from tkrokli/npc_mootoo_the_younger
Fix $n bug in NPC text for quest 11664 Escaping the Mist
(cherry picked from commit c9e699961e37678b4da5ed6a8b396d72d90af883)
2015-04-14 01:02:24 +01:00
Aokromes 2c6df09539 Merge pull request #14530 from Exodius/bloodmaul_brutes
Core/Scripts: Remove Bloodmaul Brutes script
(cherry picked from commit ca67cc8f6b1f0d16bb3c4c66343dc305b9f78acc)
2015-04-14 01:02:19 +01:00
click 1282db53e3 Core/Command: Sanitize input for .account set gmlevel <username> handling
(cherry picked from commit 79696e08718ea74c8063fdc13624560f4bd3118f)

Conflicts:
	src/server/scripts/Commands/cs_account.cpp
2015-04-14 01:02:06 +01:00
Nick 1089306118 Core/Scripts: Remove The Thunderspike script
As explained by @Killyana in https://github.com/TrinityCore/TrinityCore/issues/4458#issuecomment-90061073
(cherry picked from commit 77eb89157b85ff79d049b77f5c8bc35119c6ee41)
2015-04-14 01:02:04 +01:00
Aokromes 6a1e2bcdad Scripts/Kalimdor: Ashenvale - add missing enum
(cherry picked from commit 16481d17aacfd9e866615212df11ddcdcf1fc2e4)
2015-04-14 01:01:57 +01:00
Rushor d05cd1a6d7 Scripts/Kalimdor: Ashenvale - Remove Torek C++ Script
(cherry picked from commit f49a1b0f1fb7423466e5773eb29c77b2ebf26fc0)
2015-04-14 01:01:56 +01:00
tkrokli cfa0a32a1f [Quest] Kodo Roundup
by @pete318, closes #12811

Fixes the remaining bugs in the "Kodo Roundup" quest in Desolace:
- removes combat status from creature 11627, Tamed Kodo
- sets normal walking speed as the creature's follow speed
- makes the Tamed Kodo stop at Scrabblescrew's Camp
- enables quest objective count 0/5 -> 5/5, quest complete
- SQL (by @tkrokli) links the missing gossip text in the DB

(cherry picked from commit 1c8486e1a84c2d1ed4355d680418a3a2e73e37dd)
2015-04-14 01:01:47 +01:00
click 95817e9f46 Core/Script: Remove script for Overlord Mor'ghor - converted to SAI in commit 16179f8
(cherry picked from commit b804539f9be34f521c048620da78f604868f28f8)

Conflicts:
	src/server/scripts/Outland/zone_shadowmoon_valley.cpp
2015-04-14 01:01:39 +01:00
jackpoz 1126ed97bb Core/Dungeon Finder: Allow to execute "lfg" commands from console
(cherry picked from commit de1cbf716db6a389f95cf5b9c790ec956d24aab0)
2015-04-14 01:01:06 +01:00
jackpoz 0f251d4d51 Core/Dungeon Finder: Restore ".lfg queue debug" logging additional information
Restore ".lfg queue" behavior to print additional debug informations when an additional argument is passed (any character/word will work).

(cherry picked from commit be9294dc098029c62003d3e19e0c2a29a7c738f7)
2015-04-14 01:01:04 +01:00
Shauren d02f4da355 Core/Chat: Implemented instance chat type 2015-04-12 00:20:06 +02:00