Commit Graph

29 Commits

Author SHA1 Message Date
Shauren
5604aed5f1 Fix build for mysql versions older than 5.7 2015-11-13 00:01:31 +01:00
Shauren
0a27f8bce2 Core/DBLayer: Ensure that MySQL version used when compiling is the same as libmysql.dll version used for running the server.
Ref #15848
2015-11-12 17:54:22 +01:00
Vincent-Michael
6d01960448 Updated url for tc wiki 2015-11-07 11:22:16 +01:00
pete318
39d29edf93 Merge pull request #15707 from ShinDarth/pvpstats
Core/BG fix .character changefaction pvpstats victories amount
(cherry picked from commit 69941864ef)

Conflicts:
	sql/base/characters_database.sql
	src/server/game/Battlegrounds/Battleground.cpp
2015-11-06 23:46:03 +01:00
Shauren
49543a5174 Core/Accounts: Unified game account ban checks with 3.3.5 branch 2015-11-05 21:24:42 +01:00
Shauren
c463c84325 Core/Auth: Added missing lock country check to AuthSession handler 2015-11-02 20:23:39 +01:00
MitchesD
9fe29de260 Core/Player: implemented Heirloom Collection
* implemented all things related to that collection
* you can create heirloom by click on item in collection
* also you can upgrade heirlooms by using specific kits
* old heirlooms are converted to new ones
2015-10-16 23:09:42 +02:00
Naios
1bce131bdc CMake: Fix bad generation of "revision_data.h" not including MYSQL_EXECUTABLE.
* was caused through invoking "FindMySQL" after using ${MYSQL_EXECUTABLE}.
* better re-run CMake if you are affected by the mysql exe wasn't found issue.

(cherry picked from commit 45a60c2d22)
2015-10-05 17:18:15 +02:00
Naios
02ab60a133 Core/Updater: Fix mysql in path check/search.
(cherry picked from commit a561edefb9)
2015-10-05 17:17:56 +02:00
Shauren
aaaa1c3441 Core/World: Store account id in CharacterInfo to reduce the amount of database queries 2015-10-05 15:06:27 +02:00
Shauren
fd17ea1643 Core/Players: Removed db queries from friend packet builders 2015-10-02 20:00:49 +02:00
Shauren
cd27fd38b9 Core/Maps: Moved corpse management to map level 2015-09-28 17:20:27 +02:00
joschiwald
e51b660177 Core/Updater: fixed host parameter is being ignored 2015-09-26 19:18:05 +02:00
Shauren
20423c363a Build fix 2015-09-26 00:50:22 +02:00
Shauren
2d109b63e2 Core/Updater: Pipe mysql process output into worldserver log 2015-09-26 00:24:22 +02:00
StormBytePP
0bed9d56cb Core: Added ABORT() macro to prevent the usage of ASSERT(false) as a quick hack to crash the core misusing assert 2015-09-21 15:17:05 +02:00
Shauren
3109ab2da0 Core/DBLayer: Allowed using GetDouble for SUM results instead of requiring string conversions 2015-09-13 11:13:04 +02:00
Shauren
1efb3f08e2 Core/Spells: Improved spell category cooldown handling
* Category cooldown is stored with the spell that started the cooldown (and only resetting cooldown on that spell will clear cooldowns on entire category - this fully mirrors client behavior)
* This significantly reduces the amount of data saved to database for cooldowns
* Spell casts from items that have a different category specified than on spell will now check for cooldown during the cast

Closes #15349
2015-09-10 19:39:30 +02:00
horn
e8b1faa156 Core/BattlePets: Basics for Battle Pets 2015-09-09 14:52:32 +02:00
Shauren
8a8ab0b4b6 Core/DataStores: Updated DBC and DB2 structures to 6.2.2.20444 2015-09-07 18:03:33 +02:00
Shauren
8652f4b4de Core/DBLayer: Allocate a single buffer for entire prepared result set instead of separate ones for each field 2015-09-04 00:18:12 +02:00
Shauren
b564c10b13 Core/Players: Implemented serverside validation of reserved/profane names
Closes #15357

New library dependency: Boost.Regex
2015-08-30 00:17:08 +02:00
pete318
b099e4e43a Only read and delete from corpse table for current map instance. Not for
all. Prevents assert stop upon entering an instance on second character
after first one is a corpse in the same dungeon on different instance ID.
2015-08-27 01:07:14 +01:00
Shauren
7c75160f59 Core/DBLayer: Added compile time validation for prepared statement indexes passed to DatabaseWorkerPool::GetPreparedStatement turning mistakes like the one fixed in 0327927fa6 into compiler errors. 2015-08-27 00:54:49 +02:00
Shauren
65dbc7082a Core/DBLayer: Optimized prepared statement query results by eliminating unneeded buffer copies
* Improved error logs for using incorrect Field getters to also include table name, field name and field index.
2015-08-26 17:00:26 +02:00
MitchesD
614b5832ba Core/Player: implemented Toybox
* now you can use all the things in toybox - add new toys, set them as favorite and use them
2015-08-26 11:15:00 +02:00
Shauren
b8e776a6c6 Core/DBLayer: Reordered table joins to work around a mysql bug
Closes #15259
2015-08-24 17:33:10 +02:00
StormBytePP
ba2e9fbe95 Core/BuildSystem: Merged crypto into common, cleaned include directory lists (to mimic 3.x buildsystem) 2015-08-24 03:35:19 +02:00
StormBytePP
1d2aafd39b Core/Build: Merge common library and move database out of shared 2015-08-21 17:52:42 +02:00