Commit Graph

4457 Commits

Author SHA1 Message Date
Vincent-Michael d418ae54a4 Core: White space CleanUp 2015-07-05 04:03:36 +02:00
jackpoz dbf51eee46 Scripts/EyeOfEternity: Fix crash added in d1853f693b
Close https://github.com/TrinityCore/TrinityCore/issues/14984#issuecomment-118044904

(cherry picked from commit 275bb93034)
2015-07-03 01:16:58 +01:00
MitchesD 2400ce05e0 Merge pull request #14748 from Rushor/druid
Scripts/Spells: Curing the Sick - Add Questcredit
(cherry picked from commit d898ade5a9)
2015-07-03 00:55:11 +01:00
Shauren 585f978c58 Core: Started work on 6.2.0.20182 2015-07-01 02:22:03 +02:00
MitchesD d6c77e97eb Scripts/Command: remove unneeded code from .go 2015-06-30 10:41:32 +02:00
MitchesD 3d6abdb2ff Scripts/Commands: fix compile warning 2015-06-26 17:31:07 +02:00
jackpoz d9133adbb7 Core/ChatCommands: Allow to use "tele" command inside of a battleground
Allow GameMasters with ".gm on" tag to use ".tele" command inside of a battleground to tele around.

(cherry picked from commit 0b9cd22a6b)
2015-06-26 03:28:20 +01:00
jackpoz e4c5a210fe Scripts/Auchindoun: Fix distance check in boss Shirrak
Issue added in 88137c07b9

(cherry picked from commit a7847728a5)
2015-06-26 03:21:08 +01:00
jackpoz d423747037 Scripts/ToC: Fix doors opening/closing during Dreadscale fight
Fix doors opening/closing during Dreadscale fight by sending a CloseDoor command instead of toggling the door state when Dreadscale resets its movement.
Note that bounding the door state to boss movement makes poor sense and should be changed. Other bosses in ToC have this logic and should be updated if they show the same bug.

(cherry picked from commit b5cc8c5b17)
2015-06-26 02:56:40 +01:00
jackpoz 133d6cd85f Scripts/VioletHold: Fix crash
Fix crash in Violet Hold happening when crystals were activated without killing trash mobs.
Crash added in cba6515acb and f4531c5a58 .
Closes #14629

(cherry picked from commit 09aed25659)
2015-06-26 02:51:08 +01:00
Shauren cec05ff07d Scripts/Zul'farrak: Fixed summoning Gahz'rilla
Fixes #5782 regression
2015-06-19 17:28:24 +02:00
Shauren dc53dad8a4 Core/Misc: Warning fixes 2015-06-13 14:04:10 +02:00
MitchesD b0ab1ef52f Merge pull request #14617 from Golrag/IoC
Core/BattlegroundIC: Removed 1 hack:
2015-06-13 10:21:45 +02:00
MitchesD 8a7ae9d16c Scripts/TheEye: updated Void Reaver to EventMap 2015-06-12 12:30:50 +02:00
Nyeriah a7988971bd Scripts/TheEye: Clean up instance script
(cherry picked from commit d86ff08145)
2015-06-10 12:52:55 -03:00
Shauren 7eb25f1af6 Core/Commands: Fixed .gobject move and turn 2015-06-07 00:09:08 +02:00
DDuarte b8c681c776 Core: Fix multiple Coverity issues 2015-06-01 03:03:05 +01:00
DDuarte e43a6b373a Merge pull request #14613 from ariel-/shathalls
Fixed some issues with PR #14157
(cherry picked from commit 82a6cbcad4)

Included coverity fix of 25881ca95f (DD)

Conflicts:
	src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/instance_shattered_halls.cpp
2015-06-01 02:31:32 +01:00
jackpoz a323ee5e62 Core/Misc: Fix issues reported by static analysis
Coverity defect IDs: 1023115

(cherry picked from commit 391c81d86c)

Conflicts:
	src/server/scripts/Commands/cs_npc.cpp
2015-06-01 01:04:43 +01:00
jackpoz 986deaa977 Core/Misc: Fix issues reported by static analysis
Coverity defect IDs: 1022861, 1022862, 1022863, 1302435, 1302439, 1302440

(cherry picked from commit 25881ca95f)

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 43ae8727ac)

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 e1ae2fa8ba)
2015-05-20 00:02:13 +01:00
Carbenium 9ebcaa63a6 Scripts/Icecrown: Move Squire David to SmartAI
(cherry picked from commit 64bed16a57)

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 da74aa526a)
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 2d349da2ac)
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
Golrag 8a4afad63a Core/BattlegroundIC: Removed 1 hack:
* Parachute spell is now blizzlike
* Also restored "The battle will begin in 2 minutes."
2015-05-01 14:52:15 +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