Commit Graph
104 Commits
Author SHA1 Message Date
pete318 4d65596f0d 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.
2017-04-01 19:41:03 +01:00
ariel- 22c4d86dfe Core/Database: Prepared statement parameter preallocation (#18999)
- Pass prepared statement size to the helper class to prevent runtime resizing.
- Rename CheckValidIndex -> AssertValidIndex
- Cached prepared size on the worker pool as it's shared among all connections
- Cached query data only for each connection, done lookup in map instead of possibly creating a new element
- Kill the prepared statement map, and store raw sql string on the MySQLPreparedStatement class
(This info is only used for logging, and there is no need of keeping a second container just for it)
2017-03-03 01:32:12 +01:00
Shauren 043b4de635 Fixed clang segmentation fault in nopch mode
(cherry picked from commit 787adc24b2d1a7a3c03ecfed57de27631359ef65)
2017-02-05 01:54:34 +01:00
Aokromes e769592e11 Core/Server: fix duplicated inserts into tutorials table for newly cr…
…eated characters
2017-02-01 17:24:06 +01:00
Aokromes 8bb777ef5c Few small optimizations here and there 2017-02-01 16:51:21 +01:00
Aokromes 6ed35a2072 Removed debug leftovers 2017-02-01 03:59:19 +01:00
Aokromes cc0a2e6dde Build fix 2017-02-01 03:58:18 +01:00
Aokromes 5ac5176a53 Core/DBLayer: Convert async queries to new query callbacks and remove…
… old callback handling
2017-02-01 03:57:12 +01:00
Aokromes 8a63c4919e Core/Packets: updated some contactlist packets
(cherry picked from commit e01bb91)
2017-02-01 02:11:56 +01:00
Shauren b80a8dd9fa Core/DBLayer: Refine new query callback for chaining
(cherry picked from commit 73e61fa652d1233bfff1db91fa2bca8c317c8caf)
2017-02-01 01:21:10 +01:00
Shauren 7f91c34200 Core/DBLayer: Added new async query callback api
(cherry picked from commit fcabeed7544285f3244465ccfc5337c59e63c6b0)
2017-02-01 01:20:52 +01:00
Aokromes 74f0d4c8dc Core/Updater: Better log for fresh installations 2017-01-15 09:00:57 +01:00
ariel- 17278b9b42 Core/Scripts: added command to move characters across accounts 2017-01-07 07:34:11 +01:00
Aokromes 719a317a67 Update copyright note for 2017 2017-01-02 07:26:38 +01:00
Aokromes a81a44174b Core/Auras: don't save auras casted by items
- Drop useless field from DB (itemGuid was being saved, but never used, see Prepared Statements)
- This type of auras (like Water Bucket, Precious Ribbon, etc) will be recasted on login anyways.
2016-11-02 03:36:16 +01:00
Aokromes 7315052d34 Core/Channel: revamp channel system (#17980)
* Core/Channel: change the way channels are stored and sent to client.

- Fixes multiple channels per zone when using different locales
- Connected clients will receive locally the name of the channel for their apropiate locale (if available)
- In other cases default locale name will be sent, so as to prevent breaking channel chat for those players
2016-10-22 10:21:18 +02:00
joschiwald 6a0b3f8b7e Core/Auth: removed unneeded sub query 2016-09-26 07:38:29 +02:00
Aokromes 9182a19aa5 Core/Fishing: implement retail-like fishing skill-up functionality 2016-09-14 15:13:04 +02:00
joschiwald fa87649f13 Core/Logging: delete old logs of the own realm only
(cherry picked from commit beedf737c815c1f946381904417471c42a21de76)
2016-08-27 17:47:53 +02:00
ariel- 2ea1adc544 Core/Globals: delete another synch query using CharacterInfo map 2016-08-18 09:48:01 +02:00
Aokromes decb11702e another missing change 2016-08-11 04:33:29 +02:00
Aokromes 566b08cc73 missing change 2016-08-11 04:07:42 +02:00
Trond B Krokli 0a09a69ab0 Core/DB/Updater: English grammar corrections (#17207)
Improve English text in strings and comments in UpdateFetcher.cpp
- replace incorrect text with the intended words in some output strings
- corrections in the comments to point out the intention of the code
(cherry picked from commit 186375d997caab33eee878a1e102f41939c7a688)
2016-08-10 18:19:01 +02:00
Aokromes 88fcea04d0 Server/Database: Reduce differences between 3.3.5 and 6.x branches 2016-08-10 17:50:36 +02:00
Aokromes 5db8edd611 Server/Database: Reduce differences between 3.3.5 and 6.x branches 2016-08-10 17:48:25 +02:00
Naios a682a01270 Core/Common: Move the query callback header to the database project
* Also renames the header to it's correct name QueryCallback
2016-08-10 08:59:35 +02:00
Naios 7a827fe435 Core/Cryptography: Move the SHA1 calculate helper to the SHA1 header 2016-08-10 08:56:37 +02:00
Naios a75d2b01fb Core/Common: Capsule boost process into helper functions
* For easier usage, the processes output it routed
  correctly to the TC logger line by line now.
* Add support for asynchronous process execution
  and process termination.
2016-08-10 08:51:52 +02:00
Naios 0b82bc2d0d Core/Database: Converted the database library to a shared library.
* There is still the possibility to static link against database.

(cherry picked from commit 6cfea2d8f7de3de8206a1f4cf23a6d653814afe1)
2016-08-10 08:45:27 +02:00
Aokromes 4905073101 Buildsystem: Initial changes to support building with vs clang toolset 2016-08-10 04:43:29 +02:00
Aokromes b2348b8915 CMake: Use inherited dependencies in database, shared and game 2016-08-08 18:07:57 +02:00
Aokromes 11f46f2030 Core/Command: remove account_muted data on account deletion 2016-08-05 18:29:28 +02:00
Aokromes e30845b587 Core/Updater: Clarify log 2016-07-30 12:04:58 +02:00
Aokromes cd4b1004fc Core/Misc: Better description for a log 2016-07-20 18:28:34 +02:00
Aokromes e9c6ddbf8b Core/DB/Updater: engrish corrections in DBUpdater.cpp (#17262)
English grammar and syntax corrections in DBUpdater.cpp
- string texts corrected, source code unchanged
- comments improved and checked for typos
2016-07-20 15:29:45 +02:00
Aokromes 9c1b965136 Core/Misc: MSVC warning fixes 2016-07-19 12:40:58 +02:00
Aokromes 193489f3a7 Core/Players: Split playerBytes fields in characters table
(cherry picked from commit 2a6f65f)
(i think i don't have broken nothing, loged with fresh created chars and old chars and all looks to be ok)
2016-07-18 21:14:24 +02:00
Aokromes e6e188c177 Core/Misc: Fix compile 2016-07-17 14:50:56 +02:00
ariel- cc0a993034 Core/Misc: remove two synch queries and replace them with CharacterInfo cache 2016-07-17 14:11:56 +02:00
Aokromes fabd8d748a Core/Database: Fix locales and warden load
warden is still disabled it needs to be updated, closes #69 closes #72
2016-06-20 17:02:47 +02:00
Aokromes 10da96acb5 * DB/Graveyards: Added a comment field to describe the graveyards in graveyard_zone 2016-05-29 02:47:10 +02:00
Aokromes 3d3ad1c3fd Misc: remove unintended change 2016-05-25 04:56:51 +02:00
Aokromes 460a660d4f CMake: Use inherited dependencies in common and tools (partial pick, need help on this) 2016-05-23 06:24:26 +02:00
Shauren ff4da3acaa Core/Misc: Fixed warnings found by GCC 6
(cherry picked from commit 67fd3ee726cbd509e6a15f81f4780e757a78a8b5)

# Conflicts:
#	src/server/game/Spells/Auras/SpellAuras.cpp
2016-05-12 09:09:30 +02:00
Naios b823c06973 Core/Updater: Correct the config key hint of a log message 2016-05-12 09:05:56 +02:00
Shauren 3c6e9fe8b6 Core/Auth: Fixed login for accounts with accented characters
Closes #16770

Conflicts:
	src/server/database/Database/Implementation/LoginDatabase.cpp
2016-05-04 02:56:53 +02:00
Aokromes 0ac5f4a440 Sync with 3.3.5a core 2016-05-03 12:40:27 +02:00
Aokromes ef29f1037e Misc: Fix download db url 2016-03-17 19:05:46 +01:00
ariel- 65aec5f8f7 Merge remote-tracking branch 'tc/3.3.5' into 4.3.4
Note: additional hand-picked ports from 6.x to fix build

Conflicts:
	sql/updates/world/2016_02_22_00_world.sql
	sql/updates/world/2016_02_22_01_world.sql
	sql/updates/world/2016_02_22_02_world.sql
	sql/updates/world/2016_03_07_00_world.sql
	src/server/authserver/Realms/RealmList.cpp
	src/server/authserver/Realms/RealmList.h
	src/server/authserver/Server/AuthSession.cpp
	src/server/game/Accounts/AccountMgr.cpp
	src/server/game/AuctionHouse/AuctionHouseMgr.cpp
	src/server/game/Chat/Chat.cpp
	src/server/game/Conditions/ConditionMgr.cpp
	src/server/game/Conditions/ConditionMgr.h
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Handlers/CharacterHandler.cpp
	src/server/game/Handlers/MiscHandler.cpp
	src/server/game/Scripting/ScriptLoader.cpp
	src/server/game/Scripting/ScriptLoader.h
	src/server/game/Server/WorldSession.cpp
	src/server/game/Server/WorldSocket.cpp
	src/server/game/World/World.cpp
	src/server/game/World/World.h
	src/server/scripts/CMakeLists.txt
	src/server/scripts/Commands/cs_gm.cpp
	src/server/scripts/Commands/cs_misc.cpp
	src/server/scripts/Commands/cs_rbac.cpp
	src/server/scripts/Commands/cs_ticket.cpp
	src/server/scripts/Commands/cs_wp.cpp
	src/server/scripts/EasternKingdoms/CMakeLists.txt
	src/server/scripts/EasternKingdoms/zone_burning_steppes.cpp
	src/server/scripts/EasternKingdoms/zone_stormwind_city.cpp
	src/server/scripts/Kalimdor/CMakeLists.txt
	src/server/scripts/Kalimdor/zone_dustwallow_marsh.cpp
	src/server/scripts/Kalimdor/zone_orgrimmar.cpp
	src/server/scripts/OutdoorPvP/CMakeLists.txt
	src/server/scripts/Spells/spell_dk.cpp
	src/server/scripts/Spells/spell_hunter.cpp
	src/server/shared/CMakeLists.txt
	src/server/worldserver/CMakeLists.txt
	src/server/worldserver/Main.cpp
	src/tools/mmaps_generator/CMakeLists.txt
2016-03-11 18:32:07 -03:00
ariel- 5df10956c0 Core/Misc: Fix crash in .reload creature_template 2016-03-03 01:36:03 -03:00