Commit Graph

124 Commits

Author SHA1 Message Date
ariel-
5ff847159c Core: header cleanup, split realmlist, boost compatibility, cotire, remove stormlib/zlib and stormlib/bzip2 and instead use dep sources 2018-03-28 04:41:59 -03:00
Aokromes
17bd341fda Core/DBUpdater: Code cleanup 2018-03-05 14:02:05 +01:00
Aokromes
8ad35cb9fa rename files 2018-02-24 13:50:29 +01:00
Aokromes
e3423b4298 Core/DBUpdater: Improve message when base SQL file is missing 2018-02-18 18:39:07 +01:00
Jildor
53728216b6 Whitespace cleanup in Transaction.cpp
Removing white space after commit 54b0b8f5ea
2018-02-16 01:03:45 +01:00
jackpoz
d1df97db23 Shared/Database: Improve dead-lock error handling
Improve dead-lock error handling in async transactions by retrying the transaction for up to 60 seconds instead of just 5 times
2018-02-10 16:16:14 +01:00
Aokromes
c2861bf887 Core/SAI: Add a 5th parameter to SAI events 2018-01-14 07:56:47 +01:00
Aokromes
4bd0525edd Update copyright note for 2018 2018-01-01 01:06:19 +01:00
Aokromes
38c6eaf2d5 Core/Creature: implement school immunity for creatures in creature_template 2017-12-17 20:47:48 +01:00
Shauren
f7fd109066 Buildsystem: Fixed windows pch build with ninja
(cherry picked from commit a6e46c1c2e)
2017-12-14 09:49:56 +01:00
Aokromes
47067814a1 Add missing header 2017-12-14 09:49:53 +01:00
Aokromes
bfcdb96cb3 typo fix 2017-12-10 02:15:07 +01:00
Aokromes
f943ac6d06 Core/updater: Change mirror 2017-12-09 09:36:15 +01:00
Aokromes
0567fb1356 Core/AuctionHouse: Auction bidders
Save more auction bidders than the highest bidder only
2017-11-28 09:24:31 +01:00
Aokromes
b93430ee08 Misc: More cleanup 2017-11-25 02:25:18 +01:00
Aokromes
1750d83a30 Core/Updater: Update db download location 2017-10-20 01:53:35 +02:00
Shauren
1808fdd7b2 Buildsystem: Minor PCH building changes
* *PCH.cpp are now only compiled with MSVC, other compilers use custom helper commands to generate the precompiled header
* Don't call the linker for pch helpertargets

(cherry picked from commit 137f5e7887)
2017-06-25 14:16:31 +02:00
Chazy Chaz
5158cca124 Core/Misc: Update locales_creature_text to simple system 2017-05-04 17:02:32 +02:00
jackpoz
d01f1d31bd Core/Misc: Fix static analysis issues 2017-04-26 05:09:21 +02:00
ariel-
c17fa0bcc5 Core/Instance: stop updating the instance resettimes based on creature respawns 2017-04-14 13:50:13 +02:00
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 787adc24b2)
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 73e61fa652)
2017-02-01 01:21:10 +01:00
Shauren
7f91c34200 Core/DBLayer: Added new async query callback api
(cherry picked from commit fcabeed754)
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 beedf737c8)
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 186375d997)
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 6cfea2d8f7)
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