Commit Graph
28640 Commits
Author SHA1 Message Date
Naios 74a588b462 Core/Misc: Replace tc's optional with boost::optional. (very partial cherry-pick)
* benefits from empty optimization (objects are only constructed if needed).
* supports r-value references (move semantics) (boost >= 1.56.0).
* preparation for c++14/17's std::optional and std::none_t.
* add move constructor to CompactArray.

(cherry picked from commit 800d5d893964a82265577d3352d683035b589f78)
2016-07-19 13:37:37 +02:00
Aokromes a71da1c603 Entities/Unit: Finally fix no-path evasion.
- When a creature cannot find a path to its victim, it begins evading all attacks and regenerating health.
- If this persists for 5 seconds, it evades back to spawn position with new EvadeReason value EVADE_REASON_NO_PATH.
- Also some SmartAI cleanup (why oh why does it have so much duplicated code) and getting rid of #defines in favor of type-checked compile-time constants.
2016-07-19 13:33:04 +02:00
Aokromes cf47ef8be0 Build Fix 2016-07-19 13:04:50 +02:00
Aokromes f5de65fd96 Core/Misc: MSVC /W4 warning fixes 2016-07-19 13:02:54 +02:00
Aokromes 9c1b965136 Core/Misc: MSVC warning fixes 2016-07-19 12:40:58 +02:00
Aokromes 4e7dabc09d Core/Commands: Prevent creating accounts containing '@' character with .account create command 2016-07-19 12:27:06 +02:00
Aokromes 3f0c7f6b2f Core/Spells: Renamed EnsureSpellInfo to AssertSpellInfo to minimize differences between branches 2016-07-19 12:02:52 +02:00
Aokromes eaf9d524e8 Entities/Unit: Fix aggression checks when testing player pets vs neutral creatures.
Pets will no longer be able to attack unattackable creatures in some situations.
2016-07-19 11:51:41 +02:00
Rochet2 7378c2ba97 Add missing GAME_API exports 2016-07-19 11:33:55 +02:00
Aokromes 5c5977bd48 Core/Tools: Fix pdump load 2016-07-19 11:22:15 +02:00
Aokromes 11c028f4bb Core/Tools: Fix pdump write 2016-07-19 11:08:51 +02:00
Golrag 9179cd478d Core/Object: Use object edges to calculate LoS 2016-07-19 11:06:20 +02:00
Aokromes a700983a55 Update Pull Request template 2016-07-19 11:03:32 +02:00
Aokromes f0400b7ae6 Make travis happy 2016-07-19 08:31:37 +02:00
Aokromes bbaf1216df Core/Spells: Fixed all cases of spells that crash the client when pressing ESC after being cast 2016-07-18 22:06:16 +02:00
Aokromes 8c45b115f7 Core/Spells: Glyph of the Monkey
By Linrasis @ ArkCORE
Closes #79
2016-07-18 21:37:13 +02:00
Aokromes 193489f3a7 Core/Players: Split playerBytes fields in characters table
(cherry picked from commit 2a6f65f)
(i think i don't have broken nothing, loged with fresh created chars and old chars and all looks to be ok)
2016-07-18 21:14:24 +02:00
Aokromes 068f978298 DB/Misc: Delete duplicate file 2016-07-17 16:42:37 +02:00
Keader 07f1bde1c3 Core/Scripts Improve Felflame Infernal of Lord Jaraxxus fight (#16998) 2016-07-17 16:42:10 +02:00
Meruemu a711f63ccd Core/Scripts: Fix array out of bounds in boss_mother_shahraz.cpp. (#17434)
Fix an error in Prismatic Shield auras and Fatal Attraction teleport points selection (was introduced in https://github.com/TrinityCore/TrinityCore/commit/fb63c8e915986650f787de62859e1f818d1d96c7)
2016-07-17 16:36:01 +02:00
Aokromes 42347feca9 DB/Misc: Delete duplicate files 2016-07-17 16:33:36 +02:00
SnapperRy 55fc90fbc3 Event/Midsummer: improve pole ribbon functionality (#17464)
Event/Midsummer: improve pole ribbon functionality:

- Bunny creature should hover, which puts it in the intended position.
- Use correct visual and internal spells to handle cosmetics and timers.
2016-07-17 16:32:52 +02:00
Aokromes 726eb7bdef Scripts/Midsummer: Burning hot pole dance (#17445)
* Scripts/Midsummer: Burning hot pole dance
By  zwerg, closes #6876
2016-07-17 16:31:22 +02:00
Aokromes e2c68dc2f4 DB/Misc: Fix startup errors 2016-07-17 16:28:24 +02:00
Warpten 95e703c4fb Scripts/RubySanctum: Fix missing break reported by Coverity. 2016-07-17 16:26:38 +02:00
Aokromes 62c7ad7f1f DB/Misc: delete duplicate file 2016-07-17 16:26:20 +02:00
Gustavo 58aaccb8af Core/Scripts Corrections on Halion's Encounter (#16725)
Core/Scripts: Updates to Halion

* Fixed Combustion and Consumption.
* Fixed Living Embers and Blazing Auras.
* Timer changes.
2016-07-17 16:25:39 +02:00
Aokromes b67e304c88 DB/Misc: fix some startup errors 2016-07-17 16:17:56 +02:00
Aokromes 24f1927c97 Core/Scripts: Delete unused code 2016-07-17 15:55:20 +02:00
Aokromes e6b2ae406d DB/Misc: delete duplicate file 2016-07-17 15:52:46 +02:00
Andrew Letson 3dd392ffca Core/Scripts: Migrate Shadowmoon Valley NPC's to SAI (#17373)
* Migrate Flanis Swiftwing and Kagrosh to SAI and more.
2016-07-17 15:51:51 +02:00
Aokromes 968acf9d00 DB/Misc: delete duplicate file 2016-07-17 15:25:10 +02:00
SnapperRy 9c13a846f9 Core/Creature: implement INHABIT_ROOT to apply UNIT_STATE_ROOT to creature (#17543)
Add flag 8 to InhabitType for creatures that should appear rooted client-side
2016-07-17 15:23:47 +02:00
Aokromes e6e188c177 Core/Misc: Fix compile 2016-07-17 14:50:56 +02:00
Keader f8a5ca9f6c DB/Misc: delete duplicate file 2016-07-17 14:16:18 +02:00
Keader 64237ae3f8 Changing remove aura method 2016-07-17 14:14:58 +02:00
Keader de7b532e68 Fixing the issue 2016-07-17 14:14:40 +02:00
Keader 076d150d4b Rename spell_snakes_spray for spell_jormungars_snakes_spray and cleanup 2016-07-17 14:14:27 +02:00
Keader 62b97ff51d Core/Scripts Improve Jormungars fight 2016-07-17 14:14:05 +02:00
ariel- afc0718191 Core/Player: fix crash
Closes  #17073
2016-07-17 14:12:28 +02:00
ariel- e4884f26c8 Core/OutdoorPvP: fix bad storage of guids, spawnId must be saved because that's what is expected
Closes #8597
2016-07-17 14:12:15 +02:00
ariel- cc0a993034 Core/Misc: remove two synch queries and replace them with CharacterInfo cache 2016-07-17 14:11:56 +02:00
ariel- 1a6f3472da Core/Misc: remove unused function prototype 2016-07-17 14:11:33 +02:00
ariel- c5eb45f6ea Core/LFGMgr: fix race condition in _SaveToDB 2016-07-17 14:10:57 +02:00
ariel- 4509d34d5f Core/ArenaTeamMgr: fix race condition in LoadArenaTeams 2016-07-17 14:07:40 +02:00
Aokromes a7ebf93d65 Minimize difference 2016-07-17 14:06:29 +02:00
ariel- 0d5a48a5c6 Core/World: fix race condition in _UpdateRealmCharCount 2016-07-17 14:02:30 +02:00
Aokromes 8775df051b Make travis happy.. need someone to port 3.3.5 commits to fix this properly. 2016-07-17 12:59:02 +02:00
Aokromes edb93243fb Compile fix.
Value of 3 from other projects, needs to verify.
2016-07-17 11:24:43 +02:00
Aokromes c107459037 Another step on compile fix, need to known proper values for WorldPacket data row to fully fix compile 2016-07-17 10:51:49 +02:00