MitchesD
3c103f718d
Scripts/Misc: fixed GameObjects chests in CoS and HoR
...
Fixes https://github.com/TrinityCore/TrinityCore/issues/13246
2014-10-04 16:48:15 +02:00
jackpoz
79b9ca4a58
Scripts/Misc: Make InstanceScript::Initialize() obsolete
...
Move all InstanceScript initialization code from Initialize() to the constructor.
InstanceScript::Initialize() is now obsolete, please don't use it anymore. The only reason it's still in the sources is for backward compatibility.
2014-09-25 22:28:20 +02:00
jackpoz
6e27841382
Core/Misc: Refactor scripts to fix static analysis warnings
...
Seventh batch of fixes targeting 100 issues reported by Coverity
2014-09-21 22:15:04 +02:00
jackpoz
b5e3535dbf
Core/Misc: Refactor scripts to fix static analysis warnings
...
Sixth batch of fixes targeting 100 issues reported by Coverity
2014-09-20 20:21:54 +02:00
Malcrom
a32d15c4ef
Scripting/Tanaris: added a few enums
2014-09-19 01:40:15 -02:30
DDuarte
cefcde9ba9
Core/Misc: Multiple static analysis issues fixed (small optimizations and clear code)
2014-09-19 03:30:02 +01:00
joschiwald
e567ab9597
Core/Texts: added TextRange parameter to creature_text
...
Ranges:
0 - Normal (Default)
1 - Area
2 - Zone
3 - Map
4 - World
Ref #13116
2014-09-18 23:33:59 +02:00
Shauren
7d1d55124c
Merge branch 'ObjectGuid' of https://github.com/TrinityCore/TrinityCore
...
Conflicts:
src/server/game/Entities/Player/Player.cpp
src/server/game/Entities/Player/Player.h
src/server/game/Scripting/MapScripts.cpp
src/server/scripts/Northrend/Naxxramas/instance_naxxramas.cpp
src/server/scripts/Northrend/Nexus/EyeOfEternity/instance_eye_of_eternity.cpp
src/server/scripts/Northrend/Nexus/Nexus/boss_anomalus.cpp
src/server/scripts/Northrend/Nexus/Nexus/boss_magus_telestra.cpp
src/server/scripts/Northrend/Nexus/Oculus/boss_varos.cpp
src/server/scripts/Northrend/Ulduar/HallsOfStone/halls_of_stone.cpp
src/server/scripts/Northrend/Ulduar/Ulduar/boss_auriaya.cpp
src/server/scripts/Northrend/Ulduar/Ulduar/boss_freya.cpp
src/server/scripts/Northrend/Ulduar/Ulduar/boss_hodir.cpp
src/server/scripts/Northrend/Ulduar/Ulduar/boss_ignis.cpp
src/server/scripts/Northrend/Ulduar/Ulduar/boss_razorscale.cpp
src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_skadi.cpp
src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_svala.cpp
src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_ymiron.cpp
2014-09-16 21:50:01 +02:00
Shauren
9b316fe689
Core/Scripts: Fixed PCH build
2014-09-16 00:44:56 +02:00
Shauren
5ac62d9ca3
Core/Scripts: Fixed build zone_* scripts
2014-09-15 23:57:03 +02:00
Shauren
48deb443f9
Core/Scripts: Fixed build of misc scripts, only zone_* and instance_* remain
2014-09-15 22:52:09 +02:00
Shauren
a3d8f1d879
Core/Scripts: Fixed build of boss_* scripts
2014-09-15 22:07:11 +02:00
Shauren
6ce0a3107d
Core/Scripts: Changed GetGUID/SetGUID script hooks to operate on ObjectGuid class
...
Fixed compile for boss scripts starting with letters B, C and D
2014-09-15 00:23:47 +02:00
Shauren
56f46e3ce5
Scripts
...
* Introduced GetGuidData/SetGuidData to store guids in instance scripts (GetData64/SetData64 are still there)
* CONDITION_INSTANCE_INFO: Changed existing DATA64 condition to GUID_DATA to preserve current use of this instance info type (most/all assume the data is a guid) and moved DATA64 to a different value - no db changes needed
* Fixed compile in boss scripts starting with letter A
2014-09-14 23:23:23 +02:00
Vincent-Michael
b0270d547f
Core: Remove whitespace
2014-09-14 21:42:39 +02:00
Nyeriah
66c90122ec
Scripts/OnyxiaLair:
...
- Potential null pointer crash fix
- Reset react state properly on wipes during air phase
2014-09-14 12:16:07 -03:00
Vincent-Michael
5af2be7468
Scripts/Misc: Fix issues reported by static analysis
2014-09-13 23:15:00 +02:00
MitchesD
d9fdbb06e4
Scripts/CoS: Salarmm rewritten to BossAI/EventMap
2014-09-13 21:39:26 +02:00
joschiwald
59baaeec48
Core/Chat: cleanup MonsterText methods
2014-09-13 20:41:31 +02:00
Vincent-Michael
11bb300c69
Script/CoS: Fix quest credit for mal ganis (but @Aokromes like more HACKS)
2014-09-13 19:14:32 +02:00
MitchesD
cc00d2f181
Scripts/CoS: implemented Infinite Corruptor, improvements in instance script and Meathook converted to BossAI
...
Guardian of Time should have some text, but I have not found anything in sniff. Also the whole event needs to be rewritten and improved.
2014-09-12 14:46:41 +02:00
dkmbasura
08b2cf6cba
Scripts/The Barrens: Make BIG WILL attackable in quest id 1719 (the affray)
...
Closes #13072
Ref #4764
2014-09-09 22:57:57 +01:00
Nyeriah
8907904757
Scripts/Onyxia Lair: Slight change so we don't call Reset() in the 'ctor
2014-09-08 18:02:06 -03:00
Nyeriah
e181af1b1c
Scripts/Onyxia Lair: Some small improvements to GUID storage as it's only used locally
2014-09-08 17:10:46 -03:00
jackpoz
df7f188cfe
Core/Misc: Refactor scripts to fix static analysis warnings
...
Fourth batch of fixes targeting 100 issues reported by Coverity
2014-09-07 20:12:54 +02:00
joschiwald
ef9b4aea5e
Core/InstanceScript: refactored load and save methods
2014-09-07 00:42:14 +02:00
Duarte Duarte
4e9a976829
Merge pull request #13008 from mik1893/onyxia
...
Scripts/Onyxia Lair: small rework
2014-09-05 21:55:29 +01:00
jackpoz
6df2ff5efa
Core/Misc: Refactor scripts to fix static analysis warnings
...
Third batch of fixes targeting 100 issues reported by Coverity
2014-09-05 22:44:24 +02:00
mik1893
87ed5de7e6
Scripts/Onyxia Lair: small rework
...
- fix crash on boss death
- avoid abusing during phase switch
- added better facing through trigger
- corrected some timers
- corrected inhabit type
- cleanup and inheriting some BossAI functionalities instead of custom stuff
2014-09-04 18:08:09 +02:00
DDuarte
430b3adfe8
Scripts: Correct despawn time of multiple objects
...
WorldObject::SummonGameObject respawn time is in seconds and not milliseconds
2014-08-26 13:37:55 +01:00
jackpoz
7fe7f30521
Core/Misc: Fix some -Wconversion warnings
2014-08-23 19:56:41 +02:00
joschiwald
ccfa82e7d5
Core/Creature: update creature_template and some other small things
...
http://www.trinitycore.org/f/topic/9572-creature-damage/
2014-08-14 16:09:14 +02:00
jackpoz
8402570bb8
Scripts/Misc: Fix static analysis issues
...
Replace CAST_AI() macro with ENSURE_AI() when dynamic_cast is not supposed to return NULL.
2014-08-09 00:12:20 +02:00
Vincent-Michael
24a14979fe
Scripts/BloodmystIsle: Fix StartUp Errors
2014-07-29 20:16:37 +02:00
Dr-J
6a6351d98c
Update razorfen_downs.cpp
2014-07-28 23:41:17 +01:00
DDuarte
3de1714350
Scripts&DB/Feralas Convert npc_screecher_spirit to SAI
...
SAI by @Rushor and gossip by @malcrom
Closes #12630
2014-07-24 16:38:18 +01:00
untaught
3009bb4808
Scripts/Darkshore: Fix an issue with the quest Gyromast's Revenge
...
TODO: Rewrite the script in SAI
Closes #11987
Signed-off-by: DDuarte <dnpd.dd@gmail.com >
2014-07-24 15:18:04 +01:00
Rushor
79c83dc4db
Scripts/Feralas: Make Screecher Spirit disappear after clicking on them
...
This is a temporary solution, the script should be rewritten in SAI
Closes #12298
Signed-off-by: DDuarte <dnpd.dd@gmail.com >
2014-07-24 03:25:32 +01:00
jackpoz
3388587b7a
Core/Misc: Replace rand() calls with SFMT
2014-07-22 21:43:19 +02:00
Subv
dfdc19f3bc
Merge branch master into boost
...
Conflicts:
BattlegroundMgr.h
2014-07-13 16:52:38 -05:00
Aokromes
5f1b52acf4
Remove github fuckup
2014-06-24 06:35:42 +02:00
Aokromes
41eb262172
Script/Dustwallow mars: Remove no longer needed script
2014-06-24 06:33:44 +02:00
Sebastian Valle Herrera
36102bea64
Merge pull request #12039 from Trisjdc/creature_ai_talk
...
Core/CreatureAI: Implement CreatureAI::TalkToMap for all your map-wide talking needs
2014-06-05 10:50:23 -05:00
jackpoz
1083dbb993
Core/Misc: Remove Unit::Get* wrappers for ObjectAccessor::Get*
2014-05-20 21:21:33 +02:00
Shauren
f9c7bb4171
Partially revert f296095191 "Fix various warnings. The core, the scripts and the tools now compile without warnings with -Wall -Wextra -pedantic."
...
Visual studio does not support constexpr
Made semicolon after "Prepare*Script" mandatory - workaround for dumb IDEs inserting extra indentation level after newline
2014-05-18 12:50:10 +02:00
Praetonus
f296095191
Fix various warnings. The core, the scripts and the tools now compile without warnings with -Wall -Wextra -pedantic.
...
-Fix warnings from -Woverflow on implicit constant conversion.
-Fix warnings from -pedantic.
-Fix warnings from -pedantic.
-Fix warnings from -Wformat.
Two minor changes in addition :
-Replace a defined value equal to 2^31 - 1 by std::numeric_limits<int>::max().
-Remove useless null-check on pointer returned by new. New doesn't returns nullptr on failure, it throws std::bad_alloc.
2014-05-15 21:32:47 +02:00
Trisjdc
106c54cf25
Core/CreatureAI: Implement CreatureAI::TalkToMap for all your map-wide talking needs. Could also replace Battleground::SendChatMessage
2014-05-09 10:19:44 +01:00
Dehravor
cbd36d5a4e
Core/Misc: Remove remaining COMPILER_HAS_CPP11_SUPPORT related macros
2014-05-01 11:19:32 +02:00
Dehravor
24ae6a6802
Core/Misc: Remove obsolete C++11 backward compatibility macros
...
OVERRIDE, FINAL, DELETE_MEMBER
2014-04-29 16:35:11 +02:00
joschiwald
84bff76ba0
Core/Misc: remove some obsolete parameters
2014-04-28 20:05:36 +02:00