Commit Graph
17748 Commits
Author SHA1 Message Date
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
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
Shauren 970d7abf97 Core/Networking: Fixed possible msvc debug assertions in vector
(cherry picked from commit e4abbc09266d5878d0a03b04f3d72ea68549997f)
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
jackpoz 1161295f4f Merge pull request #14641 from tkrokli/Fix_cast_on_fear_while_rooted
Core/Spells: Fix being able to cast while feared and rooted at same time

Disallow to cast if feared and rooted at same time
2015-05-06 20:21:21 +02:00
Nyeriah 2d349da2ac Scripts/Eye of Eternity: Provide players with drakes when entering instance after Malygos' demise 2015-05-05 02:04:04 -03:00
jackpoz 09aed25659 Scripts/VioletHold: Fix crash
Fix crash in Violet Hold happening when crystals were activated without killing trash mobs.
Crash added in cba6515acb and f4531c5a58 .
Closes #14629
2015-05-03 11:57:04 +02:00
tkrokli c54cbebf88 Fix: Can cast on fear if rooted [3.3.5a]
by @Xiledria; closes  #13964

Removes the ability to cast while in fear and rooted.
Tested and found working by @Raydor and @Xiledria
2015-05-03 02:08:32 +02:00
MitchesD 5dba91fb0e Core/SAI: SMART_ACTION_SET_COUNTER now can be used for all targets, not just for self
(cherry picked from commit feabc6dff18cfcd00647e885133d066fcbab0724)
2015-05-02 15:38:15 +02:00
Vincent-Michael 5745c880fd Core/Misc: Fix issues reported by static analysis
Coverity defect IDs: 1296295, 1296294
2015-05-01 18:09:07 +02:00
Vincent-Michael 67ce9924a2 Core/Spells: Fix typo 2015-04-29 20:48:41 +02:00
Vincent-Michael d178213f90 Core: Fix build 2015-04-29 20:33:29 +02:00
Shauren 88af3ffc2a Core/Socket: Removed unused synchronous read method
(cherry picked from commit 59e9bcf0bf44d89397f5a182e2ef21f7e3a3635d)

Conflicts:
	src/server/game/Server/WorldSocket.cpp
2015-04-29 00:06:19 +01:00
Shauren 8b07f1cd4d Core/GameObjects: Removed the possibility to spawn transports wih gm commands (such objects did not have any transport mechanics but could still cause crashes)
Closes #14542

(cherry picked from commit 149ff8da879a8286a01081d4ffb1f200a67ddefd)

Conflicts:
	src/server/game/Entities/GameObject/GameObject.cpp
	src/server/game/Entities/GameObject/GameObject.h
	src/server/game/Globals/ObjectMgr.cpp
2015-04-29 00:05:47 +01:00
Kittnz 6e1113a810 Core/Script: Make 2 remaining bridge parts active in Serpent Shrine 2015-04-27 19:25:26 +02:00