Commit Graph

7107 Commits

Author SHA1 Message Date
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
Duarte Duarte
04415f33a7 Merge pull request #13077 from mik1893/fear_vs_possess
Core/Unit: Do not give client control back to player after fear/confuse if player is under player charm (UNIT_STATE_POSSESSED)
2014-09-09 23:07:18 +01:00
mik1893
fef376c73c Core/Unit: Do not give client control back to player after fear
if player is under player charm (UNIT_STATE_POSSESSED)
2014-09-09 23:27:33 +02:00
Shauren
e0ce4528c5 Core/NetworkIO: Use reactor style sending on linux to reduce locking overhead 2014-09-09 19:19:25 +02:00
Vincent-Michael
a2ba49afa4 Core/Creature: Implement CREATURE_FLAG_EXTRA_IGNORE_PATHFINDING 2014-09-09 19:17:19 +02:00
Odyssey
54e201b8b9 Scripts/Commands: Allow to set a custom duration to the Freeze command applied Aura
- Allow to set a default duration for the Freeze Aura in worldserver.conf
- Handle the .freeze and .unfreeze command custom effects through the Freeze AuraScript
- Make players able to eventually unfreeze by themselves since the aura will expire without someone having to use .unfreeze
- Make .freeze command usable with the following syntax:

      * .freeze (with a targeted player)
      * .freeze duration_in_seconds (with a targeted player)
      * .freeze playername duration (if duration is an invalid value it will be defaulted to the config one)
      * .freeze playername (in this case, duration will be defaulted to the config value)

- Make .listfreeze command able to show the remaining freeze duration on all affected players

Closes #12972
2014-09-08 15:56:32 +01:00
Duarte Duarte
5e745f3fbb Merge pull request #13007 from mik1893/Stormstrike
Core/Spells: Stormstrike should stack for different casters
2014-09-08 14:17:13 +01:00
joschiwald
3930606032 Core/Scripts: made BossAI::CheckInRoom virtual 2014-09-08 05:02:03 +02:00
Shauren
d5e945eec8 Core/Misc: Named an unknown creature type flag 2014-09-08 00:19:02 +02:00
joschiwald
cfc0c50b5e Core/Misc: dropped obsolete GameObject::GetGameObject method 2014-09-07 21:03:25 +02:00
Vincent-Michael
c7e1eae2ce Core: Remove again whitespace (meh :/) 2014-09-07 04:06:50 +02:00
joschiwald
ef9b4aea5e Core/InstanceScript: refactored load and save methods 2014-09-07 00:42:14 +02:00
Vincent-Michael
80fe88337e Core: Fix git fail -.- 2014-09-06 03:12:51 +02:00
Vincent-Michael
76f1d5f221 SQL: Rename SQL after recent PR merge 2014-09-06 03:09:33 +02:00
Nyeriah
3b987c4a89 Scripts/Commands: Move instance command strings to database 2014-09-05 21:59:58 -03:00
Duarte Duarte
88045921a4 Merge pull request #13016 from Odyssey/pinfo
Scripts/Commands: Move cs_misc.cpp command output hardcoded strings to DB
2014-09-05 21:52:49 +01:00
Duarte Duarte
36f7cfbd04 Merge pull request #13039 from Nyeriah/pr-cmd
Core/Tickets: Send global GM system messages on ticket complete
2014-09-05 21:51:52 +01:00
Duarte Duarte
d3a50ffb59 Merge pull request #12954 from MrSmite/ResourceTracking
Allow players to track both herbs and minerals at the same time
2014-09-05 21:37:34 +01:00
MrSmite
31c00b0ce4 Allow players to track both herbs and minerals at the same time
Note: The following are client limitations and cannot be coded for:
      * The minimap tracking icon will display whichever skill is activated second
      * The minimap tracking list will only show a check mark next to the last skill activated (sometimes this
        bugs out and doesn't switch the check mark. It has no effect on the actual tracking though).
      * The minimap dots are yellow for both resources
2014-09-05 15:06:05 -04:00
Odyssey
5efd2579e5 Scripts/Commands: Move cs_misc command output hardcoded strings to DB so they can be localized too 2014-09-05 12:42:08 +02:00
mik1893
3c5c46ff33 Core/Spells: Stormstrike should stack for different casters
Solve issue when 2 enhancement shamans are attacking same target
2014-09-05 12:11:07 +02:00
Nyeriah
014adaa0fd Core/Tickets: Send global GM system messages on ticket complete 2014-09-03 17:25:36 -03:00
Discover-
beaf778a30 Merge pull request #12990 from Discover-/master
Core/SAI: Implement a new action type to make a creature (or targets in ...
2014-09-03 20:12:30 +02:00
Discover-
6066ec0949 Core/SAI: Implement a new action type to make a creature (or targets in list) start the closest waypoint available to them 2014-09-03 20:11:15 +02:00
jackpoz
1ef0bc4d23 Core/AuctionHouse: Fix issues reported by Coverity 2014-09-02 22:11:28 +02:00