Commit Graph
94 Commits
Author SHA1 Message Date
Shauren 7489781860 Core/DBLayer: Escape new mysql 8 keywords 2018-05-20 20:02:31 +02:00
Gooyeth e6d8b0842b Core/Player: Skip the cinematic of the first login if the character is teleported before. (#21776) 2018-04-29 17:46:32 +02:00
Gooyeth 3c302f11ce Core/Database: Add columns on *_banned (#21748)
* Add columns on ban character query

* Add columns on ban account query
2018-04-06 07:23:29 +02:00
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
Jildor 53728216b6 Whitespace cleanup in Transaction.cpp
Removing white space after commit 54b0b8f5ead41f936b12e97d1b4fbacd9b89ab53
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
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
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 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
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
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 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 11f46f2030 Core/Command: remove account_muted data on account deletion 2016-08-05 18:29:28 +02:00
Aokromes cd4b1004fc Core/Misc: Better description for a log 2016-07-20 18:28:34 +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
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
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