Commit Graph

23460 Commits

Author SHA1 Message Date
Nayd
360075129e TDB 335.58 - 2015/03/21 TDB335.58 2015-03-21 22:06:46 +00:00
Nayd
c9fa26f731 Rename SQL files
Preparations for TDB release
2015-03-21 21:12:58 +00:00
Naios
2bd1c8541d Core/Updates: Add an automatic database update system. Automatically detects new and edited sql updates through file lists and hashing. Detects renames, deletes and is able to create and auto import full databases. * cleanups in main.cpp of world & bnetserver * refactoring in DatabaseWorkerPool.h & MySQLConnection.cpp
Make sure you re-run cmake, because boost::iostreams was added as dependency.
Maybe you need to install libboost-iostreams1.55-dev on unix as well.

Import every update manual until (included) those INSERT IGNORE updates for each database.

Thanks DDuarte and Shauren for your amazing ideas, help and advises.

In hope that nobody gets a "Your database structure is not up to date..." anymore ,-)

(cherry picked from commit 352012e531)
(cherry picked from commit 1f7f9feafc)

For 3.3.5:
* Synchronized ConfigureBoost.cmake with 6.x, libboost-filesystem1.55-dev also added as dependency!

Signed-off-by: Naios <naios-dev@live.de>
Signed-off-by: Nayd <dnpd.dd@gmail.com>
2015-03-21 20:54:54 +00:00
Dr-J
236e43443c DB/Spell: Dreadsteed - Flame visual
By @Killyana

Closes #14413
2015-03-21 14:45:30 +00:00
Dr-J
0f6515750d DB/Quest: Lohn'goron, Bow of the Torn-heart
By @Killyana

Closes #2692
2015-03-21 14:38:56 +00:00
Aokromes
bc7272380c Update 2015_03_20_01_world.sql 2015-03-20 19:39:19 +01:00
Aokromes
ffa5ef1a2e DB/Misc: Fix startup error
By Malcrom (no, he is not back)
2015-03-20 17:23:11 +01:00
MitchesD
3af363308a Scripts: remove whitespaces 2015-03-20 13:11:59 +01:00
MitchesD
c76bbd42e6 Rename 2015_03_15_15_world.sql to 2015_03_20_00_world.sql 2015-03-20 12:41:36 +01:00
MitchesD
7d3668b0b9 Merge pull request #14388 from Rushor/Spell
Scripts/Spells: Hand of Reins - Questsupport for 'Mounting Up'
2015-03-20 12:39:47 +01:00
Nyeriah
ea78bce592 Scripts/ToC: The Lich King event should only be started by the announcer 2015-03-19 19:07:32 -03:00
Naios
5a8cc94d36 DB/Misc: Rename an pr update to match its merged date 2015-03-19 10:51:53 +01:00
Denis
9a1db399d9 Merge pull request #14405 from ariel-/gpsfix
Crash fix in .gps command
2015-03-19 10:49:21 +01:00
ariel-
461daadcaf Split up LANG_MAP_POSITION to fix a crash when issuing .gps command 2015-03-19 06:08:27 -03:00
Nayd
2ac40775a2 Core/Spells: Implement HasAttribute() helper for SpellInfo for easier readability
Original code by @Shocker (6.x branch)
2015-03-18 23:16:39 +00:00
Naios
e96676aedd Core/Misc: Fix some issues detected by static analysis
* Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?
  -> This argument is passed by value, it makes no sence so set it to null here.

* Member variable 'instance_violet_hold_InstanceMapScript::bWiped' is not initialized in the constructor.

(cherry picked from commit 433bc289c2)
2015-03-18 20:23:47 +01:00
Naios
f25666375e Dep/CppFormat: Update cppformat to cppformat/cppformat@bf8636c959
* fixes detecting support of <initializer_list>
* fixes build on solaris

(cherry picked from commit e40a5bf0b1)
2015-03-18 20:12:20 +01:00
Naios
dfe5e1e561 Core/RemoteAccess: Remove an unused define in RASession
* probably fixes gcc compile after adding cppformat

(cherry picked from commit a610dea85c)
2015-03-18 16:38:38 +01:00
Naios
fc665b14dc Core/Log: Readd include of <stdarg.h> to fix compile issues under gcc
(cherry picked from commit d64e6ffade)
2015-03-18 15:37:43 +01:00
Rushor
588b92ee05 Scripts/Spells: Hand of Reins - Questsupport for 'Mounting Up'
by @untaught closes #3977
2015-03-18 13:11:09 +01:00
Rushor
f1101b145b Scripts/Bloodmyst Isle: Script Quest: Ending Their World
closes #1815

* Add missing Waypoint
* Improve Aggrobehaviour
* Add BroascasttextIDs
* Update to current GUID-Handling

Original Patch by @trickerer
2015-03-18 12:11:13 +01:00
Shauren
bba8555a29 Build fix 2015-03-18 11:47:30 +01:00
Carbenium
a7f78d9295 Dep/CppFormat: Fix cmake error when using GCC
(cherry picked from commit 3eaace1508)
2015-03-18 03:05:36 +01:00
Carbenium
6757ef2217 Core/Authserver: Include cppformat 2015-03-18 03:01:39 +01:00
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