Commit Graph

23233 Commits

Author SHA1 Message Date
Carbenium
03176662d1 Merge pull request #14317 from Naios/typesafelog
Type safe logging
(cherry picked from commit cc0c9add5a)

Conflicts:
	src/server/bnetserver/CMakeLists.txt
	src/server/game/Server/WorldSocketMgr.cpp
	src/server/shared/Logging/AppenderDB.cpp
	src/server/worldserver/CMakeLists.txt
2015-03-18 02:59:40 +01:00
Naios
301ec0be56 Core/Game: Fix some issues detected by static analysis.
* Possible inefficient checking for 'list' emptiness.

* Variable '_scheduledScripts' is assigned in constructor body.
  Consider performing initialization in initialization list.

* Variable 'Text' is assigned in constructor body.
  Consider performing initialization in initialization list.

* Possible inefficient checking for 'm_loadedScripts' emptiness.

(cherry picked from commit 9a61049f88)

Conflicts:
	src/server/game/Server/Packets/TicketPackets.cpp
2015-03-18 01:13:47 +00:00
Naios
a38945a3b3 Core/Log: Fix some issues detected by static analysis.
* Either inefficient or wrong usage of string::find(). string::compare() will
  be faster if string::find's result is compared with 0, because it will not scan the whole string.
  If your intention is to check that there are no findings in the string,
  you should compare with std::string::npos.

* C-style pointer casting detected. C++ offers four different kinds of casts as replacements:
  static_cast, const_cast, dynamic_cast and reinterpret_cast.

(cherry picked from commit 8882a6ca78)
2015-03-18 01:13:46 +00:00
Nyeriah
a76722ccef Scripts/Undercity: Update Lady Sylvanas' script and also implement few missing things to Journey to Undercity's quest end event
Closes https://github.com/TrinityCore/TrinityCore/pull/14094
Thans to @Killyana @Rushor @jaredjones and all others who helped with this
2015-03-17 20:18:09 -03:00
Dr-J
4282bb616c Rename 2015_03_17_01_world.sql to 2015_03_17_01_world.sql 2015-03-17 19:09:25 +00:00
Dr-J
73933b5ad3 DB/Object: Dedication of Honor
* Fordring statue will only be visible on a realm where the realm first is rewarded for http://www.wowhead.com/achievement=4576/realm-first-fall-of-the-lich-king otherwise this is replaced with fountain
* Dedication of honor will play lich king video to a player who has killed the lich king 
* Correct flags for fountain object.
2015-03-17 13:52:11 +00:00
Duarte Duarte
769acfbd02 Merge pull request #14370 from Kittnz/realm_achievement
Core/Condition: Realm Achievement condition
2015-03-17 12:42:35 +00:00
Aokromes
7fa1f9587c DB/Creature: Misc SAI updates
By Malcrom (no, he is not back)
2015-03-17 03:22:11 +01:00
Rushor
f723b18164 Scripts/Borean Tundra: Enable Texts for 'Nesingwary Trapper'
by @Killyana + @danlapps
closes #10234
2015-03-17 00:05:06 +01:00
Dr-J
6ae6d61a94 update guid
This was already fixed with updates but changing here so this wont cause problems if people try to commit later.
2015-03-16 22:12:18 +00:00
Aokromes
66aead34d8 DB/Creature: Misc SAI updates
By Malcrom (no, he is not back)
2015-03-16 22:49:29 +01:00
Aokromes
222c49a0eb DB/Creature: Misc SAI updates
By Malcrom (no, he is not back)
2015-03-16 21:29:00 +01:00
Kittnz
e50489c010 Core/Condition: Added Realm Achievement condition
- Partly Fixes https://github.com/TrinityCore/TrinityCore/issues/5754
@DRJ has SQL examples
2015-03-16 20:03:49 +01:00
Aokromes
e1f75fe0c7 DB/Creature: Misc SAI updates
By Malcrom (no, he is not back)
2015-03-16 19:53:32 +01:00
Aokromes
125ab57133 DB/Creature: Misc SAI updates
By Malcrom (no he is not back)
2015-03-16 18:35:30 +01:00
joschiwald
d3ad87b1cf Core: silence broadcasttext startup errors 2015-03-16 14:18:31 +01:00
Aokromes
c941133bd2 DB/Creature: Fix faction of 8564 Ranger 2015-03-16 09:05:29 +01:00
Aokromes
d3a20809eb DB/Misc: Fix startup errors
By Killyana, updates #13707
2015-03-16 08:13:28 +01:00
click
cf14e9051d Merge pull request #14371 from Kittnz/movecirclepath_003
Core: Move FillCirclePath function to MotionMaster
Closes #14371
2015-03-15 21:32:35 +01:00
Rushor
fc973e4a1c DB/Creature: Kurenai Captive
closes #6702
2015-03-15 21:27:31 +01:00
click
7c8f7f6f8f Core/AHBot: Remove a lingering warning that annoyed me for all too long 2015-03-15 21:04:51 +01:00
Nayd
0ebc15e6f4 Core/DBLayer: Remove references to table character_currency (6.x only)
Ref 170bc318b3
2015-03-15 15:50:05 +00:00
Rushor
24821213c9 DB/Quest: A Crew Under Fire
closes #1678
2015-03-15 16:49:24 +01:00
Rushor
efaf50c940 DB/Quest: Take the letter
#closes 12775
2015-03-15 16:20:00 +01:00
Rushor
04e1f35043 DB/SAI: Scarlet Initiate
by pete318 closes #14355
2015-03-15 16:12:19 +01:00
Rushor
1d8f98d988 DB/Object: Stone of Remembrance
* thx @Kittnz for providing the datas
closes #14363
2015-03-15 16:08:23 +01:00
Rushor
ca174e4239 DB/Creature: Susan Tillinghast
closes #14356
2015-03-15 16:06:11 +01:00
Rushor
810b998e77 DB/Creature: Expedition Warden
* Events for Creatures on the 'Wyrmskull Bridge'
closes #14358
2015-03-15 16:04:02 +01:00
Rushor
7af2a49e63 DB/Quest: Disrupt Their Reinforcements
* Flameevent for Portals
closes #14359
2015-03-15 16:01:54 +01:00
Rushor
549bb122d0 DB/Creature: Spirit of Sathrah
closes #14360
2015-03-15 15:58:59 +01:00
Rushor
00f97e3ca8 DB/Creature: Dread Tactician
closes #14361
2015-03-15 15:56:33 +01:00
Rushor
4afd3db36e DB/Creature: Senetil Selarin
closes #14364
2015-03-15 15:54:28 +01:00
Rushor
0014a9d1fc DB/SAI: Tortured Skeleton
closes #14367
2015-03-15 15:52:04 +01:00
Rushor
9927bb241d DB/Quest: The Escape + Collecting Kelp 2015-03-15 15:49:41 +01:00
Rushor
e27fcb91c3 DB/SQL: Rename SQL to 2015_03_15_01_world.sql 2015-03-15 15:47:31 +01:00
Rushor
eee10edb56 Merge pull request #13997 from Rushor/malfurion
Scripts/SunkenTemple: Add Eventsupport for NPC: Malfurion Stormrage
2015-03-15 15:41:27 +01:00
Dr-J
03104087fa DB/Quest: The Delicate Sound of Thunder / Lightning Infused Relics
By @Killyana

Closes #14269
2015-03-15 14:28:28 +00:00
Nayd
dbcfa3b120 SpellAuras.cpp: typo fix 2015-03-15 14:09:00 +00:00
Guillaume Belz
fb55b9bb85 FindOpenSSL: fix detection of OpenSSL 1.0.2
Closes #14284

(cherry picked from commit 9ffeb58d09)
2015-03-15 13:11:46 +00:00
joschiwald
170bc318b3 Core/Player: fixed some leftovers in db after player delete
* character_arena_stats
* character_battleground_random
* character_cuf_profiles
* character_currency
* character_stats
* character_void_storage

(cherry picked from commit 2955a1f595)

Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/shared/Database/Implementation/CharacterDatabase.cpp
	src/server/shared/Database/Implementation/CharacterDatabase.h
2015-03-15 13:06:49 +00:00
Shauren
a23ad2b33c Core/Auras: Fixed possible crash in Aura::RefreshDuration - Aura::GetCaster can return NULL
(cherry picked from commit 8cd1c9514f)

Conflicts:
	src/server/game/Spells/Auras/SpellAuras.cpp
2015-03-15 12:57:08 +00:00
Kittnz
61557ee7c6 Core: Move FillCirclePath function to MotionMaster 2015-03-14 23:25:19 +01:00
Dr-J
7833d34146 fix typo 2015-03-14 18:36:04 +00:00
Dr-J
a8c35bb491 DB/Misc: Change guids from previous commit 2015-03-14 17:14:07 +00:00
Dr-J
d617401134 DB/Quest: Prayer to Elune
Closes #5513
2015-03-14 15:32:54 +00:00
Dr-J
977c517392 DB/Quest: Ghost-o-plasm Round Up
By @Killyana Closes #1656
2015-03-14 15:29:48 +00:00
jackpoz
f1ae2c7b73 Revert "*Do not allow players to use vehicles to go further than 1st boss in Ulduar."
This reverts commit a009e53049.
Remove hackfix for Ulduar vehicles, it should be handled in Ulduar script
2015-03-13 21:48:42 +01:00
Dr-J
d4440602ce DB/Misc: Wildhammer Flare Gun
And same for alliance version even though less sql here as already had gossip menu unlike horde counterpart.
2015-03-12 17:07:10 +00:00
Dr-J
085b23ca0a DB/Misc: Kor'Kron Flare Gun
Script replacement of item if player had destroyed item since doing initial quest in chain.
2015-03-12 16:10:44 +00:00
jackpoz
9948e633ab Revert "Core/Server: Catch exceptions in int main()"
This reverts commit 958999ff5c.

Closes #14329
2015-03-11 20:59:21 +01:00