Commit Graph
17766 Commits
Author SHA1 Message Date
Shauren ee4ace8c34 Core/Auth: Implemented starting authserver as a windows service 2015-06-06 13:04:31 +02:00
pete318 f9cba93985 Core/Spells: Support for targetting spells onto in flight units
* This adds support to spell_custom_attr to allow a spell to be cast
  upon a unit on a taxi/in flight.
* This will allow the Issue #11880 with Horde quest Test At Sea (11170) to be corrected.
* closes #14235

Signed-off-by: Naios <naios-dev@live.de>
2015-06-04 13:35:05 +02:00
jackpoz 239f0b4ad0 Core/Player: Don't allow to join bg/lfg when frozen by a GM 2015-06-03 22:08:01 +02:00
jackpoz a7847728a5 Scripts/Auchindoun: Fix distance check in boss Shirrak
Issue added in 88137c07b9
2015-06-03 20:40:08 +02:00
Naios 151a0f5c5e Core/Shared: Hide the internal shared_ptr of the TaskContext
* use . operator instead of -> to access the TaskContext now.
* Add TaskContext::IsExpired to check whether the owner has expired.
2015-06-03 18:24:21 +02:00
pjasicek 6a637f6b1c Core/Matchmaking: Fix Discard Time overflow on server start
Description:

When server starts and RatingDiscardTimer config is set to some value, discardTime being unsigned int overflows for the time of RatingDiscardTimer value and causing all rated arena matches ignore matchmaking rating for that time.
2015-06-03 02:44:36 +02:00
Carbenium fa6a063329 Core/Creature Fix compiler warning 2015-06-02 20:13:12 +02:00
jackpoz 83cf1e6aec Core/Player: Fix resurrection exploit
Fix an exploit that allowed to resurrect even if corpse was not in range (teleport hack was required too)
2015-06-02 19:16:42 +02:00
Carbenium 52ea75c735 Merge pull request #14811 from tkrokli/Knockback_flying_mount
Core/Movement: Knockback Effect on Flying Mount
2015-06-02 15:14:03 +02:00
Carbenium 125d839a18 Merge pull request #14780 from mik1893/immune_to_npc_flag
Core/Creature: UNIT_FLAG_IMMUNE_TO_NPC check only vs non-player targets
2015-06-02 14:40:11 +02:00
robinsch 81111116fa Core/Movement: Knockback Effect on Flying Mount
by @robinsch; closes #6099

Keep the mounted player flying after the knockback effect cast on mounted player.

Before these changes, the flying mount behaves like a ground mount after the knockback.
From large enough heights, the fall causes damage or death to the falling (mounted) character.
2015-06-02 04:26:40 +02:00
jackpoz 1a5051a9c3 Core/CrashHandler: Make crashhandler tread-safe
Handle only 1 exception in the whole process lifetime and create only 1 crash report.
2015-06-01 21:43:57 +02:00
robinsch 198ffba5ee Core/Auras: Fixed SPELLMOD_DOT not being applied
Closes #14817

Signed-off-by: Shauren <shauren.trinity@gmail.com>
2015-06-01 18:33:01 +02:00
DDuarte 08b8dd10d1 Core/GOs: Correct type of lowGuid when loading gameobject_addons
Coverity IDs: 1302436 1302437 1302438

Issue introduced in 95b5e35745
2015-06-01 02:09:45 +01:00
DDuarte 1e54097084 Core/Scripts: Corrected argument types in GetCreatureEntry/GetGameObjectEntry ZoneScript hooks
(cherry picked from commit b0c4268a6b0ed1fffeb51c7542c7991399b18284)

Conflicts:
	src/server/game/Entities/GameObject/GameObject.cpp
2015-06-01 00:44:11 +01:00
Shauren b239cadf41 Core/Misc: Removed some old unused enums
(cherry picked from commit 2f0c293266837eca217d2bff1df8b78ac6e12867)
2015-06-01 00:41:54 +01:00
MitchesD db8fdd94ed Merge pull request #14782 from doctaweeks/fixes-for-6.x
Minor fixes for 6.x
(cherry picked from commit 0cf02097414ddf7a370bd2efef5b892616e8de93)

Conflicts:
	src/server/bnetserver/Main.cpp
	src/server/game/Battlegrounds/Zones/BattlegroundBFG.h
	src/server/game/Battlegrounds/Zones/BattlegroundTP.h
	src/server/game/Chat/Channels/Channel.h
	src/server/game/Entities/Player/Player.h
	src/server/game/Quests/QuestDef.h
	src/server/scripts/OutdoorPvP/OutdoorPvPNA.h
	src/server/shared/Cryptography/SHA256.h
2015-06-01 00:39:56 +01:00
Duarte Duarte be2fb616c7 Update worldserver.conf.dist
Fix typo in ClientCacheVersion
(cherry picked from commit fc85f0e30fed383515f3d519dcef2cb87e3ee854)
2015-06-01 00:34:38 +01:00
Naios da77a90aa9 Shared/Util: Introduce a task scheduler which schedules task with c++11 techniques.
* Use std::function as callback (methods, lamdas & std::bind).
* Uses std::chrono::duration as duration type (Milliseconds, Seconds...)
  - With c++11 user defined literals we could just write "11s" for example (MSVS 2015, gcc & clang).
* Provides a lot of overloads for easier usage:
  - Static durations or random durations between min and max.
  - Named (with group ids - group id 0 is possible) or anonymous tasks.
  - Asynchronous tasks.
* Is adapted to the current needs of scripting:
  - Repeat tasks through the TaskContext
  - Schedule new tasks from the context.
  - Provides access to the times repeat counter of a task,
    this will help to schedule multi step events (dialogs for example).

See https://gist.github.com/Naios/6d143538abdc3d32fd2b for usage examples.
2015-05-31 19:32:09 +02:00
jackpoz 1e429f3b4c Core/Misc: Fix build warning
Fix build warning
2015-05-31 00:04:26 +02:00
jackpoz 391c81d86c Core/Misc: Fix issues reported by static analysis
Coverity defect IDs: 1023115
2015-05-31 00:01:31 +02:00
jackpoz 25881ca95f Core/Misc: Fix issues reported by static analysis
Coverity defect IDs: 1022861, 1022862, 1022863, 1302435, 1302439, 1302440
2015-05-30 23:09:34 +02:00
Sarah Alexander b3c8c4f34d Merge pull request #14753 from Rushor/Ihaveadream
DB/Quest: No Mere Dream
2015-05-29 13:27:49 -03:00
Rushor 3625d83cd9 DB/Quest: No Mere Dream
closes #11252
2015-05-29 17:40:28 +02:00
glkrlos fd660d725d Core/Updater: Fix issues when connecting through unix sockets.
* closes #14766
* closes #14759

Signed-off-by: Naios <naios-dev@live.de>
2015-05-28 18:30:03 +02:00
mik1893 e7484151d5 Core/Creature: Remove not needed flag for UNIT_FLAG_IMMUNE_TO_NPC
closes 14744
2015-05-28 13:25:56 +02:00
tkrokli 9325f18528 [3.3.5a][ICC/Professor Putricide] Volatile Ooze Eruption fix
by @ManuFe and @Rushor; closes #12336

In the existing source, the rooting aura is removed after the explosion,
therefore the knockback effect does not work because the player is still rooted.
By swapping these 2 lines, the aura is removed, then the explosion happens.

Result: rooting is removed before the knockback effect is cast on the player.
2015-05-27 06:42:14 +02:00
MitchesD 82a6cbcad4 Merge pull request #14613 from ariel-/shathalls
Fixed some issues with PR #14157
2015-05-26 11:52:30 +02:00
Gecko32 dc13cf0134 Core/SpellHistory: Fix school lockout not being sent to client
Closes #14762
2015-05-25 15:36:38 -03:00
DDuarte cb9ef69732 Core/Movement: Fix a typo in FlightPathMovementGenerator::InitEndGridInfo()
Added in 916ce6f4f3
Thanks @Rochet2 for finding it
2015-05-24 14:52:20 +01:00
MitchesD d898ade5a9 Merge pull request #14748 from Rushor/druid
Scripts/Spells: Curing the Sick - Add Questcredit
2015-05-24 14:21:34 +02:00
Rushor a961177d20 Scripts/Spells: Curing the Sick - Add Questcredit
closes #14688
2015-05-24 14:16:47 +02:00
jackpoz ec4b08e3cf Core/CrashHandler: Log STACK_OVERFLOW crashes
Try to log STACK_OVERFLOW crashes by allocating log buffer on the heap which should still be in a valid state with a stack overflow exception.
This will probably still not produce a complete crash report with details about all stackframes.
2015-05-23 23:15:56 +02:00
Gacko 1d9fb0cba1 Fix non pch build.
I'm thinking about creating an bash alias for this message...
2015-05-23 19:35:24 +02:00
MitchesD c356c05694 Merge pull request #14735 from Rushor/Insight
Game/Spells: Spellmgr - Insight - Add ProcCharges
2015-05-22 16:41:12 +02:00
Rushor 9fcbe50ddb Game/Spell: Spellmgr - Force Cast - Fix Typo
* introduced in https://github.com/TrinityCore/TrinityCore/commit/9d12df69ca77a6c5522a0803d6aa5b8328575a13#diff-f82ab5d79483dd6e1f5bd8c4d94299d3R2958
2015-05-22 15:36:20 +02:00
Rushor d0ea974f71 Game/Spells: Spellmgr - Insight - Add ProcCharges
closes #14734
2015-05-21 18:35:06 +02:00
joschiwald 8afa15ef15 Core/BG/SOA: fixed interaction with flags and titan relic
Closes #13091
2015-05-21 13:36:28 +02:00
Shauren 1f076a395f Scripts/Icecrown Citadel: Fixed Ice Tomb during phase 3 of Sindragosa encounter
(cherry picked from commit f85605b5f78f73c53a56874161155416b64ec078)
2015-05-21 00:03:11 +02:00
Carbenium be6c53e949 Scripts/Commands: Fix LANG_PINFO_MUTED in HandlePInfoCommand
Closes #14560
Thanks @Mack36

(cherry picked from commit 6d12297ffa4ce33db5513937852d151917085d23)
2015-05-20 17:52:29 +02:00
joschiwald 6d87f96e21 Core/Spells: fixed creatures stucks at 1 hp when a health increasing aura gets removed
Closes #13639
2015-05-20 17:08:58 +02:00
Carbenium 9d12df69ca Core/Spells: Fix summon position of Argent Valiant
Ref #8718
2015-05-20 00:15:02 +02:00
Carbenium 64bed16a57 Scripts/Icecrown: Move Squire David to SmartAI 2015-05-19 23:20:26 +02:00
Shauren ba9e0de36d Core/Misc: Removed gcc specific packing pragma syntax - only unsupported (now) versions required it
(cherry picked from commit 4c7c2abf03b692e67a89d2ba0856aec1553c8ae1)

Conflicts:
	src/server/bnetserver/Packets/BitStream.h
	src/server/shared/Common.h
2015-05-19 21:47:48 +01:00
Shauren 8a013ba0fb Core/Misc: Moved Position to its own file
(cherry picked from commit 48ee1f003347910a48183f768501c1080fc40269)

Conflicts:
	src/server/game/Entities/Object/Object.cpp
	src/server/game/Entities/Object/Object.h
	src/server/game/Spells/Spell.cpp
2015-05-19 21:44:39 +01:00
Duarte Duarte f4c1a8fb2d Merge pull request #14454 from ariel-/cd
Port Core/Spells: Cooldown updates (6.x branch)
2015-05-19 18:52:05 +01:00
Rat 6dcfe9ba17 Core/GameObjects: fixed build in gcc
(cherry picked from commit c5bbc9287d1e8ae9335598780ebd7db47b522fb2)
2015-05-19 13:58:40 +01:00
DDuarte 916ce6f4f3 Fix build after recent cherry-picks
- Rename fields in TaxiPathNodeEntry to match 6.x names
- Add LowType to ObjectGuid
2015-05-19 12:30:06 +01:00
Rat 95b5e35745 Core/GameObjects: Implemented gameobject_addon table, you can now set invisibility for gameobjects for quests
(cherry picked from commit 9d59d038f8b09ed036448e755cb0b102396a4ca1)

Conflicts:
	sql/updates/world/2015_04_05_07_world.sql
	src/server/game/Globals/ObjectMgr.cpp
	src/server/game/Globals/ObjectMgr.h

Core/GameObjects: fixed typo and logic (0 is a valid invisibility type)

(cherry picked from commit 23e8a3ce2928458649d94408d5deffb67339b1d6)
2015-05-19 11:22:51 +01:00
Shauren 8c61e51fe5 Core/Transports: Moved teleporting transports to Map::DelayedUpdate
(cherry picked from commit 5c5cb3e555da279b45ccff19b5ab4fc2656c75e2)
2015-05-19 11:12:14 +01:00