Commit Graph

10251 Commits

Author SHA1 Message Date
MitchesD
20c001fd00 Scripts: fixed non-pch build 2015-04-24 21:26:18 +02:00
MitchesD
5e06ff20e8 Merge pull request #14157 from ariel-/shathalls
Shattered Halls: Revamped instance script
2015-04-24 20:59:12 +02:00
Naios
2592528741 Core/Log: Fix newlines when using dynamic log names
* thanks @Aokromes for reporting
* also removes an unnecessary std::move
2015-04-24 19:44:16 +02:00
Shauren
ea214c223e Core/Misc: Ported relevant barbershop fixes from 4208c0d839 2015-04-24 18:40:19 +02:00
Nyeriah
335cceb26e Scripts/HallsOfStone: Set the Tribunal of Ages encounter state to IN_PROGRESS once it starts, instead of when Brann's escort starts 2015-04-23 23:51:40 -03:00
Nyeriah
6645af4b3c Scripts/HallsOfStone: Brann Spankin' New achievement should only fail if damage is taken during event 2015-04-23 23:13:25 -03:00
w1sht0l1v3
b394446554 Fix build. 2015-04-23 23:11:59 +03:00
w1sht0l1v3
837a0a7524 Core/LFG: Move code to a better place.
(the case where the last player left inside a dungeon would not be removed from lfg&group when he ports outside)
2015-04-23 22:10:15 +03:00
w1sht0l1v3
4e0dec7fd2 Core/LFG: Fix crash in ".lfg group <playername>" in case of offline player and
extend the output to display the offline members of the group also.Atm if members are offline no info is displayed.

Note: all the new code is mostly copy/paste from ".group list <playername>" command.
2015-04-23 22:07:10 +03:00
jackpoz
c3b8800cf7 Core/Misc: Fix issues reported by static analysis
Coverity defect IDs: 1023036, 1022620
2015-04-19 17:45:55 +02:00
Northstrider
1566f45c31 Core/Creatures: remove virtual mounts from creatures on death
Closes https://github.com/TrinityCore/TrinityCore/pull/14396

(cherry picked from commit b5393d4b9b)
2015-04-19 15:42:05 +02:00
MitchesD
7836a4a418 Core/Unit: fixed removing UNIT_FLAG_PET_IN_COMBAT from guardians
Closes https://github.com/TrinityCore/TrinityCore/issues/14566

(cherry picked from commit 8096edec15)
2015-04-19 14:49:29 +02:00
MitchesD
4d8ddac555 Scripts/CoS: Chrono Lord Epoch converted to BossAI
(cherry picked from commit d74e0d823d)
2015-04-18 18:30:57 +02:00
jackpoz
5b5c0938da Core/Misc: Fix issues reported by static analysis
Properly fix Coverity defect ID 1227434
2015-04-18 17:33:14 +02:00
Kittnz
5f8db04761 Core/Condition: Add In Water Condition
Updates #7019
2015-04-18 17:11:03 +02:00
w1sht0l1v3
1019649f93 Core/LFGMgr: One more addition to fix the crash on logout. 2015-04-15 20:37:18 +03:00
Daniel M. Weeks
2dda2483a3 Add missing newline
(cherry picked from commit f48b86fd8a)
2015-04-15 19:29:38 +02:00
Daniel M. Weeks
5b556fb1cb Remove unnecessary semicolons
(cherry picked from commit 27923b8d8f)
2015-04-15 19:29:37 +02:00
Daniel M. Weeks
c25a06f4b6 Fix documentation
(cherry picked from commit 62ff887236)
2015-04-15 19:29:36 +02:00
Daniel M. Weeks
67faa0f458 Prevent collisions in GCC attribute definitions
(cherry picked from commit 6484885600)
2015-04-15 19:29:35 +02:00
arks
e1ae2fa8ba Scripts: Shattered Halls: Revamped instance script, support for quests 10884, 9524, 9525 2015-04-14 02:08:31 -03:00
w1sht0l1v3
f56cdd4496 Core/LFGMgr: Attempt to leave LFG the right way...i think... 2015-04-13 19:27:12 +03:00
ariel-
e707905764 Port commit 56186319bd (6.x branch)
Core/Spells: Cooldown updates

Updates #14418
2015-04-13 12:13:46 -03:00
tkrokli
8126faccda Fix $n bug in NPC text for quest 11664 Escaping the Mist
Make quest NPC target player character to say the actual name instead of $n

Idea by @DDuarte
Final solution found in similar escort quests.
(Example script: npc_kayra_longmane in zone_zangarmarsh.cpp)
2015-04-12 10:27:38 +02:00
MitchesD
f9eb3d245f Merge pull request #14497 from tkrokli/Kodo_Roundup
[Quest] Kodo Roundup
2015-04-11 23:52:50 +02:00
Nick
a6836e6a91 Core/Scripts: Remove Bloodmaul Brutes script
As explained by @dr-j in 6b846a4e29
2015-04-11 02:33:33 +02:00
click
adb39317fa Core: Follow codingstyle guidelines (CamelCase for functions, lowerCamel for vars and local stuff) 2015-04-10 04:14:50 +02:00
click
a09eafa104 Core: Whitespace/tab2spaces cleanup 2015-04-10 04:12:06 +02:00
WishToDie
08a62f19b8 Update LFGMgr.cpp
Core/LFGMgr: Fix crash in e743f4a479
2015-04-09 18:29:20 +03:00
click
6c1e4bc20d Core/Spells: Reinstate helperfunction removed in commit 0e3607df (with a new functionname to make more sense out of it), and adjust the remaining code slightly to accomodate that. 2015-04-07 23:51:19 +02:00
click
0e3607df5b Core/Spells: Allow non-skill-based flying mounts to be used in designated areas.
- Flying mounts that are not in the "SKILL_MOUNT"-tree and area-restricted can now be used properly (ex. 64749 - Loaned Gryphon).
- Remove isKnowHowFlyIn()-function (useless and deprecated since this is handled properly in the spellsystem).
Massive thanks to rat for extremely good help and support on fixing this (most of this is his work).
2015-04-07 21:26:23 +02:00
click
79696e0871 Core/Command: Sanitize input for .account set gmlevel <username> handling 2015-04-07 06:12:37 +02:00
Nick
77eb89157b Core/Scripts: Remove The Thunderspike script
As explained by @Killyana in https://github.com/TrinityCore/TrinityCore/issues/4458#issuecomment-90061073
2015-04-06 21:08:15 +02:00
w1sht0l1v3
e743f4a479 Core/LFGMgr: Fix the case where the last player left in a lfg group would be stuck in party when porting out of the instance.
If you find a better way or think this is wrong feel free to remove it or improve it.
2015-04-05 22:03:40 +03:00
Shauren
96b7b7ced5 Build fix for GCC 4.7
(cherry picked from commit e7deae947c)
2015-04-05 13:57:45 +02:00
Aokromes
16481d17aa Scripts/Kalimdor: Ashenvale - add missing enum 2015-04-05 12:57:14 +02:00
Rushor
f49a1b0f1f Scripts/Kalimdor: Ashenvale - Remove Torek C++ Script 2015-04-05 12:43:15 +02:00
Shauren
62a3edb84a Core/Misc: Warning fixes
(cherry picked from commit cc4d79495f)

Partial cherry-picked.

Signed-off-by: Naios <naios-dev@live.de>
2015-04-05 01:20:11 +02:00
Carbenium
c0b77fc216 Switch abs to std::abs
(cherry picked from commit 8476c2ac5a)
2015-04-05 00:41:39 +02:00
Carbenium
aa1971964b Add missing override keyword in scripts
(cherry picked from commit b948a4275e)

Conflicts:
	src/server/scripts/Kalimdor/Firelands/boss_alysrazor.cpp
	src/server/scripts/Kalimdor/zone_tanaris.cpp
	src/server/scripts/Maelstrom/Stonecore/boss_slabhide.cpp
	src/server/scripts/OutdoorPvP/OutdoorPvPZM.h
	src/server/scripts/Spells/spell_mage.cpp
	src/server/scripts/Spells/spell_paladin.cpp
2015-04-05 00:41:21 +02:00
Carbenium
67238e2166 Rename variables to fix C++11 keyword collision
(cherry picked from commit 573cda7b52)
2015-04-05 00:36:33 +02:00
Naios
de490674ff Core/DBUpdater: Exit clean if a query failed to apply.
* Fix some \W4 warnings about constructors.
2015-04-05 00:23:12 +02:00
Naios
85d6ff9570 Core/Log: Remove some unnecessary std::move's.
* This are r-value references already.
* Thanks @Shauren for noticing
2015-04-05 00:23:11 +02:00
Carbenium
bdc9beacbd Merge pull request #13862 from ariel-/pr_tmp
Implement CharSections.dbc and Serverside Checks.
2015-04-05 00:09:03 +02:00
Shauren
548aa119ac Core/Networking: Fixed unsafe access to _worldSession member in WorldSocket
(cherry picked from commit bed88e0dd4)

Core/Networking: Fixed deadlock in HandlePing if the client is about to be kicked for overspeed pings

(cherry picked from commit 3da0f7e409)

Core/Networking: Cleanup CloseSocket calls from read failures in WorldSocket

(cherry picked from commit 18343a7309)

Conflicts:
	src/server/game/Server/WorldSocket.cpp

Ref #14474
2015-04-04 23:07:41 +01:00
jackpoz
d23538ce56 Core/Misc: Fix issues reported by static analysis
Coverity defect IDs: 1227510, 1227434, 1023036, 1062426, 1062425, 1062424, 1062423, 1062422
2015-04-04 20:20:04 +02:00
click
f44555500b Core: Comment out unused parameter in DBCStructure.h (removes a warning) 2015-04-04 18:21:15 +02:00
jackpoz
76986880c9 Core/Misc: Fix issues reported by static analysis
Coverity defect IDs: 1267938, 1267937, 1267933, 1267932, 1267929
2015-04-04 16:40:01 +02:00
tkrokli
1c8486e1a8 [Quest] Kodo Roundup
by @pete318, closes #12811

Fixes the remaining bugs in the "Kodo Roundup" quest in Desolace:
- removes combat status from creature 11627, Tamed Kodo
- sets normal walking speed as the creature's follow speed
- makes the Tamed Kodo stop at Scrabblescrew's Camp
- enables quest objective count 0/5 -> 5/5, quest complete
- SQL (by @tkrokli) links the missing gossip text in the DB
2015-04-04 15:57:06 +02:00
jackpoz
2dc97e3f3d Core/Misc: Fix issues reported by static analysis
Coverity defect IDs: 1292769, 1292768, 1292765, 1292763, 1267939
2015-04-04 15:28:13 +02:00