aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-03-21Core/Updates: Add an automatic database update system. Automatically detects ↵Naios
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 352012e53173372ebc82898e1b6854c983b01b25) (cherry picked from commit 1f7f9feafc3f5017d617634ae993d2cdf4430920) 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-20Scripts: remove whitespacesMitchesD
2015-03-20Merge pull request #14388 from Rushor/SpellMitchesD
Scripts/Spells: Hand of Reins - Questsupport for 'Mounting Up'
2015-03-19Scripts/ToC: The Lich King event should only be started by the announcerNyeriah
2015-03-19Split up LANG_MAP_POSITION to fix a crash when issuing .gps commandariel-
2015-03-18Core/Spells: Implement HasAttribute() helper for SpellInfo for easier ↵Nayd
readability Original code by @Shocker (6.x branch)
2015-03-18Core/Misc: Fix some issues detected by static analysisNaios
* 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 433bc289c2c82b7377ad0189e415a3ca070d220f)
2015-03-18Core/RemoteAccess: Remove an unused define in RASessionNaios
* probably fixes gcc compile after adding cppformat (cherry picked from commit a610dea85c77da9ce6c2be5b10f8259e3f315227)
2015-03-18Core/Log: Readd include of <stdarg.h> to fix compile issues under gccNaios
(cherry picked from commit d64e6ffade392be32f634b32658a6e0353f369c1)
2015-03-18Scripts/Spells: Hand of Reins - Questsupport for 'Mounting Up'Rushor
by @untaught closes #3977
2015-03-18Build fixShauren
2015-03-18Core/Authserver: Include cppformatCarbenium
2015-03-18Merge pull request #14317 from Naios/typesafelogCarbenium
Type safe logging (cherry picked from commit cc0c9add5a3f3a17e19029ddcaa7e711040f4fc5) 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-18Core/Game: Fix some issues detected by static analysis.Naios
* 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 9a61049f88835fd6bdb75905f042583d038d0667) Conflicts: src/server/game/Server/Packets/TicketPackets.cpp
2015-03-18Core/Log: Fix some issues detected by static analysis.Naios
* 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 8882a6ca78e90d2980a3cd8d53acea9d2137f8b8)
2015-03-17Scripts/Undercity: Update Lady Sylvanas' script and also implement few ↵Nyeriah
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-17Merge pull request #14370 from Kittnz/realm_achievementDuarte Duarte
Core/Condition: Realm Achievement condition
2015-03-17Scripts/Borean Tundra: Enable Texts for 'Nesingwary Trapper'Rushor
by @Killyana + @danlapps closes #10234
2015-03-16Core/Condition: Added Realm Achievement conditionKittnz
- Partly Fixes https://github.com/TrinityCore/TrinityCore/issues/5754 @DRJ has SQL examples
2015-03-16Core: silence broadcasttext startup errorsjoschiwald
2015-03-15Merge pull request #14371 from Kittnz/movecirclepath_003click
Core: Move FillCirclePath function to MotionMaster Closes #14371
2015-03-15Core/AHBot: Remove a lingering warning that annoyed me for all too longclick
2015-03-15Core/DBLayer: Remove references to table character_currency (6.x only)Nayd
Ref 170bc318b34d393ea08e1607b6a4de87fcb2e6d7
2015-03-15Merge pull request #13997 from Rushor/malfurionRushor
Scripts/SunkenTemple: Add Eventsupport for NPC: Malfurion Stormrage
2015-03-15SpellAuras.cpp: typo fixNayd
2015-03-15Core/Player: fixed some leftovers in db after player deletejoschiwald
* character_arena_stats * character_battleground_random * character_cuf_profiles * character_currency * character_stats * character_void_storage (cherry picked from commit 2955a1f595be8ba510260e5a84b53663f2300fff) Conflicts: src/server/game/Entities/Player/Player.cpp src/server/shared/Database/Implementation/CharacterDatabase.cpp src/server/shared/Database/Implementation/CharacterDatabase.h
2015-03-15Core/Auras: Fixed possible crash in Aura::RefreshDuration - Aura::GetCaster ↵Shauren
can return NULL (cherry picked from commit 8cd1c9514f336da3d3d9436be554fc80edb6e761) Conflicts: src/server/game/Spells/Auras/SpellAuras.cpp
2015-03-14Core: Move FillCirclePath function to MotionMasterKittnz
2015-03-13Revert "*Do not allow players to use vehicles to go further than 1st boss in ↵jackpoz
Ulduar." This reverts commit a009e53049da27966cb3c32e7b0a3094ea320aef. Remove hackfix for Ulduar vehicles, it should be handled in Ulduar script
2015-03-11Revert "Core/Server: Catch exceptions in int main()"jackpoz
This reverts commit 958999ff5cc779e81b9a23789f84c292d79d1341. Closes #14329
2015-03-10Core/Dungeon Finder: Fix Vote Kick breaking LFG queuejackpoz
Fix Vote Kick started with party in queue breaking the whole LFG queue. The status of Vote Kick is now storing in a bool variable in LfgGroupData, separated from LfgState of the group/members. If a Vote Kick started with party in queue, the members were not removed from queue correctly and would cause LFG matching system to match these "broken" players but not allowing to start a dungeon. Closes #10191
2015-03-09CMake: Remove unused source referenceleak
2015-03-08Core: Change a few 'stupid' log-messages down to DEBUG-levelclick
2015-03-08Core: INFO->ERROR level adjustment in ObjectMgr.cppclick
Suggest everyone attempt to remember this: TC_LOG_TRACE = extreme debugging (debuginfo with packetstructures/data) TC_LOG_DEBUG = debugging (detailed activity of functions and activites inside core) TC_LOG_INFO = normal runstate (regular info like logins/logouts/levelups/passwordchanges etc) TC_LOG_WARN = possible issue with config/data etc - things that are not how they should be) TC_LOG_ERROR = actual error that has been either caought or must be fixed at some point TC_LOG_FATAL = crash or data corruption imminent Using the right logmech also helps distinguishing between 'regular runtime info' and stuff that might lead to a pissy situation later on... :)
2015-03-08Core/Script: INFO->DEBUG notification changes in ToCclick
2015-03-08Core/Scripts: INFO-DEBUG changes in scripts (gawd)click
2015-03-08Core: INFO->DEBUG level changes - forgot one in Map.cppclick
2015-03-08Core: More INFO -> DEBUG changesclick
2015-03-08Core: WARN instead of INFO - this is actually something we'd want to be ↵click
informed of...
2015-03-08Core: And yet more INFO->DEBUG loggingclick
2015-03-08Core: Pet.cpp - INFO -> DEBUG level notifications...click
2015-03-08Core: More INFO -> DEBUG (Unit.cpp this time)click
2015-03-08Core: INFO->DEBUG cleanups in Player.cppclick
2015-03-08Core: More INFO -> DEBUG/WARN/ERROR manglingclick
2015-03-08Core: More INFO -> DEBUG changes (WorldSession/WorldSocket)click
2015-03-08Core: Move LOG_INFO -> LOG_DEBUG level for achievementsclick
2015-03-08Core: Move some MMAPS-related INFO-messages to DEBUGclick
2015-03-08Core: Change some map-specific INFO-messages over to to DEBUG or ERRORclick
2015-03-08Core: Move some more INFO-level logentries to DEBUGclick
2015-03-07Merge pull request #14012 from Rushor/ArcaMitchesD
Scripts/Arcatraz: Harbinger Skyriss Adds - Remove Unattackable Flag on Spawn