Commit Graph

19310 Commits

Author SHA1 Message Date
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 b0c4268a6b)

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 2f0c293266)
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 0cf0209741)

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 fc85f0e30f)
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
sirikfoll
309de9e71b Core/Spell Add Spell Script Needed for quest Torch Tossing/More Torch Tossing
Updated
2015-05-29 19:01:05 -03: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
Jens Bäckman
50d435ff28 Core/Spells: Fix DK Death rune selection 2015-05-29 12:11:54 +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 9d12df69ca (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 f85605b5f7)
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 6d12297ffa)
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
Kelno
c142282e34 Removed useless calculation in last commit 2015-05-20 16:16:11 +02:00
Kelno
9e985f81b4 Fixed a math error in SmartScript::DecPhase(int32) 2015-05-20 15:32:52 +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 4c7c2abf03)

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 48ee1f0033)

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 c5bbc9287d)
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 9d59d038f8)

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 23e8a3ce29)
2015-05-19 11:22:51 +01:00
Shauren
8c61e51fe5 Core/Transports: Moved teleporting transports to Map::DelayedUpdate
(cherry picked from commit 5c5cb3e555)
2015-05-19 11:12:14 +01:00
Shauren
970d7abf97 Core/Networking: Fixed possible msvc debug assertions in vector
(cherry picked from commit e4abbc0926)
2015-05-19 11:12:03 +01:00
jackpoz
d1efb90ae8 Scripts/Commands: Change few commands to target current Player by default 2015-05-17 16:16:32 +02:00
jackpoz
b5cc8c5b17 Scripts/ToC: Fix doors opening/closing during Dreadscale fight
Fix doors opening/closing during Dreadscale fight by sending a CloseDoor command instead of toggling the door state when Dreadscale resets its movement.
Note that bounding the door state to boss movement makes poor sense and should be changed. Other bosses in ToC have this logic and should be updated if they show the same bug.
2015-05-17 14:50:30 +02:00
jackpoz
5bd7c295c0 Core/NetworkIO: Adjust more packet throttling values
Adjust more packet throttling values by increasing some limits, this might fix some random kicks.
Close #14659
2015-05-13 22:29:49 +02:00
Nyeriah
da74aa526a Scripts/Ulduar: Fix a comple of issues with Flame Leviathan's towers
* Fix tower count being set to 0 once the first tower is destroyed due to bad logic
* Prevent towers from reducing counter twice (caused by event being sent twice by the gameobject when destroyed)
2015-05-12 14:16:51 -03:00
ariel-
36cdc47e8f Fixed some issues with PR #14157, kudos to @Nyeriah @Warpten:
* Moved scripts to other source file instead of having them on the instance cpp
* Removed magic number, use of DoAction instead of SetData to do the yelling
* Added spellscript for Remove Kargath's Executioner
* Saved victim GUIDs in instance script instead of checking nearby area
* Returning position as const-reference (by Naios)
2015-05-08 22:58:33 -03:00
tkrokli
95c07b6270 [Core/DB] Quest: The Exorcism of Colonel Jules
by @danlapps; closes #1524

Thanks to WoW-Studio@0aa81ca for doing most of the work
Thank to @Killyana for SQL walkthrough
Thanks to @Rushor for doing most of the converting work,
Thanks to @Nyeriah for pointers to solutions for all the errors
Thanks to @MitchesD for pointing out missing codestyle and errors
Thanks to @ccrs for supplying the ObjectAccessor lines
Thanks to @DDuarte for making me understand the changes
2015-05-09 01:32:04 +02:00