Commit Graph

647 Commits

Author SHA1 Message Date
Aokromes
c76226cc41 Script/Quest: Script Quest 24125 Rite of the Winds
By Malcrom, closes #18262
2017-01-12 03:06:14 +01:00
vincent-michael
86b98686a9 Update copyright note for 2017
Happy new year
2017-01-01 16:23:13 +01:00
Shauren
ac1dc758b9 Core/Units: Cleanup hardcoded magic numbers for byte field offsets 2016-12-13 20:58:22 +01:00
Duarte Duarte
7eb4512eee Scripts: Minimize duplicated enum names in header files (#18346)
This reduces the number of cache resets with the Zapcc compiler

Standard followed is instance/raid TLA + DataTypes/CreaturesIds/etc
2016-12-01 01:51:07 +00:00
Gacko
df53a080fc Fix non pch build. 2016-07-17 20:02:42 +02:00
Ulduar
f27e1eea4a Scripts/Blackfathom Deeps: Subjugator Korul - Darkness Calls
Closes #15316
Closes #16557
2016-07-16 17:30:04 +02:00
Shauren
c75fcbe20b Core/Achievements: AchievementMgr refactoring
* Extracted base CriteriaHandler class that deals with criteria only and will be reused for future scenario implementation
* Fixed players earning guild achievements
2016-05-07 01:16:29 +02:00
Shauren
3ac33163db Core/Misc: Fixed -Wmisleading-indentation warnings 2016-04-23 13:22:03 +02:00
Chaouki Dhib
3cbbcdb51a 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.
(cherry picked from commit dc3327f9c5)

# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Handlers/MovementHandler.cpp
#	src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp
#	src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.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/Outland/zone_hellfire_peninsula.cpp
2016-04-16 02:26:24 +01:00
Naios
4710b1c8fe Core/Scripts: Move the ragefire chasm scriptloader into the correct file
* This commit targets 3.3.5 and just reduces the diff to 3.3.5 on 6.x.
2016-04-11 21:13:24 +02:00
Aokromes
b359eda9b9 Core/Misc: Remove no longer used code
(cherry picked from commit 00aeec820a)
2016-04-09 17:29:10 +02:00
Dr-J
7cf6eca425 Remove Lady Jaina Proudmores CPP script from zone_dustwallow_marsh.cpp
(cherry picked from commit c9f9e93c22)
2016-04-09 17:04:02 +02:00
Rushor
41385ce633 DB/Quest: King of the Foulweald - Improve Questevent
* closes #2381

(cherry picked from commit 644b9dcd59)
2016-04-02 20:44:51 +02:00
tkrokli
0466de43cc Core/Scripts/DB: remove hardcoded text from 'npc_disciple_of_naralex'
- moved 2 #define text lines to enum, already in npc_text
- new gossip_menu_option for NPC 3678 Disciple of Naralex
- using `ADD_GOSSIP_ITEM_DB` instead of `ADD_GOSSIP_ITEM`

Tested on both alliance and horde characters, works just like before.

(cherry picked from commit bc03fedf6d)
2016-04-02 17:36:48 +02:00
treeston
e2f2c70ba4 Merge branch '3.3.5-bossboundary' into 3.3.5-base (PR #16089)
(cherry picked from commit 5b8b8c6530)
2016-03-22 22:56:43 +01:00
Shauren
d47f23ef7c Merge pull request #16404 from Lopfest/6.x
Core/Scripts: SMSG_PLAY_ONE_SHOT_ANIM_KIT can now be used in waypoint_scripts
2016-03-08 08:25:58 +01:00
Naios
5534915f74 Core/Scripts: Split the huge scriptloader into smaller pieces
* Each subdirectory contains it's own translation unit now
  which is responsible for loading it's directory
* Improves merging & decoupling between 3.3.5 <-> 6.x
* Removes unused Battleground loader
* Ref #15671
2016-02-21 15:36:41 +01:00
Lopfest
54ab2e0bdb Core/Scripts: SMSG_PLAY_ONE_SHOT_ANIM_KIT corrections. Thx to Arci 2016-01-26 18:58:02 +01:00
jackpoz
2f1bd93c9e Core/Unit: Add Unit::KillSelf() overload
Add Unit::KillSelf() function as overload of Unit::Kill(this) . Use KillSelf() whenever the killer and the victim are the same to clearly state the Unit is going to kill itself.

(cherry picked from commit 3267c90102)

# Conflicts:
#	src/server/game/AI/SmartScripts/SmartScript.cpp
2016-01-15 20:34:27 +01:00
jackpoz
3f0026d8e7 Core/Quest: Fix issues reported by static analysis
(cherry picked from commit 1ddf44caf3)

# Conflicts:
#	src/server/game/Quests/QuestDef.cpp
#	src/server/game/Server/WorldSession.cpp
2016-01-15 20:32:56 +01:00
Vincent-Michael
478cc756eb Update copyright note for 2016
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Vincent-Michael
00b4e8b6cc Scripts: Added missing overrides 2015-11-15 03:38:02 +01:00
joschiwald
92b08fc74b Scripts/VioletHold: rewrote the whole instance
thanks @MitchesD for help

(cherry picked from commit df21162fe4)
(cherry picked from commit 3a4f54197c)
(cherry picked from commit f50df72820)
(cherry picked from commit 95bae7143f)
(cherry picked from commit 5406f82044)
2015-11-01 13:09:30 +01:00
joschiwald
2bc4dea4da Core/Misc: renamed sGossipSelect parameters
(cherry picked from commit ad38c27124)

# Conflicts:
#	src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp
#	src/server/scripts/Kalimdor/zone_azshara.cpp
2015-10-16 11:56:53 +02:00
joschiwald
cf1e80e3d0 Core/Misc: removed some useless map checks 2015-10-04 14:53:05 +02:00
Shauren
cd27fd38b9 Core/Maps: Moved corpse management to map level 2015-09-28 17:20:27 +02:00
Nyeriah
e5eea44e0a Scripts/OnyxiasLair: Force Onyxia to enter evade mode if pulled out of her room
(cherry picked from commit b28849003c)
2015-09-24 22:56:14 +02:00
jackpoz
0fad953852 Scripts/Misc: Replace some unsafe WorldObject* class members in scripts with ObjectGuid
Replace some unsafe WorldObject* class members and derived types in scripts with ObjectGuid.
Code cleanup.

(cherry picked from commit 2f92a2f58e)

Conflicts:
	src/server/scripts/Northrend/Nexus/Nexus/boss_keristrasza.cpp
2015-09-24 22:34:18 +02:00
jackpoz
6193b8a28d Scripts/Misc: Fix possible crash
Fix possible NULL-dereference exception happening in PlayerOrPet checks used in Ulduar and Temple Of Ahn Qiraj

(cherry picked from commit 5f0f152345)
2015-09-24 20:39:42 +02:00
Shauren
a22e4e121a Core/Misc: Fixing warnings detected by Visual Studio 2015 compiler 2015-07-21 00:33:36 +02:00
Shauren
585f978c58 Core: Started work on 6.2.0.20182 2015-07-01 02:22:03 +02:00
Shauren
cec05ff07d Scripts/Zul'farrak: Fixed summoning Gahz'rilla
Fixes #5782 regression
2015-06-19 17:28:24 +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
Aokromes
6a1e2bcdad Scripts/Kalimdor: Ashenvale - add missing enum
(cherry picked from commit 16481d17aa)
2015-04-14 01:01:57 +01:00
Rushor
d05cd1a6d7 Scripts/Kalimdor: Ashenvale - Remove Torek C++ Script
(cherry picked from commit f49a1b0f1f)
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 1c8486e1a8)
2015-04-14 01:01:47 +01:00
Carbenium
6252330a77 Merge pull request #14491 from doctaweeks/fixes-for-6.x
Fixes for 6.x
2015-04-05 00:16:36 +02:00
Shauren
76cbf05a2e Misc: Fixed license header formatting 2015-04-04 13:11:32 +02:00
Daniel M. Weeks
b948a4275e Add missing override keyword in scripts 2015-04-02 22:28:05 -04:00
Gacko
58b4af6108 Sync changes from 3.3.5 non-pch build fix.
1995dcab76
2015-03-29 20:12:02 +02:00
Gacko
833d57fa27 Fix non-pch build 2015-03-29 16:50:40 +02:00
click
c696f2195d Core/Script: Fix non-PCH build
(cherry picked from commit 058457dda9)

Conflicts:
	src/server/scripts/Kalimdor/zone_bloodmyst_isle.cpp
2015-03-27 23:11:13 +01:00
MitchesD
65275fd57d Scripts/Misc: small changes after recent commits 2015-03-27 14:47:10 +01:00
Rushor
01ee7ecc69 Scripts/Bloodmyst Isle: Script Quest: Ending Their World
closes #1815

* Add missing Waypoint
* Improve Aggrobehaviour
* Add BroascasttextIDs
* Update to current GUID-Handling

Original Patch by @trickerer

(cherry picked from commit f1101b145b)
2015-03-26 16:14:38 +01: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
Golrag
b7a65ce9ef Core/Opcodes: SMSG_INIT_WORLD_STATES 2015-02-16 20:33:23 +01:00
Nayd
68d026709b Scripts: Remove scripts that were replaced by SAI in ba906b69e0 2015-02-02 04:03:59 +00:00
Vincent-Michael
b6eb66e192 Scripts/Kalimdor: Fix non pch build 2015-02-01 18:05:32 +01:00
Rushor
4e28b29e25 Scripts/Bloodmyst Isle: Disable CreatureAttack for NPC: Webbed Creature
(cherry picked from commit 644de8700c)
2015-02-01 00:16:19 +00:00