Commit Graph
6781 Commits
Author SHA1 Message Date
Shocker 80f77977f1 Core/Grids: Replace some magic numbers with constants
(P.S.: That's why! @cs_misc.cpp)
2014-09-19 18:03:49 +03:00
DDuarte c678eaa71e Core/MapScripts: Use proper enum value for boss whisper in SCRIPT_COMMAND_TALK 2014-09-19 15:19:53 +01:00
DDuarte 878b7d3811 Core/MapScripts: Use proper source unit in SCRIPT_COMMAND_TALK
Closes #13161
2014-09-19 15:04:24 +01:00
DDuarte 256ad379dd Oops. 2014-09-19 03:39:57 +01:00
DDuarte cefcde9ba9 Core/Misc: Multiple static analysis issues fixed (small optimizations and clear code) 2014-09-19 03:30:02 +01:00
joschiwald e6b7de8c97 Fixed build 2014-09-19 04:20:01 +02:00
joschiwald 0f1f7ef401 Core/Misc: multiple changes
* fixed build
* apply tc codestyle to ObjectGuid class
* fixed warning
2014-09-19 03:16:59 +02:00
joschiwald 9d9919f6e0 Core/AreaTriggers: enable areatrigger teleports in battleground
Closes #11999
2014-09-19 01:48:35 +02: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 31656c0213 Core/Trade: Fixed enchanting soulbound items in trade
Closes #12850
2014-09-18 21:15:39 +02:00
Vincent-Michael ad49bd5194 SQL: Fix sql import 2014-09-18 06:05:38 +02:00
joschiwald 72ed5bfc93 Core/Misc: changed trinity string id to unsigned and removed obsolete code 2014-09-18 02:36:28 +02:00
joschiwald b08dcb1d99 Core/Scripts: implemented a guid map in InstanceScript, this way you can easier store guids and access its objects 2014-09-18 00:25:05 +02:00
joschiwald 053beae172 Core/Spells: consider spell speed in SPELL_EFFECT_CHARGE
Misc: removed some duplicate guid words in logs
2014-09-17 23:24:31 +02:00
Shauren e57a63939e Core/NetworkIO: Fixed queued packets not being properly sent causing players to be stuck during loading
Closes #13120
2014-09-17 23:06:34 +02:00
MitchesD 763a21d376 Merge pull request #13159 from ShinDarth/335_fix2
Corrected grammar of some strings
2014-09-17 19:29:21 +02:00
ShinDarth 1a068659b6 Core/Grammar: corrected grammar of some strings 2014-09-17 19:03:15 +02:00
Duarte Duarte 048e043d0d Merge pull request #13154 from Unholychick/casts
Core/Spells: Fix some -Wconversion warnings
2014-09-17 16:09:18 +01:00
Vincent-Michael 7db99ca007 Core: Fix warnings 2014-09-17 16:58:08 +02:00
DDuarte af7daba02d Core/SAI: Remove SMART_ACTION_STORE_VARIABLE_DECIMAL
It's not used.
2014-09-17 01:07:29 +01:00
Unholychick 6477e96cca Core/Spells: Fix some -Wconversion warnings
Attempt to fix #13152 by properly casting between data types during damage calculations.
2014-09-16 23:56:05 +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 9b933b4a29 Core/Misc: Removed explicit qualifier from ObjectGuid uint64 conversion operator 2014-09-16 20:57:11 +02:00
Shauren 878073d516 Core/Logging: Fixed incorrect usage of guid in logs 2014-09-16 20:47:08 +02:00
Shauren bee9a3069b Core/Scripts: Fixed incorrect guid usage in logs 2014-09-16 19:56:33 +02:00
Shauren 6c1a33d62d Core/Scripts: Fixed incorrect guid usage in logs 2014-09-16 19:47:10 +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
jackpoz 9337e257fc Merge branch 'mik1893/fear-vs-stun'
Merge PR #13095 into master
2014-09-14 21:03:17 +02:00
Shauren d72c4085de Core/Misc: Fixed build without pch 2014-09-14 17:29:13 +02:00
Shauren 2a1a294383 Scripts/Commands: Fixed build with -DSCRIPTS=0 2014-09-14 16:54:21 +02:00
jackpoz 16f0f05d44 Core/Misc: Fix issues reported by static analysis 2014-09-14 16:34:15 +02:00
Shauren a0e50ea35f Core/Entities: Use ObjectGuid class in game project 2014-09-14 16:14:12 +02:00
Sebastian Valle Herrera 1e5f269d7d Core/Quests: Don't display a message if the player doesn't meet the requirements for the next (automatic) quest in a chain. 2014-09-13 16:40:52 -05:00
joschiwald 59baaeec48 Core/Chat: cleanup MonsterText methods 2014-09-13 20:41:31 +02:00
ccrs 05aa0d51b1 Core/Units: Take into account HoverHeight in IsWithinMeleeRange
Fixes #12059
Closes #13104
2014-09-13 14:06:37 +01:00
ShinDarth dbbc5bfb50 Core/BG: use new GetUniqueBracketID() method to store statistics
Closes #13122
2014-09-13 13:54:05 +01:00
DDuarte 27479cf571 Core/Scripts: Nuke db_script_string table and make SCRIPT_COMMAND_TALK with broadcast_text instead
Original code by @Ascathor with modifications
Closes #13092
2014-09-13 02:45:51 +01:00
Shauren ce67a097bf Core/Entities: Use new PackedGuid class 2014-09-13 01:12:16 +02:00
Shauren 2fc52b5af6 Core/Entities: Added ObjectGuid class from MaNGOS 2014-09-12 23:49:30 +02:00
Shauren b3f7210f4d Core/WorldSocket: Refactored client packet header check 2014-09-12 20:25:13 +02:00
DDuarte dcba0106d6 Core/Skills: Fix rogue's lock picking
Fixes #12677
Closes #13111
2014-09-12 18:11:19 +01:00
Subv b7865a3eb5 Core/Quests: Only prompt the player to take the next quest in a chain if he meets the conditions for that quest. 2014-09-12 11:32:50 -05:00
DDuarte b3166030a0 Core/Group: Update enum GroupType 2014-09-12 02:15:14 +01:00
mik1893 6153aa7b74 Core/Unit: Fix some movement issues when multiple controls are applied 2014-09-11 10:27:33 +02:00
Shauren 5f62f1b6d2 Core/Misc: Fixed build with intel compiler 2014-09-10 21:18:28 +02:00
Duarte Duarte 9b2737c068 Core/Loot: Fix a possible unintialized slot_type in LootMgr
Noticed by @joschiwald
2014-09-09 23:40:35 +01:00
DDuarte 2bba219106 Core/Loot: Fix some issues with master loot
Thanks to @PortgasDAce for the initial patch

Closes #12732
2014-09-09 23:11:37 +01:00