Commit Graph

1954 Commits

Author SHA1 Message Date
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
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
Gacko
547795ce3f Fix warnings and non pch build. 2015-05-19 19:17:58 +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
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
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
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 335cceb26e)
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 6645af4b3c)
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
Golrag
d999caee67 Core/AreaTrigger: Added 'bool entered' to OnTrigger 2015-04-18 11:22:30 +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 c9e699961e)
2015-04-14 01:02:24 +01:00
Vincent-Michael
20ab76a2cb Core: Whitespace cleanup 2015-04-08 02:27:20 +02:00
Shauren
01cc5d8c05 Core/PacketIO: Updated and enabled SMSG_SET_VEHICLE_REC_ID and SMSG_ON_CANCEL_EXPECTED_RIDE_VEHICLE_AURA
* Implemented SMSG_MOVE_SET_VEHICLE_REC_ID and CMSG_MOVE_SET_VEHICLE_REC_ID_ACK
2015-04-06 00:40:56 +02:00
Daniel M. Weeks
b948a4275e Add missing override keyword in scripts 2015-04-02 22:28:05 -04:00
Shauren
8cfb542ee4 Core/PacketIO: Updated values of all known server opcodes 2015-03-27 22:21:24 +01:00
MitchesD
65275fd57d Scripts/Misc: small changes after recent commits 2015-03-27 14:47:10 +01:00
Rushor
e88f276946 Scripts/Grizzlyhills: Spell: Infected Worgen Bite - Apply Spellscript and Transformation
closes #12165

(cherry picked from commit 6080234e98)
2015-03-25 16:37:21 +01:00
Shauren
cc4d79495f Core/Misc: Warning fixes 2015-03-22 13:47:55 +01:00
jackpoz
3799d454b3 Scripts/Ulduar: Fix some Flame Leviathan issues
Fix some Flame Leviathan issues:
- Fix boss evading all the time due to bad Doors check
- Opened "Lightning Door" to other bosses only after boss dies
- Eject players from the vehicles when boss dies, make them untargetable and despawn them after 5 minutes (adjust the time to the blizzlike time of choice)

(cherry picked from commit d888e4c7ad)
2015-03-21 23:44:12 +00:00
MitchesD
f6428df949 Scripts/Misc: sync with 3cc305138c
adfd8a6 - Scripts/Mulgore: The Plains Vision - Move Corescrript to SAI
c21a600 - Delete zone_mulgore.cpp
87f40a5 - Scripts/Kalimdor: Remove Mulgorescripts
8904a94 - Scripts/The Barrens: Add missing Text for 'The Escape'
cfc5fb2 - DB/Misc: Fix a few startup errors from recent Updates (Script part)
2015-03-20 20:07:25 +01:00
Nyeriah
a30eb73e46 Scripts/ToC: The Lich King event should only be started by the announcer
(cherry picked from commit ea78bce592)
2015-03-19 19:12:17 -03:00
Naios
433bc289c2 Core/Misc: Fix some issues detected by static analysis
* Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?
  -> This argument is passed by value, it makes no sence so set it to null here.

* Member variable 'instance_violet_hold_InstanceMapScript::bWiped' is not initialized in the constructor.

* Mismatching allocation and deallocation: Data
2015-03-18 20:20:04 +01:00
click
cc3387d984 Merge pull request #14371 from Kittnz/movecirclepath_003
Core: Move FillCirclePath function to MotionMaster
Closes #14371
(cherry picked from commit cf14e9051d)
2015-03-18 00:35:39 +00:00
click
812e117b30 Core/Script: INFO->DEBUG notification changes in ToC
(cherry picked from commit 0c7c25d6ed)
2015-03-18 00:34:00 +00:00
MitchesD
50b4a3a707 Core/Packets: updated structure of CMSG_PLAYED_TIME, SMSG_PLAYED_TIME 2015-03-08 16:23:00 +01:00
D4R4
610411ce5a Scripts/The Lich King: Defile should not grow when player grabbed by Val'kyr is moves across
Closes #14131

(cherry picked from commit ceea37c9e3)
2015-03-07 17:50:02 +01:00
joschiwald
f65d9b3fea Fixed typo in 1dc60e8717 2015-03-07 17:49:36 +01:00
MitchesD
02ccf53ad1 Scripts/Nexus: commanders converted from SAI to C++
(cherry picked from commit 5009d67f0c)
2015-03-07 11:49:03 +01:00
joschiwald
1dc60e8717 Scripts/Rotface: moved mutated infection removal handling to spellscripts to fix an startup error 2015-03-07 02:42:02 +01:00
Duarte Duarte
8ff752afa0 Merge pull request #14167 from Golrag/WorldStates
Core/Opcodes: SMSG_INIT_WORLD_STATES
2015-02-22 05:48:13 +00:00
Rushor
b5458f9d76 Scripts/Violet Hold: Zuramat the Obliterator - Improve Summonbehaviour of Void Sentry
closes #12175

(cherry picked from commit f06b77dcb3)
2015-02-20 14:15:39 +01:00
Rushor
809c125881 Scripts/HallsOfLightning: Boss Volkhan - Add OOC Forgecast
closes #14066
(cherry picked from commit dc87cc69a1)
2015-02-18 20:18:39 +01:00
Shauren
56186319bd Core/Spells: Cooldown updates
* Refactored cooldown handling to separate class shared by creatures and players
* Updated and enabled cooldown packets
* Implemented creature school lockouts
* Implemented spell charges
* Fixed AuraUpdate structure
* Fixed aura flag AFLAG_NOCASTER handling
* Implemented spell charge related auras
2015-02-17 01:01:44 +01:00
Golrag
b7a65ce9ef Core/Opcodes: SMSG_INIT_WORLD_STATES 2015-02-16 20:33:23 +01:00
joschiwald
e8c7d47641 Scripts/FoS: improved bronjahm encounter, thanks @Grimton1337, @tkrokli
Closes #14130

(cherry picked from commit 6dfc35d13c)
2015-02-13 21:22:25 +01:00
Nyeriah
69104cfa2a Scripts/ForgeOfSouls: Fix an indentation issue on Bronjahm's script
(cherry picked from commit 69d016d0fe)
2015-02-13 03:32:29 -02:00
Nayd
49e8381a90 Tabs to spaces and whitespace cleanup 2015-02-11 16:47:23 +00:00
jackpoz
e6f26cfb1f Core/Misc: Fix static analysis issues
Fix some static analysis issues reported by Coverity.
Rename SpellMgr::EnsureSpellInfo() to SpellMgr::AssertSpellInfo() to be consistent with other similar methods.
2015-02-08 19:40:03 +01:00
Noffearr
1d894f1b9d Core/Misc: Update outdated license header files
Ref #14028
2015-02-04 21:02:54 +00:00
Nayd
68d026709b Scripts: Remove scripts that were replaced by SAI in ba906b69e0 2015-02-02 04:03:59 +00:00
jackpoz
c899944981 Core/Misc: Fix static analysis issues
Fix some static analysis issues reported by Coverity
2015-02-01 15:38:07 +01:00
Rushor
91b2519b93 Scripts/Zul'Drak: GO Scourge Enclosure - Delay Despawn of Dummy to ensure Explosion
(cherry picked from commit de99d9e15b)
2015-01-31 20:02:32 +00:00
MitchesD
c2a52c4119 Scripts/HoR: implement Quel'Delar quest
* support for quest 24480, 24561
* there may be some visual problems but quest should work as intended

Closes https://github.com/TrinityCore/TrinityCore/issues/838
(cherry picked from commit 71b53601a3)
2015-01-30 14:31:11 +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
joschiwald
fd6668d17a Core/NetworkIO: sync opcode values with wpp and removed duplicate ones 2015-01-18 23:56:01 +01:00
joschiwald
36e50ff8ae Core/Opcodes: sync with wpp 2015-01-17 03:55:29 +01:00