Commit Graph

21364 Commits

Author SHA1 Message Date
ariel-
7c58e4cc08 Core/GameObject: misc type mismatch
(cherry picked from commit 4baa7f443a)
2016-08-01 01:29:58 -03:00
ariel-
a0ce33c209 Core/Scripts: Compile fix 2016-08-01 01:27:23 -03:00
ariel-
30d4f70533 Core/Entities: debloat SummonGameObject parameter list using proper wrappers and enable GO rotation in scripts
- There's still an overload allowing for x, y, z, o to be passed directly
- Fixed default animstate for GameObject creation in many places, it should be 255, not 100 (checked in sniffs)

(cherry picked from commit 62bfee37cb)

Conflicts:
	src/server/game/Entities/GameObject/GameObject.cpp
	src/server/game/Entities/Object/Object.cpp
	src/server/game/Spells/SpellEffects.cpp
	src/server/scripts/Commands/cs_gobject.cpp
	src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp
	src/server/scripts/Kalimdor/zone_feralas.cpp
2016-08-01 01:23:47 -03:00
Tomatoes
806ef935b8 Core/Ticket System: Ticket comment visual output bug
* Commenting on a ticket no longer sends the GM's name to the ticket handler for assignment
* Closes #16091
* Closes #17686

Signed-off-by: Naios <naios-dev@live.de>
2016-07-31 02:07:48 +02:00
Aokromes
2aba2e1330 Compile fix 2016-07-30 16:01:15 +02:00
Aokromes
b51adac24c Core/GameObjects: Gameobject rotation (from cmangos/mangos-wotlk@2bcbc0f)
cmangos/mangos-wotlk@0fe88f3: [11531] Normalize gameobject's quaternion, thanks to zergtmn for pointing
cmangos/mangos-wotlk@060dfb7: [11667] Implement transport path rotation
cmangos/mangos-wotlk@565f52c: [11806] A bit gameobject code refactoring
cmangos/mangos-wotlk@6874951: [11807] Add gameobject_addon table
2016-07-30 15:51:23 +02:00
ariel-
d21eb7542a Core/Spell: fix one logic fail when calculating level penalty
(http://wow.gamepedia.com/index.php?title=Spell_power&oldid=1751770#Spells_learned_before_level_20)
2016-07-30 12:19:04 +02:00
tkrokli
e0e4510e38 Core/Scripts: zone_silithus.cpp cleanup
By tkrokli
2016-07-30 12:18:34 +02:00
Nyeriah
9f79672beb Scripts/Karazhan: Register Midnight's summons
* Solves issue with bosses not despawning after encounter
2016-07-30 12:14:09 +02:00
Nyeriah
804f4468ea Scripts/Karazhan: Fix a warning 2016-07-30 12:14:01 +02:00
Nyeriah
e9613e6659 Scripts/Karazhan: Rework Attumen the Huntsman's script
Change log:
- Timers are more accurate
- Corrected Charge ability ID based on 6.x researches
- Added Midnight's missing emotes
- Fixed issue with instance being stuck in combat in case of wipes
- Solved the rare scenario where Attumen would be summoned multiple times
- Visual spell on 3rd phase transition added
- Attumen and Midnight can now be damaged during 3rd phase transition
- Midnight calls for the aid of every horse still alive in the stables
- Use proper spells to summon Attumen and handle transitions
- Now despawns on evade
Video of encounter after changes: https://www.youtube.com/watch?v=KX0rqaBeSzw
2016-07-30 12:13:48 +02:00
Aokromes
4bc52061e6 Core/Quests: Delete all quest bound items on quest reward, failure or abandoning
By runningnak3d
2016-07-30 12:13:01 +02:00
ariel-
21b19bd179 Core/GameObjects: fix typo 2016-07-30 12:05:41 +02:00
Nyeriah
fd1a0cd4f0 Core/Player: Actually close tickets when characters are deleted
* Solves issue with tickets being open indefinitely if characters are deleted while tickets are still open
2016-07-30 12:05:27 +02:00
Aokromes
e30845b587 Core/Updater: Clarify log 2016-07-30 12:04:58 +02:00
ariel-
88bb891a71 Core/Misc: fix issues reported by static analysis 2016-07-26 03:15:20 -03:00
ariel-
291a633c35 Core/Scripts: cleanup Asaad and get ride of a few static analysis issues while at it 2016-07-26 03:15:19 -03:00
Aokromes
69a6a182b1 Fix build 2016-07-25 15:55:07 +02:00
Aokromes
ed8b9fe1c4 Scripts/Misc: Add missing override 2016-07-25 15:49:08 +02:00
Aokromes
9dac2dbca9 Script/Stonecore: Fix coverity 82008 2016-07-25 15:29:38 +02:00
Aokromes
c23a2c6c69 Core: Fix coverity 82043 2016-07-25 10:32:36 +02:00
ariel-
a254ce1a7c Core/Achievements: Fix merge fail introduced in 2bdcce17f8, additional requirements weren't being checked and completed criteria was being checked twice instead.
Updates #51
2016-07-24 19:09:11 -03:00
Aokromes
9d5cb998b7 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2016-07-24 19:58:12 +02:00
Aokromes
9fb69216bc Import some enum's and struct's to achievements.
From ArkCORE.
2016-07-24 19:57:31 +02:00
ariel
d876b6a693 Core/PlayerAI: silence warning 2016-07-24 17:33:27 +00:00
ariel-
5bb0935bbb Core/IPC: fixed double free (virtual ~ZMQTask takes care of this, inherited class shouldn't handle base resources at all)
Coverity CID 82048
2016-07-24 00:07:56 -03:00
ariel-
c413e65d25 Core/Movement: partial revert 817eb007db and proper compile fixes, this was generating crashes
Closes #80
2016-07-23 23:44:34 -03:00
ariel-
f5e2b7db3a Core/Spells: Fix merge error in e34e3f379f causing instant spells to be wrongly Delayed
Closes #74
2016-07-23 17:59:46 -03:00
ariel-
9aea1aaa35 Core/Instances: Fix memory leak in InstanceSaveMgr
Fix memory leak in InstanceSaveMgr added in 1f170c99ef .
Make InstanceSave::SetToDelete() private since it's not supposed to be used by anything other than InstanceSave or its friend class InstanceSaveMgr .

Closes #82
2016-07-23 17:01:29 -03:00
ariel-
705c052fc2 Core/PlayerAI: update spec detection logic, still needs spells to be updated for 4.3.4 2016-07-23 16:54:03 -03:00
ariel-
4b24e404e7 Core/Spell: fix Wrecking crew
Closes #77
2016-07-23 16:52:00 -03:00
ariel-
ba734a5be1 Core/Spells: update f35df037b6 for 4.3 spells 2016-07-23 16:15:37 -03:00
ariel-
6434e98c01 Core/Scripts: Cleanup cs_modify.cpp
* Removed a chunk of duplicate code
* Generalized Message notification
* Generalized checking of resources modification with a min-max
* Generalized checking of single value modification
* Closes #16858

(cherry picked from commit 775b03bf6f)

Conflicts:
	src/server/scripts/Commands/cs_modify.cpp
2016-07-23 07:06:15 -03:00
ariel-
fa8662e617 Core/Movement: Clean up and improvements on Unit::SetSpeed (#16843)
- Clean up of Unit::SetSpeed (mostly cherry picks from the 6.x branch):
- the opcode sent depends on the unit. until now, MSG_MOVE_SET_* were sent for every units which isn't like retail behavior.
- Removed the unused method parameter "forced" from Unit::SetSpeed
- Renamed Unit::SetSpeed to SetSpeedRate
- Removed the unused method parameter "forced" from Unit::UpdateSpeed
- Added utility method Unit::SetSpeed which take the new flat value.
Conflicts:
	src/server/game/Entities/Unit/Unit.cpp
	src/server/scripts/Commands/cs_modify.cpp
	src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp
	src/server/scripts/Kalimdor/zone_azshara.cpp
	src/server/scripts/Kalimdor/zone_durotar.cpp
	src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp
2016-07-23 07:02:25 -03:00
ariel-
a8b9edefbc Core/Spell: whitespace fix 2016-07-23 06:50:43 -03:00
ariel-
878ac1b90e Core/Scripts: update boss_altairus.cpp, indentation and whitespace cleanup 2016-07-23 06:42:52 -03:00
ariel-
2d3fa37ef1 Core/Scripts: Baleroc cleanup
- Remove redundant OnGameObjectCreate/Remove, base implementation already takes care of adding and removing doors
- Added missing overrides, fixup bracing and whitespace
- Revamped a little achievement script and get ride of ugly CAST_AI
2016-07-23 06:39:15 -03:00
ariel-
4a96106d60 Core/Spells: finish porting SPELL_AURA_MOD_SPELL_CATEGORY_COOLDOWN handling from 6.x 2016-07-23 06:11:56 -03:00
ariel-
ceb2b94e0b Core/Quests: cache areatrigger relationship in Quest object and send client correct data 2016-07-23 05:19:08 -03:00
ariel-
0923870dfb Core/Misc: useless flag is useless 2016-07-23 04:43:31 -03:00
ariel-
ea8bb37bc7 Core/Scripts: add missing override and silence a warning in MSVC 2016-07-23 04:21:08 -03:00
ariel-
1eeff3a295 Core/Player: misc codestyle 2016-07-23 04:20:44 -03:00
Aokromes
f32aca84ab Compile fix 2016-07-23 00:26:39 +02:00
Aokromes
7a4c33bc66 Core/Entities: implement SPELL_AURA_MOD_CRIT_CHANCE_FOR_CASTER, fixes talent Point of no Escape 2016-07-22 21:59:03 +02:00
Aokromes
9d5ff93e27 Core: Removed Whitespaces 2016-07-22 21:40:34 +02:00
Vincent-Michael
aa61332af8 Core: Revert fail
(cherry picked from commit b5329d8a03)
2016-07-22 18:51:10 +02:00
Vincent-Michael
0d7a6c6556 Core: Added missing overrides
(cherry picked from commit 5d584116fe)
2016-07-22 18:50:26 +02:00
treeston
d4de0ab053 AI/SmartScripts: Add action_param3 "disablePathfinding" to SMART_ACTION_MOVE_TO_POS (69). 2016-07-22 18:47:20 +02:00
Aokromes
9d67cafe92 Scripts/UtgardePinacle: Adjust King Ymiron boundaries 2016-07-22 18:45:29 +02:00
Keader
9ca2d0a62f Core/Scripts Added Black Temple Boundaries (#17579)
* Core/Scripts Added Black Temple Boundaries
2016-07-20 19:56:15 +02:00