Commit Graph
20814 Commits
Author SHA1 Message Date
pjasicek fc214b90ff 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.

(cherry picked from commit 6a637f6b1c186eb15373fce443d729dcc74e5361)
2015-06-26 03:19:29 +01:00
jackpoz 9382678b2b Core/Player: Fix resurrection exploit
Fix an exploit that allowed to resurrect even if corpse was not in range (teleport hack was required too)

(cherry picked from commit 83cf1e6aec0594f7d92bdebf52239867c3fd3abc)

Conflicts:
	src/server/game/Entities/Player/Player.h
2015-06-26 03:18:38 +01:00
Carbenium 4a9bbbda14 Merge pull request #14780 from mik1893/immune_to_npc_flag
Core/Creature: UNIT_FLAG_IMMUNE_TO_NPC check only vs non-player targets
(cherry picked from commit 125d839a1878d3d3d0cbc193298f385560e268c9)
2015-06-26 02:59:41 +01:00
jackpoz edc2476e84 Core/CrashHandler: Make crashhandler tread-safe
Handle only 1 exception in the whole process lifetime and create only 1 crash report.

(cherry picked from commit 1a5051a9c3b8246e92543962c04c3883c4d03f5f)
2015-06-26 02:59:27 +01:00
joschiwald 985e417f47 Core/Spells: fixed creatures stucks at 1 hp when a health increasing aura gets removed
Closes #13639

(cherry picked from commit 6d87f96e21f515b1500ecdd10576517d23b30cd4)
2015-06-26 02:56:58 +01:00
jackpoz d423747037 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.

(cherry picked from commit b5cc8c5b17c96f281728ee08576acfff507d8039)
2015-06-26 02:56:40 +01:00
jackpoz 6df2d03f72 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
(cherry picked from commit 1161295f4f933661ea9738e0c57049a1e38ec8f2)

Conflicts:
	src/server/game/Entities/Unit/Unit.cpp
2015-06-26 02:56:20 +01:00
jackpoz 133d6cd85f 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

(cherry picked from commit 09aed2565966c96d403afe44a0cce423c59cb4ec)
2015-06-26 02:51:08 +01:00
Shauren 0f6788c3df Core/Achievements: Fixed linking criteria with achievements 2015-06-26 01:13:35 +02:00
Shauren 6ae0162390 Core/Spells: Fixed spell effect selection depending on map difficulties 2015-06-25 00:20:25 +02:00
Shauren acc45bcf5d Core/Garrisons: Implemented a method to delete garrisons 2015-06-24 00:03:57 +02:00
Gacko d799e0cee0 Fix non pch build. 2015-06-23 20:17:26 +02:00
MitchesD 66056b2f8a Core/PacketIO: updated SMSG_SET_AI_ANIM_KIT and SMSG_SET_PLAY_HOVER_ANIM 2015-06-23 15:03:49 +02:00
Shauren 37142deae4 Merge pull request #14937 from xerkoss/patch-2
Core/Spell: Fix shaman reincarnation
2015-06-23 11:41:59 +02:00
Shauren 73384e56d4 Core/Garrisons: Implemented spawning "Finalize Garrison Plot" gameobjects when building under construction is ready 2015-06-23 00:05:51 +02:00
xerkoss 3eeb77a8f3 Core/Spell: Fix shaman reincarnation 2015-06-22 21:27:48 +02:00
Shauren 812fa65c61 Core/Garrisons: Implemented activating buildings 2015-06-22 00:02:43 +02:00
Naios 881ebccdc4 Core/Utilities: TaskScheduler: add a task validator and on update success callback.
* makes it possible to block tasks if there is an active spellcast.
* requested by @joschiwald

(cherry picked from commit 3d95aba2b3d58057f3eeed6d4dd6e51ea49b77f6)
2015-06-21 18:20:12 +02:00
Naios 5e47ae7e73 Core/Updater: Fix a wrong formatter introduced in 0d095109ee
* thanks @Aokromes for noticing

(cherry picked from commit bd661b58fd2c37850a719cfffe135e89043c112d)
2015-06-21 18:17:00 +02:00
MitchesD 530074f453 Core/Creature: fixed loading of creature auras on respawn, deathState needs to be set to ALIVE before trying to AddAuras (which fails with different deathState than ALIVE)
Closes https://github.com/TrinityCore/TrinityCore/issues/4150
2015-06-21 13:40:24 +02:00
Rochet2 abf3d22870 Fix tabard and cloak mirror image models
Apparently the order of the two items changed.
Mirror image and clone weapon spells are still likely missing transmogrification support.
2015-06-21 12:04:50 +03:00
Shauren dbe2051056 Core/Threading: Significantly reduced the severity of possible data race during player login
* This commit changes a data race on a pointer value to data race on integers (guid)
2015-06-21 02:15:13 +02:00
Shauren f6bc87fe5d Core/Threading: Fixed possible data races after making auth queries async by moving their processing to boost::asio::io_service::run threads 2015-06-21 02:13:08 +02:00
Naios 0d095109ee Core/Updater: Add some info about the count of applied updates.
* some minor improvements
* add a log message when database updates are disabled.

(cherry picked from commit a5b3862bc1b066a9614369bda3adef485a57eff8)
2015-06-20 15:18:31 +02:00
Shauren 0e49eefe85 Core/DBLayer: Sprinkle some async magic on worldserver auth/session load process
* Implemented base for loading account wide data
2015-06-20 00:59:31 +02:00
Shauren cec05ff07d Scripts/Zul'farrak: Fixed summoning Gahz'rilla
Fixes #5782 regression
2015-06-19 17:28:24 +02:00
Shauren 7c7998440e Core/Misc: Warning fix 2015-06-18 16:01:56 +02:00
Shauren d2142ac380 Core/Units: Changed SPELL_AURA_MOD_MINIMUM_SPEED to always be applied, not only if under a slow aura (SPELL_AURA_MOD_MINIMUM_SPEED can set the minimum speed higher than base speed) 2015-06-17 16:45:28 +02:00
Shauren a4258de0f8 Core/PacketIO: Added a few more server opcodes 2015-06-16 00:03:45 +02:00
Shauren fd786c8306 Core/Spells: Defined a new spell attribute 2015-06-15 23:43:19 +02:00
Duarte Duarte 859aaa5543 Merge pull request #14890 from Rochet2/mirror_image
Update and enable mirror image packets
2015-06-15 00:41:14 +01:00
Orion eeb49d238a Update and enable CMSG_GET_MIRROR_IMAGE_DATA, SMSG_MIRROR_IMAGE_CREATURE_DATA, SMSG_MIRROR_IMAGE_COMPONENTED_DATA. 2015-06-15 02:03:00 +03:00
Shauren 66d8ccde7f Core/PacketIO: Fixed chat packet building in CreatureTextMgr
Closes #14871
2015-06-15 00:25:18 +02:00
Shauren 3ada2ed993 Core/Misc: Fixed loading access_requirement
Closes #14846
2015-06-14 00:26:56 +02:00
Shauren 97c903ec2a Core/Misc: Fixed static analysis issue
CID 1306242: Non-static class member "SpellID" is not initialized in this constructor nor in any functions that it calls
2015-06-13 14:05:36 +02:00
Shauren dc53dad8a4 Core/Misc: Warning fixes 2015-06-13 14:04:10 +02:00
MitchesD b0ab1ef52f Merge pull request #14617 from Golrag/IoC
Core/BattlegroundIC: Removed 1 hack:
2015-06-13 10:21:45 +02:00
Shauren 07260316ba Core/NetworkIO: Fixed packet compression
Closes #14401
2015-06-13 00:16:06 +02:00
Carbenium 0fd885bdd5 Core/PacketIO: Fixed structs of packets modified in 26961d8ae5
Sh** happens....

Again thanks @DJScias for the report
2015-06-12 20:39:18 +02:00
MitchesD 8a7ae9d16c Scripts/TheEye: updated Void Reaver to EventMap 2015-06-12 12:30:50 +02:00
DJScias 3f58ad3060 Core/DBLayer: Correct Battle.net CheckPassword
- Async would lock and crash the server
- This fixes !bnet set password and !bnet password
2015-06-12 11:35:58 +02:00
Shauren 733456ef31 Core/Auras: Implemented SPELL_AURA_OVERRIDE_ATTACK_POWER_BY_SP_PCT 2015-06-12 00:11:12 +02:00
Carbenium 32b954923a Core/DBC: Fixed DBC fmt introduced in 2bd28bce69
* Improve invalid emblem color log message
2015-06-11 13:07:54 +02:00
Carbenium 2bd28bce69 Core/Guild: Add validation for guild tabard colors 2015-06-11 02:26:54 +02:00
Carbenium 1d20122903 Merge pull request #14741 from Rushor/Force
Game/Spell: Spellmgr - Force Cast - Fix Typo
(cherry picked from commit b15d32992f5991d19183977f1fefd8e77924809f)

Conflicts:
	sql/updates/world/2015_05_22_00_world.sql
	src/server/game/Spells/SpellMgr.cpp
2015-06-11 01:03:41 +02:00
Shauren 5249be851f Core/Auras: Implemented SPELL_AURA_OVERRIDE_SPELL_POWER_BY_AP_PCT 2015-06-11 00:09:19 +02:00
Carbenium 26961d8ae5 Core/PacketIO: Fix structure of CMSG_SAVE_GUILD_EMBLEM, SMSG_QUERY_GUILD_INFO_RESPONSE and SMSG_GUILD_INVITE
Thanks @DJScias for noticing that issue
2015-06-10 23:34:05 +02:00
Nyeriah a7988971bd Scripts/TheEye: Clean up instance script
(cherry picked from commit d86ff0814526cf1fefb1b37e487d9d414086eead)
2015-06-10 12:52:55 -03:00
Shauren 50848e4dac Core/Bnet: Fixed bnetserver not shutting down correctly when started as windows service 2015-06-10 00:21:55 +02:00
Gacko d4ad3843e9 Fix warning. 2015-06-09 19:22:59 +02:00