Commit Graph

1328 Commits

Author SHA1 Message Date
Shauren
0e09bdc6c5 Core/PacketIO: Add missing ByteBuffer operator overload 2021-01-10 09:44:55 +01:00
Ovahlord
25073fa927 Core/Datastores: cleaned up some master exclusive code and fixed an issue that was causing default localized strings being sent for all remaining fields, despite having available locales 2020-07-07 13:59:13 +02:00
Ovahlord
d077c92011 Core/Datastores: ported locale related datastore updates in order to load storage locales properly when set in config 2020-07-07 02:39:07 +02:00
Giacomo Pozzoni
9fdf598792 Cherry-pick some cmake commits (#24720)
* Build system: Support  new in cmake 3.17 Ninja Multi-Config generator

(cherry picked from commit 369b618d4f)

* Build system: Fixed PCH with MSVC & Ninja generator

(cherry picked from commit d669f46b6d)

* Core: Fix clang 10 warnings

(cherry picked from commit 7272508cb4)

* Build system: Set -Wno-deprecated-copy only for clang 10

(cherry picked from commit 7fdeb259ba)

* Core/Misc: GCC build and warning fixes

(cherry picked from commit 4d69cc1c56)

* Build system: Print found git version when warning about it being too old

(cherry picked from commit 1ae72db201)

* Build system: Removed hard requirement on BOOST_ROOT being set as environment variable, it can now be also passed as command line argument to cmake and fix compile warning with boost 1.73

(cherry picked from commit 161944b764)

* Remove some code that was already removed from 335 and then cherry-picked into master

Co-authored-by: Shauren <shauren.trinity@gmail.com>
(cherry picked from commit 8c09b6e58b)
2020-06-11 20:24:00 +02:00
jackpoz
03609506ae Core/Networking: Set SO_REUSEADDR on *nix platforms 2020-05-06 00:01:17 +02:00
Shauren
d003ebd8e4 Core/DBLayer: Prevent using prepared statements on wrong database 2020-04-15 19:18:58 +02:00
Ovahlord
2a9fc25269 Core/Misc: fixed more no pch errors 2020-03-11 13:42:42 +01:00
Ovahlord
73ce49cb78 Core/Datastore: updated db2 field names and types to reflect client magic names
*fixed string length for sending names in item_sparse length
2020-02-23 02:20:38 +01:00
Ovahlord
d9b854ad59 Core/Datastores: backported hotfix system implementation 2020-02-21 23:13:38 +01:00
Aokromes
d6d3f06f06 New year 2020-01-04 18:32:38 +01:00
Ovahlord
68439a1514 Core/Dep: add rapidjson dependency 2020-01-03 22:27:42 +01:00
funjoker
6c56916b29 Misc: Update copyright information
Happy new year
2020-01-01 18:47:28 +01:00
Ovahlord
dfbf50234d Core/Packets: Port packet handling rework from 335 branch 2019-05-30 16:59:37 +02:00
Shauren
2fb644344d Core/Dep: Boost 1.70 compatibility
(cherry picked from commit bcda8dd742)

# Conflicts:
#	src/server/authserver/Main.cpp
#	src/server/shared/Realm/RealmList.cpp
#	src/server/shared/Realm/RealmList.h
2019-04-14 12:18:33 +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
Ovah
60afe858e8 MMaps phasing 2018-03-12 18:19:19 +00:00
Shauren
92003135da Core/Networking: Activate single threaded optimization for io_service running in NetworkThread
(cherry picked from commit 9711dd3f70)
2018-01-06 13:23:45 +01:00
Aokromes
4bd0525edd Update copyright note for 2018 2018-01-01 01:06:19 +01:00
Aokromes
a18293833e Misc: More cleanup 2017-11-25 03:02:18 +01:00
Aokromes
b93430ee08 Misc: More cleanup 2017-11-25 02:25:18 +01:00
Aokromes
51d0befe6d Core/Misc: Fix static analysis issues 2017-11-12 13:30:18 +01:00
Aokromes
acf240861d Core/Misc: Cleanup worldserver/authserver main() functions to run des…
…tructors in predictable order

* world/auth servers will now fail to startup if listen ports are in use
* Restored "Network.OutUBuff" config option lost during boost transition

(cherry picked from commit 6c92a48)
2017-06-19 16:44:52 +02:00
Aokromes
461ba1cb56 Fix (C) for multiple files 2017-06-15 08:46:45 +02:00
Aokromes
71fe37a55b build fix 2017-06-06 11:29:00 +02:00
ariel-
2e3197f944 Core/Globals: add more AIName and MovementType checks to ObjectMgr
- Ninja fix AI factories (restores prev behaviour of not selecting stuff with PERMIT_BASE_NO)

Closes #19831
2017-06-02 10:23:44 +02:00
Aokromes
1c6021ba96 Core/AI: Factory functions cleanup
- Get rid of fugly void pointers
- Streamlined AI selection code, using Permissible as it should've been instead of harcoded checks on the selector code
- Moved IdleMovementGenerator singleton to factory code
2017-06-01 13:22:24 +02:00
Aokromes
7c16e39bd5 Missing part 2017-04-18 17:33:37 +02:00
Aokromes
8bb777ef5c Few small optimizations here and there 2017-02-01 16:51:21 +01:00
Aokromes
719a317a67 Update copyright note for 2017 2017-01-02 07:26:38 +01:00
ariel-
02ba07dee0 Core/Misc: fix interaction of spells like Shadowmeld with Threat reducing effects
- SPELL_AURA_MOD_TOTAL_THREAT should be temporary and not added/subtracted from total, only computed
- Cleanup of reference related code
- Kill getLast() and reverse iterator obsevers, LinkedList iterator can't be used as a standard reverse_iterator (ie with operator++). They weren't used anyways
2016-10-21 09:14:38 +02:00
jackpoz
90b22c6cd4 Core/MMAPs: Update recast
Update recast to recastnavigation/recastnavigation@64385e9
2016-08-18 09:46:18 +02:00
roc13x
a54adfd894 Core/Build: Fixed dynamic mode build
Core can now be built in dynamic mode, enabling the hotswap system to be
used.

Hotswap works fine on Windows. Didnt work for me on Debian, the rebuild
and reload process happens but the old version of the module remains for
some reason. Cant figure it out right now
2016-08-13 17:26:30 +01:00
Aokromes
e1d34cabc9 Core/Dynamic: Reduce differences between 3.3.5 and 6.x branches
Code functionality shouldn't have been modified.
2016-08-12 12:21:55 +02:00
Aokromes
085dd6a21d Compile fix try 2016-08-10 11:11:57 +02:00
Aokromes
6245175ae5 Missing code 2016-08-10 11:00:57 +02:00
Aokromes
fecaa647c6 Core/Misc: Moved RealmList to shared 2016-08-10 09:43:37 +02:00
Aokromes
e0cb17f098 Core/Shared: Converted the shared library to a shared library ,-).
* There is still the possibility to static link against shared.
2016-08-10 08:49:33 +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
cf47ef8be0 Build Fix 2016-07-19 13:04:50 +02:00
Aokromes
f5de65fd96 Core/Misc: MSVC /W4 warning fixes 2016-07-19 13:02:54 +02:00
Naios
321eb5fdd8 Core/Shared: Fix no PCH build 2016-06-01 02:48:32 +02:00
Shauren
4c3db96715 Core/Common: Moved MessageBuffer to common
(cherry picked from commit a81a204678)
2016-05-12 08:28:38 +02:00
DDuarte
4e4cbad69f Core/Network: Change SocketMgr.StartNetwork to take the thread count by arg instead of config
AuthSocketMgr doesn't need "Network.Threads" config

Fixes "Missing name Network.Threads in config file authserver.conf"

Ref #16859
2016-05-12 08:22:27 +02:00
Aokromes
9866c77dad Core: Fix build 2016-05-05 06:34:48 +02:00
Shauren
049d20fdb7 Core/Networking: Added new AsyncRead method to Socket class allowing to pass a custom completion handler
(Partially cherry-picked from f123c39659)
2016-05-05 03:41:02 +02:00
Shauren
3be8fba942 Core/Misc: Removed unneccessary boost/asio/buffer.hpp include
(cherry picked from commit 01be486f2f)
2016-05-05 03:33:40 +02:00
Shauren
ddb85e242a Core/Networking: Fixed DelayedCloseSocket when compiled without TC_SOCKET_USE_IOCP (linux)
Closes #16769

(cherry picked from commit 0daba931ef)
2016-05-04 02:52:03 +02:00
Aokromes
0ac5f4a440 Sync with 3.3.5a core 2016-05-03 12:40:27 +02:00
Aokromes
db7358ff69 Core: fixed few coverity issues and warnings 2016-04-05 04:57:34 +02:00